/*
Theme Name: Customer Cushion Center
Theme URI: https://customercushioncenter.com
Author: Customer Cushion Center
Author URI: https://customercushioncenter.com
Description: Premium 3D-style business theme for Customer Cushion Center — custom foam cushions, mattresses, patio and marine seating in Burlington, Ontario. Includes Services and Projects post types, a one-click demo importer, editable section content, and SEO-ready structured data. Built for speed with AVIF/WebP picture markup, self-hosted variable fonts and inlined critical CSS.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ccc
Tags: business, portfolio, custom-logo, custom-menu, featured-images, block-styles, translation-ready

Design tokens, components and layout all live in this file so WordPress can
enqueue the whole design system in a single request.
*/
/* ==========================================================================
   Customer Cushion Center — Premium 3D Design System
   Handcrafted CSS · no frameworks · no external requests
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
/* Webfont faces live in assets/css/fonts.css (enqueued first). The metric-
   matched fallback faces stay here because they must never be deferred. */
/* metric-matched fallbacks — line boxes and text widths tuned to the webfonts,
   so the font swap causes no visible movement (CLS 0) */

/* ---------- Tokens ---------- */
:root{
  /* brand */
  --blue-900:#04275C;
  --blue-800:#06387E;
  --blue-700:#0A4A9E;
  --blue-600:#0F5BC4;
  --blue-500:#1E6FE0;
  --blue-400:#4C93F2;
  --blue-100:#DCEAFF;
  --gold:#FFC61E;
  --gold-500:#FFB300;
  --gold-600:#E89C00;
  --gold-100:#FFF4D0;

  /* neutrals */
  --navy-950:#040A16;
  --navy-900:#061020;
  --navy-800:#0A1A31;
  --navy-700:#102642;
  --ink:#0A1526;
  --body:#41536E;
  --muted:#6B7C95;
  --line:#E5E9F0;
  --paper:#FFFFFF;
  --cream:#FAF7F1;
  --cream-2:#F4EFE6;

  /* elevation — soft, layered, 3D */
  --sh-1:0 1px 2px rgba(10,21,38,.06), 0 2px 6px -2px rgba(10,21,38,.08);
  --sh-2:0 1px 2px rgba(10,21,38,.05), 0 10px 20px -10px rgba(10,21,38,.16), 0 24px 48px -32px rgba(10,21,38,.24);
  --sh-3:0 2px 4px rgba(10,21,38,.05), 0 18px 32px -16px rgba(10,21,38,.18), 0 48px 80px -48px rgba(10,21,38,.34);
  --sh-4:0 30px 60px -24px rgba(6,16,32,.45), 0 70px 120px -60px rgba(6,16,32,.55);
  --bevel:inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(10,21,38,.05);
  --bevel-dark:inset 0 1px 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(0,0,0,.35);

  --grad-blue:linear-gradient(150deg,#1E6FE0 0%,#0F5BC4 42%,#06387E 100%);
  --grad-gold:linear-gradient(150deg,#FFE07A 0%,#FFC61E 40%,#E89C00 100%);
  --grad-ink:linear-gradient(160deg,#102642 0%,#0A1A31 45%,#040A16 100%);
  --grad-glass:linear-gradient(150deg,rgba(255,255,255,.82),rgba(255,255,255,.5));

  --r-xs:10px; --r-sm:14px; --r-md:20px; --r-lg:28px; --r-xl:36px; --r-2xl:48px;
  --container:1200px;
  --ease:cubic-bezier(.22,.75,.26,1);
  --ease-out:cubic-bezier(.16,1,.3,1);
  --header-h:78px;
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--cream);color:var(--body);
  font-family:'Manrope','Manrope Fallback',system-ui,-apple-system,'Segoe UI',sans-serif;
  font-size:clamp(15px,.4vw + 14px,17px);line-height:1.72;
  font-weight:500;letter-spacing:-.006em;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,video,svg{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
h1,h2,h3,h4,h5{font-family:'Sora','Sora Fallback',system-ui,sans-serif;color:var(--ink);font-weight:700;line-height:1.1;letter-spacing:-.028em;margin:0}
h1{font-size:clamp(2.35rem,5.4vw,4.4rem);letter-spacing:-.035em;line-height:1.03}
h2{font-size:clamp(1.85rem,3.4vw,3rem)}
h3{font-size:clamp(1.18rem,1.4vw,1.45rem);letter-spacing:-.02em;line-height:1.25}
h4{font-size:1.03rem;letter-spacing:-.01em}
p{margin:0 0 1.05em}
p:last-child{margin-bottom:0}
ul,ol{margin:0;padding:0;list-style:none}
::selection{background:var(--gold);color:var(--navy-900)}
:focus-visible{outline:3px solid var(--blue-500);outline-offset:3px;border-radius:6px}

/* ---------- Layout ---------- */
.container{width:min(100% - 2.5rem,var(--container));margin-inline:auto}
.container-wide{width:min(100% - 2rem,1420px);margin-inline:auto}
.section{position:relative;padding:clamp(4.2rem,7.5vw,7.5rem) 0}
.section-tight{padding:clamp(3rem,5vw,4.5rem) 0}
.stack>*+*{margin-top:1rem}
.grid{display:grid;gap:clamp(1rem,1.6vw,1.6rem)}
.skip{position:absolute;left:-9999px;top:0;z-index:200;background:var(--ink);color:#fff;padding:.9rem 1.2rem;border-radius:0 0 12px 0}
.skip:focus{left:0}

/* ---------- Type helpers ---------- */
.eyebrow{
  display:inline-flex;align-items:center;gap:.55rem;
  font-family:'Manrope','Manrope Fallback',sans-serif;font-size:.72rem;font-weight:800;
  letter-spacing:.16em;text-transform:uppercase;color:var(--blue-700);
  margin-bottom:1.1rem;
}
.eyebrow::before{content:"";width:22px;height:2px;border-radius:2px;background:var(--grad-gold)}
.eyebrow--gold{color:var(--gold)}
.eyebrow--light{color:#D6E4FB}
.section-head{max-width:44rem;margin-bottom:clamp(2.2rem,3.5vw,3.4rem)}
.section-head.center{margin-inline:auto;text-align:center}
.section-head.center .eyebrow::after{content:"";width:22px;height:2px;border-radius:2px;background:var(--grad-gold)}
.lead{font-size:clamp(1.02rem,1.15vw,1.18rem);line-height:1.68;color:var(--body)}
.section-head .lead{margin-top:1rem}
.muted{color:var(--muted)}
.gold-text{color:var(--gold-500)}
.grad-text{
  background:linear-gradient(180deg,#FFFFFF 12%,#CFE0FA 55%,#8FB4E8 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.grad-text-gold{background:linear-gradient(180deg,#FFF0B8 5%,#FFC61E 55%,#E08C00 100%);-webkit-background-clip:text;background-clip:text;color:transparent}

/* ==========================================================================
   BUTTONS — physical, pressable
   ========================================================================== */
.btn{
  --btn-y:0px;
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  padding:.95rem 1.55rem;border-radius:999px;font-weight:800;font-size:.94rem;
  letter-spacing:-.01em;white-space:nowrap;
  transform:translateY(var(--btn-y));
  transition:transform .35s var(--ease-out),box-shadow .35s var(--ease-out),background .3s ease,color .3s ease;
  will-change:transform;
}
.btn svg{width:1.05em;height:1.05em;flex:none}
.btn:hover{--btn-y:-3px}
.btn:active{--btn-y:1px;transition-duration:.09s}

.btn--gold{
  background:linear-gradient(180deg,#FFD75A 0%,#FFC61E 52%,#F2A900 100%);
  color:#2A1B00;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.75),
    inset 0 -2px 0 rgba(160,100,0,.28),
    0 8px 16px -8px rgba(232,156,0,.7),
    0 18px 34px -18px rgba(232,156,0,.85);
}
.btn--gold:hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.85),inset 0 -2px 0 rgba(160,100,0,.28),0 14px 26px -10px rgba(232,156,0,.75),0 30px 50px -24px rgba(232,156,0,.9)}

.btn--blue{
  background:var(--grad-blue);color:#fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.32), inset 0 -2px 0 rgba(2,20,50,.45),
    0 8px 16px -8px rgba(15,91,196,.65), 0 18px 36px -18px rgba(10,74,158,.75);
}
.btn--blue:hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -2px 0 rgba(2,20,50,.45),0 16px 28px -12px rgba(15,91,196,.7),0 32px 56px -26px rgba(10,74,158,.8)}

.btn--glass{
  color:#fff;background:rgba(255,255,255,.09);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 0 0 1px rgba(255,255,255,.18),0 14px 30px -18px rgba(0,0,0,.6);
}
.btn--glass:hover{background:rgba(255,255,255,.16)}

.btn--outline{
  color:var(--blue-700);background:#fff;
  box-shadow:var(--bevel),inset 0 0 0 1.5px var(--line),var(--sh-1);
}
.btn--outline:hover{box-shadow:var(--bevel),inset 0 0 0 1.5px #CFE0FA,var(--sh-2);color:var(--blue-600)}

.btn--sm{padding:.68rem 1.15rem;font-size:.84rem}
.btn--lg{padding:1.1rem 1.9rem;font-size:1rem}
.btn-row{display:flex;flex-wrap:wrap;gap:.8rem;align-items:center}

.link-arrow{
  display:inline-flex;align-items:center;gap:.55rem;font-weight:800;font-size:.9rem;
  color:var(--blue-700);letter-spacing:-.01em;
}
.link-arrow svg{width:1rem;height:1rem;transition:transform .35s var(--ease-out)}
.link-arrow:hover svg{transform:translateX(4px)}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header{
  position:fixed;inset:0 0 auto 0;z-index:100;
  height:var(--header-h);display:flex;align-items:center;
  transition:background .45s var(--ease),box-shadow .45s var(--ease),backdrop-filter .4s;
}
.header::before{
  content:"";position:absolute;inset:0;z-index:-1;opacity:0;transition:opacity .45s var(--ease);
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.78));
  -webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);
  box-shadow:0 1px 0 rgba(10,21,38,.07),0 14px 40px -28px rgba(10,21,38,.4);
}
.header.is-stuck::before{opacity:1}
.header-inner{display:flex;align-items:center;gap:1.2rem;width:min(100% - 2rem,1420px);margin-inline:auto}
.brand{display:flex;align-items:center;gap:.62rem;flex:none;transition:transform .3s var(--ease)}
.brand:hover{transform:translateY(-1px)}
.brand__mark{height:42px;width:auto;flex:none;filter:drop-shadow(0 6px 12px rgba(10,74,158,.3))}
.brand__type{display:flex;flex-direction:column;line-height:.94;gap:1px}
.brand__type b,.brand__type i,.brand__type u{
  font-family:'Sora',sans-serif;font-weight:800;font-style:normal;text-decoration:none;
  font-size:.78rem;letter-spacing:.005em;display:block;white-space:nowrap;
}
.brand__type b,.brand__type u{color:#fff}
.brand__type i{color:var(--gold)}
.brand__type small{
  display:block;font-family:'Manrope',sans-serif;font-size:.5rem;font-weight:800;letter-spacing:.22em;
  text-transform:uppercase;color:#9FB6D4;margin-top:4px;white-space:nowrap;
}
.header.is-stuck .brand__type b,.header.is-stuck .brand__type u{color:var(--ink)}
.header.is-stuck .brand__type small{color:#7C8DA6}
.footer__brand .brand__type b,.footer__brand .brand__type u{color:#fff}
.footer__brand .brand__type small{color:#8FA5C4}

.nav{margin-left:auto;display:flex;align-items:center;gap:.15rem}
.nav__link{
  position:relative;display:inline-flex;align-items:center;gap:.32rem;
  padding:.55rem .85rem;border-radius:999px;font-weight:700;font-size:.9rem;color:rgba(255,255,255,.9);
  transition:color .25s,background .25s;
}
.nav__link:hover,.nav__link[aria-current="page"]{color:#fff;background:rgba(255,255,255,.1)}
.header.is-stuck .nav__link{color:#33445C}
.header.is-stuck .nav__link:hover,.header.is-stuck .nav__link[aria-current="page"]{color:var(--blue-700);background:rgba(15,91,196,.07)}
.nav__link .chev{width:.6rem;height:.6rem;opacity:.7;transition:transform .3s}
.nav__link[aria-expanded="true"] .chev{transform:rotate(180deg)}

.header-actions{display:flex;align-items:center;gap:.6rem;flex:none}
.icon-btn{
  width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#fff;
  background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
  transition:background .25s,transform .25s,color .25s;
}
.icon-btn:hover{background:rgba(255,255,255,.2);transform:translateY(-2px)}
.header.is-stuck .icon-btn{color:var(--blue-700);background:#fff;box-shadow:inset 0 0 0 1px var(--line),var(--sh-1)}
.header.is-stuck .icon-btn:hover{color:#fff;background:var(--blue-600)}
.icon-btn svg{width:1.1rem;height:1.1rem}

/* mega menu */
.mega{
  position:absolute;left:50%;top:calc(100% - 6px);transform:translate(-50%,10px);
  width:min(94vw,860px);padding:1.35rem;border-radius:var(--r-lg);
  background:linear-gradient(160deg,rgba(255,255,255,.98),rgba(248,251,255,.96));
  box-shadow:var(--bevel),inset 0 0 0 1px rgba(10,21,38,.06),var(--sh-4);
  display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem;
  opacity:0;visibility:hidden;transition:opacity .3s var(--ease),transform .38s var(--ease-out),visibility .3s;
  z-index:5;
}
.mega.is-open{opacity:1;visibility:visible;transform:translate(-50%,0)}
.mega__col h5{
  font-family:'Manrope',sans-serif;font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--blue-600);font-weight:800;margin:0 0 .6rem;padding-left:.55rem;
}
.mega__col ul{display:grid;gap:.1rem}
.mega__col a{
  display:flex;align-items:center;gap:.65rem;padding:.5rem .55rem;border-radius:12px;
  font-size:.875rem;font-weight:700;color:#2C3D56;transition:background .2s,color .2s,transform .2s;
}
.mega__col a:hover{background:#EFF5FF;color:var(--blue-700);transform:translateX(2px)}
.mega__col a svg{width:1.15rem;height:1.15rem;flex:none;color:var(--blue-500)}
.mega__foot{
  grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:1rem;
  margin-top:.2rem;padding:.9rem 1rem;border-radius:16px;
  background:linear-gradient(120deg,#0A1A31,#102642);color:#C9D8EF;font-size:.82rem;font-weight:600;
}
.mega__foot strong{color:#fff}

/* mobile nav */
.burger{display:none;width:44px;height:44px;border-radius:14px;place-items:center;background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.header.is-stuck .burger{background:#fff;box-shadow:inset 0 0 0 1px var(--line),var(--sh-1)}
.burger span{display:block;width:18px;height:2px;border-radius:2px;background:#fff;position:relative;transition:.3s}
.burger span::before,.burger span::after{content:"";position:absolute;left:0;width:18px;height:2px;border-radius:2px;background:#fff;transition:.3s}
.burger span::before{top:-6px}.burger span::after{top:6px}
.header.is-stuck .burger span,.header.is-stuck .burger span::before,.header.is-stuck .burger span::after{background:var(--ink)}
body.nav-open .burger span{background:transparent}
body.nav-open .burger span::before{top:0;transform:rotate(45deg);background:var(--ink)}
body.nav-open .burger span::after{top:0;transform:rotate(-45deg);background:var(--ink)}
body.nav-open .burger{background:#fff;box-shadow:inset 0 0 0 1px var(--line)}

.drawer{
  position:fixed;inset:var(--header-h) 0 auto 0;z-index:99;
  background:linear-gradient(180deg,#FFFFFF,#F7FAFF);
  padding:1.2rem 1.25rem 2rem;border-radius:0 0 28px 28px;
  box-shadow:0 40px 80px -40px rgba(6,16,32,.5);
  transform:translateY(-12px);opacity:0;visibility:hidden;
  transition:opacity .3s,transform .35s var(--ease-out),visibility .3s;
  max-height:calc(100dvh - var(--header-h));overflow:auto;
}
body.nav-open .drawer{opacity:1;visibility:visible;transform:none}
.drawer a{display:flex;align-items:center;justify-content:space-between;padding:.85rem .4rem;font-weight:700;color:#22334A;border-bottom:1px solid var(--line)}
.drawer a small{font-size:.7rem;color:var(--muted);font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.drawer__group{padding:.9rem .4rem .2rem;font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;color:var(--blue-600);font-weight:800}
.drawer .btn{margin-top:1.2rem;width:100%}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;min-height:clamp(660px,94svh,1000px);
  display:flex;align-items:center;overflow:hidden;isolation:isolate;
  background:var(--navy-950);padding-top:var(--header-h);
  color:#EAF2FF;
}
.hero__media{position:absolute;inset:0;z-index:-2;overflow:hidden;background:#071224}
/* static hero background — no autoplaying video */
.hero__media picture{position:absolute;inset:0;width:100%;height:100%}
.hero__media img{
  width:100%;height:100%;object-fit:cover;object-position:center 42%;
  transform:scale(1.03);
  filter:saturate(1.02) contrast(1.02);
}
.hero__veil{
  position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(120% 90% at 12% 0%,rgba(4,10,22,.72) 0%,rgba(4,10,22,.35) 45%,rgba(4,10,22,.08) 70%),
    linear-gradient(90deg,rgba(4,10,22,.94) 0%,rgba(5,16,34,.8) 34%,rgba(5,16,34,.28) 62%,rgba(5,16,34,.55) 100%),
    linear-gradient(180deg,rgba(4,10,22,.9) 0%,rgba(4,10,22,.05) 30%,rgba(4,10,22,.15) 62%,rgba(4,10,22,.92) 100%);
}
.hero__grain{
  position:absolute;inset:0;z-index:-1;opacity:.22;mix-blend-mode:overlay;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.hero__glow{
  position:absolute;z-index:-1;width:60vw;aspect-ratio:1;border-radius:50%;
  right:-14vw;top:-18vw;filter:blur(70px);opacity:.5;pointer-events:none;
  background:radial-gradient(circle,rgba(30,111,224,.55),rgba(30,111,224,0) 62%);
}
.hero__glow--gold{right:22vw;top:auto;bottom:-26vw;width:44vw;opacity:.34;background:radial-gradient(circle,rgba(255,198,30,.5),rgba(255,198,30,0) 60%)}
.hero-inner{
  position:relative;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  gap:clamp(1.5rem,4vw,4rem);align-items:center;
  padding-block:clamp(3rem,7vw,6rem) clamp(3.4rem,7vw,6rem);
  width:min(100% - 2.5rem,1420px);margin-inline:auto;
}
.hero__kicker{
  display:inline-flex;align-items:center;gap:.6rem;
  padding:.42rem .55rem .42rem .42rem;border-radius:999px;
  background:rgba(255,255,255,.08);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 0 0 1px rgba(255,255,255,.12);
  font-size:.76rem;font-weight:700;color:#E7F0FC;margin-bottom:1.4rem;
}
.hero__kicker b{
  display:inline-flex;align-items:center;gap:.35rem;
  background:var(--grad-gold);color:#2A1B00;padding:.28rem .65rem;border-radius:999px;
  font-size:.68rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 4px 10px -4px rgba(232,156,0,.8);
}
.hero h1{margin-bottom:1.35rem;color:#fff}
.hero h1 em{font-style:normal;display:block}

/* Fixed hero headline line structure — one visual line per span, which keeps
   the line count stable across font swaps (this is what holds CLS at 0).
   Below the desktop breakpoint the spans wrap again, so a narrow screen never
   clips a word. */
.hero h1{display:block}
.hero h1 .h1-l{display:block;white-space:normal;text-wrap:balance}
@media (min-width:1025px){
  .hero h1 .h1-l{white-space:nowrap;text-wrap:nowrap}
}
.hero__sub{
  font-size:clamp(1rem,1.25vw,1.16rem);line-height:1.66;color:#C6D6EE;max-width:34rem;margin-bottom:2rem;
}
.hero__sub strong{color:#fff;font-weight:700}
.hero .btn-row{margin-bottom:2.2rem}
.hero__trust{
  display:flex;flex-wrap:wrap;gap:1.5rem 2rem;padding-top:1.6rem;
  border-top:1px solid rgba(255,255,255,.12);
}
.hero__trust div{display:flex;flex-direction:column;gap:.1rem}
.hero__trust b{
  font-family:'Sora',sans-serif;font-size:1.28rem;font-weight:800;color:#fff;letter-spacing:-.03em;line-height:1.15;
}
.hero__trust span{font-size:.74rem;font-weight:700;letter-spacing:.02em;color:#93AACB}

/* hero visual — floating 3D stack */
.hero__visual{position:relative;perspective:1400px;min-height:min(520px,52vw)}
.hero-card{
  position:absolute;border-radius:var(--r-lg);overflow:hidden;
  box-shadow:0 40px 80px -30px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.16),inset 0 1px 0 rgba(255,255,255,.3);
  transform-style:preserve-3d;will-change:transform;
}
.hero-card img{width:100%;height:100%;object-fit:cover}
.hero-card--main{
  right:0;top:2%;width:78%;
  animation:floaty 9s ease-in-out infinite;
}
.hero-card--main::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(160deg,rgba(6,16,32,0) 40%,rgba(6,16,32,.55));
}
.hero-card--small{
  left:0;bottom:6%;width:47%;
  animation:floaty 9s ease-in-out .8s infinite reverse;
}
.hero-chip{
  position:absolute;z-index:3;display:flex;align-items:center;gap:.7rem;
  padding:.7rem .95rem;border-radius:18px;
  background:linear-gradient(150deg,rgba(255,255,255,.96),rgba(240,246,255,.9));
  box-shadow:0 24px 50px -22px rgba(0,0,0,.6),inset 0 1px 0 #fff;
  color:var(--ink);animation:floaty 8s ease-in-out .4s infinite;
}
.hero-chip b{font-family:'Sora',sans-serif;font-size:.86rem;font-weight:800;display:block;line-height:1.2}
.hero-chip small{font-size:.68rem;font-weight:700;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}
.hero-chip__ic{
  width:34px;height:34px;border-radius:11px;display:grid;place-items:center;flex:none;
  background:var(--grad-blue);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 8px 16px -8px rgba(15,91,196,.9);
}
.hero-chip__ic svg{width:1rem;height:1rem}
.hero-chip--a{left:-4%;top:6%}
.hero-chip--b{right:-2%;bottom:20%}
.hero-chip--b .hero-chip__ic{background:var(--grad-gold);color:#2A1B00;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 8px 16px -8px rgba(232,156,0,.9)}
@keyframes floaty{0%,100%{transform:translate3d(0,0,0) rotate(0deg)}50%{transform:translate3d(0,-14px,0) rotate(-.5deg)}}

.hero__scroll{
  position:absolute;left:50%;bottom:1.4rem;transform:translateX(-50%);z-index:3;
  display:flex;flex-direction:column;align-items:center;gap:.45rem;
  font-size:.62rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:#90A7C6;
}
.hero__scroll i{
  width:22px;height:36px;border-radius:999px;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.3);position:relative;
}
.hero__scroll i::after{
  content:"";position:absolute;left:50%;top:8px;width:4px;height:8px;border-radius:2px;background:var(--gold);
  transform:translateX(-50%);animation:scrollDot 2s var(--ease) infinite;
}
@keyframes scrollDot{0%{opacity:0;transform:translate(-50%,0)}30%{opacity:1}70%{opacity:1}100%{opacity:0;transform:translate(-50%,14px)}}

/* ==========================================================================
   MARQUEE / TRUST STRIP
   ========================================================================== */
.strip{
  position:relative;z-index:2;margin-top:-1px;
  background:linear-gradient(180deg,#061020,#0A1A31);
  border-top:1px solid rgba(255,255,255,.08);
  color:#B9CAE4;overflow:hidden;
}
.marquee{display:flex;gap:0;overflow:hidden;padding:1.05rem 0;mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.marquee__track{display:flex;flex:none;align-items:center;gap:2.6rem;padding-right:2.6rem;animation:slide 38s linear infinite}
.marquee:hover .marquee__track{animation-play-state:paused}
.marquee__item{
  display:inline-flex;align-items:center;gap:.6rem;font-size:.8rem;font-weight:800;
  letter-spacing:.1em;text-transform:uppercase;color:#A8BFDD;white-space:nowrap;
}
.marquee__item svg{width:1rem;height:1rem;color:var(--gold)}
.marquee__dot{width:5px;height:5px;border-radius:50%;background:rgba(255,198,30,.6)}
@keyframes slide{to{transform:translateX(-100%)}}

/* ==========================================================================
   CARDS — the core 3D surface
   ========================================================================== */
.card{
  position:relative;border-radius:var(--r-lg);background:#fff;
  box-shadow:var(--bevel),inset 0 0 0 1px rgba(10,21,38,.055),var(--sh-2);
  transition:transform .5s var(--ease-out),box-shadow .5s var(--ease-out);
  overflow:hidden;
}
.card--pad{padding:clamp(1.35rem,2vw,2rem)}
.card--hover:hover{transform:translateY(-6px);box-shadow:var(--bevel),inset 0 0 0 1px rgba(15,91,196,.14),var(--sh-3)}

/* media card with 3D stack + shine */
.svc-card{
  position:relative;display:flex;flex-direction:column;border-radius:var(--r-lg);
  background:linear-gradient(170deg,#FFFFFF 0%,#FBFDFF 100%);
  box-shadow:var(--bevel),inset 0 0 0 1px rgba(10,21,38,.06),var(--sh-2);
  overflow:hidden;height:100%;
  transition:transform .55s var(--ease-out),box-shadow .55s var(--ease-out);
  transform-style:preserve-3d;
}
.svc-card:hover{transform:translateY(-8px);box-shadow:var(--bevel),inset 0 0 0 1px rgba(15,91,196,.16),var(--sh-3)}
.svc-card__media{position:relative;aspect-ratio:16/10.5;overflow:hidden;background:#E9EFF7;flex:none}
.svc-card__media img{
  width:100%;height:100%;object-fit:cover;
  transition:transform 1.1s var(--ease-out),filter .6s;
}
.svc-card:hover .svc-card__media img{transform:scale(1.06)}
.svc-card__media::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(6,16,32,.05) 0%,rgba(6,16,32,0) 35%,rgba(6,16,32,.42) 100%);
}
.svc-card__shine{
  position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;
  background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.5) 47%,transparent 62%);
  transform:translateX(-60%);transition:opacity .4s;
}
.svc-card:hover .svc-card__shine{opacity:1;animation:shine .9s var(--ease-out) forwards}
@keyframes shine{to{transform:translateX(60%)}}
.svc-card__icon{
  position:absolute;left:1.05rem;bottom:-22px;z-index:3;
  width:52px;height:52px;border-radius:17px;display:grid;place-items:center;
  background:var(--grad-blue);color:#fff;
  box-shadow:inset 0 1.5px 0 rgba(255,255,255,.45),inset 0 -2px 0 rgba(2,20,50,.4),0 12px 24px -10px rgba(15,91,196,.8);
  transition:transform .5s var(--ease-out);
}
.svc-card:hover .svc-card__icon{transform:translateY(-3px) rotate(-4deg)}
.svc-card__icon svg{width:1.5rem;height:1.5rem}
.svc-card__body{padding:2.05rem 1.4rem 1.5rem;display:flex;flex-direction:column;gap:.55rem;flex:1}
.svc-card__body h3{font-size:1.1rem}
.svc-card__body p{font-size:.9rem;line-height:1.62;color:var(--muted);margin:0}
.svc-card__foot{margin-top:auto;padding-top:.9rem;display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.svc-card__tag{
  font-size:.64rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;
  color:var(--blue-700);background:#EDF4FF;padding:.3rem .55rem;border-radius:999px;
  box-shadow:inset 0 0 0 1px rgba(15,91,196,.1);
}

/* ==========================================================================
   ABOUT SPLIT
   ========================================================================== */
.about{background:linear-gradient(180deg,var(--cream) 0%,#FFFDF9 60%,var(--cream) 100%);position:relative;overflow:hidden}
.about::before{
  content:"";position:absolute;left:-10%;top:8%;width:44vw;aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,rgba(15,91,196,.09),transparent 62%);filter:blur(30px);pointer-events:none;
}
.split{display:grid;grid-template-columns:1.02fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
.split--rev{grid-template-columns:1fr 1.02fr}

.art{position:relative;perspective:1200px}
.art__main{
  position:relative;border-radius:var(--r-xl);overflow:hidden;background:#0A1A31;
  box-shadow:0 40px 80px -40px rgba(6,16,32,.55),0 0 0 1px rgba(10,21,38,.08),inset 0 1px 0 rgba(255,255,255,.4);
  transform:rotate(-1.2deg);
  transition:transform .8s var(--ease-out);
}
.art__main img{width:100%;aspect-ratio:4/3.1;object-fit:cover}
.art:hover .art__main{transform:rotate(0deg) translateY(-4px)}
.art__float{
  position:absolute;right:-3%;bottom:-8%;width:44%;border-radius:var(--r-md);overflow:hidden;
  box-shadow:0 30px 60px -26px rgba(6,16,32,.5),0 0 0 5px #fff,0 0 0 6px rgba(10,21,38,.06);
  background:#fff;transform:rotate(2.4deg);
  transition:transform .8s var(--ease-out);
}
.art__float img{width:100%;aspect-ratio:1/.8;object-fit:cover}
.art:hover .art__float{transform:rotate(-1deg) translateY(-6px)}
.art__badge{
  position:absolute;left:-4%;top:6%;z-index:3;padding:.8rem 1rem;border-radius:18px;
  background:linear-gradient(150deg,#FFFFFF,#F0F6FF);
  box-shadow:0 24px 48px -22px rgba(6,16,32,.4),inset 0 1px 0 #fff,inset 0 0 0 1px rgba(10,21,38,.05);
  display:flex;align-items:center;gap:.7rem;
}
.art__badge b{font-family:'Sora',sans-serif;font-size:1.02rem;color:var(--ink);display:block;line-height:1.1}
.art__badge span{font-size:.66rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.art__badge i{
  width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:none;
  background:var(--grad-gold);color:#2A1B00;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 8px 16px -8px rgba(232,156,0,.9);
}
.art__badge i svg{width:1.1rem;height:1.1rem}

.ticks{display:grid;gap:.7rem;margin:1.6rem 0 2rem}
.ticks li{display:flex;gap:.75rem;align-items:flex-start;font-size:.94rem;color:#2C3D56;font-weight:600}
.ticks svg{width:1.25rem;height:1.25rem;flex:none;margin-top:.18rem;color:var(--blue-600)}

/* stat tiles */
.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;margin-top:2rem}
.stat{
  padding:1rem .9rem;border-radius:16px;background:#fff;text-align:center;
  box-shadow:var(--bevel),inset 0 0 0 1px rgba(10,21,38,.055),var(--sh-1);
}
.stat b{display:block;font-family:'Sora',sans-serif;font-weight:800;font-size:1.28rem;color:var(--blue-700);letter-spacing:-.03em}
.stat span{font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}

/* ==========================================================================
   CATEGORY BLOCKS (services)
   ========================================================================== */
.services{background:
  radial-gradient(90% 60% at 100% 0%,rgba(15,91,196,.055),transparent 60%),
  linear-gradient(180deg,#FFFDF9,var(--cream));
  position:relative}
.cat{margin-top:clamp(2.2rem,4vw,3.4rem)}
.cat__head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;
  padding-bottom:1rem;margin-bottom:1.4rem;border-bottom:1px solid rgba(10,21,38,.09);
}
.cat__head-left{display:flex;align-items:center;gap:1rem}
.cat__num{
  font-family:'Sora',sans-serif;font-size:.78rem;font-weight:800;letter-spacing:.06em;
  width:44px;height:44px;border-radius:14px;display:grid;place-items:center;flex:none;
  background:var(--grad-blue);color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -2px 0 rgba(2,20,50,.4),0 10px 20px -10px rgba(15,91,196,.8);
}
.cat__head h3{font-size:clamp(1.2rem,1.8vw,1.6rem)}
.cat__head p{font-size:.86rem;color:var(--muted);margin:.15rem 0 0}
.cat__count{
  font-size:.7rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:var(--blue-700);
  background:#fff;padding:.42rem .8rem;border-radius:999px;white-space:nowrap;
  box-shadow:inset 0 0 0 1px rgba(10,21,38,.07),var(--sh-1);
}
.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1rem,1.6vw,1.5rem)}
.cards-2{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(1rem,1.6vw,1.5rem)}

/* wide feature card */
.feat-card{
  display:grid;grid-template-columns:1fr 1fr;align-items:stretch;border-radius:var(--r-lg);overflow:hidden;
  background:#fff;box-shadow:var(--bevel),inset 0 0 0 1px rgba(10,21,38,.06),var(--sh-2);
  transition:transform .5s var(--ease-out),box-shadow .5s var(--ease-out);
}
.feat-card:hover{transform:translateY(-6px);box-shadow:var(--bevel),inset 0 0 0 1px rgba(15,91,196,.16),var(--sh-3)}
.feat-card__media{position:relative;min-height:260px;overflow:hidden;background:#E9EFF7}
.feat-card__media img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform 1.1s var(--ease-out)}
.feat-card:hover .feat-card__media img{transform:scale(1.05)}
.feat-card__body{padding:clamp(1.4rem,2.4vw,2.2rem);display:flex;flex-direction:column;justify-content:center;gap:.7rem}
.feat-card__body h3{font-size:clamp(1.15rem,1.6vw,1.42rem)}
.feat-card__body p{font-size:.92rem;color:var(--muted);margin:0}
.feat-card--rev .feat-card__media{order:2}

/* ==========================================================================
   DARK SECTIONS
   ========================================================================== */
.dark{
  position:relative;color:#C3D3EA;isolation:isolate;
  background:linear-gradient(165deg,#0A1A31 0%,#061020 48%,#040A16 100%);
  overflow:hidden;
}
.dark::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(60% 50% at 85% 8%,rgba(30,111,224,.28),transparent 62%),
    radial-gradient(50% 40% at 6% 92%,rgba(255,198,30,.14),transparent 60%);
}
.dark::after{
  content:"";position:absolute;inset:0;z-index:-1;opacity:.5;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(70% 60% at 50% 40%,#000,transparent 75%);
  mask-image:radial-gradient(70% 60% at 50% 40%,#000,transparent 75%);
}
.dark h2,.dark h3,.dark h4{color:#fff}
.dark .lead{color:#AFC2DD}
.glass{
  position:relative;border-radius:var(--r-lg);
  background:linear-gradient(160deg,rgba(255,255,255,.085),rgba(255,255,255,.03));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 0 1px rgba(255,255,255,.07),0 30px 60px -40px rgba(0,0,0,.9);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  transition:transform .5s var(--ease-out),box-shadow .5s var(--ease-out),background .5s;
}
.glass:hover{
  transform:translateY(-5px);
  background:linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.045));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 0 0 1px rgba(255,255,255,.12),0 40px 70px -40px rgba(0,0,0,.95);
}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.why-card{padding:clamp(1.3rem,2vw,1.9rem)}
.why-card__n{
  font-family:'Sora',sans-serif;font-size:.72rem;font-weight:800;letter-spacing:.1em;
  color:#7E9CC4;margin-bottom:1.2rem;display:block;
}
.why-card__ic{
  width:46px;height:46px;border-radius:15px;display:grid;place-items:center;margin-bottom:1.1rem;
  background:linear-gradient(155deg,rgba(76,147,242,.35),rgba(15,91,196,.16));
  color:#BFD8FF;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 0 0 1px rgba(255,255,255,.1);
}
.why-card__ic svg{width:1.3rem;height:1.3rem}
.why-card p{font-size:.88rem;line-height:1.66;color:#A9BEDB;margin:0}
.why-card h3{font-size:1.02rem;margin-bottom:.5rem}

/* ==========================================================================
   FOAM LAB / SPECS
   ========================================================================== */
.lab{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(1.6rem,4vw,3.4rem);align-items:center}
.spec{display:grid;gap:.75rem}
.spec__row{
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;
  padding:1rem 1.15rem;border-radius:16px;background:#fff;
  box-shadow:var(--bevel),inset 0 0 0 1px rgba(10,21,38,.055),var(--sh-1);
}
.spec__row b{font-size:.86rem;color:var(--ink);font-weight:800}
.spec__row span{font-size:.8rem;color:var(--muted);display:block}
.spec__bar{height:6px;border-radius:3px;background:#EDF1F7;overflow:hidden;min-width:90px}
.spec__bar i{display:block;height:100%;border-radius:3px;background:var(--grad-blue);box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}
.spec__bar--gold i{background:var(--grad-gold)}
.grade{
  display:inline-flex;align-items:center;gap:.55rem;padding:.4rem .7rem;border-radius:10px;
  background:#0A1A31;color:#fff;font-family:'Sora',sans-serif;font-weight:800;font-size:.85rem;letter-spacing:.02em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18);
}
.grade em{font-style:normal;color:var(--gold)}
.calc{
  margin-top:1.2rem;padding:1.15rem 1.25rem;border-radius:16px;
  background:linear-gradient(150deg,#0A1A31,#061020);color:#C6D6ED;
  box-shadow:var(--sh-2),inset 0 1px 0 rgba(255,255,255,.12);
  font-size:.85rem;
}
.calc code{
  font-family:'Sora',sans-serif;font-size:.86rem;color:#fff;display:block;margin-top:.5rem;line-height:1.7;
}
.calc code b{color:var(--gold)}

/* ==========================================================================
   MATERIALS / FABRIC
   ========================================================================== */
.mat{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.2rem,3vw,2.6rem);align-items:center}
.chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.2rem}
.chip{
  display:inline-flex;align-items:center;gap:.45rem;padding:.5rem .85rem;border-radius:999px;
  background:#fff;font-size:.8rem;font-weight:700;color:#33455E;
  box-shadow:inset 0 0 0 1px rgba(10,21,38,.07),var(--sh-1);
  transition:transform .3s var(--ease-out),box-shadow .3s var(--ease-out);
}
.chip:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1px rgba(15,91,196,.2),var(--sh-2)}
.chip i{width:9px;height:9px;border-radius:50%;box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}
.mat__art{position:relative;border-radius:var(--r-xl);overflow:hidden;box-shadow:0 40px 80px -40px rgba(6,16,32,.5),0 0 0 1px rgba(10,21,38,.07)}
.mat__art img{width:100%;aspect-ratio:4/3;object-fit:cover}
.mat__art::after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 60px rgba(6,16,32,.35)}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;counter-reset:s}
.step{
  position:relative;padding:1.5rem 1.25rem 1.35rem;border-radius:var(--r-md);background:#fff;
  box-shadow:var(--bevel),inset 0 0 0 1px rgba(10,21,38,.055),var(--sh-1);
  transition:transform .5s var(--ease-out),box-shadow .5s var(--ease-out);
}
.step:hover{transform:translateY(-5px);box-shadow:var(--bevel),inset 0 0 0 1px rgba(15,91,196,.16),var(--sh-2)}
.step__n{
  width:38px;height:38px;border-radius:12px;display:grid;place-items:center;margin-bottom:1rem;
  font-family:'Sora',sans-serif;font-weight:800;font-size:.86rem;color:#fff;
  background:var(--grad-blue);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -2px 0 rgba(2,20,50,.4),0 10px 20px -10px rgba(15,91,196,.7);
}
.step h3{font-size:1rem;margin-bottom:.4rem}
.step p{font-size:.86rem;color:var(--muted);margin:0}
.step::after{
  content:"";position:absolute;right:-9px;top:2.1rem;width:18px;height:2px;background:linear-gradient(90deg,rgba(15,91,196,.35),rgba(15,91,196,0));
  display:none;
}

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.gal{
  display:grid;grid-template-columns:repeat(6,1fr);
  grid-auto-rows:clamp(130px,10.5vw,168px);gap:.8rem;grid-auto-flow:dense;
}
.gal__item{
  position:relative;border-radius:var(--r-md);overflow:hidden;background:#E4EBF4;
  box-shadow:0 20px 40px -24px rgba(6,16,32,.45),0 0 0 1px rgba(10,21,38,.06);
  cursor:zoom-in;
}
.gal__item img{width:100%;height:100%;object-fit:cover;transition:transform 1s var(--ease-out),filter .6s}
.gal__item::after{
  content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(6,16,32,.68));
  opacity:0;transition:opacity .45s;
}
.gal__item:hover img{transform:scale(1.05)}
.gal__item:hover::after{opacity:1}
.gal__cap{
  position:absolute;left:.95rem;right:.95rem;bottom:.85rem;z-index:2;color:#fff;font-size:.79rem;font-weight:700;
  opacity:0;transform:translateY(8px);transition:.45s var(--ease-out);line-height:1.35;
}
.gal__item:hover .gal__cap{opacity:1;transform:none}
/* "See this service" — gives each gallery tile a real destination instead of a
   hollow project permalink. Sits inside the caption so it shows with it. */
.gal__more{
  display:inline-block;margin-top:.4rem;color:var(--gold);font-size:.72rem;font-weight:800;
  letter-spacing:.06em;text-transform:uppercase;text-decoration:underline;
  text-underline-offset:3px;text-decoration-thickness:1px;position:relative;z-index:3;cursor:pointer;
}
.gal__more:hover{color:#fff}
/* 8-tile mosaic that tiles a 6-column grid exactly */
.g1{grid-column:span 3;grid-row:span 2}
.g2{grid-column:span 3;grid-row:span 1}
.g3{grid-column:span 3;grid-row:span 1}
.g4{grid-column:span 2;grid-row:span 1}
.g5{grid-column:span 2;grid-row:span 1}
.g6{grid-column:span 2;grid-row:span 2}
.g7{grid-column:span 2;grid-row:span 1}
.g8{grid-column:span 2;grid-row:span 1}

/* lightbox */
.lb{
  position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:2rem;
  background:rgba(4,10,22,.92);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  opacity:0;visibility:hidden;transition:opacity .35s,visibility .35s;
}
.lb.is-open{opacity:1;visibility:visible}
.lb img{max-width:min(94vw,1100px);max-height:82vh;border-radius:16px;box-shadow:0 40px 90px -30px #000;transform:scale(.96);transition:transform .4s var(--ease-out)}
.lb.is-open img{transform:none}
.lb__close{
  position:absolute;top:1.4rem;right:1.4rem;width:46px;height:46px;border-radius:50%;
  background:rgba(255,255,255,.12);color:#fff;display:grid;place-items:center;font-size:1.4rem;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);
}
.lb__close:hover{background:rgba(255,255,255,.22)}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.quote{padding:clamp(1.4rem,2vw,1.9rem);display:flex;flex-direction:column;gap:1rem}
.quote__stars{display:flex;gap:.2rem;color:var(--gold)}
.quote__stars svg{width:1rem;height:1rem}
.quote blockquote{margin:0;font-size:.95rem;line-height:1.7;color:#D6E2F4}
.quote__who{display:flex;align-items:center;gap:.7rem;margin-top:auto;padding-top:.4rem}
.quote__av{
  width:38px;height:38px;border-radius:50%;display:grid;place-items:center;flex:none;
  font-family:'Sora',sans-serif;font-weight:800;font-size:.86rem;color:#061020;
  background:var(--grad-gold);box-shadow:inset 0 1px 0 rgba(255,255,255,.6);
}
.quote__who b{display:block;color:#fff;font-size:.88rem}
.quote__who span{font-size:.72rem;color:#8FA8C9;font-weight:700;letter-spacing:.06em;text-transform:uppercase}

/* ==========================================================================
   AREAS + MAP
   ========================================================================== */
.areas{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.6rem,4vw,3.4rem);align-items:center}
.map-card{
  position:relative;border-radius:var(--r-xl);overflow:hidden;aspect-ratio:4/3;
  background:linear-gradient(150deg,#0A1A31,#061020);
  box-shadow:var(--sh-3),inset 0 1px 0 rgba(255,255,255,.14);
}
.map-card svg{width:100%;height:100%}
.map-pin{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);z-index:2;text-align:center}
.map-pin__dot{
  width:16px;height:16px;border-radius:50%;background:var(--gold);margin:0 auto;
  box-shadow:0 0 0 6px rgba(255,198,30,.18),0 0 0 14px rgba(255,198,30,.08),0 10px 20px rgba(0,0,0,.5);
  animation:pulse 2.6s ease-out infinite;
}
@keyframes pulse{0%{box-shadow:0 0 0 4px rgba(255,198,30,.3),0 0 0 10px rgba(255,198,30,.12)}70%{box-shadow:0 0 0 16px rgba(255,198,30,0),0 0 0 30px rgba(255,198,30,0)}100%{box-shadow:0 0 0 4px rgba(255,198,30,0),0 0 0 10px rgba(255,198,30,0)}}
.map-pin__label svg{width:13px;height:13px;display:inline-block;vertical-align:-2px;margin-right:2px;color:var(--blue-600)}
.map-pin__label{
  margin-top:.9rem;padding:.4rem .8rem;border-radius:999px;background:rgba(255,255,255,.94);color:#0A1526;
  font-size:.72rem;font-weight:800;letter-spacing:.04em;white-space:nowrap;box-shadow:0 12px 24px -10px rgba(0,0,0,.6);
}
.area-list{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin:1.4rem 0 1.8rem}
.area-list li{display:flex;align-items:center;gap:.5rem;font-size:.88rem;font-weight:700;color:#2C3D56}
.area-list svg{width:1rem;height:1rem;color:var(--blue-500);flex:none}

/* ==========================================================================
   CTA BANNER + FORM
   ========================================================================== */
.cta{
  position:relative;overflow:hidden;isolation:isolate;color:#DCE8F8;
  background:linear-gradient(140deg,#0A1A31,#061020 55%,#040A16);
}
.cta__bg{position:absolute;inset:0;z-index:-2}
.cta__bg img{width:100%;height:100%;object-fit:cover;object-position:76% center;opacity:.92}
.cta__bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(4,10,22,.97) 0%,rgba(5,16,34,.9) 40%,rgba(5,16,34,.5) 66%,rgba(5,16,34,.72) 100%);
}
.cta-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(1.8rem,5vw,4rem);align-items:center}
.cta h2{color:#fff;margin-bottom:1rem}
.cta .lead{color:#B6C8E3;max-width:32rem}
.contact-list{display:grid;grid-template-columns:minmax(0,1fr);gap:.7rem;margin-top:2rem}
.contact-list a,.contact-list div{min-width:0}
.contact-list span{min-width:0}
.contact-list b{overflow-wrap:anywhere}
.contact-list a,.contact-list div{
  display:flex;align-items:center;gap:.85rem;padding:.85rem 1rem;border-radius:16px;
  background:rgba(255,255,255,.06);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 0 1px rgba(255,255,255,.07);
  transition:background .3s,transform .3s var(--ease-out);
}
.contact-list a:hover{background:rgba(255,255,255,.11);transform:translateX(3px)}
.contact-list i,
.contact-list .contact-list__ic{
  width:38px;height:38px;min-width:38px;flex:0 0 38px;border-radius:12px;
  display:inline-flex;align-items:center;justify-content:center;place-items:center;
  align-self:flex-start;overflow:hidden;
  background:linear-gradient(155deg,rgba(76,147,242,.4),rgba(15,91,196,.2));color:#CFE2FF;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25);
}
/* An icon inside a fixed-size tile must never grow past it, whatever the
   cascade does. min-width:0 + flex:none + an explicit max stops the SVG from
   claiming the whole row, which is what turned these into giant glyphs. */
.contact-list i svg,
.contact-list .contact-list__ic svg{
  width:1.05rem;height:1.05rem;min-width:0;max-width:1.05rem;max-height:1.05rem;flex:none;
}
.contact-list .contact-list__body{
  display:flex;flex-direction:column;gap:.1rem;min-width:0;flex:1 1 auto;
}
.contact-list span{display:block;font-size:.66rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#8FA8C9}
.contact-list b{display:block;font-size:.92rem;color:#fff;font-weight:700;letter-spacing:-.01em;text-transform:none}

.form-card{
  padding:clamp(1.4rem,2.4vw,2.1rem);border-radius:var(--r-xl);
  background:linear-gradient(160deg,rgba(255,255,255,.98),rgba(244,249,255,.96));
  box-shadow:0 46px 90px -40px rgba(0,0,0,.8),inset 0 1px 0 #fff,inset 0 0 0 1px rgba(255,255,255,.5);
  color:var(--ink);
}
.form-card h3{font-size:1.25rem;margin-bottom:.35rem}
.form-card>p{font-size:.86rem;color:var(--muted);margin-bottom:1.3rem}
.field{position:relative;margin-bottom:.8rem}
.field label{
  display:block;font-size:.7rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase;
  color:#5B6B84;margin-bottom:.35rem;
}
.field input,.field select,.field textarea{
  width:100%;padding:.82rem .95rem;border-radius:12px;border:0;background:#F3F7FC;color:var(--ink);
  font:inherit;font-size:.9rem;font-weight:600;
  box-shadow:inset 0 1px 3px rgba(10,21,38,.09),inset 0 0 0 1px rgba(10,21,38,.07);
  transition:box-shadow .25s,background .25s;
}
.field textarea{min-height:96px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;background:#fff;
  box-shadow:inset 0 0 0 2px var(--blue-500),0 0 0 4px rgba(30,111,224,.14);
}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.form-note{font-size:.72rem;color:var(--muted);margin-top:.7rem;text-align:center}
.form-status{font-size:.82rem;font-weight:700;color:var(--blue-700);margin-top:.7rem;text-align:center;min-height:1.2em}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{position:relative;background:linear-gradient(180deg,#061020,#040A16);color:#95AAC8;overflow:hidden}
.footer::before{
  content:"";position:absolute;inset:0;background:radial-gradient(60% 50% at 12% 0%,rgba(30,111,224,.2),transparent 60%);pointer-events:none;
}
.footer-top{
  position:relative;display:grid;grid-template-columns:1.5fr .8fr .8fr 1fr;gap:2rem;
  padding:clamp(2.8rem,5vw,4.4rem) 0 2.6rem;
}
.footer h5{
  font-family:'Manrope',sans-serif;font-size:.7rem;letter-spacing:.15em;text-transform:uppercase;
  color:#fff;font-weight:800;margin:0 0 1rem;
}
.footer ul{display:grid;gap:.55rem}
.footer a{font-size:.87rem;color:#95AAC8;transition:color .25s,transform .25s}
.footer a:hover{color:#fff}
.footer ul a{display:inline-block}
.footer ul a:hover{transform:translateX(3px)}
.footer__brand{display:flex;flex-direction:column;gap:1.1rem;max-width:22rem}
.footer__brand img{width:auto;height:52px}
.footer__brand p{font-size:.86rem;line-height:1.7;color:#8FA5C4;margin:0}
.socials{display:flex;gap:.5rem}
.socials a{
  width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:#C6D8F0;
  background:rgba(255,255,255,.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),inset 0 0 0 1px rgba(255,255,255,.06);
  transition:.3s var(--ease-out);
}
.socials a:hover{background:var(--blue-600);color:#fff;transform:translateY(-3px)}
.socials svg{width:1.05rem;height:1.05rem}
.footer-bottom{
  position:relative;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  padding:1.3rem 0 1.6rem;border-top:1px solid rgba(255,255,255,.08);font-size:.78rem;color:#7C93B4;
}
.footer-bottom a{font-size:.78rem}
.footer-bottom .dot{width:4px;height:4px;border-radius:50%;background:#3A5578;display:inline-block;margin:0 .5rem;vertical-align:middle}

/* ==========================================================================
   INNER PAGE HERO
   ========================================================================== */
.page-hero{
  position:relative;padding:calc(var(--header-h) + clamp(3rem,6vw,5.5rem)) 0 clamp(3rem,6vw,5rem);
  overflow:hidden;isolation:isolate;color:#C3D3EA;
  background:linear-gradient(160deg,#0A1A31 0%,#061020 52%,#040A16 100%);
}
.page-hero__bg{position:absolute;inset:0;z-index:-2}
.page-hero__bg img{width:100%;height:100%;object-fit:cover;opacity:.34;filter:saturate(.9)}
.page-hero::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(70% 60% at 82% 10%,rgba(30,111,224,.28),transparent 62%),
    linear-gradient(180deg,rgba(4,10,22,.82),rgba(4,10,22,.94));
}
.page-hero h1{color:#fff;font-size:clamp(2.1rem,4.4vw,3.5rem);margin-bottom:1rem;max-width:22ch}
.page-hero .lead{color:#B0C4E0;max-width:44rem}
.crumbs{display:flex;align-items:center;gap:.5rem;font-size:.76rem;font-weight:700;color:#8FA8C9;margin-bottom:1.4rem;flex-wrap:wrap}
.crumbs a{color:#C6D8F0}
.crumbs a:hover{color:#fff}
.crumbs svg{width:.7rem;height:.7rem;opacity:.6}
.crumbs span{color:#fff}

/* article layout */
.article{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:clamp(1.8rem,4vw,3.4rem);align-items:start}
.prose{font-size:1rem}
.prose h2{font-size:clamp(1.4rem,2.2vw,1.9rem);margin:2.4rem 0 .9rem}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:1.12rem;margin:1.9rem 0 .6rem}
.prose p{color:#42546E;line-height:1.78}
.prose ul{margin:0 0 1.2rem;display:grid;gap:.6rem}
.prose ul li{position:relative;padding-left:1.6rem;color:#42546E;font-size:.96rem}
.prose ul li::before{
  content:"";position:absolute;left:0;top:.55em;width:8px;height:8px;border-radius:3px;
  background:var(--grad-gold);box-shadow:0 2px 4px rgba(232,156,0,.4);
}
.prose strong{color:var(--ink);font-weight:800}
.prose .callout{
  margin:1.6rem 0;padding:1.2rem 1.35rem;border-radius:16px;background:#fff;
  box-shadow:var(--bevel),inset 0 0 0 1px rgba(10,21,38,.06),var(--sh-1);
  font-size:.92rem;color:#33455E;
}
.prose .callout b{color:var(--blue-700)}
.prose figure{margin:1.6rem 0}
.prose figure img{width:100%;border-radius:20px;box-shadow:0 30px 60px -34px rgba(6,16,32,.5)}
.prose figcaption{font-size:.76rem;color:var(--muted);margin-top:.6rem;text-align:center}

.sidebar{display:grid;gap:1rem;position:sticky;top:calc(var(--header-h) + 1rem)}
.side-card{padding:1.35rem;border-radius:var(--r-md);background:#fff;box-shadow:var(--bevel),inset 0 0 0 1px rgba(10,21,38,.06),var(--sh-2)}
.side-card h4{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--blue-700);margin-bottom:.9rem}
.side-card ul{display:grid;gap:.15rem}
.side-card ul a{
  display:flex;align-items:center;gap:.6rem;padding:.55rem .6rem;border-radius:10px;
  font-size:.86rem;font-weight:700;color:#33455E;transition:.25s;
}
.side-card ul a:hover{background:#F2F7FF;color:var(--blue-700)}
.side-card ul a[aria-current]{background:#EDF4FF;color:var(--blue-700)}
.side-card ul a svg{width:.9rem;height:.9rem;color:var(--blue-500);flex:none}
.side-card--cta{background:linear-gradient(155deg,#0A1A31,#061020);color:#B9CAE4;border-radius:var(--r-md)}
.side-card--cta h4{color:var(--gold)}
.side-card--cta p{font-size:.86rem;color:#A5BBD9}
.side-card--cta .btn{margin-top:1rem;width:100%}

/* FAQ */
.faq{display:grid;gap:.6rem;margin-top:1.4rem}
.faq details{
  border-radius:14px;background:#fff;overflow:hidden;
  box-shadow:var(--bevel),inset 0 0 0 1px rgba(10,21,38,.06),var(--sh-1);
}
.faq summary{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1rem 1.15rem;cursor:pointer;font-weight:800;color:var(--ink);font-size:.94rem;list-style:none;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"+";font-size:1.2rem;color:var(--blue-600);transition:transform .3s;font-weight:700;line-height:1;
}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details[open] summary{color:var(--blue-700)}
.faq .faq__a{padding:0 1.15rem 1.1rem;font-size:.9rem;color:#4A5C76;line-height:1.72}

/* ==========================================================================
   MOBILE DOCK + TOP BUTTON
   ========================================================================== */
.dock{
  display:none;position:fixed;left:.7rem;right:.7rem;bottom:.7rem;z-index:95;
  grid-template-columns:1fr 1fr 1.2fr;gap:.45rem;padding:.45rem;border-radius:20px;
  background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
  box-shadow:0 -10px 40px -12px rgba(6,16,32,.35),inset 0 1px 0 #fff,inset 0 0 0 1px rgba(10,21,38,.07);
}
.dock a{
  display:flex;flex-direction:column;align-items:center;gap:.15rem;padding:.5rem .3rem;border-radius:14px;
  font-size:.62rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:#33455E;
}
.dock a svg{width:1.1rem;height:1.1rem;color:var(--blue-700)}
.dock a.dock__cta{background:var(--grad-gold);color:#2A1B00;box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 6px 14px -6px rgba(232,156,0,.8)}
.dock a.dock__cta svg{color:#2A1B00}

.to-top{
  position:fixed;right:1rem;bottom:1rem;z-index:94;width:44px;height:44px;border-radius:50%;
  display:grid;place-items:center;background:#fff;color:var(--blue-700);
  box-shadow:0 16px 32px -14px rgba(6,16,32,.5),inset 0 0 0 1px rgba(10,21,38,.07);
  opacity:0;visibility:hidden;transform:translateY(10px);transition:.35s var(--ease-out);
}
.to-top.is-on{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:var(--blue-600);color:#fff}
.to-top svg{width:1.05rem;height:1.05rem}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
/* No-JS / script-failure safety: only hide revealable elements once the
   script has flagged the document as ready, so content can never be
   invisible for a visitor whose JS did not run. */
.js-ready [data-reveal]{opacity:0;transform:translateY(26px)}
[data-reveal]{transition:opacity .85s var(--ease-out),transform .85s var(--ease-out)}
[data-reveal].is-in{opacity:1;transform:none}
[data-reveal][data-delay="1"]{transition-delay:.08s}
[data-reveal][data-delay="2"]{transition-delay:.16s}
[data-reveal][data-delay="3"]{transition-delay:.24s}
[data-reveal][data-delay="4"]{transition-delay:.32s}
[data-reveal][data-delay="5"]{transition-delay:.4s}

/* tilt */
[data-tilt]{transform-style:preserve-3d;will-change:transform}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1180px){
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .footer-top{grid-template-columns:1.4fr 1fr 1fr;gap:1.6rem}
  .footer__brand{grid-column:1/-1;max-width:none}
}
@media (max-width:1024px){
  :root{--header-h:70px}
  .nav,.header-actions .btn{display:none}
  .burger{display:grid}
  .hero-inner{grid-template-columns:1fr;padding-block:clamp(2.4rem,6vw,4rem)}
  /* The 3D stack stays on every screen size — it is the hero's whole point. */
  .hero{min-height:auto}
  .split,.split--rev{grid-template-columns:1fr;gap:2.4rem}
  .about .art{order:-1;max-width:560px}
  .lab,.mat,.areas,.cta-grid{grid-template-columns:1fr}
  .article{grid-template-columns:1fr}
  .sidebar{position:static;grid-template-columns:1fr 1fr}
  .cards-3{grid-template-columns:repeat(2,1fr)}
  .feat-card{grid-template-columns:1fr}
  .feat-card--rev .feat-card__media{order:0}
  .steps{grid-template-columns:repeat(2,1fr)}
  .quotes{grid-template-columns:1fr}
  .gal{grid-template-columns:repeat(4,1fr);grid-auto-rows:clamp(120px,14vw,170px)}
  .g1{grid-column:span 2}.g2{grid-column:span 2}.g3{grid-column:span 2}
  .g4{grid-column:span 2}.g5{grid-column:span 2}.g6{grid-column:span 2;grid-row:span 2}
  .g7{grid-column:span 2}.g8{grid-column:span 2}
  .mat__art{order:-1}
}
@media (max-width:720px){
  body{font-size:15.5px}
  .section{padding:3.4rem 0}
  .cards-3,.cards-2{grid-template-columns:1fr}
  .why-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .stat-row{grid-template-columns:1fr 1fr}
  .stat:last-child{grid-column:1/-1}
  .footer-top{grid-template-columns:1fr 1fr}
  .sidebar{grid-template-columns:1fr}
  .hero__trust{gap:1.1rem 1.6rem}
  .hero__trust b{font-size:1.1rem}
  .field-row{grid-template-columns:1fr}
  .dock{display:grid}
  .to-top{bottom:5.2rem}
  .cta{padding-bottom:5rem}
  .marquee__track{animation-duration:26s}
  .cat__head{flex-direction:column;align-items:flex-start;gap:.7rem}
  .area-list{grid-template-columns:1fr}
  .gal{gap:.6rem;grid-template-columns:1fr 1fr;grid-auto-rows:clamp(130px,34vw,180px)}
  .g1,.g6{grid-column:span 2}.g2,.g3,.g4,.g5,.g7,.g8{grid-column:span 1}
  .g1{grid-row:span 2}.g6{grid-row:span 1}
  .footer-bottom{flex-direction:column;align-items:flex-start}
}
@media (max-width:420px){
  .btn{width:100%;justify-content:center}
  .btn-row{flex-direction:column;align-items:stretch}
  .hero .btn-row{margin-bottom:1.6rem}
}

/* reduced motion */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important}
  [data-reveal]{opacity:1;transform:none}
}
@media print{
  .header,.dock,.to-top,.lb,.strip{display:none}
  body{background:#fff}
}

/* ==========================================================================
   REFINEMENTS v2
   ========================================================================== */
.hero__badges{display:flex;flex-wrap:wrap;gap:.45rem .6rem;margin:0 0 1.7rem}
.hero__badges li{
  display:inline-flex;align-items:center;gap:.4rem;font-size:.8rem;font-weight:700;color:#D7E4F7;
  padding:.34rem .7rem .34rem .45rem;border-radius:999px;
  background:rgba(255,255,255,.07);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 0 1px rgba(255,255,255,.08);
}
.hero__badges svg{width:1rem;height:1rem;color:#7FD3A4;flex:none}

/* hero visual: pull the 3D stack into the copy's baseline */
.hero__visual{min-height:min(560px,54vw)}
.hero-card--main{top:-2%;width:83%}
.hero-card--small{bottom:2%;width:44%}
.hero-chip--a{left:-6%;top:4%}
.hero-chip--b{right:-5%;bottom:26%}

/* gallery captions always visible on hover only; ensure overlay readable */
.gal__cap{font-size:.78rem}

/* section head spacing on dark */
.dark .section-head .lead{color:#A9BEDB}

/* tighter dark cards */
.why-card__ic svg{width:1.25rem;height:1.25rem}

/* map: smaller pin marker */
.map-pin__dot{width:13px;height:13px}
.map-pin__label{font-size:.7rem;padding:.36rem .7rem}

/* footer lockup alignment */
.footer__brand .brand__mark{height:44px}
.footer__brand .brand__type b,.footer__brand .brand__type i,.footer__brand .brand__type u{font-size:.8rem}

/* article sidebar sticky safety */
@media (max-width:1024px){.sidebar{position:static}}

/* focus ring on dark */
.dark :focus-visible,.hero :focus-visible,.page-hero :focus-visible{outline-color:var(--gold)}

/* ==========================================================================
   HERO COMPOSITION v3 — calmer, more premium
   ========================================================================== */
.hero{min-height:clamp(700px,96svh,1060px)}
.hero .hero__veil{
  background:
    radial-gradient(110% 85% at 8% 4%,rgba(4,10,22,.86) 0%,rgba(4,10,22,.5) 42%,rgba(4,10,22,.12) 68%),
    linear-gradient(96deg,rgba(4,10,22,.95) 0%,rgba(5,16,34,.82) 30%,rgba(5,16,34,.32) 58%,rgba(5,16,34,.5) 100%),
    linear-gradient(180deg,rgba(4,10,22,.86) 0%,rgba(4,10,22,.05) 26%,rgba(4,10,22,.2) 58%,rgba(4,10,22,.95) 100%);
}
.hero-inner{grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:clamp(1.5rem,3.5vw,3.4rem)}
.hero__visual{min-height:clamp(360px,40vw,520px)}
.hero-card--main{
  top:0;right:0;width:88%;border-radius:var(--r-xl);
  animation:floaty 11s ease-in-out infinite;
}
.hero-card--small{
  left:-1%;bottom:-6%;width:39%;border-radius:var(--r-md);
  animation:floaty 11s ease-in-out 1.1s infinite reverse;
  box-shadow:0 30px 60px -26px rgba(0,0,0,.75),0 0 0 5px rgba(255,255,255,.06),0 0 0 1px rgba(255,255,255,.18);
}
.hero-chip--a{left:0;top:7%;z-index:4}
.hero-chip--b{right:1%;bottom:9%;z-index:4}
.hero__visual::after{
  content:"";position:absolute;left:12%;right:6%;bottom:-9%;height:46px;border-radius:50%;
  background:radial-gradient(50% 50% at 50% 50%,rgba(0,0,0,.55),rgba(0,0,0,0) 70%);
  filter:blur(12px);z-index:-1;
}
@media (max-width:1024px){
  .hero{min-height:auto}
}

/* ==========================================================================
   SAFETY + MOBILE POLISH v4
   ========================================================================== */
/* inline icons must never scale up inside flex containers */
.drawer a svg,.drawer svg,.side-card svg,.footer svg,.dock svg,.crumbs svg,
.contact-list svg,.area-list svg,.ticks svg,.hero__badges svg,.map-pin__label svg,
.socials svg,.link-arrow svg,.cat__count svg{width:1rem;height:1rem;flex:none}
.dock a svg{width:1.1rem;height:1.1rem}
.socials svg{width:1.05rem;height:1.05rem}
.drawer a svg{color:var(--blue-600)}

/* hero kicker wraps nicely instead of stretching */
.hero__kicker{align-items:center;flex-wrap:wrap;row-gap:.4rem}
.hero__kicker b{flex:none}

/* page hero always tall enough for the fixed header */
.page-hero{min-height:clamp(320px,42vh,480px);display:flex;align-items:flex-end}
.page-hero .container{width:min(100% - 2.5rem,var(--container))}
.page-hero h1{text-wrap:balance}

/* mobile refinements */
@media (max-width:720px){
  .hero__kicker{font-size:.72rem;padding:.5rem .7rem .5rem .5rem}
  .hero__kicker b{font-size:.62rem}
  .hero h1{font-size:clamp(2.05rem,9.4vw,2.9rem);letter-spacing:-.032em}
  .hero__sub{font-size:.98rem;line-height:1.62;margin-bottom:1.7rem}
  .hero__badges{gap:.4rem}
  .hero__badges li{font-size:.74rem;padding:.3rem .6rem .3rem .4rem}
  .hero__trust{gap:.9rem 1.4rem;padding-top:1.2rem}
  .hero__trust b{font-size:1.02rem}
  .hero__trust span{font-size:.68rem}
  .hero .btn-row{margin-bottom:1.6rem}
  .brand__mark{height:38px}
  .brand__type b,.brand__type i,.brand__type u{font-size:.7rem}
  .brand__type small{font-size:.44rem;letter-spacing:.18em}
  .section-head{margin-bottom:2rem}
  .stat-row{grid-template-columns:1fr 1fr}
  .stat:last-child{grid-column:1/-1}
  .gal__cap{font-size:.72rem;opacity:1;transform:none}
  .gal__item::after{opacity:.55}
  .cat__head-left{align-items:flex-start}
  .article{padding-bottom:2rem}
  .prose h2{font-size:1.32rem}
  .form-card{padding:1.2rem}
  .cta{padding-bottom:6rem}
}
.hero__kicker b svg{width:.95em;height:.95em;flex:none}
.brand__type small{display:block}

/* ==========================================================================
   MOBILE HERO v5
   ========================================================================== */
@media (max-width:720px){
  .hero-inner{padding-block:1.6rem 3.2rem}
  .hero__kicker{
    display:inline-flex;align-items:center;flex-wrap:wrap;gap:.4rem .5rem;
    padding:.3rem .7rem .3rem .3rem;font-size:.68rem;white-space:normal;max-width:100%;
    margin-bottom:1.15rem;
  }
  .hero__kicker b{font-size:.6rem;padding:.26rem .5rem}
  .hero h1{
    font-size:clamp(1.95rem,8.6vw,2.65rem);line-height:1.02;letter-spacing:-.036em;margin-bottom:1rem;
  }
  .hero__sub{font-size:.94rem;line-height:1.6;margin-bottom:1.35rem;max-width:32ch}
  .hero__badges{margin-bottom:1.25rem}
  .hero .btn-row{gap:.6rem}
  .hero .btn--lg{padding:.95rem 1.35rem;font-size:.92rem}
  .hero__trust{padding-top:1.1rem;gap:.8rem 1.2rem}
  .hero__trust b{font-size:.98rem}
  .hero__trust span{font-size:.64rem}
  .hero{min-height:auto;padding-bottom:2.4rem}
  .strip{margin-top:0}
}
@media (max-width:420px){
  .hero .btn-row{flex-direction:column;align-items:stretch}
  .hero .btn{width:100%}
}
@media (max-width:1024px){
  /* Every hero element stays visible; only spacing and type scale change. */
  .hero__kicker{padding:.32rem .72rem .32rem .32rem;row-gap:0}
  .hero__trust{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem 1.4rem}
  .hero h1{max-width:16ch}
}
@media (max-width:1024px){
  .hero{min-height:clamp(480px,74svh,640px)}
  .hero-inner{padding-block:2.6rem 3rem}
}

/* ==========================================================================
   FINAL POLISH v6
   ========================================================================== */
/* scroll progress */
.progress{
  position:fixed;left:0;top:0;height:3px;width:100%;z-index:120;pointer-events:none;
  transform-origin:0 50%;transform:scaleX(0);
  background:linear-gradient(90deg,var(--blue-500),var(--gold));
  box-shadow:0 0 12px rgba(255,198,30,.55);
  transition:transform .1s linear;
}
/* dark section CTA row */
.why-foot{
  display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;
  margin-top:1.2rem;padding:1.15rem 1.35rem;border-radius:var(--r-md);
  background:linear-gradient(120deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 0 0 0 1px rgba(255,255,255,.07);
}
.why-foot p{margin:0;font-size:.9rem;color:#A9BEDB;max-width:38rem}
.why-foot strong{color:#fff}
.why-card{min-height:100%;display:flex;flex-direction:column}
.why-card p{flex:1}

/* subtle 3D depth on imagery */
.art__main img,.mat__art img,.svc-card__media img,.feat-card__media img{will-change:transform}

/* nicer selection in dark zones */
.dark ::selection{background:var(--gold);color:#040A16}

/* footer service rows with chevrons */
.footer ul li{display:flex}
.spec__row .grade{
  font-size:.82rem;color:#fff;display:inline-flex;align-items:center;justify-content:center;
  padding:.45rem .72rem;min-width:96px;white-space:nowrap;
  background:linear-gradient(150deg,#102642,#040A16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.5),0 8px 16px -10px rgba(6,16,32,.8);
}
.spec__row .grade em{color:var(--gold);font-style:normal}
.spec__row{align-items:center}
@media (max-width:720px){
  .spec__row{grid-template-columns:auto 1fr;row-gap:.5rem;align-items:start}
  .spec__bar{grid-column:1/-1;width:100%}
  .spec__row .grade{min-width:0}
}
@media (max-width:1024px){
  .about .art{max-width:100%;margin-bottom:.5rem}
  .art__float{right:0;bottom:-6%;width:46%}
  .art__badge{left:0}
  .mat__art img{aspect-ratio:16/10}
}
@media (max-width:720px){
  .art__main{transform:none}
  .art__float{width:42%;bottom:-10%}
  .art__badge{padding:.6rem .75rem;gap:.5rem}
  .art__badge b{font-size:.9rem}
  .split,.split--rev{gap:2rem}
  .lab,.mat,.areas{gap:1.8rem}
  .section-head.center .lead{font-size:.96rem}
}

/* ==========================================================================
   HERO GRID — single column below the desktop breakpoint
   (declared last so it wins over the desktop grid definition)
   ========================================================================== */
@media (max-width:1024px){
  .hero-inner{grid-template-columns:minmax(0,1fr)}
  .hero__copy{min-width:0}
  .hero h1{max-width:none}
}

/* ==========================================================================
   WORDPRESS MENU MARKUP
   wp_nav_menu() prints <ul><li><a>. These rules make that output identical to
   the theme's hand-written nav and footer links, and give the footer bottom
   bar the dot separators the design uses.
   ========================================================================== */
.nav__list{display:flex;align-items:center;gap:.15rem;margin:0;padding:0;list-style:none}
.nav__list li{display:flex}
.nav__list a{
  padding:.55rem .85rem;border-radius:999px;
  font-size:.86rem;font-weight:700;color:#C9D8EC;
  transition:color .25s,background .25s;
}
.nav__list a:hover{color:#fff;background:rgba(255,255,255,.07)}
.nav__list a[aria-current="page"]{color:#fff;background:rgba(255,255,255,.1)}

/* Scrolled state: the header turns into a light glass bar, so the links must
   switch to the dark palette the design uses there. */
.header.is-stuck .nav__list a{color:#33445C}
.header.is-stuck .nav__list a:hover,
.header.is-stuck .nav__list a[aria-current="page"]{color:var(--blue-700);background:rgba(15,91,196,.07)}

.footer ul.menu{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.footer ul.menu li{display:flex}

/* Footer bottom bar: inline links separated by the design's dots.
   Scoped to .footer-bottom so it outranks the column rule above. */
.footer-bottom .legal-menu{list-style:none;margin:0;padding:0;display:inline-flex;align-items:center;flex-wrap:wrap;gap:.2rem}
.footer-bottom .legal-menu li{display:inline-flex;align-items:center}
.footer-bottom .legal-menu li + li::before{
  content:"";display:inline-block;width:4px;height:4px;border-radius:50%;
  background:currentColor;opacity:.45;margin:0 .7rem;
}
.footer-bottom .legal-menu a{font-size:.78rem;color:#7C93B4}
.footer-bottom .legal-menu a:hover{color:#fff}

/* Drawer + mobile: the nav list collapses into the drawer. */
@media (max-width:1024px){
  .nav__list{display:none}
}

/* ==========================================================================
   UNIFIED RESPONSIVE — nothing hidden, only re-proportioned

   Rule for this block: no element that exists on desktop may be hidden on
   tablet or mobile. The hero's 3D stack, the kicker text and the scroll cue
   all stay. Only spacing, grid tracks and type scale change.
   ========================================================================== */

/* --- Hero 3D stack: one source of truth for its shape -------------------- */
.hero__visual{
  display:block;
  position:relative;
  width:100%;
  min-height:clamp(300px,44vw,520px);
}
.hero-card--main{left:auto;right:0;top:0;width:78%}
.hero-card--small{left:0;bottom:4%;width:47%}
.hero-chip--a{left:0;top:6%}
.hero-chip--b{right:1%;bottom:14%}

/* Tablet — stack goes full width under the copy, keeps its proportions. */
@media (max-width:1024px){
  .hero__visual{
    min-height:clamp(320px,58vw,520px);
    max-width:640px;
    margin:0.4rem auto 0;
  }
  .hero-card--main{width:76%}
  .hero-card--small{width:45%;bottom:2%}
  .hero-chip--a{left:0;top:4%}
  .hero-chip--b{right:0;bottom:10%}
}

/* Phone — the stack scales down but never disappears. */
@media (max-width:720px){
  .hero__visual{
    min-height:clamp(230px,66vw,340px);
    margin-top:0.2rem;
  }
  .hero-card--main{width:78%;top:2%}
  .hero-card--small{width:46%;bottom:0}
  .hero-chip{padding:.5rem .62rem;border-radius:14px;gap:.5rem}
  .hero-chip b{font-size:.72rem}
  .hero-chip small{font-size:.58rem}
  .hero-chip__ic{width:26px;height:26px;border-radius:9px}
  .hero-chip__ic svg{width:.85rem;height:.85rem}
  .hero-chip--a{left:-1%;top:2%}
  .hero-chip--b{right:-1%;bottom:6%}
}

@media (max-width:400px){
  .hero__visual{min-height:210px}
  .hero-card--main{width:80%}
  .hero-card--small{width:44%}
  .hero-chip b{font-size:.66rem}
  .hero-chip small{font-size:.54rem}
}

/* --- Scroll cue stays visible on every screen ---------------------------- */
@media (max-width:1024px){
  .hero{flex-direction:column;align-items:stretch;justify-content:center}
  .hero__scroll{
    position:relative;
    left:auto;right:auto;bottom:auto;transform:none;
    margin:.6rem 0 0;
    flex-direction:row;
    gap:.55rem;
    justify-content:center;
    font-size:.6rem;
  }
  .hero__scroll i{width:18px;height:28px}
}

/* ==========================================================================
   HEADER — the same three things on every screen: logo, full nav, quote button

   Desktop puts them on one line. Tablet and phone keep all of them too, but
   give the navigation its own row so each of the five links is fully readable
   and tappable instead of being squeezed into a sliver. Nothing is hidden and
   nothing moves into a drawer-only menu.
   ========================================================================== */
@media (max-width:1024px){
  :root{--header-h:112px}

  .header{height:var(--header-h);align-items:stretch}
  .header-inner{
    flex-wrap:wrap;
    align-content:center;
    gap:.15rem .7rem;
    padding-block:.5rem;
    row-gap:.2rem;
  }

  /* Row 1: brand, call button, quote button — brand left, actions right. */
  .brand{order:1}
  .brand__mark{height:34px}
  .header-actions{order:2;margin-left:auto;gap:.45rem}
  .header-actions .btn{display:inline-flex;padding:.55rem .85rem;font-size:.78rem}
  .header-actions .btn svg{width:.9rem;height:.9rem}
  .icon-btn{width:34px;height:34px}
  .icon-btn svg{width:.95rem;height:.95rem}
  .burger{display:none}

  /* Row 2: the whole menu, on its own line, scrollable if a site has more
     links than fit. Scrollbars are hidden but swiping still works. */
  .nav{
    order:3;
    flex:1 0 100%;
    margin-left:0;
    display:block;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    -ms-overflow-style:none;
    padding-bottom:1px;
  }
  .nav::-webkit-scrollbar{display:none}
  .nav__list{
    display:flex;
    flex-wrap:nowrap;
    gap:.1rem;
    width:max-content;
  }
  .nav__list a{
    padding:.42rem .6rem;
    font-size:.8rem;
    white-space:nowrap;
  }
  /* WordPress marks the current page as .current-menu-item / aria-current. */
  .nav__list a[aria-current="page"],
  .nav__list .current-menu-item > a{
    color:#fff;
    background:rgba(255,255,255,.12);
  }
  .header.is-stuck .nav__list a[aria-current="page"],
  .header.is-stuck .nav__list .current-menu-item > a{
    color:var(--blue-700);
    background:rgba(15,91,196,.08);
  }
}

@media (max-width:720px){
  :root{--header-h:100px}
  .header-inner{gap:.1rem .5rem;padding-block:.4rem}
  .brand__mark{height:30px}
  .brand__type b,.brand__type i,.brand__type u{font-size:.62rem}
  .brand__type small{font-size:.38rem;letter-spacing:.15em}
  .header-actions .btn{padding:.5rem .7rem;font-size:.72rem}
  .nav__list a{padding:.4rem .52rem;font-size:.76rem}
}

@media (max-width:400px){
  .header-actions .btn{padding:.48rem .62rem;font-size:.7rem}
  .nav__list a{padding:.38rem .48rem;font-size:.74rem}
}

/* --- Hero 3D stack: give it real presence on small screens ---------------- */
@media (max-width:1024px){
  .hero__visual{
    min-height:clamp(300px,52vw,470px);
    max-width:660px;
    margin:1.1rem auto 0;
  }
  .hero-card--main{width:78%;top:2%}
  .hero-card--small{width:46%;bottom:2%}
}

@media (max-width:720px){
  .hero__visual{
    /* Tall enough for the stack to read as a stack: the two tilted cards plus
       the two floating chips all need room, exactly like on desktop. */
    min-height:clamp(300px,84vw,400px);
    margin-top:1.4rem;
  }
  .hero-card--main{width:82%;right:0;top:0}
  .hero-card--small{width:52%;left:0;bottom:0}
  .hero-chip{padding:.52rem .64rem;border-radius:14px;gap:.5rem}
  .hero-chip b{font-size:.72rem}
  .hero-chip small{font-size:.58rem}
  .hero-chip__ic{width:26px;height:26px;border-radius:9px}
  .hero-chip__ic svg{width:.85rem;height:.85rem}
  .hero-chip--a{left:0;top:1%}
  .hero-chip--b{right:0;bottom:14%}
}

@media (max-width:420px){
  .hero-card--main{width:84%}
  .hero-card--small{width:54%}
  .hero-chip b{font-size:.68rem}
  .hero-chip small{font-size:.55rem}
  .hero-chip--a{left:-2%;top:0}
  .hero-chip--b{right:-2%;bottom:16%}
}

/* --- Fixed bottom dock must never sit on top of real content ------------- */
@media (max-width:1024px){
  body{padding-bottom:5.4rem}
  .footer{padding-bottom:1.5rem}
}

/* --- Services mega menu: stay inside the viewport on small screens --------
   It is a dropdown off the "Services" link. On phones a 3-column panel is too
   wide, so it becomes one scrollable column pinned to the screen edges rather
   than hanging off the left edge and causing horizontal overflow. ---------- */
@media (max-width:1024px){
  .mega{
    left:0;
    right:0;
    transform:translate(0,10px);
    width:auto;
    max-width:100%;
    box-sizing:border-box;
    grid-template-columns:1fr;
    max-height:min(70vh,460px);
    overflow-y:auto;
    /* On a phone the panel covers the hero, so it must be opaque. The desktop
       version is a floating sheet over a dark bar, where a hint of translucency
       reads as depth; here it just let the headline show through the links. */
    background:#fff;
    box-shadow:0 24px 48px -18px rgba(6,16,32,.34),inset 0 0 0 1px rgba(10,21,38,.07);
    padding:1.1rem 1.15rem;
  }
  .mega__label{font-size:.68rem;letter-spacing:.14em;margin-bottom:.5rem}
  .mega__col + .mega__col{margin-top:.9rem;padding-top:.9rem;border-top:1px solid rgba(10,21,38,.07)}
  .mega__col li a{padding:.62rem .2rem;font-size:.9rem}
  .mega.is-open{transform:translate(0,0)}
  .mega__col{min-width:0}
  .mega__col a{white-space:normal}
  .mega__foot{flex-direction:column;align-items:flex-start;gap:.7rem}
}

/* --- Grid tracks must be allowed to shrink below their content width ------
   A 1fr track defaults to minmax(auto,1fr), so a form with a wide intrinsic
   width can push the whole column past the viewport. minmax(0,1fr) lets the
   track shrink and the content wrap instead of scrolling sideways. --------- */
@media (max-width:1024px){
  .article,
  .split,
  .split--rev,
  .cta-grid,
  .lab,
  .mat,
  .areas,
  .cards-3,
  .steps,
  .quotes,
  .feat-card,
  .sidebar{grid-template-columns:minmax(0,1fr)}

  .article > *,
  .split > *,
  .cta-grid > *,
  .lab > *,
  .mat > *{min-width:0}

  .field input,
  .field textarea,
  .field select{max-width:100%}
}

/* --- Long strings and flexible media must never widen the page ------------ */
.footer__brand{min-width:0;max-width:100%}
.brand__mark-wrap{min-width:0;display:block}
.brand__mark-wrap img{max-width:100%}
@media (max-width:720px){
  .footer__brand .brand__mark{height:38px}
  .container,.container-wide{width:min(100% - 2rem,var(--container))}
}

/* --- Comfortable touch targets on phones and tablets ---------------------
   Apple and Google both ask for ~44px. These are links whose box was text
   height only, so the target is grown with padding without moving the layout.
   ------------------------------------------------------------------------ */
@media (max-width:1024px){
  .link-arrow{min-height:44px;align-items:center;padding-block:.5rem}
  .contact-list a{min-height:44px}
  .contact-list a b,
  .footer a,
  .footer ul.menu a,
  .footer-bottom a{min-height:34px;display:inline-flex;align-items:center}
  .area-list a{min-height:44px}
  .crumbs a{min-height:40px;display:inline-flex;align-items:center}
  .nav__link{padding-block:.55rem}
  .footer-bottom .legal-menu a{padding-block:.55rem}
}

/* ==========================================================================
   CONTACT CARDS ON PHONES — icon above the text

   On a narrow screen the three details were crammed into one row: a 38px tile
   with the label and value squeezed beside it. Each card now stacks instead —
   small icon first, then "PHONE" and the number underneath — which reads like
   the desktop card while giving the text the full width of the screen.
   ========================================================================== */
@media (max-width:720px){
  .contact-list{gap:.6rem}
  .contact-list a,
  .contact-list div{
    flex-direction:column;
    align-items:flex-start;
    gap:.55rem;
    padding:.85rem .9rem;
  }
  .contact-list i,
  .contact-list .contact-list__ic{
    width:34px;height:34px;min-width:34px;flex:0 0 34px;border-radius:11px;
    align-self:flex-start;
  }
  .contact-list i svg,
  .contact-list .contact-list__ic svg{
    width:1rem;height:1rem;max-width:1rem;max-height:1rem;
  }
  .contact-list .contact-list__body{width:100%;gap:.15rem}
  .contact-list span{font-size:.64rem;letter-spacing:.11em}
  .contact-list b{font-size:.9rem;line-height:1.4}
  /* stop the hover nudge from shifting stacked cards sideways */
  .contact-list a:hover{transform:none}
}

/* ==========================================================================
   CONTACT CARDS — light and dark surfaces

   The same component is used on the dark call-to-action panel and on the light
   contact page. The dark styling is the default; this adds the light variant so
   the label and value stay readable on a cream background instead of turning
   white-on-white.
   ========================================================================== */
.contact-list--light a,
.contact-list--light div{
  background:#fff;
  box-shadow:var(--bevel),inset 0 0 0 1px rgba(10,21,38,.07),0 1px 2px rgba(10,21,38,.04),0 10px 22px -14px rgba(10,21,38,.22);
}
.contact-list--light a:hover{
  background:#fff;
  box-shadow:var(--bevel),inset 0 0 0 1px rgba(15,91,196,.22),0 14px 28px -16px rgba(10,21,38,.28);
}
.contact-list--light i,
.contact-list--light .contact-list__ic{
  background:var(--grad-blue);
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 8px 16px -8px rgba(15,91,196,.6);
}
.contact-list--light span{color:#6B7C95}
.contact-list--light b{color:var(--ink)}
