/* Design tokens */
:root{
  --canvas:#f5f1e6;
  --canvas-alt:#eae1cd;
  --panel:#ffffff;
  --ink:#1c2436;
  --ink-soft:#4b5468;
  --teal:#0d3b42;
  --teal-deep:#072428;
  --gold:#a9782f;
  --gold-strong:#8c631f;
  --gold-soft:#d9b877;
  --line:rgba(28,36,54,0.14);
  --line-strong:rgba(28,36,54,0.5);
  --ok:#3f7a52;
  --shadow-lift:rgba(7,36,40,0.14);

  /* Constant tokens for the hero / info-card, which stay dark teal surfaces
     in both themes; not swapped by the dark block below. Matched to the
     real Avara logo: teal + red ribbon + gold, read left to right. */
  --on-dark:#fbf7ee;
  --on-dark-soft:rgba(251,247,238,0.78);
  --on-dark-line:rgba(217,184,119,0.22);
  --on-dark-field:rgba(251,247,238,0.5);
  --gold-on-dark:#d9b877;
  --teal-bright:#1f93a6;
  --red-on-dark:#e8604a;
  /* Logo ribbon red as a text accent on the light canvas (4.5:1+ on --canvas). */
  --red:#b23c27;

  /* Text color for filled gold buttons/tags. --gold and --gold-strong swap
     brightness in opposite directions between themes, so each fill needs its
     own paired text color rather than one constant. */
  --on-gold:#11131a;
  --on-gold-strong:#fff9ef;

  --font-display:'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body:'Work Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono:'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --header-h:72px;
  --gutter:clamp(20px,4vw,48px);
  --container:1180px;
  --radius-s:4px;
  --radius-m:10px;
  color-scheme: light;
}

/* Light is the default; dark only applies when the visitor picks it with the toggle. */
:root[data-theme="dark"]{
  color-scheme: dark;
  --canvas:#0b1416;
  --canvas-alt:#102124;
  --panel:#13272a;
  --ink:#f2ece0;
  --ink-soft:#a9bab8;
  --teal:#0a2e33;
  --teal-deep:#051a1d;
  --gold:#d9b877;
  --gold-strong:#e8caa0;
  --gold-soft:#8c631f;
  --line:rgba(242,236,224,0.14);
  --line-strong:rgba(242,236,224,0.5);
  --on-gold-strong:#11131a;
  --shadow-lift:rgba(0,0,0,0.45);
  --red:#e8604a;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; scroll-padding-top:var(--header-h);}
body{
  margin:0;
  background:
    repeating-linear-gradient(45deg, rgba(28,36,54,0.025) 0 2px, transparent 2px 10px),
    var(--canvas);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:600;margin:0;text-wrap:balance;color:var(--ink);}
p{margin:0;}
.wrap{max-width:var(--container);margin:0 auto;padding-inline:var(--gutter);}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;}
.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;}

/* Scroll reveal. Uses `translate`, not `transform`, so it never fights the cards' hover lift. */
@media (prefers-reduced-motion: no-preference){
  .reveal{opacity:0;}
  .reveal.is-visible{animation:reveal-up .6s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms) both;}
}
@keyframes reveal-up{
  from{opacity:0; translate:0 18px;}
  to{opacity:1; translate:0 0;}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
  html .service-card:hover, html .service-card:focus-within, html .category-card:hover .photo, html .category-card:hover .photo-placeholder{transform:none;}
}

