/* ============================================================
   ECO WOODWORK & DESIGN — Design System v2
   Brand palette taken from the Eco logo & Instagram identity:
   deep navy, electric cyan/blue, lime "ECO" green (accent only),
   white, near-black and natural wood.
   ============================================================ */

:root{
  /* Navy scale (dominant) */
  --navy-950:#050a14;
  --navy-900:#081325;
  --navy-850:#0b1a31;
  --navy-800:#0f223f;
  --navy-700:#173058;

  /* Logo blues */
  --blue:#0a3d85;
  --cyan:#1a9ad9;
  --cyan-glow:#3cc6f2;

  /* Lime "ECO" green — accent only */
  --lime:#a8c84f;
  --lime-deep:#8cae34;

  /* Natural wood */
  --wood-dark:#5c3a20;
  --wood:#a8703f;
  --wood-light:#d2a36d;

  /* Neutrals */
  --white:#ffffff;
  --paper:#f4f2ee;
  --paper-2:#e9e5dd;
  --ink:#0b1424;
  --muted:#586274;
  --muted-dark:#9aa6b8;
  --line:rgba(11,20,36,.12);
  --line-dark:rgba(255,255,255,.12);

  --font-head:'Jost', 'Avenir Next', 'Century Gothic', 'Segoe UI', sans-serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --section-pad:clamp(4.5rem, 10vw, 8.5rem);
  --container-w:1320px;
  --gutter:clamp(1.25rem, 4vw, 3rem);
  --header-h:84px;

  --ease:cubic-bezier(.22,.68,.32,1);
  --ease-out:cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ overflow-x:clip; scroll-behavior:smooth; scroll-padding-top:80px; }
body{
  overflow-x:clip;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
body.nav-open{ overflow:hidden; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
}

img,video{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul, ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-head); font-weight:500; line-height:1.05; margin:0; color:inherit; letter-spacing:-.01em; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
figure{ margin:0; }
::selection{ background:var(--lime); color:var(--navy-950); }

:focus-visible{ outline:2px solid var(--cyan-glow); outline-offset:3px; }

.skip-link{
  position:absolute; left:1rem; top:-100px; z-index:3000;
  background:var(--lime); color:var(--navy-950); padding:.7rem 1rem; font-weight:600;
}
.skip-link:focus{ top:1rem; }

.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.container{ max-width:var(--container-w); margin:0 auto; padding:0 var(--gutter); }
.section{ padding:var(--section-pad) 0; position:relative; }
.section--dark{ background:var(--navy-900); color:var(--white); }
.section--paper2{ background:var(--paper-2); }

/* ---------------- Type helpers ---------------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:.85rem;
  font-family:var(--font-body); font-size:.72rem; letter-spacing:.24em; text-transform:uppercase;
  color:var(--muted); font-weight:600; margin:0 0 1.5rem;
}
.eyebrow::before{ content:''; width:32px; height:1px; background:var(--lime-deep); }
.section--dark .eyebrow, .on-dark .eyebrow{ color:var(--muted-dark); }
.section--dark .eyebrow::before, .on-dark .eyebrow::before{ background:var(--lime); }

.display{
  font-size:clamp(2.4rem, 6.2vw, 5.4rem);
  text-transform:uppercase; font-weight:500; line-height:.98; letter-spacing:-.015em;
}
.display .thin{ font-weight:300; }
.display .dot, .dot{ color:var(--lime); }
.section-title{
  font-size:clamp(2rem, 4.6vw, 3.8rem); text-transform:uppercase; line-height:1; letter-spacing:-.01em;
  max-width:18ch;
}
.section-lede{ font-size:clamp(1rem, 1.3vw, 1.15rem); color:var(--muted); max-width:52ch; margin-top:1.4rem; }
.section--dark .section-lede, .on-dark .section-lede{ color:var(--muted-dark); }

.section-head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:2rem 3rem; flex-wrap:wrap;
  margin-bottom:clamp(2.5rem, 5vw, 4.5rem);
}
.section-head > :first-child{ flex:1 1 520px; }
.section-head > :last-child:not(:first-child){ flex:0 1 400px; }
.section-head .section-lede{ margin-top:0; max-width:42ch; }

/* ---------------- Buttons ---------------- */
.btn{
  --btn-bg:transparent; --btn-fg:var(--ink); --btn-bd:currentColor;
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:.75rem;
  min-height:52px; padding:.95rem 1.7rem;
  border:1px solid var(--btn-bd); border-radius:0;
  background:var(--btn-bg); color:var(--btn-fg);
  font-family:var(--font-body); font-size:.76rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  line-height:1; white-space:nowrap; overflow:hidden; isolation:isolate;
  transition:color .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease), transform .25s var(--ease);
}
.btn::before{
  content:''; position:absolute; inset:0; z-index:-1; background:var(--btn-fill, var(--white));
  transform:scaleX(0); transform-origin:right; transition:transform .45s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before{ transform:scaleX(1); transform-origin:left; }
.btn:active{ transform:translateY(1px); }
.btn .arrow{ width:16px; height:10px; flex:none; transition:transform .35s var(--ease); }
.btn:hover .arrow{ transform:translateX(4px); }

.btn-primary{ --btn-bg:var(--lime); --btn-fg:var(--navy-950); --btn-bd:var(--lime); --btn-fill:var(--white); }
.btn-primary:hover{ --btn-bd:var(--white); }
.btn-ghost{ --btn-fg:var(--white); --btn-bd:rgba(255,255,255,.45); --btn-fill:var(--white); }
.btn-ghost:hover{ color:var(--navy-950); border-color:var(--white); }
.btn-dark{ --btn-bg:var(--navy-900); --btn-fg:var(--white); --btn-bd:var(--navy-900); --btn-fill:var(--lime); }
.btn-dark:hover{ color:var(--navy-950); border-color:var(--lime); }
.btn-outline{ --btn-fg:var(--ink); --btn-bd:rgba(11,20,36,.3); --btn-fill:var(--navy-900); }
.btn-outline:hover{ color:var(--white); border-color:var(--navy-900); }
.btn-sm{ min-height:42px; padding:.7rem 1.2rem; font-size:.7rem; }
.btn-row{ display:flex; gap:.9rem; flex-wrap:wrap; }

.text-link{
  display:inline-flex; align-items:center; gap:.7rem;
  font-size:.74rem; font-weight:600; letter-spacing:.18em; text-transform:uppercase;
  padding-bottom:.45rem; position:relative;
}
.text-link::after{
  content:''; position:absolute; left:0; bottom:0; width:100%; height:1px; background:currentColor; opacity:.35;
}
.text-link::before{
  content:''; position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--lime); z-index:1;
  transition:width .45s var(--ease-out);
}
.text-link:hover::before{ width:100%; }
.text-link .arrow{ width:16px; height:10px; transition:transform .35s var(--ease); }
.text-link:hover .arrow{ transform:translateX(4px); }

