/* ==========================================================================
   Vishesh Apparels — design system
   A lookbook that publishes specs. Bodoni Moda at scale for display, Jost for
   everything read; warm sand/paper/terracotta from the company deck; grain,
   depth and full-bleed imagery. No monospace anywhere.
   ========================================================================== */

:root {
  --ink:       #1B1815;
  --ink-70:    #55504A;
  --ink-50:    #7D766E;
  --paper:     #FBF8F5;
  --sand:      #EFE3D8;
  --sand-deep: #E3D2C3;
  --line:      #DCCBBB;
  --line-soft: #EADDD1;
  --clay:      #8B6A4F;
  --clay-dark: #6E5340;
  --terra:     #A8442A;
  --terra-dark:#8C351F;
  --on-dark:   #D9CFC4;
  --on-dark-2: #A89E92;

  --display: "Bodoni Moda", "Bodoni 72", "Didot", "Playfair Display", Georgia, serif;
  --body:    "Jost", "Futura", "Avenir Next", "Segoe UI", sans-serif;

  --max: 1320px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --sec: clamp(4.5rem, 9vw, 9rem);
  --shadow: 0 40px 80px -40px rgba(27, 24, 21, .45);
}

/* ------------------------------------------------------------- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  position: relative;
}
/* paper grain over every ground — one tiny SVG, fixed, blended */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: .28; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .45 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .15em; }
p { margin: 0 0 1.1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
strong, b { font-weight: 500; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
::selection { background: var(--sand-deep); }

h1, h2, h3, .num, .pull {
  font-family: var(--display); font-weight: 400; font-optical-sizing: auto;
  margin: 0 0 .6em; text-wrap: balance;
}
h1 { font-size: clamp(3rem, 7.4vw, 6.75rem); line-height: 1.0; letter-spacing: -.005em; }
h2 { font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1.06; }
h3 { font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.2; margin-bottom: .45em; }
h4 { font-family: var(--body); font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-70); margin: 0 0 .9rem; }

.label { font-family: var(--body); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-70); }
.eyebrow {
  display: flex; align-items: center; gap: .7rem; margin: 0 0 1.25rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--terra);
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.eyebrow--plain::before { display: none; }
.lede { font-size: clamp(1.125rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--ink-70); max-width: 56ch; }
.small { font-size: .9rem; color: var(--ink-70); }
.num { font-size: clamp(3.25rem, 6vw, 5.5rem); line-height: .95; font-variant-numeric: tabular-nums; margin: 0; }
.pull { font-size: clamp(1.6rem, 2.8vw, 2.5rem); font-style: italic; line-height: 1.25; color: var(--ink); max-width: 30ch; }
.pull::before { content: "\201C"; margin-left: -.45em; }
.pull::after { content: "\201D"; }
.tnum { font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 1100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

/* ------------------------------------------------------------ layout ---- */
.wrap { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; position: relative; }
.wrap--narrow { max-width: 860px; }
.sec { padding-block: var(--sec); position: relative; overflow-x: clip; --ground: var(--paper); }
.sec--sand { background: var(--sand); --ground: var(--sand); }
.sec--dark { background: var(--ink); color: var(--paper); --ground: var(--ink); }
.mast, .hero { overflow-x: clip; }
.nowrap { white-space: nowrap; }
.sec--dark .lede { color: var(--on-dark); }
.sec--dark .small, .sec--dark .label, .sec--dark h4 { color: var(--on-dark-2); }
.sec--dark .eyebrow { color: #E2A48F; }
.sec--dark .pull { color: var(--paper); }
.sec--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }

/* full-bleed photographic ground behind a dark section */
.sec__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.sec__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: sepia(.35) saturate(.7) contrast(1.05); }
.sec__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,24,21,.92) 0%, rgba(27,24,21,.55) 60%, rgba(27,24,21,.85) 100%); }
.sec--dark > .wrap { z-index: 1; }

/* section numbering as an editorial device */
.sec-no { position: relative; display: flex; align-items: baseline; gap: 1.25rem;
           margin-bottom: clamp(2rem, 4vw, 3.5rem); padding-bottom: 1rem; border-bottom: 0; }
/* the cutting line itself */
.sec-no::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background-image: repeating-linear-gradient(to right,
      var(--line) 0 7px, transparent 7px 13px);
  transform: scaleX(0); transform-origin: left center;
}
.js .sec-no.is-cut::after { transform: scaleX(1); transition: transform 0.85s cubic-bezier(.32,.06,.28,1); }
.sec-no:not(.is-cut)::after { transform: scaleX(1); }          /* no-JS: just show it */
.js .sec-no::after { transform: scaleX(0); }