.stitch-rule{border:none; border-top:1.5px dashed var(--line-strong); margin:0;}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background:color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-row{display:flex; align-items:center; justify-content:space-between; height:var(--header-h);}
.header-actions{display:flex; align-items:center; gap:10px;}
.brand-mark{display:flex; align-items:center; gap:10px; text-decoration:none; color:inherit;}
.brand-icon{height:40px; width:auto; display:block;}
:root[data-theme="dark"] .brand-icon{filter:brightness(0) invert(1);}
.logo{font-family:var(--font-display); font-size:1.35rem; font-weight:660; letter-spacing:0.01em;}
/* Tagline: a full sentence, so body type in sentence case, wrapped to two short lines. */
.logo small{
  display:block; font-family:var(--font-body); font-size:0.66rem; line-height:1.3; letter-spacing:0.01em;
  color:var(--ink-soft); font-weight:500; margin-top:3px; max-width:27ch;
}
nav.primary-nav{display:flex;align-items:center;gap:clamp(14px,2vw,30px);}
nav.primary-nav a{
  font-size:0.92rem; text-decoration:none; color:var(--ink-soft);
  padding:6px 2px; border-bottom:1px solid transparent;
  transition:color .15s, border-color .15s;
}
nav.primary-nav a:hover{color:var(--ink);border-color:var(--gold);}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:0.5em;
  min-height:44px; line-height:1.2;
  font-family:var(--font-body); font-weight:600; font-size:0.9rem;
  padding:11px 20px; border-radius:var(--radius-s);
  border:1px solid transparent; cursor:pointer;
  text-decoration:none; white-space:nowrap;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active{transform:translateY(1px);}
.btn-gold{background:var(--gold);color:var(--on-gold);border-color:var(--gold);}
.btn-gold:hover{background:var(--gold-strong);border-color:var(--gold-strong);color:var(--on-gold-strong);}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--line-strong);}
.btn-ghost:hover{border-color:var(--gold);color:var(--gold-strong);}

.theme-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:var(--radius-s);
  border:1px solid var(--line-strong); background:transparent; cursor:pointer; color:var(--ink); padding:0;
}
.theme-toggle svg{width:18px;height:18px;}
.theme-toggle .icon-moon{display:none;}
.theme-toggle.is-dark .icon-sun{display:none;}
.theme-toggle.is-dark .icon-moon{display:block;}

.nav-toggle{
  display:none; align-items:center; gap:7px; background:none; border:1px solid var(--line-strong); border-radius:var(--radius-s);
  height:44px; padding:0 14px; cursor:pointer;
}
.nav-toggle-bars{display:flex; flex-direction:column; gap:4px;}
.nav-toggle-bars span{width:18px;height:1.5px;background:var(--ink);display:block;}
.nav-toggle-text{font-size:0.78rem;font-weight:600;color:var(--ink);}

/* Section shell */
section{padding-block:clamp(52px,7vw,92px);}
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:24px;
  margin-bottom:clamp(28px,4vw,48px); flex-wrap:wrap;
}
.section-head h2, .about-copy h2{font-size:clamp(1.6rem,2.6vw,2.3rem);}
.section-head p{color:var(--ink-soft); max-width:52ch;}

/* Journey: scroll story from raw cotton to finished garment.
   Static by default (all steps listed, final row shown); script.js adds .is-live to pin
   the section and drive it with scroll, unless the visitor prefers reduced motion. */
