/* ============================================================================
   Reno Interior — Montréal commercial interior renovation studio
   Faithful REBUILD of neuemontreal.com design (clean original code).
   Palette + rhythm faithful to donor; content translated typography → renovation.
   ========================================================================== */

/* ---- tokens ------------------------------------------------------------- */
:root {
  /* donor-measured identity palette (verbatim) */
  --red:    #FF6E3E;   /* signature coral-red — hero + footer full-bleed */
  --ink:    #1A1A1A;   /* near-black sections */
  --black:  #000000;
  --cream:  #F0E7D4;   /* cream sections + text on dark */
  --paper:  #F0E7D4;
  /* multicolor accents (Out-with-the-old sticky only) */
  --green:  #18BC42;
  --blue:   #0000EE;
  --purple: #6157BD;

  /* semantic */
  --focus:  #1A1A1A;
  --hair:   rgba(26,26,26,.28);   /* hairline rules on light fields */

  /* type */
  --font: "General Sans", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* fluid scale */
  --step--1: clamp(.82rem, .78rem + .2vw, .95rem);
  --step-0:  clamp(1rem, .95rem + .3vw, 1.2rem);
  --step-1:  clamp(1.2rem, 1.05rem + .7vw, 1.7rem);
  --step-2:  clamp(1.6rem, 1.2rem + 1.9vw, 2.9rem);
  --step-3:  clamp(2.1rem, 1.2rem + 4vw, 4.6rem);
  --step-hd: clamp(2.6rem, 1rem + 8vw, 8.5rem);   /* big display headlines */
  --step-mark: clamp(3.2rem, -.2rem + 17.5vw, 17rem); /* giant wordmark */

  /* rhythm */
  --pad-x: clamp(1.1rem, .4rem + 2.6vw, 3.6rem);
  --sect-y: clamp(4.5rem, 2rem + 8vw, 10rem);

  /* radius set (one intended ladder) */
  --r-0: 0px;
  --r-1: 10px;
  --r-2: 18px;
  --r-pill: 999px;

  /* elevation ladder (single light source, top) */
  --e-1: 0 1px 2px rgba(0,0,0,.12);
  --e-2: 0 10px 30px -12px rgba(0,0,0,.35);
  --e-3: 0 30px 70px -20px rgba(0,0,0,.5);

  --ease: cubic-bezier(.16,1,.3,1);
}

/* ---- reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html, body { overflow-x: clip; }        /* mobile carousel overflow guard */
body {
  font-family: var(--font);
  font-weight: 500;
  background: var(--ink);
  color: var(--cream);
  line-height: 1.32;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }
::selection { background: var(--ink); color: var(--red); }

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

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 2000;
  background: var(--ink); color: var(--cream);
  padding: .6rem 1rem; border-radius: var(--r-1);
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

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