.sec-no__snip {
  position: absolute; left: 0; bottom: -9px; width: 17px; height: 17px;
  color: var(--clay); opacity: 0; pointer-events: none;
  transform: translateX(0);
}
.js .sec-no.is-cut .sec-no__snip {
  opacity: 1;
  transform: translateX(var(--travel, 0px));
  transition: transform 0.85s cubic-bezier(.32,.06,.28,1), opacity .25s ease 1.35s;
  opacity: 0;
}
.sec--dark .sec-no::after { background-image: repeating-linear-gradient(to right,
      rgba(251,248,245,.35) 0 7px, transparent 7px 13px); }
.sec--dark .sec-no__snip { color: var(--sand); }

@media (prefers-reduced-motion: reduce) {
  .js .sec-no::after, .js .sec-no.is-cut::after { transform: scaleX(1); transition: none; }
  .sec-no__snip { display: none; }
}
.sec-no b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--terra); font-variant-numeric: tabular-nums; }
.sec-no span { font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-70); }
.sec-no i { flex: 1; }
.sec-no::before { content: ""; width: 2rem; height: 1px; background: var(--terra); align-self: center; }
.sec-no .link-arrow { font-size: .72rem; }
@media (max-width: 640px) { .sec-no { flex-wrap: wrap; gap: .6rem 1rem; } .sec-no i { display: none; } .sec-no .link-arrow { flex-basis: 100%; margin-left: 2.7rem; } }
.sec--dark .sec-no { border-color: rgba(251,248,245,.2); }
.sec--dark .sec-no span { color: var(--on-dark-2); }