/* ---------------- Header / Nav ---------------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  color:var(--white);
  transition:transform .4s var(--ease);
}
.site-header::before{
  content:''; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(180deg, rgba(5,10,20,.55), rgba(5,10,20,0));
  transition:background .4s var(--ease), border-color .4s var(--ease);
  border-bottom:1px solid transparent;
}
.site-header.is-scrolled::before,
.site-header.is-solid::before{
  background:rgba(8,19,37,.82);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom-color:var(--line-dark);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between; gap:1.5rem;
  max-width:1440px; margin:0 auto; height:var(--header-h); padding:0 var(--gutter);
  transition:height .4s var(--ease);
}
.site-header.is-scrolled .header-inner{ height:68px; }

.logo{ display:flex; align-items:center; position:relative; z-index:3; flex:none; }
.logo img{ height:46px; width:auto; transition:height .4s var(--ease); }
.site-header.is-scrolled .logo img{ height:40px; }

.main-nav{ display:flex; align-items:center; }
.nav-links{ display:flex; align-items:center; gap:clamp(1.4rem, 2.6vw, 2.6rem); }
.nav-links a{
  position:relative; display:inline-block; padding:.5rem 0;
  font-size:.74rem; font-weight:500; letter-spacing:.18em; text-transform:uppercase;
  color:rgba(255,255,255,.82); transition:color .25s var(--ease);
}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:.15rem; width:100%; height:1px;
  background:var(--lime); transform:scaleX(0); transform-origin:right; transition:transform .4s var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"]{ color:var(--white); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ transform:scaleX(1); transform-origin:left; }
.nav-mobile-meta{ display:none; }

.header-actions{ display:flex; align-items:center; gap:1rem; position:relative; z-index:3; }
.icon-link{
  display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px;
  border:1px solid rgba(255,255,255,.22); border-radius:50%; color:var(--white);
  transition:border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.icon-link svg{ width:17px; height:17px; }
.icon-link:hover{ border-color:var(--lime); background:var(--lime); color:var(--navy-950); }

.menu-toggle{
  display:none; position:relative; width:44px; height:44px; padding:0;
  background:transparent; border:1px solid rgba(255,255,255,.22); border-radius:50%;
}
.menu-toggle span{
  position:absolute; left:50%; top:50%; width:18px; height:1.5px; margin-left:-9px; background:var(--white);
  transition:transform .45s var(--ease-out), width .3s var(--ease);
}
.menu-toggle span:nth-child(1){ transform:translateY(-4px); }
.menu-toggle span:nth-child(2){ transform:translateY(4px); width:12px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform:rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ transform:rotate(-45deg); width:18px; }

@media (max-width:1040px){
  :root{ --header-h:72px; }
  .menu-toggle{ display:inline-block; }
  .header-cta{ display:none; }
  .logo img{ height:40px; }
  .main-nav{
    position:fixed; inset:0; z-index:2;
    flex-direction:column; align-items:stretch; justify-content:space-between;
    padding:calc(var(--header-h) + 3rem) var(--gutter) 2rem;
    background:var(--navy-950);
    background-image:
      linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
      radial-gradient(120% 70% at 100% 0%, rgba(26,154,217,.16), transparent 60%);
    background-size:calc(100% / 4) 100%, auto;
    clip-path:inset(0 0 100% 0);
    visibility:hidden;
    transition:clip-path .6s var(--ease-out), visibility 0s linear .6s;
    overflow-y:auto;
  }
  .main-nav.is-open{
    clip-path:inset(0 0 0 0); visibility:visible;
    transition:clip-path .6s var(--ease-out), visibility 0s;
  }
  .nav-links{ flex-direction:column; align-items:flex-start; gap:.2rem; }
  .nav-links li{ overflow:hidden; width:100%; border-bottom:1px solid var(--line-dark); }
  .nav-links a{
    display:flex; justify-content:space-between; align-items:center; width:100%;
    padding:1rem 0; font-family:var(--font-head); font-size:clamp(1.9rem, 8vw, 2.6rem);
    font-weight:400; letter-spacing:.02em; color:var(--white);
    transform:translateY(105%); transition:transform .6s var(--ease-out), color .25s;
  }
  .nav-links a::after{ display:none; }
  .nav-links a::before{
    content:attr(data-index); order:2; font-family:var(--font-body); font-size:.7rem; letter-spacing:.2em; color:var(--muted-dark);
  }
  .nav-links a[aria-current="page"]{ color:var(--lime); }
  .main-nav.is-open .nav-links a{ transform:none; }
  .main-nav.is-open .nav-links li:nth-child(2) a{ transition-delay:.05s; }
  .main-nav.is-open .nav-links li:nth-child(3) a{ transition-delay:.1s; }
  .main-nav.is-open .nav-links li:nth-child(4) a{ transition-delay:.15s; }
  .main-nav.is-open .nav-links li:nth-child(5) a{ transition-delay:.2s; }
  .nav-mobile-meta{
    display:flex; flex-direction:column; gap:1.4rem; margin-top:2.5rem;
    opacity:0; transform:translateY(12px); transition:opacity .5s var(--ease) .25s, transform .5s var(--ease) .25s;
  }
  .main-nav.is-open .nav-mobile-meta{ opacity:1; transform:none; }
  .nav-mobile-meta .btn{ width:100%; }
  .nav-mobile-contact{ display:flex; flex-direction:column; gap:.4rem; font-size:.95rem; color:var(--muted-dark); }
  .nav-mobile-contact a:hover{ color:var(--white); }
  .nav-mobile-social{ display:flex; align-items:center; gap:.8rem; font-size:.85rem; color:var(--white); }
}
@media (max-width:480px){
  .header-actions .icon-link{ display:none; }
}

/* ---------------- Hero ---------------- */
.hero{
  position:relative; min-height:100vh; min-height:100svh; display:flex; flex-direction:column; justify-content:flex-end;
  background:var(--navy-950); color:var(--white); overflow:clip; isolation:isolate;
}
.hero-media{ position:absolute; inset:0; z-index:-1; background:var(--navy-950) center/cover no-repeat; }
.hero-video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 50%;
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(5,10,20,.55) 0%, rgba(8,19,37,.18) 28%, rgba(8,19,37,.22) 55%, rgba(5,10,20,.88) 100%),
    linear-gradient(90deg, rgba(8,19,37,.62) 0%, rgba(8,19,37,.12) 60%, rgba(8,19,37,0) 100%);
}
.hero-lines{
  position:absolute; inset:0; pointer-events:none;
  background-image:linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size:calc(100% / 6) 100%;
  mask-image:linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image:linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-content{
  width:100%; padding-top:calc(var(--header-h) + 4rem); padding-bottom:clamp(2.5rem, 6vh, 4.5rem);
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:.9rem;
  font-size:.74rem; letter-spacing:.3em; text-transform:uppercase; font-weight:600; color:rgba(255,255,255,.85);
  margin-bottom:clamp(1.25rem, 3vh, 2rem);
}
.hero-eyebrow::before{ content:''; width:40px; height:1px; background:var(--lime); }
.hero-title{
  font-size:clamp(2.7rem, 6.6vw, 7.2rem); line-height:.94; text-transform:uppercase; letter-spacing:-.02em;
  font-weight:500;
}
.hero-title .line{ display:block; overflow:hidden; padding-bottom:.04em; }
.hero-title .line > span{ display:block; }
.hero-title .line + .line{ font-weight:300; }
.hero-sub{
  font-size:clamp(1rem, 1.35vw, 1.2rem); max-width:44ch; margin-top:clamp(1.25rem, 3vh, 2rem); color:rgba(255,255,255,.82);
}
.hero-actions{ display:flex; gap:.9rem; margin-top:clamp(1.75rem, 4vh, 2.75rem); flex-wrap:wrap; }

.hero-footer{
  width:100%; display:flex; justify-content:space-between; align-items:center; gap:1rem;
  padding-top:1.4rem; padding-bottom:1.6rem; position:relative;
  font-size:.7rem; letter-spacing:.22em; text-transform:uppercase; color:rgba(255,255,255,.62);
}
.hero-footer::before{ content:''; position:absolute; top:0; left:var(--gutter); right:var(--gutter); height:1px; background:var(--line-dark); }
.hero-footer a:hover{ color:var(--white); }
.hero-tags{ display:flex; align-items:center; gap:1.1rem; flex-wrap:wrap; }
.hero-tags span{ display:inline-flex; align-items:center; gap:1.1rem; }
.hero-tags span + span::before{ content:''; width:4px; height:4px; background:var(--lime); border-radius:50%; }
.scroll-cue{ display:inline-flex; align-items:center; gap:.9rem; }
.scroll-cue i{
  position:relative; display:block; width:1px; height:38px; background:rgba(255,255,255,.2); overflow:hidden;
}
.scroll-cue i::after{
  content:''; position:absolute; left:0; top:-40%; width:1px; height:40%; background:var(--lime);
  animation:scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue{ to{ top:100%; } }

/* Hero entrance */
.hero [data-hero]{ opacity:0; transform:translateY(22px); animation:heroIn 1.1s var(--ease-out) forwards; }
.hero-title .line > span{ transform:translateY(105%); animation:heroLine 1.2s var(--ease-out) forwards; }
.hero-title .line:nth-child(1) > span{ animation-delay:.25s; }
.hero-title .line:nth-child(2) > span{ animation-delay:.4s; }
.hero [data-hero="1"]{ animation-delay:.1s; }
.hero [data-hero="2"]{ animation-delay:.7s; }
.hero [data-hero="3"]{ animation-delay:.85s; }
.hero [data-hero="4"]{ animation-delay:1.05s; }
@keyframes heroIn{ to{ opacity:1; transform:none; } }
@keyframes heroLine{ to{ transform:none; } }
.hero-video{ opacity:0; transition:opacity 1.2s var(--ease); }
.hero-video.is-playing{ opacity:1; }

/* Scroll-driven hero: the wrapper adds scroll distance, the hero stays pinned
   while main.js maps scroll progress to the video's currentTime. */
.hero-scroll{ position:relative; height:260vh; }
.hero-scroll > .hero{ position:sticky; top:0; height:100vh; height:100svh; min-height:0; }
.hero-scroll.is-static{ height:auto; }
.hero-scroll.is-static > .hero{ position:relative; height:auto; min-height:100vh; min-height:100svh; }
.hero-progress{ position:absolute; left:0; right:0; bottom:0; height:2px; background:rgba(255,255,255,.08); }
.hero-progress span{ display:block; height:100%; background:linear-gradient(90deg, var(--cyan), var(--lime)); transform-origin:left; transform:scaleX(var(--p, 0)); }
.hero-scroll.is-static .hero-progress{ display:none; }
@media (max-width:760px){ .hero-scroll{ height:220vh; } }

@media (max-width:760px){
  .hero-overlay{
    background:linear-gradient(180deg, rgba(5,10,20,.55) 0%, rgba(8,19,37,.12) 30%, rgba(8,19,37,.35) 58%, rgba(5,10,20,.92) 100%);
  }
  .hero-lines{ background-size:calc(100% / 3) 100%; }
  .hero-content{ padding-bottom:2rem; }
  .hero-title{ font-size:clamp(2.55rem, 12.5vw, 4rem); }
  .hero-actions .btn{ flex:1 1 100%; }
  .hero-tags{ display:none; }
  .hero-footer{ padding-bottom:1.2rem; }
}
@media (prefers-reduced-motion: reduce){
  .hero [data-hero], .hero-title .line > span{ animation:none; opacity:1; transform:none; }
  .scroll-cue i::after{ animation:none; top:0; height:100%; }
}

/* ---------------- Reveal system ---------------- */
.js [data-reveal]{
  opacity:0; transform:translateY(32px);
  transition:opacity .9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay:calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible{ opacity:1; transform:none; }
.js [data-reveal="fade"]{ transform:none; }
/* Clip the image, not the observed element: IntersectionObserver ignores fully clipped targets. */
.js [data-reveal="mask"]{ opacity:1; transform:none; }
.js [data-reveal="mask"] img{ clip-path:inset(0 0 100% 0); transition:clip-path 1.4s var(--ease-out), transform 1.2s var(--ease-out); transition-delay:calc(var(--d, 0) * 90ms); }
.js [data-reveal="mask"].is-visible img{ clip-path:inset(0 0 0 0); }
.js [data-line]{ transform:scaleX(0); transform-origin:left; transition:transform 1.4s var(--ease-out); transition-delay:calc(var(--d, 0) * 120ms); }
.js [data-line].is-visible, .js .is-visible [data-line]{ transform:scaleX(1); }
@media (prefers-reduced-motion: reduce){
  .js [data-reveal], .js [data-reveal="mask"] img, .js [data-line]{ opacity:1; transform:none; clip-path:none; transition:none; }
}

/* Parallax media wrapper */
.parallax{ overflow:hidden; position:relative; }
.parallax img{ width:100%; height:115%; object-fit:cover; will-change:transform; }

/* ---------------- Intro ---------------- */
.intro{ background:var(--paper); overflow:clip; }
.intro-grid{
  display:grid; grid-template-columns:minmax(0, 1.05fr) minmax(0, .95fr); gap:clamp(3rem, 7vw, 7rem); align-items:center;
}
.intro-copy p.intro-body{ font-size:clamp(1.02rem, 1.25vw, 1.15rem); color:var(--muted); max-width:48ch; margin-top:1.75rem; }
.intro-copy p.intro-body + p.intro-body{ margin-top:1rem; }
.intro-facts{
  display:grid; grid-template-columns:repeat(3, 1fr); margin-top:clamp(2.5rem, 5vw, 3.5rem);
  border-top:1px solid var(--line);
}
.intro-facts div{ padding:1.4rem 1.2rem 0 0; }
.intro-facts div + div{ padding-left:1.2rem; border-left:1px solid var(--line); }
.intro-facts strong{
  display:block; font-family:var(--font-head); font-weight:400; font-size:clamp(1.9rem, 3.4vw, 2.9rem); line-height:1; color:var(--navy-900);
}
.intro-facts strong sup{ font-size:.5em; color:var(--lime-deep); vertical-align:super; margin-left:.05em; }
.intro-facts span{ display:block; margin-top:.6rem; font-size:.7rem; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); }

.intro-visual{ position:relative; padding:0 0 12% 12%; }
.intro-visual .main{ aspect-ratio:4/5; }
.intro-visual .detail{
  position:absolute; left:0; bottom:0; width:44%; aspect-ratio:9/13;
  border:8px solid var(--paper); box-shadow:0 30px 60px -30px rgba(5,10,20,.45);
}
.intro-visual .caption{
  position:absolute; right:0; top:100%; margin-top:1rem;
  font-size:.68rem; letter-spacing:.2em; text-transform:uppercase; color:var(--muted);
}
.intro-visual .frame{
  position:absolute; top:-1.5rem; right:-1.5rem; width:40%; height:40%;
  border-top:1px solid var(--navy-900); border-right:1px solid var(--navy-900); opacity:.25; pointer-events:none;
}
@media (max-width:900px){
  .intro-grid{ grid-template-columns:1fr; }
  .intro-visual{ max-width:560px; padding:0 0 18% 14%; }
  .intro-visual .frame{ right:-.5rem; top:-.75rem; }
}
@media (max-width:520px){
  .intro-facts{ grid-template-columns:1fr; border-top:0; }
  .intro-facts div, .intro-facts div + div{ padding:1.1rem 0; border-left:0; border-top:1px solid var(--line); display:flex; align-items:baseline; gap:1rem; }
  .intro-facts span{ margin-top:0; }
}

/* ---------------- Services ---------------- */
.services{ background:var(--navy-900); color:var(--white); overflow:clip; }
.services::before{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(60% 50% at 90% 0%, rgba(26,154,217,.14), transparent 70%);
}
.service-grid{
  display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:clamp(1rem, 2vw, 1.75rem);
}
.service-card{ position:relative; display:flex; flex-direction:column; color:var(--white); }
.service-card .media{ position:relative; aspect-ratio:4/5; overflow:hidden; background:var(--navy-800); }
.service-card .media img{
  width:100%; height:100%; object-fit:cover; transform:scale(1.02);
  transition:transform 1.1s var(--ease-out), filter .6s var(--ease);
  filter:saturate(.9);
}
.service-card .media::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(8,19,37,0) 40%, rgba(8,19,37,.85) 100%);
  transition:opacity .5s var(--ease);
}
.service-card .num{
  position:absolute; top:1.1rem; left:1.2rem; z-index:1;
  font-size:.7rem; letter-spacing:.22em; color:rgba(255,255,255,.85); font-weight:600;
}
.service-card .card-title{
  position:absolute; left:1.4rem; right:1.4rem; bottom:1.3rem; z-index:1;
  font-size:clamp(1.3rem, 1.9vw, 1.75rem); text-transform:uppercase; font-weight:500; letter-spacing:.01em; line-height:1.05;
}
.service-card .card-body{
  display:flex; justify-content:space-between; gap:1.25rem; align-items:flex-start;
  padding:1.2rem 0 0; border-top:1px solid transparent;
}
.service-card .card-body p{ color:var(--muted-dark); font-size:.94rem; max-width:34ch; }
.service-card .go{
  flex:none; width:40px; height:40px; border:1px solid var(--line-dark); border-radius:50%;
  display:grid; place-items:center; color:var(--white);
  transition:background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.service-card .go svg{ width:14px; height:14px; }
.service-card .bar{
  position:relative; height:1px; background:var(--line-dark); margin-top:1.2rem;
}
.service-card .bar::after{
  content:''; position:absolute; inset:0; background:var(--lime); transform:scaleX(0); transform-origin:left;
  transition:transform .7s var(--ease-out);
}
.service-card:hover .media img, .service-card:focus-visible .media img{ transform:scale(1.07); filter:saturate(1.05); }
.service-card:hover .bar::after, .service-card:focus-visible .bar::after{ transform:scaleX(1); }
.service-card:hover .go, .service-card:focus-visible .go{ background:var(--lime); border-color:var(--lime); color:var(--navy-950); transform:rotate(-45deg); }
.service-card:nth-child(3n+2){ margin-top:clamp(0rem, 4vw, 3.5rem); }
.service-card:nth-child(3n+2):nth-last-child(-n+3){ margin-bottom:0; }

@media (max-width:960px){
  .service-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .service-card:nth-child(3n+2){ margin-top:0; }
  .service-card:nth-child(2n){ margin-top:3rem; }
}
@media (max-width:640px){
  .service-grid{
    display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:1rem;
    margin:0 calc(var(--gutter) * -1); padding:0 var(--gutter) .5rem; scrollbar-width:none;
    scroll-padding-left:var(--gutter);
  }
  .service-grid::-webkit-scrollbar{ display:none; }
  .service-card{ flex:0 0 80%; scroll-snap-align:start; }
  .service-card:nth-child(2n){ margin-top:0; }
  .service-card .media{ aspect-ratio:3/4; }
  .swipe-hint{ display:flex !important; }
}
.swipe-hint{
  display:none; align-items:center; gap:.8rem; margin-top:1.5rem;
  font-size:.68rem; letter-spacing:.2em; text-transform:uppercase; color:var(--muted-dark);
}
.swipe-hint i{ display:block; width:48px; height:1px; background:var(--line-dark); position:relative; overflow:hidden; }
.swipe-hint i::after{ content:''; position:absolute; inset:0; width:40%; background:var(--lime); animation:swipe 2.4s var(--ease) infinite; }
@keyframes swipe{ from{ transform:translateX(-100%); } to{ transform:translateX(260%); } }

/* ---------------- Work / portfolio ---------------- */
.work{ background:var(--paper); }
.work-grid{
  display:grid; grid-template-columns:repeat(12, minmax(0, 1fr)); grid-auto-flow:dense;
  gap:clamp(.75rem, 1.4vw, 1.25rem);
}
.work-item{ position:relative; overflow:hidden; background:var(--navy-900); display:block; }
.work-item img{ width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease-out); }
.work-item::after{
  content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(8,19,37,0) 35%, rgba(8,19,37,.82) 100%);
  opacity:0; transition:opacity .6s var(--ease);
}
.work-item figcaption{
  position:absolute; left:clamp(1rem, 2vw, 1.6rem); right:clamp(1rem, 2vw, 1.6rem); bottom:clamp(1rem, 2vw, 1.5rem); z-index:1;
  color:var(--white); transform:translateY(14px); opacity:0;
  transition:opacity .5s var(--ease), transform .7s var(--ease-out);
}
.work-item figcaption small{ display:block; font-size:.66rem; letter-spacing:.22em; text-transform:uppercase; color:rgba(255,255,255,.72); margin-bottom:.45rem; }
.work-item figcaption strong{ display:block; font-family:var(--font-head); font-weight:500; font-size:clamp(1.1rem, 1.7vw, 1.5rem); text-transform:uppercase; letter-spacing:.01em; line-height:1.1; }
.work-item figcaption em{
  display:block; width:44px; height:2px; background:var(--lime); margin-top:.9rem;
  transform:scaleX(0); transform-origin:left; transition:transform .8s var(--ease-out) .1s;
}
.work-item:hover img, .work-item:focus-visible img{ transform:scale(1.06); }
.work-item:hover::after, .work-item:focus-visible::after{ opacity:1; }
.work-item:hover figcaption, .work-item:focus-visible figcaption{ opacity:1; transform:none; }
.work-item:hover figcaption em, .work-item:focus-visible figcaption em{ transform:scaleX(1); }