/* ---- surfaces ----------------------------------------------------------- */
.section { position: relative; padding: var(--sect-y) var(--pad-x); }
.s-red   { background: var(--red);   color: var(--ink);  --focus: #1A1A1A; }
.s-dark  { background: var(--ink);   color: var(--cream); --focus: #F0E7D4; --hair: rgba(240,231,212,.25); }
.s-cream { background: var(--cream); color: var(--ink);  --focus: #1A1A1A; }

/* film grain on red + dark fields (donor has it) */
.s-red::before, .s-dark::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .05; mix-blend-mode: overlay;
}
.s-red > *, .s-dark > *, .s-cream > * { position: relative; z-index: 1; }

/* hairline rule */
.rule { border: 0; border-top: 1px solid var(--hair); width: 100%; }

/* eyebrow label */
.eyebrow {
  font-size: var(--step--1); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; display: inline-flex; align-items: center; gap: .55em;
}
.eyebrow::before {
  content: ""; width: .5em; height: .5em; border-radius: 50%;
  background: currentColor; flex: none;
}

/* giant wordmark */
.wordmark {
  font-weight: 700; line-height: .82; letter-spacing: -.045em;
  font-size: var(--step-mark); text-transform: none;
}
.wordmark span { display: block; }

/* generic big heading */
.display { font-weight: 700; line-height: .92; letter-spacing: -.03em; font-size: var(--step-hd); }
.h-lg    { font-weight: 600; line-height: 1.0; letter-spacing: -.02em; font-size: var(--step-3); }
.h-md    { font-weight: 600; line-height: 1.05; letter-spacing: -.015em; font-size: var(--step-2); }
.lede    { font-size: var(--step-1); font-weight: 500; line-height: 1.28; max-width: 24ch; }
.body    { font-size: var(--step-0); font-weight: 500; line-height: 1.45; max-width: 60ch; }
.body-lg { font-size: var(--step-1); font-weight: 500; line-height: 1.4; max-width: 46ch; }

/* ---- reveal system (driven by inline vanilla IO, no lib dependency) ----- */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
  will-change: opacity, transform;
}
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal[data-reveal="left"]  { transform: translateX(-40px); }
html.js .reveal[data-reveal="right"] { transform: translateX(40px); }
html.js .reveal.is-in[data-reveal] { transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* image cover helper + fade-in on load */
.cover { width: 100%; height: 100%; object-fit: cover; }
.ph { background: color-mix(in oklab, var(--ink) 84%, var(--red)); }
.s-cream .ph { background: color-mix(in oklab, var(--cream) 62%, var(--ink)); }

/* =========================================================================
   NAV — pill floating nav
   ========================================================================= */
.nav {
  position: fixed; inset: 14px 0 auto 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0 clamp(.9rem,2vw,1.4rem); pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav__badge {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: var(--cream); color: var(--ink);
  font-weight: 700; letter-spacing: -.03em; font-size: 1.05rem;
  box-shadow: var(--e-1); transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.nav__badge:hover { transform: rotate(-8deg) scale(1.04); }
.nav__menu {
  display: flex; align-items: center; gap: clamp(.7rem,1.4vw,1.5rem);
  background: var(--cream); color: var(--ink);
  padding: .62rem 1.4rem; border-radius: var(--r-pill);
  box-shadow: var(--e-1); transition: background .4s var(--ease), color .4s var(--ease);
}
.nav__menu a { font-size: var(--step--1); font-weight: 500; position: relative; padding: .15rem 0; }
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 1.5px;
  background: currentColor; transition: right .35s var(--ease);
}
.nav__menu a:hover::after { right: 0; }
.nav__cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--cream); color: var(--ink);
  padding: .62rem 1.25rem; border-radius: var(--r-pill);
  font-size: var(--step--1); font-weight: 600;
  box-shadow: var(--e-1); transition: background .4s var(--ease), color .4s var(--ease), transform .3s var(--ease);
}
.nav__cta:hover { transform: translateY(-1px); }
.nav__cta::after { content: "→"; transition: transform .3s var(--ease); }
.nav__cta:hover::after { transform: translateX(3px); }

/* menu toggle (mobile only) — a nav control, not the conversion CTA */
.nav__toggle {
  display: none; align-items: center; gap: .45rem;
  background: var(--cream); color: var(--ink);
  padding: .62rem 1.25rem; border-radius: var(--r-pill);
  font-size: var(--step--1); font-weight: 600; box-shadow: var(--e-1);
}

/* inverted theme on dark sections */
.nav[data-theme="dark"] .nav__badge,
.nav[data-theme="dark"] .nav__menu,
.nav[data-theme="dark"] .nav__cta,
.nav[data-theme="dark"] .nav__toggle {
  background: #222020; color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(240,231,212,.16);
}

/* mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1500; background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; gap: .2rem;
  padding: var(--pad-x); transform: translateY(-100%);
  transition: transform .55s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu a { font-size: clamp(2rem,9vw,3.4rem); font-weight: 600; letter-spacing: -.02em; padding: .35rem 0; }
.mobile-menu__close { position: absolute; top: 20px; right: 20px; font-size: 2rem; line-height: 1; }

/* =========================================================================
   ROTATING RING logo
   ========================================================================= */
.ring { width: clamp(88px, 11vw, 150px); aspect-ratio: 1; color: var(--ink); }
.ring svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.ring text { font-size: 13.2px; font-weight: 600; letter-spacing: .06em; fill: currentColor; text-transform: uppercase; }
.ring__dot { fill: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================================
   1 · HERO
   ========================================================================= */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(6rem,12vh,9rem); overflow: hidden; }
.hero__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.hero__label { color: #fff; font-weight: 700; font-size: clamp(2.4rem,7vw,7rem); line-height: .95; letter-spacing: -.03em; }
.hero__ring { margin-top: .3rem; flex: none; }
.hero__sub { color: var(--ink); font-size: var(--step-1); font-weight: 500; max-width: 30ch; margin-top: 1.1rem; }
.hero__mark-row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; margin-top: auto; }
.hero__mark { color: var(--ink); }
.hero__photo {
  position: relative; width: clamp(220px, 30vw, 460px); aspect-ratio: 4/3;
  border-radius: var(--r-1); overflow: hidden; box-shadow: var(--e-2);
  align-self: end; margin-bottom: .4rem;
}
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__photo img.active { opacity: 1; }
.hero__meta { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--step--1); color: var(--ink); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-top: 1.2rem; }