.sec__head { display: flex; flex-wrap: wrap; gap: 1.25rem 4rem; align-items: end; justify-content: space-between; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sec__head h2 { margin: 0; max-width: 20ch; }
.sec__head .lede { margin: 0; max-width: 44ch; }

.grid-2 { display: grid; gap: clamp(1.5rem, 3vw, 3rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: clamp(1.5rem, 3vw, 3rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-aside { display: grid; gap: clamp(2rem, 6vw, 7rem); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.grid-aside > :first-child { position: sticky; top: 6rem; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-aside { grid-template-columns: 1fr; }
  .grid-aside > :first-child { position: static; }
}

/* editorial spread: text on one side, image bleeding to the viewport edge on the other */
.spread { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.spread__copy { max-width: 34rem; }
.spread__media { position: relative; }
.spread--right .spread__media { margin-right: calc(50% - 50vw); order: 2; }
.spread--left .spread__media { margin-left: calc(50% - 50vw); order: -1; }
.spread__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; }
.spread__media figcaption { position: absolute; left: 0; bottom: 0; margin: 0; padding: .7rem 1rem; background: var(--paper); color: var(--ink); font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.spread--left .spread__media figcaption { left: auto; right: 0; }
.sec--dark .spread__media figcaption { background: var(--ink); color: var(--on-dark); }
@media (max-width: 900px) {
  .spread { grid-template-columns: 1fr; }
  .spread--left .spread__media, .spread--right .spread__media { margin-inline: calc(-1 * var(--pad)); order: -1; }
  .spread__media img { aspect-ratio: 4 / 3; }
}

/* two images stacked with offset, the second overlapping the first */
.stack { position: relative; padding-bottom: 22%; }
.stack figure { margin: 0; }
.stack figure:first-child { width: 78%; }
.stack figure:last-child { position: absolute; right: 0; bottom: 0; width: 56%; box-shadow: var(--shadow); }
.stack img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.stack figure:last-child img { aspect-ratio: 1; }
.stack figcaption { font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-70); margin-top: .7rem; }
.stack figure:last-child figcaption { position: absolute; left: 0; bottom: 0; margin: 0; padding: .6rem .9rem; background: var(--ink); color: var(--on-dark); }

/* ----------------------------------------------------------- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--terra); border-color: var(--terra); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--sm { padding: .7rem 1.1rem; font-size: .7rem; }
.sec--dark .btn, .on-dark .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.sec--dark .btn:hover, .on-dark .btn:hover { background: var(--terra); border-color: var(--terra); color: #fff; }
.sec--dark .btn--ghost, .on-dark .btn--ghost { background: transparent; color: var(--paper); border-color: rgba(251,248,245,.6); }
.sec--dark .btn--ghost:hover, .on-dark .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.link-arrow { font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: .25rem; white-space: nowrap; }
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { border-color: currentColor; }

/* ------------------------------------------------------------ header ---- */
.head {
  position: sticky; top: 0; z-index: 100; background: rgba(251,248,245,.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .25s, background .25s;
}
.head[data-scrolled] { border-color: var(--line); background: rgba(251,248,245,.96); }
.head__in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 4.75rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 42px; height: 44px; }
.brand__name { font-family: var(--display); font-size: 1.45rem; line-height: 1; letter-spacing: .01em; }

.nav { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
.nav > a, .nav > .menu > button {
  display: inline-flex; align-items: center; gap: .4rem; padding: .6rem .85rem; border: 0; background: none;
  text-decoration: none; font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-70); cursor: pointer;
}
.nav > a:hover, .nav > .menu > button:hover, .nav > .menu[data-open="true"] > button { color: var(--ink); }
.nav > a[aria-current="page"], .nav > .menu > button[aria-current="true"] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--terra); }
.menu { position: relative; }
.menu > button svg { width: .6rem; height: .6rem; transition: transform .2s; }
.menu[data-open="true"] > button svg { transform: rotate(180deg); }
.menu__panel {
  display: block; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s cubic-bezier(.2,.7,.2,1), transform .28s cubic-bezier(.2,.7,.2,1), visibility 0s .28s;
  position: absolute; top: calc(100% + .6rem); left: 0; min-width: 17rem;
  background: var(--paper); border: 1px solid var(--line); padding: .6rem; box-shadow: 0 24px 50px -20px rgba(27,24,21,.35); z-index: 5;
}
.menu[data-open="true"] > .menu__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu__panel a { display: block; padding: .65rem .8rem; text-decoration: none; font-size: .95rem; color: var(--ink); }
.menu__panel a small { display: block; font-size: .78rem; color: var(--ink-50); margin-top: .1rem; }
.menu__panel a:hover, .menu__panel a:focus-visible { background: var(--sand); }
.menu__panel a[aria-current="page"] { color: var(--terra); }
.menu__panel .label { display: block; padding: .5rem .8rem .35rem; color: var(--ink-70); font-size: .68rem; }

.head__actions { display: flex; align-items: center; gap: .6rem; }
.nav__cta { display: none; }

.burger { display: none; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); background: none; position: relative; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: .7rem; right: .7rem; height: 1.5px; background: var(--ink); content: ""; transition: transform .2s, background .2s; }
.burger span { top: 50%; margin-top: -1px; }
.burger span::before { top: -6px; left: 0; right: 0; }
.burger span::after { top: 6px; left: 0; right: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .head__in { height: 4rem; gap: 1rem; }
  .brand__name { font-size: 1.25rem; }
  .head__actions .btn--ghost { display: none; }
  .burger { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--pad) 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); max-height: calc(100vh - 4rem); overflow: auto;
  }
  body[data-nav="open"] .nav { display: flex; }
  body[data-nav="open"] { overflow: hidden; }
  .nav > a, .nav > .menu > button { width: 100%; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); font-size: .9rem; color: var(--ink); }
  .nav > a[aria-current="page"], .nav > .menu > button[aria-current="true"] { box-shadow: none; color: var(--terra); }
  .menu__panel { display: none; opacity: 1; visibility: visible; transform: none; position: static; border: 0; box-shadow: none; padding: 0 0 .5rem .5rem; background: none; }
  .menu[data-open="true"] > .menu__panel { display: block; animation: rise-in .4s cubic-bezier(.2,.7,.2,1) both; }
  body[data-nav="open"] .nav > * { animation: rise-in .55s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 55ms); }
  .nav__cta { display: flex; flex-direction: column; gap: .6rem; padding-top: 1.25rem; }
  .nav__cta .btn { width: 100%; }
}
@media (max-width: 560px) {
  .head__actions .btn--primary-head { display: none; }
}

/* mobile sticky enquiry bar: the persistent route to contact under 1080px */
.mobile-cta { display: none; }
@media (max-width: 1080px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: .6rem var(--pad) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(251,248,245,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px);
  }
  .mobile-cta .btn { width: 100%; padding-inline: .5rem; font-size: .68rem; }
  body { padding-bottom: 4.25rem; }
}