.work-grid{
  grid-auto-rows:clamp(64px, 7.4vw, 118px);
  grid-template-areas:
    "a a a a a a a b b b b b"
    "a a a a a a a b b b b b"
    "a a a a a a a b b b b b"
    "a a a a a a a b b b b b"
    "c c c c d d d b b b b b"
    "c c c c d d d e e e e e"
    "c c c c d d d e e e e e"
    "c c c c d d d e e e e e"
    "f f f f f f f f g g g g"
    "f f f f f f f f g g g g"
    "f f f f f f f f g g g g"
    "f f f f f f f f g g g g"
    "h h h h h h i i i i i i"
    "h h h h h h i i i i i i"
    "h h h h h h i i i i i i"
    "h h h h h h i i i i i i";
}
.wa{ grid-area:a; } .wb{ grid-area:b; } .wc{ grid-area:c; } .wd{ grid-area:d; } .we{ grid-area:e; }
.wf{ grid-area:f; } .wg{ grid-area:g; } .wh{ grid-area:h; } .wi{ grid-area:i; }

@media (hover:none){
  .work-item::after{ opacity:1; background:linear-gradient(180deg, rgba(8,19,37,0) 45%, rgba(8,19,37,.9) 100%); }
  .work-item figcaption{ opacity:1; transform:none; }
  .work-item figcaption em{ transform:scaleX(1); }
}
@media (max-width:900px){
  .work-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)); grid-template-areas:none; grid-auto-rows:clamp(150px, 44vw, 340px);
  }
  .work-item{ grid-area:auto; }
  .wa, .we, .wf{ grid-column:span 2; }
  .wb, .wg{ grid-row:span 2; }
}
@media (max-width:520px){
  .work-item figcaption strong{ font-size:1rem; }
  .work-item figcaption small{ font-size:.6rem; letter-spacing:.16em; }
}
.work-foot{
  display:flex; justify-content:space-between; align-items:center; gap:1.5rem; flex-wrap:wrap;
  margin-top:clamp(2rem, 4vw, 3rem); padding-top:1.5rem; border-top:1px solid var(--line);
}
.work-foot p{ color:var(--muted); font-size:.95rem; }