.journey-intro h1{font-size:clamp(2.1rem,3.3vw,3.2rem); line-height:1.08; letter-spacing:-0.01em; max-width:16ch;}
.journey-lead{margin-top:clamp(12px,2vh,18px); color:var(--ink-soft); max-width:42ch; font-size:clamp(0.98rem,1.15vw,1.1rem);}
.journey-intro h1 em{font-style:normal; color:var(--red);}
.journey-ctas{display:flex; gap:12px; flex-wrap:wrap; margin-top:clamp(18px,3vh,28px);}
.journey-hint{display:none; margin-top:clamp(16px,3vh,26px); font-family:var(--font-mono); font-size:0.75rem; color:var(--ink-soft);}
.journey-hint::after{content:" \2193";}
.journey-grid{display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(24px,4vw,48px);}
.journey.is-live .journey-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr); align-items:center;}
/* Static view: finished row on top, the six steps as a grid below it. */
.journey:not(.is-live) .journey-copy{display:contents;}
.journey:not(.is-live) .journey-intro{order:-2;}
.journey:not(.is-live) .journey-stage{order:-1; width:min(100%, 900px);}
.journey:not(.is-live) .journey-stage.is-video{width:min(100%, 620px);}
.journey:not(.is-live) .journey-steps{grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px 28px;}
.journey:not(.is-live) .journey-step h3{font-size:clamp(1.3rem,2vw,1.6rem); margin-bottom:8px;}
.journey-stage:has(.journey-world:empty){display:none;}
.journey-title{font-family:var(--font-mono); font-size:0.78rem; font-weight:400; letter-spacing:0.04em; color:var(--gold-strong); margin-bottom:clamp(14px,2.4vh,26px);}
.journey-steps{list-style:none; margin:0; padding:0; display:grid; gap:28px;}
.journey-label{font-family:var(--font-mono); font-size:0.78rem; color:var(--ink-soft); margin-bottom:10px;}
.journey-num{color:var(--gold-strong);}
.journey-step h3{font-size:clamp(1.9rem,3.6vw,3.3rem); line-height:1.08; letter-spacing:-0.01em; margin-bottom:14px;}
.journey-step p:not(.journey-label){color:var(--ink-soft); max-width:42ch; font-size:clamp(0.95rem,1.1vw,1.05rem);}
.journey-cta{margin-top:22px;}
.journey-stage{
  position:relative; aspect-ratio:var(--stage-ratio, 800 / 510); border-radius:var(--radius-m); overflow:hidden;
  /* warm studio backdrop with a soft overhead light, matched to the source photos */
  background:
    radial-gradient(ellipse 60% 70% at 50% 18%, rgba(255,250,240,0.9), transparent 70%),
    linear-gradient(to bottom, #f1e4d1 0%, #ead9c1 74%, #dfcbb0 74.4%, #e6d4ba 100%);
}
:root[data-theme="dark"] .journey-stage{
  background:
    radial-gradient(ellipse 55% 75% at 50% 10%, rgba(217,184,119,0.22), transparent 70%),
    linear-gradient(to bottom, #13272a 0%, #0f2023 74%, #0a1719 74.4%, #0d1c1f 100%);
}
.journey-world{position:absolute; left:0; top:0; width:800px; height:510px; transform-origin:0 0;}
.journey-layer, .journey-shadow{position:absolute; display:block;}
.journey-layer{max-width:none;}
.journey-shadow{height:22px; background:radial-gradient(closest-side, rgba(70,45,20,0.32), transparent); border-radius:50%;}
:root[data-theme="dark"] .journey-shadow{background:radial-gradient(closest-side, rgba(0,0,0,0.6), transparent);}

.journey.is-live{padding:0; height:calc(100svh + 6 * 75svh);}
.journey.is-live .journey-pin{
  position:sticky; top:var(--header-h); height:calc(100svh - var(--header-h)); overflow:hidden;
  display:flex; flex-direction:column; justify-content:safe center; gap:clamp(8px,2vh,20px);
}
/* Short phone screens (e.g. 360x640): keep the intro and the stage on one screen. */
@media (max-width:880px) and (max-height:700px){
  .journey-intro h1{font-size:1.6rem;}
  .journey-lead{font-size:0.9rem;}
  .journey-ctas{margin-top:12px; gap:8px;}
  .journey-ctas .btn{padding:9px 14px; font-size:0.85rem;}
  .journey.is-live .journey-intro .journey-hint{display:none;}
  .journey-step h3{font-size:1.4rem;}
}
.journey.is-live .journey-grid{width:100%;}
.journey.is-live .journey-stage{width:min(100%, calc((100svh - var(--header-h) - 110px) * (var(--stage-ratio, 800 / 510)))); justify-self:end;}
.journey-canvas{position:absolute; inset:0; width:100%; height:100%; display:block;}
/* Video hero, full bleed: the canvas fills the pinned area, a canvas-colored scrim keeps the text
   readable and blends the video into the page, the boxed stage is not used. */
.journey.has-video.is-live .journey-canvas{z-index:0;}
.journey.has-video.is-live .journey-pin::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(90deg, var(--canvas) 0%, color-mix(in srgb, var(--canvas) 86%, transparent) 28%, transparent 54%);
}
.journey.has-video.is-live .journey-grid{position:relative; z-index:2; grid-template-columns:minmax(0,5fr) minmax(0,7fr);}
.journey.has-video.is-live .journey-stage{display:none;}
.journey-stage.is-video{background:#c9b49c;} /* the video's own backdrop tone, shown only while frames load */
.journey.is-live .journey-world, .journey.is-live .journey-layer{will-change:transform;}
/* Intro and story share one grid cell: the intro shows at the top of the scroll, then gives way to the steps. */
.journey.is-live .journey-copy{display:grid;}
.journey.is-live .journey-intro, .journey.is-live .journey-story{grid-area:1/1; transition:opacity .45s ease, translate .45s ease, visibility 0s linear 0s;}
.journey.is-live .journey-hint{display:block;}
.journey.is-live:not(.at-intro) .journey-intro, .journey.is-live.at-intro .journey-story{
  opacity:0; translate:0 -14px; visibility:hidden; transition:opacity .45s ease, translate .45s ease, visibility 0s linear .45s;
}
/* One step visible at a time, stacked in the same grid cell; the next one fades in as the layer lands. */
.journey.is-live .journey-steps{gap:0;}
.journey.is-live .journey-step{
  grid-area:1/1; opacity:0; translate:0 18px; visibility:hidden;
  transition:opacity .45s ease, translate .45s ease, visibility 0s linear .45s;
}
.journey.is-live .journey-step.is-active{opacity:1; translate:0 0; visibility:visible; transition-delay:0s;}

/* About: plain text left, a spec sheet of verifiable facts right */
.about-grid{display:grid; grid-template-columns:1.2fr 1fr; gap:clamp(32px,5vw,72px); align-items:start;}
.about-copy{display:flex; flex-direction:column; gap:1em;}
.about-copy p{color:var(--ink-soft); max-width:56ch;}
.about-side{display:flex; flex-direction:column; gap:24px;}
.mission{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:6px; padding-top:18px; border-top:1.5px dashed var(--line-strong);}
.mission h3{font-size:1rem; margin-bottom:6px;}
.mission p{font-size:0.9rem; color:var(--ink-soft);}
.spec{margin:0; border-top:1.5px dashed var(--line-strong);}
.spec div{display:grid; grid-template-columns:120px 1fr; gap:16px; padding-block:14px; border-bottom:1.5px dashed var(--line-strong);}
.spec dt{font-family:var(--font-mono); font-size:0.75rem; color:var(--ink-soft); padding-top:3px;}
.spec dd{margin:0; font-size:0.95rem;}

/* Services: the five services from the company profile ("What we do"), each with its scope list. */
.service-grid{display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:20px;}
/* position:relative keeps the cards' .sr-only text inside the card; without it, a card
   scrolled off to the side in the mobile swipe row widens the page and phones zoom out. */
.service-card{
  grid-column:span 2; position:relative;
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-m);
  padding:26px 24px; display:flex; flex-direction:column; gap:14px;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:nth-child(n+4){grid-column:span 3;} /* 3 cards on the first row, 2 wider ones below */
.service-card:hover, .service-card:focus-within{border-color:var(--gold); transform:translateY(-4px); box-shadow:0 0 0 1px var(--gold), 0 14px 30px var(--shadow-lift);}
.service-num{font-family:var(--font-mono); font-size:0.75rem; color:var(--gold-strong);}
.service-card h3{font-size:1.25rem;}
.service-desc{color:var(--ink-soft); font-size:0.92rem;}
.service-quote{font-family:var(--font-display); font-size:1rem; color:var(--ink); border-left:2px solid var(--gold); padding-left:12px;}
.service-card .dash-list{columns:2; column-gap:16px; display:block;}
.service-card .dash-list li{break-inside:avoid; margin-bottom:6px;}
.service-card .btn{margin-top:auto; align-self:flex-start;}
.service-card:hover .btn-ghost, .service-card:focus-within .btn-ghost{background:var(--gold); color:var(--on-gold); border-color:var(--gold);}
.service-dots{display:none;}
.service-dot{width:44px; height:44px; padding:0; border:0; background:none; cursor:pointer; display:grid; place-items:center;}
.service-dot::before{content:""; width:8px; height:8px; border-radius:4px; background:var(--line-strong); transition:width .2s ease, background-color .2s ease;}
.service-dot[aria-current="true"]::before{width:22px; background:var(--gold);}

.dash-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px;}
.dash-list li{font-size:0.86rem; color:var(--ink); display:flex; gap:10px; align-items:baseline;}
.dash-list li::before{content:""; width:10px; height:1.5px; background:var(--gold); flex-shrink:0; translate:0 -4px;}

/* Production flow: the seven steps from the company profile, "From idea to delivery". */
.flow{margin-top:clamp(36px,5vw,56px);}
.flow-steps{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:14px;}
.flow-steps li{border-top:3px solid var(--line); padding-top:12px; display:flex; flex-direction:column; gap:4px;}
.flow-steps li:last-child{border-top-color:var(--gold);}
.flow-num{font-family:var(--font-mono); font-size:0.75rem; color:var(--gold-strong);}
.flow-steps strong{font-family:var(--font-display); font-weight:600; font-size:1rem; line-height:1.25;}
.flow-steps p{font-size:0.82rem; color:var(--ink-soft);}

.categories-block{margin-top:clamp(36px,5vw,56px);}
.categories-head{display:flex; justify-content:space-between; align-items:baseline; margin-bottom:18px; flex-wrap:wrap; gap:10px;}
.categories-head h3{font-size:1.05rem;}
.categories-head span{font-size:0.82rem; color:var(--ink-soft);}
.category-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px 14px;}
.category-card{display:flex; flex-direction:column; gap:10px; text-decoration:none; color:inherit; border-radius:var(--radius-m);}
.category-card .photo, .category-card .photo-placeholder{transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;}
.category-card:hover .photo, .category-card:hover .photo-placeholder{transform:translateY(-3px); box-shadow:0 10px 22px var(--shadow-lift);}
.category-card:hover .photo-placeholder{border-color:var(--gold);}
.category-name{font-size:0.9rem; font-weight:500;}