/* -------------------------------------------------------------- hero ---- */
.hero { position: relative; min-height: min(92vh, 980px); display: flex; align-items: flex-end; color: var(--paper); overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.25) saturate(.8) contrast(1.05) brightness(.85); transform-origin: 50% 40%; animation: hero-zoom 26s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes card-in { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes media-in { from { opacity: 0; } to { opacity: 1; } }
.hero__media { animation: media-in 1s ease-out both; }
.hero .crumbs, .hero .eyebrow, .hero h1, .hero .lede, .hero .btn-row { animation: rise-in 0.7s cubic-bezier(.2,.7,.2,1) both; }
.hero .eyebrow { animation-delay: .35s; }
.hero h1 { animation-delay: .5s; }
.hero .lede { animation-delay: .7s; }
.hero .btn-row { animation-delay: .85s; }
.mast .crumbs, .mast .eyebrow, .mast h1, .mast .lede, .mast .btn-row, .mast__fig { animation: rise-in 1.1s cubic-bezier(.2,.7,.2,1) both; }
.mast .eyebrow { animation-delay: .25s; } .mast h1 { animation-delay: .4s; } .mast .lede { animation-delay: .6s; } .mast .btn-row { animation-delay: .75s; } .mast__fig { animation-delay: .5s; }
.hero__scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(27,24,21,.35) 0%, rgba(27,24,21,.2) 35%, rgba(27,24,21,.88) 100%),
  linear-gradient(90deg, rgba(27,24,21,.75) 0%, rgba(27,24,21,.25) 55%, rgba(27,24,21,.15) 100%); }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr);
             align-items: end; padding: clamp(8rem, 18vh, 13rem) 0 clamp(3.5rem, 7vh, 5.5rem); }
.hero__copy { max-width: min(100%, 60rem); }
.hero .eyebrow { color: #E2A48F; }
.hero h1 { color: var(--paper); max-width: 26ch; margin-bottom: 1.5rem;
            text-wrap: balance; line-height: 1.02; }
.hero h1 em { font-style: italic; font-weight: 400; color: #EED9CC; }
.hero .lede { color: var(--on-dark); max-width: 46ch; }
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__in { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
}

/* big-number band directly under the hero */
/* The number size is tied to the container, not the viewport: .kpis--pad
   reserves 26rem for the overlapping hero card, so a vw-based size overflowed
   its column and "50,000" collided with the next figure. */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem 1.5rem;
        container-type: inline-size; }
.kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpis--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kpi { text-align: center; }
.kpi b { display: block; font-family: var(--body); font-weight: 500;
         font-size: clamp(1.9rem, 3vw, 3rem);            /* fallback: no container queries */
         line-height: .95; font-variant-numeric: tabular-nums; letter-spacing: -.01em;
         white-space: nowrap; }
/* 5 columns => each is ~19cqw wide; "50,000" runs ~3.3em, so cap at ~5cqw. */
@supports (width: 1cqw) {
  .kpi b { font-size: clamp(1.8rem, 4.4cqw, 3.6rem); letter-spacing: -.02em; }
  .kpis--4 .kpi b { font-size: clamp(1.9rem, 6.4cqw, 4.25rem); }
  .kpis--2 .kpi b { font-size: clamp(2.2rem, 13cqw, 4.25rem); }
}
.kpi b small { font-size: .5em; letter-spacing: 0; }
.kpi span { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .14em;
             text-transform: uppercase; color: var(--ink-70); margin-top: .75rem;
             padding-top: .85rem; border-top: 1px solid var(--line); position: relative; }
/* tape-measure ticks hanging off the rule, as on a tailor's tape */
.kpi span::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background-image: repeating-linear-gradient(to right,
      var(--line) 0 1px, transparent 1px 9px);
}
.sec--dark .kpi span::before { background-image: repeating-linear-gradient(to right,
      rgba(251,248,245,.28) 0 1px, transparent 1px 9px); }
.sec--dark .kpi span { color: var(--on-dark-2); border-color: rgba(251,248,245,.2); }
/* .kpis--pad once reserved 26rem for the overlapping hero card. That card is
   gone, so the padding only knocked the row off centre. */
.kpis--pad { padding-right: 0; }
@media (max-width: 900px) {
  .kpis, .kpis--4 { grid-template-columns: repeat(2, 1fr); }
  .kpis--pad { padding-top: 2rem; }
  /* two columns: each is ~48cqw, so the figures can breathe again */
  @supports (width: 1cqw) {
    .kpi b, .kpis--4 .kpi b { font-size: clamp(2.2rem, 13cqw, 3.6rem); }
  }
}

/* -------------------------------------------------------------- logos --- */
/* client marquee: one slow, pausable loop of the buyer logos */
.strip { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 1.6rem; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.strip__track { display: flex; align-items: center; gap: clamp(3rem, 6vw, 5.5rem); width: max-content; animation: strip 55s linear infinite; }
.strip:hover .strip__track, .strip:focus-within .strip__track, .strip[data-paused] .strip__track { animation-play-state: paused; }
.strip__track img { height: 30px; width: auto; max-width: 140px; object-fit: contain; opacity: .6; transition: opacity .35s; }
.strip__track img:hover { opacity: 1; }
@keyframes strip { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 1.5rem 2.5rem; } .strip__track img:nth-child(n+14) { display: none; } }