/* ---------------- Process ---------------- */
.process{ background:var(--paper-2); overflow:clip; }
.process-track{
  position:relative; display:grid; grid-template-columns:repeat(5, minmax(0, 1fr)); gap:clamp(1rem, 2vw, 2rem);
  padding-top:2.4rem;
}
.process-track::before{
  content:''; position:absolute; left:0; right:0; top:0; height:1px; background:var(--line);
}
.process-progress{
  position:absolute; left:0; top:0; height:1px; width:100%; background:var(--navy-900);
}
.process-step{ position:relative; padding-right:.5rem; }
.process-step::before{
  content:''; position:absolute; top:calc(-2.4rem - 4px); left:0; width:9px; height:9px; border-radius:50%;
  background:var(--paper-2); border:1px solid var(--navy-900);
  transition:background-color .5s var(--ease) .3s, border-color .5s var(--ease) .3s;
}
.process-step.is-visible::before{ background:var(--lime); border-color:var(--lime-deep); }
.process-step .step-num{
  display:block; font-family:var(--font-head); font-weight:300; font-size:clamp(2.4rem, 4vw, 3.6rem); line-height:1;
  color:var(--navy-900); letter-spacing:-.02em;
}
.process-step h3{
  font-size:1.05rem; text-transform:uppercase; letter-spacing:.14em; font-weight:500; margin:1.4rem 0 .8rem;
}
.process-step p{ font-size:.93rem; color:var(--muted); max-width:28ch; }
@media (max-width:900px){
  .process-track{ grid-template-columns:1fr; gap:0; padding-top:0; padding-left:2.2rem; }
  .process-track::before{ left:4px; right:auto; top:.4rem; bottom:.4rem; width:1px; height:auto; }
  .process-progress{ left:4px; top:.4rem; bottom:.4rem; width:1px; height:auto; transform-origin:top; }
  .js .process-progress[data-line]{ transform:scaleY(0); }
  .js .process-progress[data-line].is-visible{ transform:scaleY(1); }
  .process-step{ padding:0 0 2.4rem; display:grid; grid-template-columns:auto 1fr; column-gap:1.4rem; align-items:baseline; }
  .process-step:last-child{ padding-bottom:0; }
  .process-step::before{ top:.9rem; left:calc(-2.2rem); }
  .process-step .step-num{ grid-row:span 2; font-size:2.4rem; }
  .process-step h3{ margin:0 0 .5rem; }
}