/* Photo slots. Ratios match the image sizes agreed with marketing; empty slots show the hero's shirt outline. */
.photo, .photo-placeholder{width:100%; height:auto; display:block; object-fit:cover; border-radius:var(--radius-m);}
.photo-placeholder{
  background:var(--canvas-alt); border:1.5px dashed var(--line-strong); color:var(--ink-soft);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px;
  min-height:0; overflow:hidden; /* keep the slot's ratio even when the slot is thinner than its content */
}
.photo-placeholder svg{width:min(34%, 140px); max-height:50%; height:auto; fill:none; stroke:currentColor; stroke-width:3; stroke-linejoin:round; opacity:0.7;}
.photo-placeholder span{font-size:0.82rem;}
.cat-thumb, .showcase-photo{aspect-ratio:4 / 5;}   /* 800×1000, 1200×1500 */
.gallery-photo{aspect-ratio:1 / 1;}                 /* 1200×1200 */
.factory-photo{aspect-ratio:16 / 10;}               /* 1600×1000 */
.feature-img{aspect-ratio:805 / 697;}

/* Feature: catalog tagline with the model photo from the marketing hero banner */
.feature-grid{display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,72px); align-items:center;}
.feature-copy{display:flex; flex-direction:column; align-items:flex-start; gap:18px;}
.feature-copy h2{font-size:clamp(1.6rem,2.6vw,2.3rem);}
.feature-copy p{color:var(--ink-soft); max-width:46ch;}