/* =========================================================================
   2 · TAGLINE
   ========================================================================= */
.tagline__head { font-weight: 700; font-size: var(--step-hd); line-height: .9; letter-spacing: -.03em; text-align: center; }
.tagline__head .a { color: var(--red); }
.tiles-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(.7rem,1.4vw,1.4rem); margin-top: clamp(2.5rem,5vw,4.5rem); }
.tile { position: relative; border-radius: var(--r-1); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--e-2); will-change: transform; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile__cap { position: absolute; left: 12px; bottom: 10px; z-index: 2; color: #fff; font-size: var(--step--1); font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.6); letter-spacing: .01em; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), transparent 45%); z-index: 1; }

/* =========================================================================
   3 · STORY
   ========================================================================= */
.story__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: start; }
.story__narr { max-width: 42ch; }
.story__narr .body { margin-top: 1.4rem; max-width: 46ch; }
.spec-list { display: flex; flex-direction: column; gap: .1rem; }
.spec-list li { line-height: .98; letter-spacing: -.02em; color: var(--cream); border-bottom: 1px solid var(--hair); padding: .35em 0; }
.spec-list li:nth-child(1){ font-weight:700; font-size:clamp(2rem,4.6vw,3.6rem); }
.spec-list li:nth-child(2){ font-weight:600; font-size:clamp(1.8rem,4.1vw,3.2rem); }
.spec-list li:nth-child(3){ font-weight:600; font-size:clamp(1.6rem,3.6vw,2.8rem); opacity:.96; }
.spec-list li:nth-child(4){ font-weight:500; font-size:clamp(1.45rem,3.1vw,2.5rem); opacity:.92; }
.spec-list li:nth-child(5){ font-weight:500; font-size:clamp(1.3rem,2.7vw,2.2rem); opacity:.88; }
.spec-list li:nth-child(6){ font-weight:400; font-size:clamp(1.2rem,2.4vw,1.95rem); opacity:.84; }
.spec-list li:nth-child(7){ font-weight:400; font-size:clamp(1.1rem,2.1vw,1.7rem); opacity:.8; }
.spec-list li:nth-child(8){ font-weight:300; font-size:clamp(1rem,1.9vw,1.5rem); opacity:.74; }

/* =========================================================================
   4 · MARQUEE
   ========================================================================= */
.marquee { padding: clamp(1.4rem,3vw,2.6rem) 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); overflow: hidden; }
.marquee__track { display: inline-flex; white-space: nowrap; will-change: transform; }
.marquee__track span { font-weight: 700; font-size: clamp(2.4rem,7vw,6.5rem); letter-spacing: -.02em; padding: 0 .4em; color: var(--cream); }
.marquee__track span .a { color: var(--red); -webkit-text-stroke: 0; }

/* =========================================================================
   5 · TIMELINE
   ========================================================================= */