/* ---------------- Why (details) ---------------- */
.why{ background:var(--navy-950); color:var(--white); overflow:clip; }
.why-bg{
  position:absolute; inset:0; pointer-events:none; opacity:.9;
}
.why-bg svg{ position:absolute; left:calc(var(--gutter) - 3%); bottom:3%; width:min(42vw, 600px); height:auto; }
.why-bg svg *{ vector-effect:non-scaling-stroke; }
.js .blueprint [pathLength]:not([stroke-dasharray]){ stroke-dasharray:1; stroke-dashoffset:1; transition:stroke-dashoffset 2.6s var(--ease-out); }
.js .blueprint g:nth-child(2) [pathLength]{ transition-delay:.6s; }
.js .blueprint g:nth-child(3) [pathLength]{ transition-delay:1.2s; }
.js .blueprint.is-visible [pathLength]{ stroke-dashoffset:0; }
@media (prefers-reduced-motion: reduce){ .js .blueprint [pathLength]{ stroke-dasharray:none; } }
.why-grid{ position:relative; display:grid; grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr); gap:clamp(3rem, 7vw, 7rem); align-items:start; }
.why-head{ position:sticky; top:120px; }
.why-list{ border-top:1px solid var(--line-dark); }
.why-item{
  position:relative; display:grid; grid-template-columns:3.5rem 1fr; gap:1rem 1.5rem;
  padding:clamp(1.75rem, 3vw, 2.5rem) 0; border-bottom:1px solid var(--line-dark);
}
.why-item::after{
  content:''; position:absolute; left:0; bottom:-1px; height:1px; width:100%; background:linear-gradient(90deg, var(--cyan), var(--lime));
  transform:scaleX(0); transform-origin:left; transition:transform 1.2s var(--ease-out);
}
.why-item.is-visible::after{ transform:scaleX(.18); }
.why-item:hover::after{ transform:scaleX(1); }
.why-item .idx{ font-size:.72rem; letter-spacing:.2em; color:var(--muted-dark); padding-top:.7rem; }
.why-item h3{
  font-size:clamp(1.6rem, 3.4vw, 2.9rem); text-transform:uppercase; font-weight:400; letter-spacing:-.005em; line-height:1;
  transition:color .4s var(--ease), transform .6s var(--ease-out);
}
.why-item:hover h3{ transform:translateX(6px); }
.why-item p{ grid-column:2; color:var(--muted-dark); max-width:46ch; font-size:.97rem; }
@media (max-width:900px){
  .why-grid{ grid-template-columns:1fr; }
  .why-head{ position:static; }
  .why-bg{ display:none; }
}
@media (max-width:520px){
  .why-item{ grid-template-columns:2.2rem 1fr; }
}

/* ---------------- About ---------------- */
.about{ background:var(--paper); overflow:clip; }
.about-grid{
  display:grid; grid-template-columns:minmax(0, .95fr) minmax(0, 1.05fr); gap:clamp(3rem, 7vw, 7rem); align-items:center;
}
.about-visual{ position:relative; }
.about-visual .parallax{ aspect-ratio:4/5; }
.about-visual .tag{
  position:absolute; right:-1px; bottom:-1px; background:var(--paper); padding:1.4rem 1.6rem 0 1.6rem;
  font-family:var(--font-head); line-height:1; color:var(--navy-900);
}
.about-visual .tag strong{ display:block; font-weight:300; font-size:clamp(3.2rem, 6vw, 5rem); letter-spacing:-.03em; }
.about-visual .tag strong span{ color:var(--lime-deep); }
.about-visual .tag small{ display:block; font-family:var(--font-body); font-size:.66rem; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); margin-top:.6rem; }
.about-copy > p:not(.eyebrow):not(.about-quote){ color:var(--muted); font-size:clamp(1rem, 1.2vw, 1.1rem); max-width:52ch; }
.about-copy > p:not(.eyebrow):not(.about-quote) + p{ margin-top:1rem; }
.about-copy .section-title{ margin-bottom:1.75rem; }
.about-quote{
  margin:2.2rem 0 0; padding:1.6rem 0 0 0; border-top:1px solid var(--line);
  font-family:var(--font-head); font-size:clamp(1.25rem, 2vw, 1.6rem); font-weight:400; line-height:1.3; color:var(--navy-900);
  max-width:30ch;
}
.about-quote::before{ content:''; display:block; width:28px; height:2px; background:var(--lime); margin-bottom:1rem; }
.values{ display:flex; flex-wrap:wrap; gap:.5rem; margin-top:2rem; }
.values li{
  font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; font-weight:600; color:var(--navy-800);
  padding:.55rem .9rem; border:1px solid var(--line);
}
@media (max-width:900px){
  .about-grid{ grid-template-columns:1fr; }
  .about-visual{ max-width:560px; }
}