.logos { padding-block: 2rem; border-top: 1px solid var(--line); }
.logos__in { display: flex; align-items: center; gap: 1.5rem 3rem; flex-wrap: wrap; }
.logos__row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.75rem; flex: 1; justify-content: space-between; }
.logos__row img { height: 28px; width: auto; max-width: 130px; object-fit: contain; opacity: .62; transition: opacity .35s, transform .35s cubic-bezier(.2,.7,.2,1); }
.logos__row img:hover { opacity: 1; transform: translateY(-2px); }
.logo-wall div { transition: background .35s; }
.logo-wall div:hover { background: var(--sand); }
.logo-wall img { transition: opacity .35s, transform .35s cubic-bezier(.2,.7,.2,1); }
.logo-wall div:hover img { opacity: 1; transform: scale(1.04); }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logo-wall div { background: var(--paper); aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.logo-wall img { max-height: 44px; width: auto; max-width: 80%; object-fit: contain; opacity: .8; filter: grayscale(1); }
@media (max-width: 900px) { .logos__row { justify-content: flex-start; } .logos__row img { height: 22px; } }

/* ------------------------------------------------------------- tables --- */
.table { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.table caption { text-align: left; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-70); padding-bottom: 1rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: .9rem 1rem .9rem 0; border-top: 1px solid var(--line); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 1px solid var(--line); }
.table th { font-weight: 500; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-70); width: 32%; padding-top: 1.05rem; }
.table thead th { color: var(--ink); border-top: 0; padding-top: 0; width: auto; }
.table--compact th, .table--compact td { padding-block: .6rem; }
.table--lg td { font-size: 1.1rem; }
.sec--dark .table th, .sec--dark .table caption { color: var(--on-dark-2); }
.sec--dark .table th, .sec--dark .table td, .sec--dark .table tr:last-child th, .sec--dark .table tr:last-child td { border-color: rgba(251,248,245,.2); }
.table-scroll { overflow-x: auto; }
.tag { display: inline-block; font-size: .64rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: .2rem .5rem; border: 1px solid var(--line); color: var(--ink-70); }
.tag--ok { color: #3E6B4A; border-color: #B9CDBE; }
.sec--dark .tag { color: var(--on-dark); border-color: rgba(251,248,245,.3); }

/* numbered editorial list: big figure, title, short text */
.list-num { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list-num li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.list-num li b { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--terra); font-variant-numeric: tabular-nums; }
.list-num li h3 { margin-bottom: .3rem; font-size: 1.45rem; }
.list-num li p { margin: 0; color: var(--ink-70); max-width: 52ch; }
.list-num li > div:only-child { grid-column: 1 / -1; }
.sec--dark .list-num, .sec--dark .list-num li { border-color: rgba(251,248,245,.2); }
.sec--dark .list-num li p { color: var(--on-dark); }
.list-num--cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; border-top: 0; }
.list-num--cols li { border-top: 1px solid var(--line); border-bottom: 0; }
.quote-slot { margin: 0; }
.quote-slot .pull { max-width: 22ch; }
@media (max-width: 800px) { .list-num--cols { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ figures --- */
.fig { margin: 0; position: relative; overflow: hidden; }
.fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sand); }
.fig--tall img { aspect-ratio: 4 / 5; }
.fig--wide img { aspect-ratio: 16 / 9; }
.fig--sq img { aspect-ratio: 1; }
.fig--fac img { filter: sepia(.22) saturate(.85) contrast(1.04); }  /* one warm grade over phone-grade factory photos */
.fig figcaption { font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-70); margin-top: .75rem; display: flex; gap: .75rem; align-items: baseline; }
.fig figcaption::before { content: ""; width: 1.25rem; height: 1px; background: var(--terra); flex: 0 0 auto; transform: translateY(-.2em); }
.fig--over figcaption { position: absolute; left: 0; bottom: 0; margin: 0; padding: .7rem 1rem; background: var(--paper); color: var(--ink); }
.sec--dark .fig figcaption { color: var(--on-dark); }
.sec--dark .fig--over figcaption { background: var(--ink); }
.shadow { box-shadow: var(--shadow); }