.timeline__scroll { margin-top: clamp(2rem,4vw,3.5rem); overflow-x: auto; overflow-y: hidden; max-width: 100vw; scrollbar-width: none; }
.timeline__scroll::-webkit-scrollbar { display: none; }
.timeline__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 0; min-width: 100%; border-top: 1px solid var(--hair); }
.timeline__item { padding: 1.1rem 1.1rem 1.4rem 0; border-right: 1px solid var(--hair); }
.timeline__item:last-child { border-right: 0; }
.timeline__year { font-weight: 700; font-size: clamp(1.5rem,2.6vw,2.4rem); letter-spacing: -.02em; }
.timeline__milestone { font-size: var(--step--1); margin-top: .5rem; opacity: .82; max-width: 16ch; }
.timeline__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); margin: .8rem 0 0; }

/* =========================================================================
   6 · STATEMENT
   ========================================================================= */
.statement { min-height: 92svh; display: flex; align-items: center; }
.statement__stack { font-weight: 700; line-height: .84; letter-spacing: -.04em; font-size: clamp(3.2rem,15vw,15rem); }
.statement__stack span { display: block; overflow: hidden; }
.statement__stack span > i { display: block; font-style: normal; }
.statement__stack .a { color: var(--red); }
/* line-mask reveal: the inline IO observes the STABLE .ln span (never transformed,
   so it triggers reliably); the masked child <i> slides up inside overflow:hidden. */
html.js .statement__stack span.ln { opacity: 1; transform: none; }
html.js .statement__stack span.ln > i { transform: translateY(106%); transition: transform 1s var(--ease); }
html.js .statement__stack span.ln.is-in > i { transform: none; }

/* =========================================================================
   7 · TRANSFORM (cinematic sticky before→after)
   ========================================================================= */
.transform { padding: 0; }
.transform__outer { height: 320vh; position: relative; }
.transform__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.transform__imgs { position: absolute; inset: 0; }
.transform__imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.transform__after { clip-path: inset(0 0 0 100%); }
.transform__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,26,.55), rgba(26,26,26,.25) 40%, rgba(26,26,26,.72)); }
.transform__content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 0 var(--pad-x); width: 100%; }
.transform__label { color: #fff; opacity: .85; margin-bottom: 1.3rem; }
.transform__head { font-weight: 700; font-size: clamp(2.6rem,10vw,9.5rem); line-height: .9; letter-spacing: -.03em; }
.transform__head .neuf { color: var(--red); font-style: italic; }
.transform__seam { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--red); z-index: 3; left: 0; box-shadow: 0 0 20px rgba(255,110,62,.7); }
.transform__badge { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); font-size: var(--step--1); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #fff; padding: .4rem .8rem; border: 1px solid rgba(255,255,255,.5); border-radius: var(--r-pill); backdrop-filter: blur(4px); }
.transform__badge.before { left: 4vw; }
.transform__badge.after { right: 4vw; }

/* =========================================================================
   8 · FEATURED WORK
   ========================================================================= */