/* ---------------- Instagram strip ---------------- */
.insta{ background:var(--paper); padding-top:0; }
.insta-head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:1.5rem 3rem; flex-wrap:wrap;
  padding-top:clamp(3rem, 6vw, 4.5rem); border-top:1px solid var(--line); margin-bottom:2rem;
}
.insta-head h2{ font-size:clamp(1.6rem, 3vw, 2.4rem); text-transform:uppercase; }
.insta-head .handle{ display:inline-flex; align-items:center; gap:.6rem; margin-top:.8rem; color:var(--muted); font-size:.95rem; }
.insta-head .handle svg{ width:16px; height:16px; color:var(--cyan); }
.insta-strip{ display:grid; grid-template-columns:repeat(5, minmax(0, 1fr)); gap:clamp(.5rem, 1vw, .9rem); }
.insta-strip a{ position:relative; display:block; aspect-ratio:1/1; overflow:hidden; background:var(--navy-900); }
.insta-strip img{ width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease-out), opacity .4s; }
.insta-strip a::after{
  content:''; position:absolute; inset:0; background:rgba(8,19,37,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.6' fill='white'/%3E%3C/svg%3E") center/28px no-repeat;
  opacity:0; transition:opacity .4s var(--ease);
}
.insta-strip a:hover img{ transform:scale(1.07); }
.insta-strip a:hover::after, .insta-strip a:focus-visible::after{ opacity:1; }
@media (max-width:760px){
  .insta-strip{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
  .insta-strip a:nth-child(n+4){ display:none; }
  .insta-head .btn{ width:100%; }
}

/* ---------------- Final CTA ---------------- */
.cta{
  position:relative; color:var(--white); background:var(--navy-950); overflow:clip; isolation:isolate;
  padding:clamp(6rem, 14vw, 11rem) 0;
}
.cta-media{ position:absolute; inset:-10% 0; z-index:-2; }
.cta-media img{ width:100%; height:100%; object-fit:cover; object-position:50% 40%; }
.cta::before{
  content:''; position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(90deg, rgba(5,10,20,.94) 0%, rgba(8,19,37,.82) 45%, rgba(8,19,37,.45) 100%),
    linear-gradient(0deg, rgba(5,10,20,.6), transparent 40%);
}
.cta::after{
  content:''; position:absolute; left:var(--gutter); right:var(--gutter); top:clamp(2rem, 4vw, 3rem); bottom:clamp(2rem, 4vw, 3rem);
  border:1px solid rgba(255,255,255,.1); pointer-events:none; z-index:-1;
}
.cta-inner{ position:relative; max-width:880px; }
.cta h2{ font-size:clamp(2.4rem, 6.4vw, 5.6rem); text-transform:uppercase; line-height:.96; letter-spacing:-.02em; }
.cta h2 .thin{ font-weight:300; }
.cta p:not(.eyebrow){ font-size:clamp(1rem, 1.35vw, 1.2rem); color:rgba(255,255,255,.8); max-width:44ch; margin-top:1.75rem; }
.cta .btn-row{ margin-top:2.5rem; }
.cta-contact{ display:flex; flex-wrap:wrap; gap:.6rem 2rem; margin-top:2.5rem; font-size:.9rem; color:rgba(255,255,255,.7); }
.cta-contact a:hover{ color:var(--lime); }
@media (max-width:640px){
  .cta .btn-row .btn{ flex:1 1 100%; }
  .cta::after{ display:none; }
}

/* ---------------- Footer ---------------- */
.site-footer{ background:var(--navy-950); color:var(--muted-dark); padding:clamp(4rem, 8vw, 6rem) 0 0; position:relative; overflow:clip; }
.footer-top{ display:grid; grid-template-columns:1.5fr 1fr 1.3fr 1fr; gap:2.5rem 3rem; padding-bottom:clamp(3rem, 6vw, 4.5rem); }
.footer-brand .logo img{ height:62px; }
.footer-tagline{ margin-top:1.5rem; font-size:.95rem; max-width:34ch; color:var(--muted-dark); }
.site-footer h3{
  font-family:var(--font-body); color:var(--white); font-size:.7rem; font-weight:600; letter-spacing:.22em; text-transform:uppercase; margin-bottom:1.4rem;
}
.footer-links{ display:flex; flex-direction:column; gap:.75rem; }
.footer-links a, .footer-links span{ font-size:.95rem; color:var(--muted-dark); transition:color .25s var(--ease); }
.footer-links a:hover{ color:var(--white); }
.footer-social a{ display:inline-flex; align-items:center; gap:.7rem; }
.footer-social small{ font-size:.8rem; color:#6f7b8f; }
.footer-social svg{ width:18px; height:18px; flex:none; color:var(--white); transition:color .25s var(--ease); }
.footer-social a:hover svg{ color:var(--lime); }
.footer-wordmark{
  font-family:var(--font-head); font-weight:500; text-transform:uppercase; letter-spacing:-.02em; line-height:.8;
  font-size:clamp(2.6rem, 10.2vw, 10.5rem); color:transparent; -webkit-text-stroke:1px rgba(255,255,255,.1);
  white-space:nowrap; user-select:none; margin:0 0 -.08em; text-align:center; overflow:hidden;
}
.footer-wordmark span{ -webkit-text-stroke:1px rgba(168,200,79,.35); }
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:.6rem 2rem;
  padding-top:1.6rem; padding-bottom:1.6rem; border-top:1px solid var(--line-dark); font-size:.78rem; color:#6f7b8f;
}
.footer-bottom a:hover{ color:var(--white); }
@media (max-width:980px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }

/* ============================================================
   INTERIOR PAGES
   ============================================================ */
.page-hero{
  position:relative; background:var(--navy-900); color:var(--white); overflow:clip; isolation:isolate;
  padding:calc(var(--header-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.page-hero::before{
  content:''; position:absolute; inset:0; z-index:-1;
  background-image:linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), radial-gradient(70% 90% at 100% 0%, rgba(26,154,217,.18), transparent 60%);
  background-size:calc(100% / 6) 100%, auto;
}
.page-hero-media{ position:absolute; inset:0; z-index:-2; }
.page-hero-media img{ width:100%; height:100%; object-fit:cover; opacity:.28; }
.page-hero .eyebrow{ color:var(--muted-dark); }
.page-hero .eyebrow::before{ background:var(--lime); }
.page-hero h1{ font-size:clamp(2.4rem, 6.4vw, 5.6rem); text-transform:uppercase; line-height:.96; letter-spacing:-.02em; max-width:16ch; }
.page-hero h1 .thin{ font-weight:300; }
.page-hero p:not(.eyebrow){ color:rgba(255,255,255,.78); max-width:56ch; margin-top:1.6rem; font-size:clamp(1rem, 1.3vw, 1.12rem); }
.breadcrumbs{ display:flex; gap:.6rem; font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color:var(--muted-dark); margin-bottom:2rem; }
.breadcrumbs a:hover{ color:var(--white); }
.breadcrumbs span[aria-hidden]{ color:var(--lime); }

/* Services detail page */
.svc-index{ display:flex; flex-wrap:wrap; gap:.5rem; margin-top:2.5rem; }
.svc-index a{
  font-size:.7rem; letter-spacing:.16em; text-transform:uppercase; font-weight:600; color:rgba(255,255,255,.8);
  padding:.6rem 1rem; border:1px solid var(--line-dark); transition:all .3s var(--ease);
}
.svc-index a:hover{ border-color:var(--lime); color:var(--white); }
.svc-block{
  display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:clamp(2.5rem, 6vw, 6rem); align-items:center;
  padding:clamp(3.5rem, 7vw, 6rem) 0; border-bottom:1px solid var(--line);
}
.svc-block:first-child{ padding-top:0; }
.svc-block:last-child{ border-bottom:0; padding-bottom:0; }
.svc-block:nth-child(even) .svc-media{ order:2; }
.svc-media{ aspect-ratio:4/5; }
.svc-copy .num{ display:block; font-size:.72rem; letter-spacing:.22em; color:var(--muted); margin-bottom:1.2rem; font-weight:600; }
.svc-copy h2{ font-size:clamp(2rem, 4vw, 3.4rem); text-transform:uppercase; line-height:1; }
.svc-copy > p{ color:var(--muted); margin-top:1.4rem; max-width:54ch; }
.svc-sub{ margin-top:2rem; border-top:1px solid var(--line); }
.svc-sub li{ padding:1.1rem 0; border-bottom:1px solid var(--line); }
.svc-sub h3{ font-family:var(--font-body); font-size:.78rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--navy-900); display:flex; align-items:center; gap:.7rem; }
.svc-sub h3::before{ content:''; width:6px; height:6px; background:var(--lime); flex:none; }
.svc-sub p{ color:var(--muted); font-size:.93rem; margin-top:.45rem; }
.svc-copy .btn-row{ margin-top:2rem; }
@media (max-width:900px){
  .svc-block{ grid-template-columns:1fr; }
  .svc-block:nth-child(even) .svc-media{ order:0; }
  .svc-media{ aspect-ratio:4/3; }
}

/* Gallery page */
.filter-bar{ display:flex; flex-wrap:wrap; gap:.5rem; margin:0 0 2.5rem; }
.filter-btn{
  min-height:42px; padding:.6rem 1.1rem; border:1px solid var(--line); background:transparent;
  font-size:.7rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  border-radius:0; color:var(--muted); transition:all .3s var(--ease);
}
.filter-btn:hover{ border-color:var(--navy-900); color:var(--ink); }
.filter-btn.is-active{ background:var(--navy-900); border-color:var(--navy-900); color:var(--white); box-shadow:inset 0 -2px 0 var(--lime); }
@media (max-width:640px){
  .filter-bar{ flex-wrap:nowrap; overflow-x:auto; margin:0 calc(var(--gutter) * -1) 2rem; padding:0 var(--gutter) .3rem; scrollbar-width:none; }
  .filter-bar::-webkit-scrollbar{ display:none; }
  .filter-btn{ flex:none; }
}
.masonry{ columns:3 280px; column-gap:1rem; }
.masonry figure{
  break-inside:avoid; margin:0 0 1rem; overflow:hidden; position:relative; background:var(--navy-900); cursor:zoom-in;
}
.masonry figure[hidden]{ display:none; }
.masonry figure img{ width:100%; height:auto; display:block; transition:transform 1s var(--ease-out); }
.masonry figure::after{ content:''; position:absolute; inset:0; background:linear-gradient(0deg, rgba(8,19,37,.75), transparent 45%); opacity:0; transition:opacity .5s var(--ease); pointer-events:none; }
.masonry figure:hover img{ transform:scale(1.05); }
.masonry figure:hover::after{ opacity:1; }
.masonry figcaption{
  position:absolute; left:1.1rem; right:1.1rem; bottom:1rem; z-index:1;
  color:var(--white); font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; font-weight:600;
  opacity:0; transform:translateY(8px); transition:opacity .4s var(--ease), transform .5s var(--ease-out);
}
.masonry figcaption::after{ content:''; display:block; width:32px; height:2px; background:var(--lime); margin-top:.6rem; }
.masonry figure:hover figcaption{ opacity:1; transform:none; }
@media (hover:none){
  .masonry figure::after, .masonry figcaption{ opacity:1; transform:none; }
}
@media (max-width:720px){ .masonry{ columns:2 150px; column-gap:.6rem; } .masonry figure{ margin-bottom:.6rem; } }
.placeholder-figure{
  display:flex; align-items:center; justify-content:center; aspect-ratio:4/5; cursor:default !important;
  background:var(--navy-900) !important; color:var(--muted-dark);
  background-image:linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) !important; background-size:25% 100% !important;
  font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; text-align:center; padding:1.5rem;
}

/* Lightbox */
.lightbox{
  position:fixed; inset:0; z-index:2000; background:rgba(5,10,20,.96);
  display:flex; align-items:center; justify-content:center; padding:4.5rem 1rem;
  opacity:0; pointer-events:none; transition:opacity .35s var(--ease);
}
.lightbox.is-open{ opacity:1; pointer-events:auto; }
.lightbox img{ max-width:100%; max-height:84vh; margin:0 auto; }
.lightbox-close{
  position:absolute; top:1.2rem; right:1.2rem; width:46px; height:46px;
  border:1px solid rgba(255,255,255,.3); background:transparent; color:var(--white);
  border-radius:50%; font-size:1.4rem; line-height:1; transition:all .3s var(--ease);
}
.lightbox-close:hover{ background:var(--lime); border-color:var(--lime); color:var(--navy-950); }
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%); width:46px; height:46px; border-radius:50%;
  border:1px solid rgba(255,255,255,.3); background:rgba(5,10,20,.4); color:var(--white); font-size:1.1rem;
  transition:all .3s var(--ease);
}
.lightbox-nav:hover{ background:var(--lime); border-color:var(--lime); color:var(--navy-950); }
.lightbox-prev{ left:1rem; }
.lightbox-next{ right:1rem; }
.lightbox-cap{ position:absolute; bottom:1.4rem; left:0; right:0; text-align:center; color:rgba(255,255,255,.75); font-size:.72rem; letter-spacing:.2em; text-transform:uppercase; }