/* lookbook grid: varied spans, hover with intent */
.lookbook { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: clamp(.75rem, 1.5vw, 1.5rem); }
.look { margin: 0; position: relative; overflow: hidden; background: var(--sand); grid-column: span 2; }
.look img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.look:hover img { transform: scale(1.045); }
.look figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem .9rem; color: var(--paper); font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; background: linear-gradient(0deg, rgba(27,24,21,.8), rgba(27,24,21,0)); transform: translateY(.35rem); opacity: .85; transition: transform .5s, opacity .5s; }
.look:hover figcaption { transform: none; opacity: 1; }
.lookbook--feature { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.lookbook--feature .look { grid-column: span 3; }
.lookbook--feature .look:nth-child(1) { grid-column: span 6; grid-row: span 2; }
.lookbook--feature .look:nth-child(1) img { aspect-ratio: auto; height: 100%; }
.lookbook--4 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.lookbook--4 .look { grid-column: span 3; }
@media (max-width: 900px) {
  .lookbook { grid-template-columns: repeat(2, 1fr); }
  .lookbook--feature, .lookbook--4 { grid-template-columns: repeat(2, 1fr); }
  .look, .lookbook--feature .look:nth-child(n), .lookbook--4 .look { grid-column: span 1; grid-row: auto; }
  .lookbook--feature .look:nth-child(n) img { aspect-ratio: 3 / 4; height: auto; }
}

/* ------------------------------------------------------------ markets --- */
.market-rows { border-top: 1px solid var(--line); }
.market-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) auto; gap: 1.5rem; align-items: center; padding: 1.75rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding-left .3s; }
.market-row:hover { padding-left: 1rem; }
.market-row h3 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.market-row .label { display: block; margin-bottom: .35rem; color: var(--terra); }
.market-row p { margin: 0; font-size: .95rem; color: var(--ink-70); }
.market-row .arrow { font-family: var(--display); font-size: 1.75rem; color: var(--ink-50); transition: transform .3s, color .3s; }
.market-row:hover .arrow { transform: translateX(.4rem); color: var(--terra); }
.sec--dark .market-rows, .sec--dark .market-row { border-color: rgba(251,248,245,.2); }
.sec--dark .market-row p { color: var(--on-dark); }
@media (max-width: 900px) { .market-row { grid-template-columns: 1fr 1fr; } .market-row .arrow { display: none; } .market-row > :first-child { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- FAQ --- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.35rem 3rem 1.35rem 0; font-family: var(--display); font-size: clamp(1.35rem, 1.8vw, 1.65rem); line-height: 1.25; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1.1rem; font-family: var(--body); font-weight: 300; font-size: 1.75rem; color: var(--ink-50); line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 3rem 1.5rem 0; color: var(--ink-70); max-width: 70ch; }
.faq details > div p:last-child { margin: 0; }
.faq details[open] > div { animation: rise-in .5s cubic-bezier(.2,.7,.2,1) both; }
.faq summary:hover { color: var(--terra); }
.sec--dark .faq, .sec--dark .faq details { border-color: rgba(251,248,245,.2); }
.sec--dark .faq details > div { color: var(--on-dark); }

/* -------------------------------------------------------------- steps --- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.5rem 1fr auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 1.5rem; color: var(--terra); line-height: 1; }
.steps b { font-weight: 500; display: block; }
.steps span { font-size: .95rem; color: var(--ink-70); }
.steps .steps__t { font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-70); white-space: nowrap; }
@media (max-width: 560px) { .steps li { grid-template-columns: 2.5rem 1fr; } .steps .steps__t { grid-column: 2; } }

/* ---------------------------------------------------------- contact -- */
.contact-card { display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; align-items: start; border: 1px solid var(--line); padding: 1.75rem; background: var(--paper); box-shadow: var(--shadow); }
.contact-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 70% 30%; filter: sepia(.2) saturate(.9); }
.contact-card h3 { margin-bottom: .1rem; font-size: 1.6rem; }
.contact-card .role { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-70); margin-bottom: 1rem; }
.contact-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.25rem; font-size: .95rem; }
.contact-card dt { color: var(--ink-70); }
.contact-card dd { margin: 0; }
.contact-card a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-card a:hover { border-color: var(--ink); }
.sec--dark .contact-card { background: rgba(251,248,245,.04); border-color: rgba(251,248,245,.25); }
.sec--dark .contact-card dt, .sec--dark .contact-card .role { color: var(--on-dark-2); }
@media (max-width: 560px) { .contact-card { grid-template-columns: 1fr; } .contact-card img { width: 7rem; } }

.note { border-left: 2px solid var(--terra); padding: .25rem 0 .25rem 1.25rem; color: var(--ink-70); font-size: .95rem; }
.note p:last-child { margin: 0; }