.work__head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; }
.work__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(.7rem,1.4vw,1.4rem); margin-top: clamp(2.5rem,5vw,4rem); }
.work-card { position: relative; border-radius: var(--r-1); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--e-1); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--e-2); }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover img { transform: scale(1.07); }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 50%); }
.work-card__type { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); background: var(--cream); padding: .25rem .55rem; border-radius: var(--r-pill); }
.work-card__loc { position: absolute; left: 12px; bottom: 12px; z-index: 2; color: #fff; font-weight: 600; font-size: var(--step-0); }

/* =========================================================================
   9 · BEFORE / AFTER slider
   ========================================================================= */
.ba__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; }
.ba { position: relative; margin-top: clamp(2.4rem,5vw,4rem); aspect-ratio: 16/9; border-radius: var(--r-2); overflow: hidden; box-shadow: var(--e-3); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after-wrap { position: absolute; inset: 0; overflow: hidden; width: 50%; }
.ba__after-wrap img { width: 100vw; max-width: none; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--cream); z-index: 4; transform: translateX(-50%); }
.ba__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--ink); display: grid; place-items: center; font-weight: 700; box-shadow: var(--e-2); cursor: ew-resize; }
.ba__grip::before { content: "‹ ›"; letter-spacing: -2px; }
.ba__lab { position: absolute; z-index: 3; top: 14px; font-size: var(--step--1); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #fff; }
.ba__lab.before { left: 16px; }
.ba__lab.after  { right: 16px; }
.ba__range { position: absolute; inset: 0; z-index: 5; opacity: 0; cursor: ew-resize; width: 100%; }

/* =========================================================================
   10 · OUT WITH THE OLD (sticky multicolor)
   ========================================================================= */
.outwith { padding: 0; }
.outwith__outer { height: 260vh; position: relative; }
.outwith__stage { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; padding: clamp(5rem,12vh,8rem) var(--pad-x) var(--sect-y); overflow: hidden; }
.outwith__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem,4vw,4rem); align-items: center; width: 100%; }
.outwith__type { font-weight: 700; font-size: clamp(3rem,11vw,10.5rem); line-height: .85; letter-spacing: -.04em; }
.outwith__type span { display: inline-block; will-change: transform, opacity; }
.outwith__type .c1 { color: var(--green); }
.outwith__type .c2 { color: var(--ink); }
.outwith__type .c3 { color: var(--purple); font-style: italic; }
.outwith__type .c4 { color: var(--blue); }
.outwith__type .c5 { color: var(--red); }
/* postcard */
.postcard { position: relative; background: #efe9dc; border-radius: var(--r-1); box-shadow: var(--e-3); padding: 0; overflow: hidden; transform: rotate(2.4deg); }
.postcard__photo { aspect-ratio: 5/3; position: relative; }
.postcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.postcard__welcome { position: absolute; left: 14px; top: 12px; color: #fff; font-weight: 700; font-size: var(--step-1); line-height: 1; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.postcard__welcome small { display: block; font-size: .55em; font-weight: 500; opacity: .9; }
.postcard__stamp { position: absolute; right: 12px; top: 12px; width: 44px; height: 54px; background: var(--red); display: grid; place-items: center; }
.postcard__stamp .ring { width: 34px; color: var(--ink); }
.postcard__note { padding: 1.1rem 1.3rem 1.4rem; }
.hand { font-family: "General Sans", cursive; font-style: italic; font-weight: 500; color: #2a2a2a; line-height: 1.5; transform: rotate(-2deg); }
.hand span { display: block; }
.postcard__foot { display: flex; justify-content: space-between; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #7a7466; border-top: 1px solid #d8d0be; padding: .7rem 1.3rem; }

/* =========================================================================
   11 · CRAFT (cream, 3 media)
   ========================================================================= */
.craft__head { max-width: 20ch; }
.craft__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(.9rem,2vw,1.6rem); margin-top: clamp(2.4rem,5vw,4rem); }
.craft__media { border-radius: var(--r-2); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--e-1); }
.craft__media:nth-child(2) { margin-top: clamp(1.5rem,4vw,3.5rem); }
.craft__media:nth-child(3) { margin-top: clamp(3rem,8vw,7rem); }
.craft__media img { width: 100%; height: 100%; object-fit: cover; }
.craft__copy { margin-top: clamp(1.6rem,3vw,2.4rem); }

/* =========================================================================
   12 · CAPABILITIES CHART (type-specimen grid)
   ========================================================================= */
.cap__chart { margin-top: clamp(2.2rem,4vw,3.4rem); border-top: 1.5px solid var(--ink); }
.cap__row { display: grid; grid-template-columns: minmax(140px,1.2fr) 3fr auto; gap: 1rem; align-items: baseline; padding: clamp(.9rem,2vw,1.5rem) 0; border-bottom: 1px solid var(--hair); transition: background .35s var(--ease), padding-left .35s var(--ease); }
.cap__row:hover { background: color-mix(in oklab, var(--cream) 80%, var(--ink)); padding-left: .8rem; }
.cap__tier { font-weight: 700; font-size: clamp(1.4rem,3.2vw,2.6rem); letter-spacing: -.02em; }
.cap__disc { font-size: var(--step-0); opacity: .78; }
.cap__idx { font-size: var(--step--1); font-weight: 600; opacity: .55; }
.cap__pull { margin-top: clamp(2.5rem,6vw,5rem); font-weight: 700; font-size: clamp(2rem,6vw,5.5rem); line-height: .95; letter-spacing: -.03em; text-align: center; }
.cap__pull .a { color: var(--red); font-style: italic; }

/* =========================================================================
   13 · SECTORS (grid 12)
   ========================================================================= */
.sectors__head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: end; }
.sectors__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: clamp(2.4rem,5vw,3.6rem); background: var(--hair); border: 1px solid var(--hair); }
.sector { background: var(--cream); padding: clamp(1.2rem,3vw,2.2rem) clamp(1rem,2vw,1.6rem); min-height: clamp(120px,16vw,190px); display: flex; flex-direction: column; justify-content: space-between; transition: background .35s var(--ease), color .35s var(--ease); }
.sector:hover { background: var(--ink); color: var(--cream); }
.sector__n { font-size: var(--step--1); font-weight: 600; opacity: .5; }
.sector__name { font-weight: 600; font-size: clamp(1.3rem,2.6vw,2rem); letter-spacing: -.02em; }