/* About page */
.mv-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0; border-top:1px solid var(--line-dark); }
.mv-card{ padding:clamp(2rem, 4vw, 3rem) clamp(0rem, 3vw, 3rem) clamp(2rem, 4vw, 3rem) 0; }
.mv-card + .mv-card{ border-left:1px solid var(--line-dark); padding-left:clamp(1.5rem, 3vw, 3rem); }
.mv-card h3{ font-size:clamp(1.6rem, 3vw, 2.4rem); text-transform:uppercase; font-weight:400; margin-bottom:1.2rem; }
.mv-card h3::after{ content:''; display:block; width:32px; height:2px; background:var(--lime); margin-top:1rem; }
.mv-card p{ color:var(--muted-dark); }
@media (max-width:760px){
  .mv-grid{ grid-template-columns:1fr; }
  .mv-card + .mv-card{ border-left:0; border-top:1px solid var(--line-dark); padding-left:0; }
}
.chip-list{ display:flex; flex-wrap:wrap; gap:.5rem; }
.chip-list li{ font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; font-weight:600; padding:.7rem 1rem; border:1px solid var(--line); color:var(--navy-800); }

/* Contact page */
.contact-grid{ display:grid; grid-template-columns:minmax(0, 1.15fr) minmax(0, .85fr); gap:clamp(3rem, 6vw, 6rem); align-items:start; }
@media (max-width:960px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-form{ display:flex; flex-direction:column; gap:1.6rem; }
.contact-form h2{ font-size:clamp(1.8rem, 3.4vw, 2.6rem); text-transform:uppercase; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1.6rem 1.4rem; }
@media (max-width:560px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:.35rem; }
.field label{ font-size:.68rem; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); }
.full-width{ grid-column:1/-1; }
input, textarea, select{
  font-family:inherit; font-size:1rem; padding:.85rem 0; border:0; border-bottom:1px solid rgba(11,20,36,.25);
  background:transparent; color:var(--ink); border-radius:0; transition:border-color .3s var(--ease), box-shadow .3s var(--ease);
  width:100%;
}
select{ appearance:none; -webkit-appearance:none; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b1424' stroke-width='1.4'/%3E%3C/svg%3E") right .2rem center/12px no-repeat; padding-right:1.6rem; }
input:focus, textarea:focus, select:focus{ outline:none; border-bottom-color:var(--navy-900); box-shadow:0 1px 0 0 var(--lime); }
textarea{ resize:vertical; min-height:130px; }
.form-note{ font-size:.82rem; color:var(--muted); }
.form-status{ font-size:.9rem; min-height:1.2em; }
.form-status.is-success{ color:#4f7a16; }
.form-status.is-error{ color:#9c3b2a; }

.contact-card{ background:var(--navy-900); color:var(--white); padding:clamp(2rem, 4vw, 3rem); position:relative; overflow:hidden; }
.contact-card::before{ content:''; position:absolute; left:0; top:0; width:100%; height:2px; background:linear-gradient(90deg, var(--cyan), var(--lime)); }
.contact-card h2{ font-size:1.5rem; text-transform:uppercase; margin-bottom:1.8rem; }
.contact-list{ display:flex; flex-direction:column; }
.contact-list > div{ padding:1.1rem 0; border-top:1px solid var(--line-dark); }
.contact-list strong{ display:block; color:var(--muted-dark); font-size:.66rem; font-weight:600; text-transform:uppercase; letter-spacing:.2em; margin-bottom:.4rem; }
.contact-list a, .contact-list span{ display:inline-flex; align-items:center; gap:.6rem; color:var(--white); font-size:1rem; }
.contact-list a:hover{ color:var(--lime); }
.contact-list svg{ width:17px; height:17px; }
.map-wrap{ margin-top:1.5rem; border:1px solid var(--line-dark); }
.map-wrap iframe{ display:block; width:100%; height:240px; border:0; filter:grayscale(.4) contrast(1.05); }

/* ============================================================
   EW ASSISTANT (floating chat)
   ============================================================ */
.ew-chat{ position:fixed; right:max(1.25rem, env(safe-area-inset-right)); bottom:max(1.25rem, env(safe-area-inset-bottom)); z-index:1500; font-family:var(--font-body); }
.ew-fab{
  position:relative; width:62px; height:62px; border-radius:50%; border:0; padding:0; cursor:pointer;
  background:var(--navy-900); color:var(--white);
  box-shadow:0 18px 40px -12px rgba(5,10,20,.55), 0 0 0 1px rgba(255,255,255,.08);
  display:grid; place-items:center;
  opacity:0; transform:translateY(24px) scale(.85); pointer-events:none;
  transition:opacity .45s var(--ease-out), transform .55s var(--ease-out), box-shadow .3s var(--ease);
}
.ew-fab::before{
  content:''; position:absolute; inset:-3px; border-radius:50%; z-index:-1;
  background:conic-gradient(from 200deg, var(--cyan), var(--lime), var(--cyan));
}
.ew-chat.is-visible .ew-fab{ opacity:1; transform:none; pointer-events:auto; }
.ew-fab:hover{ box-shadow:0 22px 46px -12px rgba(5,10,20,.65), 0 0 0 6px rgba(168,200,79,.18); }
.ew-fab-mark{ font-family:var(--font-head); font-weight:500; font-size:1.25rem; letter-spacing:.04em; line-height:1; transition:opacity .25s, transform .35s var(--ease-out); }
.ew-fab-close{ position:absolute; inset:0; display:grid; place-items:center; opacity:0; transform:rotate(-90deg); transition:opacity .25s, transform .35s var(--ease-out); }
.ew-fab-close svg{ width:16px; height:16px; }
.ew-chat.is-open .ew-fab-mark{ opacity:0; transform:scale(.6); }
.ew-chat.is-open .ew-fab-close{ opacity:1; transform:none; }
.ew-fab-dot{ position:absolute; top:4px; right:4px; width:12px; height:12px; border-radius:50%; background:var(--lime); border:2px solid var(--navy-900); }
.ew-fab-dot::after{ content:''; position:absolute; inset:-2px; border-radius:50%; border:2px solid var(--lime); animation:ewPulse 2.4s var(--ease) infinite; }
.ew-chat.is-open .ew-fab-dot{ display:none; }
@keyframes ewPulse{ from{ transform:scale(1); opacity:.8; } to{ transform:scale(2.2); opacity:0; } }
body.nav-open .ew-chat{ display:none; }

.ew-panel{
  position:absolute; right:0; bottom:78px; width:min(380px, calc(100vw - 2.5rem)); height:min(560px, calc(100vh - 140px)); height:min(560px, calc(100dvh - 140px));
  display:flex; flex-direction:column; background:var(--paper); color:var(--ink);
  border:1px solid var(--line); box-shadow:0 30px 70px -20px rgba(5,10,20,.5); overflow:hidden;
  transform-origin:bottom right; animation:ewIn .45s var(--ease-out);
}
.ew-panel[hidden]{ display:none; }
@keyframes ewIn{ from{ opacity:0; transform:translateY(12px) scale(.96); } to{ opacity:1; transform:none; } }
.ew-head{ display:flex; align-items:center; gap:.75rem; padding:.9rem 1rem; background:var(--navy-900); color:var(--white); position:relative; }
.ew-head::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:2px; background:linear-gradient(90deg, var(--cyan), var(--lime)); }
.ew-avatar{ flex:none; width:38px; height:38px; border-radius:50%; display:grid; place-items:center; font-family:var(--font-head); font-size:.9rem; letter-spacing:.04em; background:var(--navy-700); box-shadow:inset 0 0 0 1.5px var(--lime); }
.ew-head-text{ flex:1; min-width:0; line-height:1.25; }
.ew-head-text strong{ display:block; font-family:var(--font-head); font-weight:500; font-size:1rem; letter-spacing:.02em; }
.ew-head-text small{ display:flex; align-items:center; gap:.4rem; font-size:.72rem; color:var(--muted-dark); }
.ew-head-text small::before{ content:''; width:7px; height:7px; border-radius:50%; background:var(--lime); }
.ew-head-wa, .ew-close{ flex:none; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; color:var(--white); background:transparent; border:1px solid var(--line-dark); transition:all .25s var(--ease); }
.ew-head-wa svg{ width:17px; height:17px; }
.ew-close svg{ width:12px; height:12px; }
.ew-head-wa:hover{ background:#25d366; border-color:#25d366; }
.ew-close:hover{ background:var(--white); color:var(--navy-900); }

.ew-log{ flex:1; overflow-y:auto; padding:1rem; display:flex; flex-direction:column; gap:.7rem; overscroll-behavior:contain; }
.ew-msg{ display:flex; flex-direction:column; max-width:88%; }
.ew-bot{ align-self:flex-start; }
.ew-user{ align-self:flex-end; align-items:flex-end; }
.ew-bubble{ padding:.7rem .9rem; font-size:.9rem; line-height:1.5; }
.ew-bot .ew-bubble{ background:var(--white); border:1px solid var(--line); border-radius:2px 14px 14px 14px; }
.ew-user .ew-bubble{ background:var(--navy-900); color:var(--white); border-radius:14px 2px 14px 14px; }
.ew-actions{ display:flex; flex-wrap:wrap; gap:.4rem; margin-top:.5rem; }
.ew-action{ display:inline-flex; align-items:center; gap:.45rem; min-height:36px; padding:.45rem .8rem; font-size:.75rem; font-weight:600; border:1px solid var(--line); background:var(--white); color:var(--navy-900); transition:all .25s var(--ease); }
.ew-action:hover{ border-color:var(--navy-900); }
.ew-action-wa{ background:#25d366; border-color:#25d366; color:#fff; }
.ew-action-wa:hover{ background:#1ebe5a; border-color:#1ebe5a; }
.ew-action svg{ width:15px; height:15px; flex:none; }
.ew-typing .ew-bubble{ display:flex; gap:4px; padding:.85rem 1rem; }
.ew-typing i{ width:6px; height:6px; border-radius:50%; background:var(--muted); animation:ewDot 1s infinite; }
.ew-typing i:nth-child(2){ animation-delay:.15s; }
.ew-typing i:nth-child(3){ animation-delay:.3s; }
@keyframes ewDot{ 0%,80%,100%{ opacity:.3; transform:none; } 40%{ opacity:1; transform:translateY(-3px); } }

.ew-chips{ display:flex; gap:.4rem; padding:.2rem 1rem .7rem; overflow-x:auto; scrollbar-width:none; }
.ew-chips::-webkit-scrollbar{ display:none; }
.ew-chip{ flex:none; min-height:34px; padding:.4rem .8rem; border:1px solid var(--line); background:transparent; border-radius:999px; font-size:.75rem; font-weight:600; color:var(--navy-800); transition:all .25s var(--ease); }
.ew-chip:hover{ border-color:var(--lime-deep); background:rgba(168,200,79,.14); }
.ew-form{ display:flex; gap:.5rem; padding:.7rem 1rem; border-top:1px solid var(--line); background:var(--white); }
.ew-input{ flex:1; border:0; border-bottom:0; padding:.6rem 0; font-size:16px; background:transparent; }
.ew-input:focus{ box-shadow:none; }
.ew-send{ flex:none; width:42px; height:42px; border:0; border-radius:50%; background:var(--lime); color:var(--navy-950); display:grid; place-items:center; transition:background .25s var(--ease); }
.ew-send:hover{ background:var(--navy-900); color:var(--white); }
.ew-send svg{ width:16px; height:16px; }
.ew-note{ margin:0; padding:.35rem 1rem .6rem; background:var(--white); font-size:.66rem; color:var(--muted); text-align:center; }

@media (max-width:640px){
  .ew-chat{ right:1rem; bottom:max(1rem, env(safe-area-inset-bottom)); }
  .ew-fab{ width:58px; height:58px; }
  .ew-panel{ position:fixed; left:.6rem; right:.6rem; bottom:calc(max(1rem, env(safe-area-inset-bottom)) + 70px); width:auto; height:min(70vh, 560px); height:min(72dvh, 560px); }
}
@media (prefers-reduced-motion: reduce){
  .ew-fab, .ew-panel{ transition:none; animation:none; }
  .ew-fab-dot::after{ animation:none; }
}
