@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
:root{font-family:Inter,Arial,sans-serif;color:#f8fbff;background:#00142d;scroll-behavior:smooth;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-width:320px;overflow-x:hidden;background:linear-gradient(180deg,#00142d,#01132b)}
a{text-decoration:none;color:inherit}button{font:inherit}
.shell{width:min(1170px,calc(100% - 68px));margin:0 auto}
.cyan{color:#00dafa}
.header{z-index:30;position:sticky;top:0;background:linear-gradient(100deg,#001228f5,#001e3ef7);border-bottom:1px solid #0780bd;box-shadow:0 6px 28px #0010208a;backdrop-filter:blur(16px)}
.nav{min-height:78px;display:flex;align-items:center;gap:42px}
.brand{display:flex;align-items:center;gap:15px;font-size:29px;font-weight:800;letter-spacing:-1.25px;white-space:nowrap}
.brand-icon{width:58px;height:58px;flex-shrink:0;object-fit:contain;filter:drop-shadow(0 0 11px #00baff4a)}
.desktop-nav{display:flex;align-items:center;gap:36px;margin-left:auto;font-weight:650;font-size:15px}
.desktop-nav a{position:relative;display:block;padding:28px 0;transition:color .2s}
.desktop-nav a:hover{color:#52e6ff}
.desktop-nav a.active:after{content:"";position:absolute;left:0;bottom:14px;width:100%;height:2px;background:#00dfff;box-shadow:0 0 12px 2px #00c9ff}
.subscribe,.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:11px;border-radius:100px;padding:13px 21px;background:linear-gradient(110deg,#077af9,#00bdfa);border:1px solid #68d5ff60;box-shadow:inset 0 1px 0 #ffffff65,0 4px 22px #0086ff3c;font-size:14px;font-weight:700;white-space:nowrap;transition:transform .2s ease,filter .2s ease,box-shadow .2s ease}
.subscribe:hover,.primary-button:hover{filter:brightness(1.14);transform:translateY(-2px);box-shadow:inset 0 1px 0 #ffffff65,0 5px 25px #00aeff88}
.youtube-icon{width:24px;height:17px;display:inline-grid;place-items:center;border-radius:5px;background:#fff;color:#1289f6;font-size:12px;line-height:1}
.menu-button,.mobile-menu{display:none}
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:370px;border-bottom:1px solid #098dcc;background:#00162d}
.hero-art{position:absolute;z-index:-2;inset:0;background-image:url('/assets/hero.webp');background-image:image-set(url('/assets/hero-full.avif') type('image/avif'),url('/assets/hero.webp') type('image/webp'));background-position:center center;background-repeat:no-repeat;background-size:100% 100%;filter:saturate(1.22) contrast(1.08)}
.hero:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#001029e9 0%,#00142ecb 20%,#001a3685 40%,#001b3808 74%,transparent 100%);pointer-events:none}
.hero:after{content:"";position:absolute;bottom:0;right:0;left:0;height:2px;background:linear-gradient(90deg,transparent 10%,#0ddcfff0 65%,#00b8ff);box-shadow:0 0 14px 2px #00d9ff,0 0 35px 7px #007fff}
.hero-grid,.skyline{display:none}
.hero-inner{min-height:370px;display:flex;align-items:center}
.hero-copy{position:relative;z-index:2;padding:45px 0;max-width:660px;text-shadow:0 3px 12px #000b}
.hero h1{margin:0 0 9px;font-size:clamp(58px,5.6vw,76px);line-height:1.04;font-weight:800;letter-spacing:-3.5px}
.hero h2{margin:0 0 12px;font-weight:800;font-size:clamp(24px,2.45vw,32px);line-height:1.28;letter-spacing:-1.15px}
.hero p{max-width:405px;font-size:16px;line-height:1.55;margin:0 0 20px;font-weight:450}
.video-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.videos-section{padding-top:26px;padding-bottom:35px;scroll-margin-top:100px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 16px}
.section-heading h2{margin:0;font-size:24px;font-weight:800;border-left:5px solid #00daf8;padding-left:11px;letter-spacing:-.55px}
.section-heading a{font-size:13px;color:#93edff}
.section-heading a:hover{text-decoration:underline}
.video-card{min-width:0}
.video-card a{display:block}
.thumb{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border:1px solid #1179b8;border-radius:10px;background:#05254d;box-shadow:0 5px 18px #0009;transition:transform .22s,box-shadow .22s,border-color .22s}
.video-card a:hover .thumb{transform:translateY(-3px);box-shadow:0 0 22px #008fff8c;border-color:#00d6ff}
.video-card h3{font-size:13px;font-weight:650;line-height:1.42;margin:9px 0 0}
.video-card a:hover h3{color:#7feaff}
.loading,.error{grid-column:1/-1;color:#b5dcee}
.about-section{background:linear-gradient(125deg,#001a3c,#01294c 76%,#001631);border-top:1px solid #067cbe;scroll-margin-top:90px}
.about-inner{display:flex;justify-content:space-between;align-items:center;gap:40px;padding:36px 0}
.about-inner h2{margin:0 0 10px;font-size:26px;letter-spacing:-.6px}
.about-inner p{line-height:1.65;font-size:14px;max-width:690px;margin:0;color:#cbe7f8}
.footer{border-top:2px solid #00b8f7;background:linear-gradient(120deg,#001831,#00152b 55%,#031b37);box-shadow:0 -6px 18px #009fff1a}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:113px}
.footer .brand{font-size:27px}
.footer .brand-icon{height:58px;width:58px}
.footer small{display:block;font-size:12px;font-weight:400;letter-spacing:0;margin-top:3px}
.footer nav{display:flex;gap:24px;font-size:13px}
.footer nav a:hover{color:#00dfff}
.bottom-nav{display:none}
@media(max-width:880px){
.shell{width:calc(100% - 40px)}
.nav{min-height:70px}.brand{font-size:24px;gap:11px}.brand-icon{height:48px;width:48px}
.desktop-nav,.desktop-subscribe{display:none}
.menu-button{display:block;margin-left:auto;background:none;border:0;color:#fff;font-size:28px;cursor:pointer;line-height:1}
.mobile-menu.open{display:flex;flex-direction:column;padding:8px 20px 14px;background:#001a39;border-top:1px solid #0a6091}
.mobile-menu a{padding:12px;border-bottom:1px solid #ffffff13}
.hero,.hero-inner{min-height:390px}
.hero-art{background-size:auto 100%;background-position:65% center}
.hero:before{background:linear-gradient(90deg,#00112ff0 0%,#00152cca 42%,#001a3870 75%,#00193630)}
.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.about-inner{align-items:flex-start;flex-direction:column;gap:20px}
.footer-inner{padding:24px 0}
.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:40;display:flex;justify-content:space-around;background:#00112af4;border-top:1px solid #117bb0;padding:8px 10px max(10px,env(safe-area-inset-bottom));backdrop-filter:blur(14px)}
.bottom-nav a{min-width:70px;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px}
.bottom-nav a span{font-size:23px}.footer{padding-bottom:70px}
}
@media(max-width:540px){
.shell{width:calc(100% - 32px)}
.hero,.hero-inner{min-height:370px}
.hero-art{background-size:auto 100%;background-position:64% center}
.hero:before{background:linear-gradient(90deg,#00132ff2 0%,#00132fe7 43%,#001630b8 70%,#0016306b 100%)}
.hero h1{font-size:48px;letter-spacing:-2.4px}
.hero h2{font-size:23px;max-width:330px;letter-spacing:-.7px}
.hero-copy{padding:38px 0}
.hero p{max-width:305px;font-size:14px}
.section-heading h2{font-size:20px}
.section-heading a{font-size:12px}
.video-grid{grid-template-columns:1fr;gap:22px}
.video-card h3{font-size:13px}
.footer-inner{align-items:flex-start;flex-direction:column}
.footer nav{gap:17px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}



/* EngiEasy v4: concept-matched light falloff, reflections, subtle CAD tracery */
:root{--deep:#00142d;--aqua:#04d9fb}
html{scroll-padding-top:86px}
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.nav-icon{display:block;width:19px;height:19px;flex-shrink:0}
.desktop-nav a{display:inline-flex;gap:7px;align-items:center;justify-content:center}
.menu-icon{width:27px;height:27px;display:block}
.bottom-icon{width:23px;height:23px;display:block}
.brand-icon{filter:drop-shadow(0 0 10px rgba(0,180,255,.35));image-rendering:auto}
.header{border:0;background:
 linear-gradient(95deg,rgba(0,17,40,.98),rgba(1,27,56,.97)),
 url('/assets/cad-mesh.svg') center top/cover no-repeat}
.header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:1px;pointer-events:none;background:linear-gradient(90deg,transparent 0%,rgba(0,122,204,.12) 15%,rgba(0,178,238,.28) 37%,rgba(35,218,255,.72) 58%,rgba(0,180,245,.15) 81%,transparent 100%);box-shadow:0 1px 13px rgba(0,194,255,.22)}
.header:before{content:"";position:absolute;bottom:-4px;left:58%;height:9px;width:155px;z-index:1;transform:translateX(-50%);pointer-events:none;background:radial-gradient(ellipse at center,rgba(211,251,255,.62),rgba(0,194,255,.26) 35%,transparent 75%);filter:blur(2px)}
.hero{border:0;background:#00142d;overflow:hidden;isolation:isolate}
.hero-grid{display:block;position:absolute;pointer-events:none;inset:0;z-index:-1;opacity:.23;background:url('/assets/cad-mesh.svg') center center/cover no-repeat;mask-image:linear-gradient(90deg,#000 0%,#0007 43%,transparent 68%)}
.hero:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:
 linear-gradient(0deg,rgba(0,20,45,.74),transparent 25%),
 linear-gradient(90deg,rgba(0,16,41,.91) 0%,rgba(0,20,46,.78) 21%,rgba(0,24,50,.36) 44%,rgba(0,23,45,.02) 76%,transparent 100%)}
.hero:after{content:"";position:absolute;inset:auto 0 0;height:106px;pointer-events:none;z-index:1;background:
 radial-gradient(ellipse 420px 13px at 76% 66%,rgba(110,249,255,.38),rgba(0,170,255,.17) 32%,transparent 90%),
 linear-gradient(0deg,#00142d 0%,rgba(0,20,45,.62) 25%,transparent 85%);}
.hero-art{filter:saturate(1.16) contrast(1.07)}
.hero-copy{z-index:3;text-shadow:0 2px 12px rgba(0,8,22,.72)}
.hero h1{font-weight:800;letter-spacing:-3.3px}
.hero h2{font-weight:800}
.videos-section{isolation:isolate;position:relative;padding-top:24px;padding-bottom:42px;scroll-margin-top:90px}
.videos-section:before{content:"";position:absolute;z-index:-2;pointer-events:none;top:-49px;left:50%;width:100vw;height:186px;transform:translateX(-50%) scaleY(-1);
 background-image:url('/assets/hero-full.avif');background-repeat:no-repeat;background-size:100% auto;background-position:center 77%;opacity:.17;
 -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 90%);mask-image:linear-gradient(180deg,transparent 0%,#000 90%);
 filter:blur(1.2px) saturate(1.2)}
.videos-section:after{content:"";position:absolute;pointer-events:none;z-index:-1;top:-35px;bottom:0;left:50%;width:100vw;transform:translateX(-50%);
 background:
 radial-gradient(ellipse 600px 110px at 75% 0%,rgba(0,171,248,.11),transparent 84%),
 linear-gradient(180deg,rgba(0,30,64,.13) 0%,rgba(0,20,45,.5) 64%,rgba(0,20,45,.85) 100%),
 url('/assets/cad-mesh.svg') center top/cover no-repeat;
 -webkit-mask-image:linear-gradient(180deg,#000e 0%,#000 36%,#000b 100%);
 mask-image:linear-gradient(180deg,#000e 0%,#000 36%,#000b 100%)}
.section-heading{position:relative;z-index:2}
.video-grid{position:relative;z-index:2;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.video-card .thumb{border-color:rgba(18,133,210,.7);box-shadow:0 6px 18px #0007,0 0 0 1px #0a2f56}
.video-card a:hover .thumb{box-shadow:0 0 21px #00a8ff77,0 8px 23px #0007}
.video-card h3{font-size:14px;line-height:1.48;min-height:2.9em}
.video-card .thumb-wrap{position:relative;display:block;overflow:hidden;border-radius:10px}
.video-card .play-badge{position:absolute;bottom:10px;right:10px;display:grid;place-items:center;width:29px;height:22px;border:1px solid rgba(255,255,255,.2);border-radius:6px;background:rgba(0,15,30,.77);backdrop-filter:blur(5px);color:white;font-size:12px;opacity:0;transform:translateY(5px);transition:.2s}
.video-card a:hover .play-badge,.video-card a:focus-visible .play-badge{opacity:1;transform:none}
.about-section{position:relative;isolation:isolate;border-top:0;background:linear-gradient(120deg,#00142e,#03274a 62%,#001a35)}
.about-section:before{content:"";position:absolute;z-index:-1;inset:0;opacity:.24;pointer-events:none;background:url('/assets/cad-mesh.svg') center center/cover no-repeat}
.about-section:after{content:"";position:absolute;top:0;left:0;right:0;height:15px;pointer-events:none;background:radial-gradient(ellipse 510px 3px at 62% 0%,rgba(90,237,255,.4),transparent 100%);opacity:.56}
.footer{position:relative;isolation:isolate;border-top:0;background:radial-gradient(ellipse at 50% -55%,rgba(0,108,195,.33),transparent 58%),#00162e;box-shadow:none}
.footer:before{content:"";z-index:-1;position:absolute;inset:0;background:url('/assets/cad-mesh.svg') center center/cover no-repeat;opacity:.27;pointer-events:none}
.footer:after{content:"";position:absolute;top:0;left:0;right:0;height:15px;pointer-events:none;background:radial-gradient(ellipse 470px 4px at 67% 0%,rgba(149,255,255,.68),rgba(0,185,255,.2) 48%,transparent 95%);filter:blur(2px)}
.footer .brand{font-size:27px}
@media(max-width:880px){
 .header:before{left:66%}
 .hero-grid{opacity:.17}
 .hero:after{height:76px}
 .videos-section:before{height:145px;top:-34px;opacity:.10;background-size:auto 375px;background-position:65% 75%}
 .video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bottom-nav a{gap:5px}
}
@media(max-width:540px){
 .header:before{left:44%}
 .hero:after{height:65px;background:linear-gradient(0deg,#00142d 0%,rgba(0,20,45,.57) 35%,transparent 100%)}
 .hero-grid{opacity:.13}
 .videos-section{padding-top:22px}
 .videos-section:before{height:110px;top:-24px;opacity:.08}
 .video-grid{grid-template-columns:1fr;gap:20px}
 .video-card h3{font-size:14px}
 .footer .brand{font-size:23px}
}
@media(hover:none){.video-card .play-badge{opacity:.75;transform:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}


/* Featured video framing: always render the whole 16:9 artwork. */
.video-card .thumb-wrap{
  position:relative;
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:10px;
  background:#03152c;
}
.video-card .thumb{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:16/9;
  object-fit:contain;
  object-position:center center;
  border-radius:10px;
}
.video-card h3{
  margin-top:10px;
}


/* EngiEasy channel identity: original video-style, slanted custom wordmark.
   The text is a traced, resolution-independent SVG; body copy stays Inter. */
.brand .brand-wordmark {
  display:block;
  width:164px;
  height:auto;
  flex:0 0 auto;
  object-fit:contain;
  filter:drop-shadow(0 2px 6px rgba(0,160,240,.12));
}
.brand-signature {
  display:flex;
  align-items:flex-start;
  justify-content:center;
  flex-direction:column;
  gap:1px;
}
.footer .brand .brand-wordmark{width:180px}
.footer .brand-signature small{
  display:block;
  font-family:Inter,Arial,sans-serif;
  font-size:11px;
  font-style:normal;
  letter-spacing:.02em;
  line-height:1.4;
  color:#dcecff;
  margin:0 0 0 3px;
}
.hero h1.hero-wordmark{
  display:block;
  width:min(390px,100%);
  height:auto;
  margin:0 0 10px;
  padding:0;
  font-size:inherit;
  line-height:1;
  letter-spacing:0;
}
.hero-wordmark img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 2px 15px rgba(0,139,255,.1));
}
@media(max-width:880px){
 .brand .brand-wordmark{width:147px}
 .footer .brand .brand-wordmark{width:168px}
 .hero h1.hero-wordmark{width:min(352px,100%)}
}
@media(max-width:540px){
 .brand .brand-wordmark{width:139px}
 .hero h1.hero-wordmark{width:min(305px,100%)}
 .footer .brand .brand-wordmark{width:155px}
}


/* Brand lockup — approved illustration, individually slanted letterforms with a straight baseline.
   Keep it as scalable SVG; do not skew or italicize the entire artwork. */
.brand .brand-lockup {
  display: block;
  width: 245px;
  max-width: 100%;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
  transform: none;
  image-rendering: auto;
  filter: drop-shadow(0 1px 8px rgba(0,170,255,.13));
}
.footer .brand .brand-lockup { width: 265px; }
.footer .brand-signature { align-items: flex-start; gap: 2px; }
.footer .brand-signature small {
  font-family: Inter, Arial, sans-serif;
  margin: 0 0 0 2px;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .04em;
  line-height: 1.4;
  color: #d9eafb;
}
.hero-wordmark img { transform: none; image-rendering: auto; }
@media (max-width:880px) {
  .brand .brand-lockup { width: 208px; }
  .footer .brand .brand-lockup { width: 234px; }
}
@media (max-width:540px) {
  .brand .brand-lockup { width: 190px; }
  .footer .brand .brand-lockup { width: 218px; }
}