/* =========================================================================
   14 · DETAILS (close-up tiles)
   ========================================================================= */
.details__row { display: grid; grid-template-columns: repeat(6,1fr); gap: clamp(.6rem,1.2vw,1rem); margin-top: clamp(2.2rem,4vw,3.4rem); }
.detail { position: relative; aspect-ratio: 3/4; border-radius: var(--r-1); overflow: hidden; box-shadow: var(--e-1); }
.detail img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.detail:hover img { transform: scale(1.08); }
.detail__lab { position: absolute; left: 8px; bottom: 8px; z-index: 2; color: #fff; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; text-shadow: 0 1px 6px rgba(0,0,0,.6); }

/* =========================================================================
   15 · URBAN (dark strip)
   ========================================================================= */
.urban__head { max-width: 30ch; }
.urban__strip { display: flex; gap: clamp(.7rem,1.4vw,1.2rem); margin-top: clamp(2.4rem,5vw,3.6rem); overflow-x: auto; max-width: 100vw; padding-bottom: .5rem; scrollbar-width: none; scroll-snap-type: x proximity; }
.urban__strip::-webkit-scrollbar { display: none; }
.urban__cell { flex: 0 0 clamp(200px,24vw,340px); aspect-ratio: 3/4; border-radius: var(--r-1); overflow: hidden; scroll-snap-align: start; box-shadow: var(--e-2); }
.urban__cell img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   16 · PROCESS (square → round dots)
   ========================================================================= */
.process__head { text-align: center; }
.process__steps { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.6rem,2vw,1.6rem); margin-top: clamp(1.5rem,3vw,2.4rem); }
.process__step { font-size: var(--step--1); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; opacity: .55; transition: opacity .4s var(--ease), color .4s var(--ease); }
.process__step.active { opacity: 1; color: var(--red); }
.process__dots { display: grid; grid-template-columns: repeat(14, 1fr); gap: clamp(.5rem,1.4vw,1.1rem); margin-top: clamp(2.5rem,5vw,4rem); max-width: 1100px; margin-left: auto; margin-right: auto; }
.dot { aspect-ratio: 1; background: var(--cream); border-radius: 0%; will-change: border-radius, transform; }
.dot.lit { background: var(--red); }

/* =========================================================================
   17 · HERITAGE
   ========================================================================= */
.heritage__intro { font-weight: 700; font-size: clamp(2rem,6vw,5.5rem); line-height: .95; letter-spacing: -.03em; max-width: 18ch; }
.heritage__sub { font-weight: 600; font-size: var(--step-2); line-height: 1.05; margin-top: 1.4rem; max-width: 24ch; opacity: .85; }
.heritage__body { margin-top: clamp(2rem,4vw,3rem); }
.heritage__split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); margin-top: clamp(3rem,7vw,6rem); align-items: center; }
.heritage__before { font-weight: 700; font-size: clamp(2rem,6vw,5rem); line-height: .92; letter-spacing: -.03em; }
.heritage__before .a { color: var(--red); }
.heritage__labels { display: flex; flex-direction: column; gap: .6rem; }
.heritage__labels span { font-weight: 600; font-size: var(--step-1); border-bottom: 1px solid var(--hair); padding-bottom: .6rem; display: flex; justify-content: space-between; }
.heritage__labels span::after { content: attr(data-w); font-weight: 500; opacity: .5; font-size: var(--step--1); }