/* -------------------------------------------------------------- forms --- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.form .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-70); margin-bottom: .45rem; }
.field label span, .field legend span { color: var(--terra); }
.field .hint { display: block; font-size: .85rem; color: var(--ink-50); margin-top: .4rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem .9rem; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4; border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--terra); }
.field textarea { min-height: 8rem; resize: vertical; }
.field input[type="file"] { padding: .65rem .9rem; background: var(--paper); }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .6rem 1rem; }
.checks label, .radios label { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); margin: 0; cursor: pointer; }
.checks input, .radios input { width: auto; margin: .3rem 0 0; accent-color: var(--ink); flex: 0 0 auto; }
.radios { display: grid; gap: .6rem; }
.radios label { padding: .85rem .95rem; border: 1px solid var(--line); background: #fff; }
.radios label:has(input:checked) { border-color: var(--ink); }
.radios label b { display: block; font-weight: 500; }
.radios label small { display: block; font-size: .85rem; color: var(--ink-70); }
.form-note { font-size: .85rem; color: var(--ink-70); margin: 1rem 0 0; }
.flash { padding: 1.1rem 1.3rem; margin-bottom: 1.5rem; font-size: .95rem; }
.flash--ok { background: #EAF1EB; border: 1px solid #B9CDBE; color: #244A30; }
.flash--err { background: #F8E9E4; border: 1px solid #E5B7A8; color: #6E2A18; }
.flash ul { margin: .5rem 0 0; padding-left: 1.1rem; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- mast --- */
.crumbs { font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: inherit; opacity: .7; margin: 0 0 1.75rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }

/* photographic mast: full-bleed image, dark scrim, display headline */
.mast { position: relative; color: var(--paper); background: var(--ink); overflow: hidden; display: flex; align-items: flex-end; min-height: min(70vh, 720px); }
.mast__bg { position: absolute; inset: 0; }
.mast__bg img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.28) saturate(.75) contrast(1.05) brightness(.8); animation: hero-zoom 30s ease-out both; }
.mast__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,24,21,.3), rgba(27,24,21,.2) 40%, rgba(27,24,21,.9) 100%), linear-gradient(90deg, rgba(27,24,21,.6), rgba(27,24,21,0) 70%); }
.mast__in { position: relative; z-index: 1; padding: clamp(7rem, 14vh, 10rem) 0 clamp(2.5rem, 5vh, 4rem); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem 4rem; align-items: end; }
.mast h1 { color: var(--paper); max-width: 16ch; margin-bottom: 0; }
.mast .lede { color: var(--on-dark); margin: 0; }
.mast .eyebrow { color: #E2A48F; }
@media (max-width: 900px) { .mast { min-height: 0; } .mast__in { grid-template-columns: 1fr; padding-top: 4rem; } }

/* split mast on sand: display copy left, tall garment bleeding to the right edge */
.mast--split { background: var(--sand); color: var(--ink); display: block; min-height: 0; }
.mast--split .mast__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding: clamp(3rem, 6vh, 5rem) 0 0; align-items: center; }
.mast--split h1 { color: var(--ink); }
.mast--split .lede { color: var(--ink-70); margin-bottom: 0; }
.mast--split .eyebrow { color: var(--terra); }
.mast--split .crumbs { color: var(--ink-70); }
.mast__fig { margin: 0; position: relative; margin-right: calc(50% - 50vw); }
.mast__fig img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.mast__fig figcaption { position: absolute; left: 0; bottom: 0; padding: .7rem 1rem; background: var(--sand); color: var(--ink); font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 900px) {
  .mast--split .mast__in { padding-top: 3rem; grid-template-columns: 1fr; }
  .mast h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .mast--split .lede { margin-bottom: 2rem; }
  .mast__fig { margin-inline: calc(-1 * var(--pad)); }
  .mast__fig img { aspect-ratio: 4 / 3; }
}

/* linen texture ground (stock, Pexels 7794365) — atmosphere only, never depicts the factory */
.texture { position: relative; isolation: isolate; }
.texture::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .3; mix-blend-mode: multiply; background: url("../img/stock/linen-natural-1600.webp") center / cover; }

/* -------------------------------------------------------------- video --- */
.video-frame { position: relative; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ------------------------------------------------------------- footer --- */
.foot { background: var(--ink); color: var(--on-dark); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; font-size: .95rem; position: relative; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem 3rem; }
.foot h4 { color: var(--paper); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: .25rem 0; }
.foot__brand { display: flex; align-items: center; gap: .8rem; color: var(--paper); font-family: var(--display); font-size: 1.5rem; margin-bottom: 1.1rem; }
.foot__brand img { width: 42px; height: 44px; }
.foot__base { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(251,248,245,.15); font-size: .82rem; color: var(--on-dark-2); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- motion --- */
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .5s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1); }
.js .rise.in { opacity: 1; transform: none; }
/* image reveal: a curtain in the section ground slides up while the image settles from a
   slight zoom. Done with a pseudo-element, not clip-path, so IntersectionObserver still fires. */