/* Split banner before Kontak: the sewing close-up fades into the teal copy panel */
section.split-banner{padding-block:0; display:grid; grid-template-columns:1fr 1fr; background:var(--teal-deep);}
.split-img{height:100%; min-height:340px; border-radius:0; -webkit-mask-image:linear-gradient(to right, #000 65%, transparent); mask-image:linear-gradient(to right, #000 65%, transparent);}
.split-copy{
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:16px;
  padding:clamp(36px,6vw,72px) var(--gutter); max-width:560px;
}
.split-copy h2{color:var(--on-dark); font-size:clamp(1.5rem,2.4vw,2.1rem);}
.split-copy p{color:var(--on-dark-soft);}

/* Gallery */
.gallery{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.gallery-item{margin:0; display:flex; flex-direction:column; gap:10px;}
.gallery-item figcaption{font-size:0.92rem; font-weight:500;}
.gallery-photo{transition:opacity .2s ease;}
/* Color picker under a gallery photo: 40px tap targets around a 22px dot. */
.swatches{display:flex; margin:-8px 0 0 -9px;}
.swatch{width:40px; height:40px; padding:0; border:0; background:none; cursor:pointer; display:grid; place-items:center;}
.swatch::before{
  content:""; width:22px; height:22px; border-radius:50%; background:var(--dot);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,0.18); outline:2px solid transparent; outline-offset:2px;
  transition:outline-color .2s ease;
}
.swatch:hover::before{outline-color:var(--line-strong);}
.swatch[aria-pressed="true"]::before{outline-color:var(--gold);}

/* Partner ecosystem: the client's partner logos (white marks) on the dark teal surface. */
.partners{background:var(--teal); color:var(--on-dark);}
.partners-head{display:flex; justify-content:space-between; align-items:flex-end; gap:16px 40px; flex-wrap:wrap; margin-bottom:clamp(28px,4vw,44px);}
.partners-head h2{color:var(--on-dark); font-size:clamp(1.6rem,2.6vw,2.3rem);}
.partners-head p{color:var(--on-dark-soft); max-width:56ch; font-size:0.95rem;}
.partner-logos{
  list-style:none; margin:0; padding:clamp(24px,3vw,36px) 0; display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
  gap:clamp(28px,5vw,64px); border-block:1px solid var(--on-dark-line);
}
.partner-logo{--h:44px; --scale:1; height:calc(var(--h) * var(--scale)); width:auto; opacity:0.92;}
@media (max-width:600px){ .partner-logo{--scale:0.72;} }
.partners-tagline{margin-top:18px; font-family:var(--font-mono); font-size:0.78rem; letter-spacing:0.04em; color:var(--gold-on-dark);}

/* Product showcase dialog, opened from a category card */
.showcase{
  padding:0; border:none; border-radius:var(--radius-m); background:var(--panel); color:var(--ink);
  width:min(440px, 92vw, calc((94vh - 180px) * 0.8 + 40px)); max-height:94vh;
}
.showcase::backdrop{background:rgba(7,36,40,0.6);}
.showcase-body{padding:20px; display:flex; flex-direction:column; gap:14px; position:relative;}
.showcase h3{font-size:1.3rem;}
.showcase-desc{color:var(--ink-soft); font-size:0.92rem; margin-top:-6px;}
.showcase .btn{align-self:flex-start;}
.showcase-media{position:relative;}
.carousel{display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; border-radius:var(--radius-m);}
.carousel::-webkit-scrollbar{display:none;}
.carousel > *{flex:0 0 100%; scroll-snap-align:start; border-radius:0;}
.carousel-btn{
  position:absolute; top:50%; translate:0 -50%;
  width:44px; height:44px; border-radius:50%; border:none; cursor:pointer;
  background:rgba(0,0,0,0.5); color:#fff; font-size:1.8rem; line-height:1;
}
.carousel-btn.prev{left:8px;}
.carousel-btn.next{right:8px;}
.carousel-btn:disabled{opacity:0.3; cursor:default;}
.carousel-btn[hidden], .carousel-count[hidden]{display:none;}
.carousel-count{
  position:absolute; bottom:10px; left:50%; translate:-50% 0;
  background:rgba(0,0,0,0.55); color:#fff; font-family:var(--font-mono); font-size:0.75rem;
  padding:3px 10px; border-radius:100px;
}
.showcase-close{
  position:absolute; top:28px; right:28px; z-index:1;
  width:44px; height:44px; border-radius:50%; border:none; cursor:pointer;
  background:rgba(0,0,0,0.5); color:#fff; font-size:1.6rem; line-height:1;
}

/* Contact */
.contact-grid{display:grid; grid-template-columns:1fr 1.1fr; gap:clamp(28px,4vw,56px); align-items:start;}
.info-card{
  background:var(--teal); color:var(--on-dark); border-radius:var(--radius-m);
  padding:clamp(24px,3vw,34px); display:flex; flex-direction:column; gap:20px;
}
.info-card h3{color:var(--on-dark); font-size:1.15rem;}
.info-line{display:flex; gap:12px; font-size:0.9rem; color:var(--on-dark-soft);}
.info-line[hidden]{display:none;}
.info-line a{color:var(--on-dark); text-decoration:underline; text-decoration-color:var(--on-dark-line); text-underline-offset:3px; overflow-wrap:break-word; min-width:0;}
.info-line a:hover{text-decoration-color:var(--gold-on-dark);}
.info-line .k{font-family:var(--font-mono); font-size:0.75rem; color:var(--gold-on-dark); flex:0 0 96px; padding-top:2px;}

form.rfq{display:flex; flex-direction:column; gap:14px;}
.field-row{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
label{font-size:0.85rem; font-weight:600; color:var(--ink-soft); display:block; margin-bottom:6px;}
input, select, textarea{
  width:100%; min-height:44px; font-family:var(--font-body); font-size:0.94rem; color:var(--ink);
  background:var(--panel); border:1px solid var(--line-strong); border-radius:var(--radius-s);
  padding:11px 12px;
}
input:focus, select:focus, textarea:focus{border-color:var(--gold);}
textarea{resize:vertical; min-height:88px;}
.btn-submit{align-self:flex-start;}
.form-status{font-size:0.9rem; color:var(--ink);}
.form-status:empty{display:none;}
.form-note{font-size:0.8rem; color:var(--ink-soft);}

/* Footer */
footer{border-top:1px solid var(--line); padding-block:36px; background:var(--canvas-alt);}
.footer-row{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;}
.footer-row .logo{font-size:1.1rem;}
.footer-links{display:flex; gap:8px 20px; flex-wrap:wrap;}
.footer-links a{font-size:0.85rem; color:var(--ink-soft); text-decoration:none; padding-block:12px;}
.footer-links a:hover{color:var(--ink);}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px 16px; margin-top:18px;}
.footer-copy{font-size:0.8rem; color:var(--ink-soft);}

/* Media sosial: satu daftar di script.js, dipakai di kartu Kontak dan footer */
.social-links{display:flex; flex-wrap:wrap; gap:4px; margin-left:-10px;}
.footer-bottom .social-links{margin-left:0; margin-right:-10px;}
@media (max-width:600px){
  .footer-bottom{flex-direction:column; align-items:flex-start;}
  .footer-bottom .social-links{margin-left:-10px; margin-right:0;}
}
.social-link{
  width:44px; height:44px; display:grid; place-items:center; border-radius:var(--radius-s);
  color:var(--ink-soft); transition:color .2s ease, background-color .2s ease;
}
.social-link svg{width:20px; height:20px;}
.social-link:hover{color:var(--ink); background:var(--line);}
.info-card .social-link{color:var(--on-dark-soft);}
.info-card .social-link:hover{color:var(--gold-on-dark); background:rgba(255,255,255,0.08);}
@media (prefers-reduced-motion: reduce){.social-link{transition:none;}}

/* Floating WhatsApp */
.wa-float{
  position:fixed; bottom:22px; right:22px; z-index:60;
  width:56px; height:56px; border-radius:50%;
  background:var(--ok); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 22px rgba(0,0,0,0.28);
}
.wa-float[hidden]{display:none;}
.wa-float svg{width:26px;height:26px;}

/* Responsive */
@media (max-width:880px){
  nav.primary-nav{
    position:absolute; top:var(--header-h); left:0; right:0;
    background:var(--canvas); border-bottom:1px solid var(--line);
    flex-direction:column; align-items:flex-start; padding:16px var(--gutter);
    display:none; gap:4px;
  }
  nav.primary-nav.open{display:flex;}
  nav.primary-nav a{width:100%; padding:10px 0; border-bottom:1px solid var(--line);}
  .nav-toggle{display:flex;}


  .about-grid, .contact-grid, .feature-grid{grid-template-columns:1fr;}
  .journey.is-live .journey-grid{grid-template-columns:minmax(0,1fr); gap:16px;}
  .journey:not(.is-live) .journey-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
  .journey-step h3{font-size:clamp(1.5rem,6.4vw,2.1rem); margin-bottom:8px;}
  .journey-intro h1{font-size:clamp(1.9rem,8vw,2.5rem);}
  .journey-cta{margin-top:14px;}
  .journey.is-live .journey-stage{width:100%;}
  /* Video hero on phones: text at the top over a top-down scrim, the video fills the lower part. */
  .journey.has-video.is-live .journey-pin{justify-content:flex-start; padding-top:clamp(16px,3vh,28px);}
  .journey.has-video.is-live .journey-grid{grid-template-columns:minmax(0,1fr);}
  .journey.has-video.is-live .journey-pin::before{
    background:linear-gradient(180deg, var(--canvas) 0%, var(--canvas) 30%, color-mix(in srgb, var(--canvas) 70%, transparent) 40%, transparent 50%);
  }
  /* Services: swipe sideways instead of a long vertical stack; the next card peeks in as the cue. */
  .service-grid{
    display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none;
    margin-inline:calc(-1 * var(--gutter)); padding:4px var(--gutter) 8px; scroll-padding-inline:var(--gutter);
  }
  .service-grid::-webkit-scrollbar{display:none;}
  .service-card, .service-card:nth-child(n+4){flex:0 0 84%; scroll-snap-align:start;}
  .service-card:hover, .service-card:focus-within{transform:none;}
  .service-dots{display:flex; justify-content:center; margin-top:4px;}
  .flow-steps{grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 14px;}
  .gallery, .category-grid{grid-template-columns:repeat(2,1fr); gap:14px;}
  section.split-banner{grid-template-columns:1fr;}
  .split-img{min-height:0; height:240px; -webkit-mask-image:linear-gradient(to bottom, #000 60%, transparent); mask-image:linear-gradient(to bottom, #000 60%, transparent);}
  .field-row{grid-template-columns:1fr;}
  body.has-wa footer{padding-bottom:96px;}
}
/* Tablet: wide enough for ~1.6 cards, still leaves each card its own snap stop. */
@media (min-width:600px) and (max-width:880px){
  .service-card, .service-card:nth-child(n+4){flex-basis:60%;}
}
@media (max-width:560px){
  .header-row .btn-gold{display:none;}
  .spec div{grid-template-columns:96px 1fr;}
  .journey:not(.is-live) .journey-steps{grid-template-columns:minmax(0,1fr);}
  .mission{grid-template-columns:1fr;}
}