/* =========================================================================
   18 · DIVISIONS (dark, 8 media)
   ========================================================================= */
.div__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: start; }
.div__head { font-weight: 700; font-size: var(--step-hd); line-height: .9; letter-spacing: -.03em; }
.div__lines { margin-top: clamp(1.8rem,3vw,2.6rem); }
.div__lines span { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; border-top: 1px solid var(--hair); padding: .9rem 0; font-weight: 600; font-size: clamp(1.3rem,2.6vw,2.1rem); letter-spacing: -.02em; transition: padding-left .35s var(--ease), color .35s var(--ease); }
.div__lines span:hover { padding-left: .6rem; color: var(--red); }
.div__lines span i { font-style: normal; font-size: var(--step--1); font-weight: 500; opacity: .5; }
.div__media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.6rem,1.2vw,1rem); }
.div__media figure { border-radius: var(--r-1); overflow: hidden; aspect-ratio: 1; box-shadow: var(--e-2); }
.div__media figure:nth-child(odd) { margin-top: clamp(1rem,3vw,2.5rem); }
.div__media img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   19 · FOOTER
   ========================================================================= */
.footer { padding-bottom: clamp(2rem,4vw,3rem); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.footer__cols { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1.2rem,3vw,2.5rem); margin: clamp(3rem,6vw,5rem) 0; }
.footer__col h4 { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; opacity: .7; margin-bottom: 1rem; }
.footer__col a { display: block; font-weight: 600; font-size: var(--step-0); padding: .3rem 0; width: fit-content; position: relative; }
.footer__col a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1.5px; background: currentColor; transition: right .35s var(--ease); }
.footer__col a:hover::after { right: 0; }
.footer__mark { color: var(--ink); width: 100%; margin: clamp(1rem,3vw,2rem) 0; font-size: clamp(3.5rem,22vw,22rem); }
.footer__base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(26,26,26,.3); padding-top: 1.4rem; font-size: var(--step--1); font-weight: 600; color: var(--ink); }

.spacer { height: clamp(3rem,8vw,7rem); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .story__grid, .work__head, .ba__head, .sectors__head, .div__grid { grid-template-columns: 1fr; }
  .outwith__grid { grid-template-columns: 1fr; }
  .postcard { max-width: 420px; margin: 0 auto; }
  .heritage__split { grid-template-columns: 1fr; }
  .work__grid, .tiles-4 { grid-template-columns: repeat(3,1fr); }
  .craft__grid { grid-template-columns: 1fr 1fr; }
  .div__media { grid-template-columns: 1fr 1fr; }
  .process__dots { grid-template-columns: repeat(10,1fr); }
}

@media (max-width: 720px) {
  .nav__menu { display: none; }
  .nav__toggle { display: inline-flex; }
  .hero__head { flex-direction: row; align-items: flex-start; }
  .hero__label { font-size: clamp(2rem,10vw,3.4rem); }
  .hero__ring { width: 74px; }
  .hero__mark-row { grid-template-columns: 1fr; }
  .hero__photo { width: 60vw; justify-self: start; margin-top: 1.5rem; }
  .work__grid, .tiles-4, .craft__grid, .details__row, .sectors__grid { grid-template-columns: repeat(2,1fr); }
  .div__media { grid-template-columns: 1fr 1fr; }
  .process__dots { grid-template-columns: repeat(8,1fr); }
  .cap__row { grid-template-columns: 1fr auto; }
  .cap__disc { grid-column: 1 / -1; }
  .div__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .transform__outer { height: 260vh; }
  .outwith__outer { height: 220vh; }
}

@media (max-width: 460px) {
  .work__grid, .tiles-4, .details__row { grid-template-columns: 1fr 1fr; }
  .sectors__grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ring svg { animation: none; }
  html.js .reveal { opacity: 1; transform: none; }
  .hero__photo img { opacity: 1; }
  .hero__photo img:not(.active) { opacity: 0; }
}