.js .reveal { position: relative; overflow: hidden; }
.js .reveal::after { content: ""; position: absolute; inset: -1px; background: var(--ground, var(--paper)); z-index: 3; transform: none; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in::after { transform: translateY(-102%); }
.js .reveal img { transform: scale(1.03); transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in img { transform: none; }
.js .look.reveal.in img { transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.stack figure:first-child { position: relative; }
.spread__media { overflow: hidden; }
[data-parallax] { overflow: hidden; }
[data-parallax] img { transform: translate3d(0, var(--py, 0px), 0) scale(1.12); transition: none !important; will-change: transform; }
.js .reveal[data-parallax] img { transform: translate3d(0, var(--py, 0px), 0) scale(1.12); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
  .js .rise { opacity: 1; transform: none; }
  .js .reveal::after { display: none; }
  .js .reveal img { transform: none; }
}

/* --------------------------------------------------------------- print --- */
@media print {
  body::before { display: none; }
  .js .rise { opacity: 1 !important; transform: none !important; }
  .js .reveal::after { display: none !important; }
  .js .reveal img { transform: none !important; }
  .head, .foot, .mobile-cta, .burger, .btn-row, video, .hero__media, .mast__bg { display: none !important; }
  body { padding: 0; background: #fff; color: #000; font-size: 11pt; }
  .sec { padding-block: 1.5rem; }
  .sec--dark, .hero, .mast { background: none; color: #000; min-height: 0; }
  .hero h1, .mast h1 { color: #000; }
  .sec--dark .lede, .sec--dark .small, .sec--dark .table th, .hero .lede, .mast .lede { color: #333; }
  .faq details, .faq details > div { display: block; }
  a { text-decoration: none; }
  .grid-aside > :first-child { position: static; }
  .spread--left .spread__media, .spread--right .spread__media, .mast__fig { margin: 0; }
}

/* --- department motion loops -------------------------------------------- */
.dept-loop { width: 100%; height: 100%; object-fit: cover; display: block; }
.fig--fac .dept-loop { filter: saturate(.92) contrast(1.05); }
@media (prefers-reduced-motion: reduce) {
  /* the poster frame remains, the motion does not */
  .dept-loop { animation: none; }
}

/* --- low-resolution sources ---------------------------------------------
   The founders photograph exists only at 564x370. Cap its rendered width so
   it is never upscaled into a soft feature image. */
.fig--cap { max-width: 34rem; width: 100%; }
.fig--cap img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 900px) { .fig--cap { max-width: 100%; } }

/* --- category columns ---------------------------------------------------- */
.cat-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1.5rem, 2.5vw, 2.5rem); }
.cat-col h3 { font-size: 1.15rem; margin-bottom: .9rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.cat-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.cat-col li { font-size: .95rem; color: var(--ink-70); }
@media (max-width: 1080px) { .cat-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .cat-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- certification strip ------------------------------------------------- */
.certs { background: var(--sand); border-top: 1px solid var(--line); }
.certs__in { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
             gap: clamp(1rem, 2vw, 2rem); padding-block: clamp(2rem, 4vw, 3rem); }
.cert img { height: 2.75rem; width: auto; max-width: 100%; object-fit: contain;
             object-position: left center; display: block; margin-bottom: .7rem; }
.cert b { display: block; font-family: var(--body); font-size: .74rem; font-weight: 600;
          letter-spacing: .1em; text-transform: uppercase; margin-bottom: .3rem; }
/* text-only credentials keep the same optical height as the logo tiles */
.cert--text { padding-top: 3.45rem; }
@media (max-width: 620px) { .cert--text { padding-top: 0; } }
.cert span { display: block; font-size: .8rem; line-height: 1.4; color: var(--ink-70); }
@media (max-width: 1080px) { .certs__in { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .certs__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- extended capability tiles ------------------------------------------ */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
             gap: clamp(.9rem, 1.6vw, 1.4rem); margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.cat-tile { margin: 0; background: var(--sand); }
.cat-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.cat-tile figcaption { padding: .9rem 1rem 1.1rem; }
.cat-tile b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.2rem; margin-bottom: .3rem; }
.cat-tile span { display: block; font-size: .85rem; line-height: 1.45; color: var(--ink-70); }

/* --- images appear immediately -------------------------------------------
   The curtain-wipe reveal made images read as slow loading, which is the one
   thing motion must never do. Images now render as soon as they decode; the
   text rise and the parallax drift stay, since neither withholds content. */
.js .reveal::after { display: none !important; }
.js .reveal img,
.js .reveal.in img,
.js .look.reveal.in img { transform: none !important; transition: none !important; }
.js .reveal[data-parallax] img { transform: translate3d(0, var(--py, 0px), 0) scale(1.06) !important; }
