/* IWG Media — homepage styles
   Editorial / premium / avant-garde. Square corners, 1px hairlines, no gradients,
   no shadows, no glow. Champagne is used only for hairlines, hover and small marks. */

:root {
  --ink: #100E0C;
  --ivory: #F4EFE4;
  --champagne: #CDB88E;
  --umber: #5E574E;
  --ash: #A39B8C;
  --ink-2: #1A1714;
  --ivory-2: #E7E0D0;
  --line-dark: #2A2622;
  --line-light: #D3CAB6;

  --serif: 'Newsreader', 'Times New Roman', Georgia, serif;
  --sans: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --margin: clamp(20px, 4vw, 64px);
  --gutter: clamp(16px, 2vw, 32px);
  --col: calc((100% + var(--gutter)) / 12);
  --header-h: 56px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
ul, ol, dl, dd, figure, p, h1, h2, h3 { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

/* Language switching (default Vietnamese; EN toggles supported strings) */
html[data-lang="vi"] [data-l="en"],
html[data-lang="en"] [data-l="vi"] { display: none !important; }

/* Section colour system */
[data-bg="dark"]  { background: var(--ink);   color: var(--ivory); --muted: var(--ash);   --hl: var(--line-dark);  --ph-bg: var(--ink-2);   --focus: var(--champagne); }
[data-bg="light"] { background: var(--ivory); color: var(--ink);   --muted: var(--umber); --hl: var(--line-light); --ph-bg: var(--ivory-2); --focus: var(--ink); }

:focus-visible { outline: 2px solid var(--focus, var(--champagne)); outline-offset: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  background: var(--ivory); color: var(--ink); padding: 10px 14px;
  font-size: 13px; letter-spacing: .06em;
}
.skip:focus { top: 12px; }

.wrap { padding-inline: var(--margin); max-width: 1920px; margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

/* Small labels */
.label {
  font-family: var(--sans); font-weight: 500;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}

/* Text link with underline draw on hover */
.textlink { position: relative; display: inline-block; padding-bottom: 6px; }
.textlink::before, .textlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor;
}
.textlink::after { opacity: .3; }
.textlink::before {
  background: var(--champagne); z-index: 1;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 600ms var(--ease);
}
[data-bg="light"] .textlink::before { background: var(--ink); }
.textlink:hover::before, .textlink:focus-visible::before { transform: scaleX(1); }

/* Placeholder frames (clearly temporary) */
.ph {
  position: relative; margin: 0;
  aspect-ratio: var(--ar, 4/5);
  background: var(--ph-bg, var(--ink-2));
  border: 1px solid var(--hl, var(--line-dark));
  display: grid; place-items: center; text-align: center;
  overflow: hidden;
}
.ph__label {
  padding: 16px;
  font-family: var(--sans); font-weight: 500;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5;
  color: var(--muted);
}

/* ================= HEADER ================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  --fg: var(--ivory); --bg: var(--ink); --hl: var(--line-dark); --focus: var(--champagne);
  color: var(--fg);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: transform 500ms var(--ease), background-color 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease);
}
.site-header[data-over="light"] { --fg: var(--ink); --bg: var(--ivory); --hl: var(--line-light); --focus: var(--ink); }
.site-header.is-hidden { transform: translateY(-101%); }
.site-header.is-solid { border-bottom-color: var(--hl); }
.site-header__bar {
  height: 100%; padding-inline: var(--margin);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.wordmark {
  font-family: var(--serif); font-weight: 400; font-size: 22px;
  letter-spacing: 0; text-transform: none; line-height: 1;
}
.nav { display: none; }
.nav ul { display: flex; gap: clamp(24px, 3.2vw, 56px); }
.nav a { position: relative; display: inline-block; padding-block: 8px; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--champagne);
  transform: scaleX(0); transform-origin: left center; transition: transform 600ms var(--ease);
}
[data-over="light"] .nav a::after { background: var(--ink); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }

.lang { display: inline-flex; align-items: center; gap: 2px; }
.lang button { padding: 8px 4px; letter-spacing: .1em; opacity: .55; transition: opacity 300ms; }
.lang button:hover { opacity: .85; }
.lang button[aria-pressed="true"] { opacity: 1; }
.lang span[aria-hidden] { opacity: .4; }

.site-header .lang { margin-left: auto; }
.menu-btn { padding: 10px 0 10px 8px; letter-spacing: .1em; }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: inline; }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--ink); color: var(--ivory);
  padding: calc(var(--header-h) + 40px) var(--margin) 40px;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu ul { display: grid; gap: 4px; }
.menu a {
  display: block; padding: 14px 0;
  font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 11vw, 56px);
  line-height: 1.15; letter-spacing: -.012em;
  border-bottom: 1px solid var(--line-dark);
}
html.menu-open { overflow: hidden; }
html.menu-open .site-header { --fg: var(--ivory); --bg: var(--ink); --hl: var(--line-dark); --focus: var(--champagne); transform: none; }

@media (min-width: 900px) {
  :root { --header-h: 72px; }
  .nav { display: block; position: absolute; left: calc(var(--margin) + (100vw - 2 * var(--margin) - 11 * var(--gutter)) / 12 * 4 + 4 * var(--gutter)); }
  .site-header__bar { position: relative; }
  .site-header { background: transparent; }
  .site-header.is-solid { background: var(--bg); }
  .menu-btn, .menu { display: none !important; }
  html.menu-open { overflow: visible; }
}

/* ================= 01 HERO ================= */
/* Diagonal: image upper-left (bleeds left), headline lower-right. */
.hero {
  position: relative;
  padding: var(--header-h) 0 0;
  display: flex; flex-direction: column;
}
.hero__media { position: relative; margin: 0; overflow: hidden; background: var(--ink-2); aspect-ratio: 1 / 1; }
.hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.hero__caption {
  position: absolute; right: var(--margin); top: 12px; left: var(--margin);
  text-align: right;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ash);
}
.hero__text { padding: 28px var(--margin) 48px; position: relative; z-index: 1; }
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 8.72vw, 34px);
  line-height: 1.12; letter-spacing: -.015em;
  max-width: 18ch;
  text-wrap: wrap;
  min-height: 3.36em;
}
/* Approved line breaks hold without JS / under reduced motion (explicit lines);
   with JS the word-measure pass uses the padding below to keep the same breaks. */
.hero__title .ln { display: block; }
.hero__title > span:nth-of-type(4) { padding-right: 1.7em; }
.hero__title > span:nth-of-type(7) { padding-right: 3.0em; }
@media (min-width: 900px) {
  .hero {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--gutter);
    min-height: 100svh; padding: calc(var(--header-h) + 16px) var(--margin) 56px;
  }
  .hero__media { grid-column: 1 / 9; grid-row: 1; margin-left: calc(var(--margin) * -1); aspect-ratio: 16 / 9; }
  .hero__media img { object-position: 50% 50%; }
  .hero__caption { right: 12px; left: 12px; }
  .hero__text { grid-column: 7 / -1; grid-row: 2; align-self: end; padding: 0; margin-top: clamp(32px, 4vw, 64px); }
  /* 11em cap + padding on word 4 during measurement keeps the approved 3-line break at every size */
  .hero__title { font-size: clamp(42px, 4.03vw, 58px); line-height: 1.1; letter-spacing: -.015em; max-width: 11em; text-wrap: initial; min-height: 2.2em; }
  .hero__title > span:nth-of-type(4), .hero__title > span:nth-of-type(7) { padding-right: 0; }
  .hero__title > span:nth-of-type(4) { padding-right: .9em; }
}
@media (min-width: 900px) and (max-width: 979px) { .hero__text { grid-column: 6 / -1; } }

/* Hero line split + entrance (JS adds .line wrappers) */
.hero__title .line { display: block; overflow: hidden; padding-block: .14em; margin-block: -.14em; }
.hero__title .line > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.is-ready) .hero__media { clip-path: inset(0 100% 0 0); }
  .hero__media { transition: clip-path 1200ms cubic-bezier(.7, 0, .2, 1); clip-path: inset(0 0 0 0); }
  html.js.has-lines:not(.is-ready) .hero__title .line > span { transform: translateY(112%); }
  .hero__title .line > span {
    transition: transform 900ms var(--ease);
    transition-delay: calc(var(--i, 0) * 120ms + 350ms);
  }
  html.js:not(.is-ready) .hero__caption { opacity: 0; }
  .hero__caption { transition: opacity 600ms 1.2s; }
  html.no-anim .hero__media, html.no-anim .hero__title .line > span { transition: none; }
}

/* ================= 02 POSITIONING ================= */
.positioning { padding-block: clamp(88px, 13vw, 200px); }
.pos { row-gap: 0; }
.pos__cats { grid-column: 1 / -1; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4.6vw, 68px); line-height: 1.15; letter-spacing: -.012em; }
.pos__cat--2 { margin-left: calc(var(--col) * 1); }
.pos__cat--3 { margin-left: calc(var(--col) * 2); }
.pos__desc { grid-column: 1 / -1; margin-top: clamp(40px, 6vw, 96px); font-size: 17px; line-height: 1.7; max-width: 52ch; color: var(--ink); }
.pos__chain {
  grid-column: 1 / -1; justify-self: start;
  margin-top: 32px;
  font-size: 13px; font-weight: 500; letter-spacing: .06em; line-height: 1.7; color: var(--umber);
}
@media (min-width: 900px) {
  .pos__desc { grid-column: 6 / 12; }
  .pos__chain { grid-column: 6 / 13; }
}
@media (max-width: 899px) {
  .pos__cat--2 { margin-left: 6vw; }
  .pos__cat--3 { margin-left: 12vw; }
}

/* ================= 03 THE CHAIN ================= */
.chain__desktop { display: none; }
.chain__mobile { padding-bottom: 72px; }
.chain__idx {
  position: sticky; top: var(--idx-top, var(--header-h)); z-index: 5; transition: top 500ms var(--ease);
  display: flex; gap: 22px; overflow-x: auto; white-space: nowrap;
  padding: 14px var(--margin);
  background: var(--ink); border-bottom: 1px solid var(--line-dark);
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  scrollbar-width: none;
}
.chain__idx::-webkit-scrollbar { display: none; }
.chain__idx a { color: var(--ash); padding-block: 4px; transition: color 500ms; }
.chain__idx a.is-active { color: var(--ivory); box-shadow: none; border-bottom: 1px solid var(--champagne); }
.chain__stages { padding-inline: var(--margin); }
.chain__mstage { padding-top: 56px; }
.chain__mstage--type { padding-top: 44px; }
.chain__mstage:nth-child(even) h3 { padding-left: 10vw; }
.chain__mstage h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 8.2vw, 32px); line-height: 1.15; letter-spacing: -.012em;
}
.chain__fig { margin: 20px 0 0; }
.chain__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--ink-2); outline: 1px solid var(--line-dark); outline-offset: -1px; }
.chain__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.chain__cap { margin-top: 12px; font-size: 12px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); text-wrap: balance; }
/* 01 Strategy: typography only, set directly on Ink (no frame, no image, no caption) */
.chain__fig--statement { margin: 22px 0 0; }
.chain__statement {
  margin: 0; font-family: var(--serif); font-weight: 300; color: var(--ivory);
  font-size: clamp(32px, 8.8vw, 38px); line-height: 1.16; letter-spacing: -.012em;
}
.chain__statement::before { content: ""; display: block; width: 36px; height: 1px; background: var(--champagne); margin-bottom: 20px; }

@media (min-width: 900px) {
  .chain__mobile { display: none; }
  .chain__desktop { display: block; }
  .chain__scroll { display: grid; padding-inline: var(--margin); }
  .chain__beats, .chain__sticky { grid-area: 1 / 1; }
  .chain__beats { display: grid; grid-auto-rows: 72svh; }
  .chain__sticky {
    position: sticky; top: 0; height: 100svh; align-self: start;
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
    align-items: center;
    padding-block: calc(var(--header-h) + 8px) 56px;
    pointer-events: none;
  }
  .chain__sticky > * { pointer-events: auto; }
  .chain__list { grid-column: 2 / 6; position: relative; padding-left: 56px; }
  .chain__list h3 { font: inherit; margin: 0; }
  .chain__item {
    display: block; text-align: left; width: 100%;
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(30px, 3.34vw, 48px); line-height: 1.15; letter-spacing: -.015em;
    color: var(--ash); padding-block: .06em;
    transition: color 700ms var(--ease);
  }
  .chain__item:hover { color: var(--champagne); }
  .chain__item.is-active { color: var(--ivory); }
  .chain__mark {
    position: absolute; left: 0; top: 0; width: 36px; height: 1px; background: var(--champagne);
    transform: translateY(var(--mark-y, 0px));
    transition: transform 700ms var(--ease);
  }
  .chain__frames {
    grid-column: 6 / 13; justify-self: end;
    margin-right: calc(var(--margin) * -1); /* image bleeds to the viewport edge */
    position: relative;
    width: min(calc(100% + var(--margin)), calc((100svh - var(--header-h) - 170px) * 1.5));
    aspect-ratio: 3 / 2;
  }
  .chain__frame {
    position: absolute; inset: 0; margin: 0;
    opacity: 0; visibility: hidden;
    transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
  }
  .chain__frame.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
  .chain__frame .chain__media { height: 100%; aspect-ratio: auto; }
  .chain__concept { font-size: clamp(20px, 1.9vw, 26px); }
  .chain__frame--statement { display: flex; flex-direction: column; justify-content: center; }
  .chain__statement { font-size: clamp(36px, 3.9vw, 56px); }
  .chain__cap { position: absolute; top: calc(100% + 14px); left: 0; right: 0; margin: 0; padding-right: var(--margin); }
}
@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
  .chain__frame, .chain__item, .chain__mark { transition: none; }
}
/* ================= 04 SELECTED WORK ================= */
/* Editorial portfolio on continuous Ink. Photography and Design Visualization are labelled, never mixed.
   Hover = ~1.02 image scale inside a fixed mask + a quiet underline. No reveal / scroll motion in v1. */
.work { padding-block: clamp(88px, 11vw, 176px); }
.work__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: clamp(56px, 8vw, 128px); }
.work__title { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.1; letter-spacing: .06em; }
.work__count { font-size: 12px; letter-spacing: .08em; color: var(--ash); }

.p { position: relative; }
.p + .p { margin-top: clamp(88px, 11vw, 168px); }
.p__text { margin-bottom: 20px; }
.p__num { font-size: 12px; line-height: 1; letter-spacing: .08em; color: var(--ash); margin-bottom: 14px; }
.p__name { font-family: var(--serif); font-weight: 300; line-height: 1.08; letter-spacing: -.01em; }
.p__name-text { position: relative; display: inline-block; }
.p__name-text::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -.08em; height: 1px;
  background: var(--champagne); transform: scaleX(0); transform-origin: left center;
  transition: transform 600ms var(--ease);
}
.p:focus-within .p__name-text::after { transform: scaleX(1); }
.p__cap, .p__year { margin-top: 10px; font-size: 12px; line-height: 1.4; letter-spacing: .06em; color: var(--ash); }
.p__title { margin-top: 12px; font-family: var(--serif); font-weight: 300; font-size: 22px; line-height: 1.25; letter-spacing: -.005em; color: var(--ivory); }
.p__title + .p__year { margin-top: 6px; }

.frame { position: relative; overflow: hidden; background: var(--ink-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); transform-origin: center; }
.tag { margin-top: 10px; font-size: 11px; line-height: 1.4; letter-spacing: .04em; color: var(--champagne); }

/* Per-image crops (aspect-ratio reserves space; no layout shift) */
.frame--tima { aspect-ratio: 4 / 5; }
.frame--tima img { object-position: 35% 50%; }
.frame--iam-a { aspect-ratio: 3 / 2; }
.frame--iam-b { aspect-ratio: 16 / 9; }
.frame--momo { aspect-ratio: 4 / 5; }
.frame--momo img { object-position: 21.4% 50%; }
.frame--momo-a { aspect-ratio: 3 / 4; }
.frame--momo-b { aspect-ratio: 4 / 3; }
.frame--gapo { aspect-ratio: 2000 / 937; }
.frame--tg { aspect-ratio: 1 / 1; border: 1px solid var(--line-dark); }
.frame--tg img { object-position: 42% 50%; }
.frame--tg-b { aspect-ratio: 16 / 9; display: none; }

/* Weight per project (type scale) */
.p--tima .p__name { font-size: clamp(36px, 3.4vw, 52px); }
.p--iam  .p__name { font-size: clamp(32px, 3.05vw, 46px); }
.p--momo .p__name { font-size: clamp(28px, 2.5vw, 38px); }
.p--gapo .p__name { font-size: clamp(26px, 2.2vw, 34px); color: var(--ash); }
.p--tg   .p__name { font-size: clamp(32px, 2.8vw, 42px); }

/* Design Visualization chapter (Gapo → Time Garden) */
.work__chapter { margin-top: clamp(104px, 13vw, 200px); }

/* Mobile composition (390): single column, deliberate crops */
.p--iam .p__fig--a .tag { position: absolute; left: 0; top: 100%; }
.p--iam .p__fig--a { position: relative; }
.p--iam .p__fig--b { width: 68%; margin: -24px 0 0 auto; position: relative; }
.p__aux { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; align-items: start; margin-top: 16px; }
.p--gapo .p__text { margin-bottom: 20px; }

@media (hover: hover) and (pointer: fine) {
  .p:hover .p__name-text::after { transform: scaleX(1); }
  .p__fig:hover .frame img, .p__aux .frame:hover img { transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .frame img, .p__name-text::after { transition: none; }
}

@media (min-width: 900px) {
  .p { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  .p__text { margin-bottom: 0; }
  .p__fig { min-width: 0; }

  /* 01 Tima — contained plate, cols 5–12, 16:9 */
  .p--tima .p__text { grid-column: 1 / 5; grid-row: 1; }
  .p--tima .p__fig { grid-column: 5 / 13; grid-row: 1; }
  .frame--tima { aspect-ratio: 16 / 9; }
  .frame--tima img { object-position: 50% 50%; }

  /* 02 I'AM Beauty — photograph cols 1–6, render overlaps lower-right, name cols 9–12 */
  .p--iam .p__fig--a { grid-column: 1 / 7; grid-row: 1; }
  .p--iam .p__fig--a .tag { position: static; }
  .p--iam .p__fig--b { grid-column: 6 / 10; grid-row: 1; width: auto; margin: 54.6% 0 0 0; left: clamp(12px, 1.9vw, 27px); z-index: 1; }
  .p--iam .p__text { grid-column: 9 / 13; grid-row: 1; }

  /* 03 MoMo — documentary: 4:5 lead cols 4–7, two supporting frames cols 9–12 */
  .p--momo .p__text { grid-column: 1 / 4; grid-row: 1; }
  .p--momo .p__fig--lead { grid-column: 4 / 8; grid-row: 1; }
  .p--momo .p__aux { grid-column: 9 / 13; grid-row: 1; align-self: end; margin-top: 0; align-items: end; }

  /* 04 Gapo — quiet, cols 7–11 */
  .p--gapo .p__text { grid-column: 1 / 6; grid-row: 1; align-self: end; margin-bottom: 0; }
  .p--gapo .p__fig { grid-column: 7 / 12; grid-row: 1; }

  /* 05 Time Garden — plate cols 4–9, optional detail cols 10–12 */
  .p--tg .p__text { grid-column: 1 / 4; grid-row: 1; }
  .p--tg .p__fig { grid-column: 4 / 10; grid-row: 1; }
  .frame--tg { aspect-ratio: 16 / 9; }
  .frame--tg-b { display: block; grid-column: 10 / 13; grid-row: 1; align-self: end; border: 1px solid var(--line-dark); }
}

/* ================= 05 CAPABILITIES ================= */
/* Contents page: ten approved capabilities as one flat, ordered, typography-only list on Ivory.
   Hanging number in col 1, name from col 2 (cols 2-9), cols 10-12 left empty. No images, no icons. */
.caps { padding-block: clamp(88px, 12.2vw, 176px) clamp(72px, 8.9vw, 128px); }
.caps__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: clamp(48px, 7.8vw, 112px); }
.caps__title { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.15; letter-spacing: .06em; }
.caps__count { font-size: 12px; line-height: 1; letter-spacing: .08em; color: var(--muted); }
.caps__item {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 0; align-items: baseline;
  padding-block: 16px;
  border-top: 1px solid var(--hl);
  transition: border-top-color 600ms var(--ease);
}
.caps__item:last-child { border-bottom: 1px solid var(--hl); }
.caps__num { font-size: 12px; line-height: 1; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--muted); }
.caps__name { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
@media (min-width: 900px) {
  .caps__item { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-block: 20px; }
  .caps__num { grid-column: 1; }
  .caps__name { grid-column: 2 / 10; font-size: clamp(30px, 3.05vw, 44px); }
}
@media (hover: hover) and (pointer: fine) {
  .caps__item:hover { border-top-color: var(--ink); }
}

/* ================= 06 BRANDS ================= */
/* Quiet coda on Ink (Dark Premium hybrid): one continuous editorial run of 12 brand names (V1, text-only).
   Section 05's last hairline is the divider; no new rule here. Static. */
.brands { padding-block: 48px clamp(72px, 7.5vw, 108px); }
.brands__title { margin-bottom: 20px; }
.brands__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--line-dark); border-block: 1px solid var(--line-dark);
  font-family: var(--serif); font-weight: 300; font-size: clamp(19px, 5.4vw, 24px); line-height: 1.25; letter-spacing: -.01em; color: var(--ivory);
}
.brands__item {
  background: var(--ink); min-height: 104px; padding: 20px 14px;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.brands__logo { display: block; width: calc(var(--w) * .62px); max-width: 100%; height: auto; }
@media (min-width: 900px) {
  .brands__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; }
  .brands__title { grid-column: 1 / 3; margin-bottom: 0; }
  .brands__list { grid-column: 3 / 13; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: clamp(20px, 1.9vw, 26px); }
  .brands__item { min-height: 132px; padding: 28px 20px; }
  .brands__logo { width: calc(var(--w) * 1px); }
}

/* ================= 07 AMBITION ================= */
.amb { padding-block: 96px; }
.amb__text {
  grid-column: 1 / -1;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 3.34vw, 53px); line-height: 1.15; letter-spacing: -.012em;
  color: var(--ivory);
  text-wrap: balance;
}
.amb__text .nb { white-space: nowrap; }
@media (min-width: 900px) {
  .amb { min-height: 100vh; min-height: 100svh; padding-top: clamp(160px, 30svh, 280px); padding-bottom: clamp(160px, 18svh, 200px); }
  .amb__text { grid-column: 2 / 9; }
}

/* ================= 08 CONTACT ================= */
.contact { padding-block: 96px; }
.contact__title {
  grid-column: 1 / -1;
  font-family: var(--serif); font-weight: 300;
  font-size: 32px; line-height: 1.1; letter-spacing: -.012em;
}
.contact__body { grid-column: 1 / -1; margin-top: 40px; }
.contact__info { border-top: 1px solid var(--line-light); }
.contact__info > div { display: grid; grid-template-columns: 1fr; gap: 0; padding-block: 14px; border-bottom: 1px solid var(--line-light); }
.contact__info dt { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--umber); }
.contact__info dd { font-size: 17px; line-height: 1.5; color: var(--ink); }
.contact__addr { padding-block: 10px; }
.contact__addr .nb { white-space: nowrap; }
.contact__phones { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; }
.contact__dot { color: var(--umber); }
/* Links: 44px target, hairline underline that draws on hover / focus (static line always visible) */
.clink { position: relative; display: inline-flex; align-items: center; min-height: 44px; }
.clink::before, .clink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: var(--ink);
}
.clink::after { opacity: .3; }
.clink::before { z-index: 1; transform: scaleX(0); transform-origin: left center; transition: transform 600ms var(--ease); }
.clink:hover::before, .clink:focus-visible::before { transform: scaleX(1); }
.contact__cta { margin-top: 28px; font-size: 17px; }
@media (min-width: 900px) {
  .contact { min-height: 100vh; min-height: 100svh; padding-top: clamp(160px, 24svh, 240px); padding-bottom: clamp(160px, 18svh, 200px); }
  .contact__title { grid-column: 2 / 7; align-self: start; font-size: clamp(34px, 3.9vw, 56px); }
  .contact__body { grid-column: 7 / 13; margin-top: 0; }
  .contact__info > div { grid-template-columns: 1fr 2fr; gap: var(--gutter); align-items: center; padding-block: 8px; }
  .contact__info dt { padding-block: 8px; }
  .contact__addr { padding-block: 12px; }
  .contact__cta { margin-top: 36px; }
}

/* ================= FOOTER (09 — The Colophon) ================= */
.footer { padding-block: 72px 40px; font-size: 13px; color: var(--ash); }
.footer__grid { row-gap: 20px; }
.footer__brand { grid-column: 1 / -1; }
.footer__mark { font-family: var(--serif); font-weight: 300; font-size: 24px; line-height: 1.15; letter-spacing: -.01em; color: var(--ivory); }
.footer__legal { margin-top: 10px; color: var(--ash); letter-spacing: .02em; text-wrap: balance; }
.footer__nav { grid-column: 1 / -1; }
.footer__nav ul { display: flex; flex-wrap: wrap; column-gap: 28px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; color: var(--ash); transition: color 300ms; }
.footer__nav a:hover, .footer__nav a:focus-visible { color: var(--ivory); }
.footer__lang { grid-column: 1 / -1; justify-self: start; margin-left: -12px; --focus: var(--champagne); gap: 0; }
.footer__lang button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; font-weight: 500; }
.footer__copy { grid-column: 1 / -1; font-size: 12px; color: var(--ash); }
@media (min-width: 900px) {
  .footer { padding-block: 96px 48px; }
  .footer__grid { align-items: start; row-gap: 56px; }
  .footer__mark { font-size: 28px; }
  .footer__brand { grid-column: 1 / 6; }
  .footer__nav { grid-column: 7 / 11; margin-top: -8px; }
  .footer__lang { grid-column: 11 / 13; justify-self: end; margin: -8px -12px 0 0; }
  .footer__copy { padding-top: 24px; border-top: 1px solid var(--line-dark); }
}

/* Reduced motion: no entrance, no crossfades, no smooth scroll */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.001ms !important; transition-delay: 0s !important; animation: none !important; scroll-behavior: auto !important; }
  .site-header.is-hidden { transform: none; }
}

/* MoMo preview composition: lead ~72% + two equal supports */
.momo__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.momo__side { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.momo__side .frame { aspect-ratio: 1 / 1; }
.frame--momo { aspect-ratio: 4 / 3; }
.frame--momo img { object-position: 30% 50%; }
.frame--momo-a img { object-position: 50% 42%; }
.frame--momo-b img { object-position: 64% 50%; }
@media (min-width: 900px) {
  .p--momo .p__fig.momo__vis { grid-column: 4 / 13; grid-row: 1; }
  .momo__grid { grid-template-columns: 72fr 28fr; align-items: stretch; }
  .momo__grid .frame--momo { aspect-ratio: 4 / 3; }
  .momo__side { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .momo__side .frame { aspect-ratio: auto; min-height: 0; }
}
@media (min-width: 900px) {
  .momo__grid { align-items: start; }
  .momo__side { align-self: stretch; }
  .momo__side .frame { position: relative; height: 100%; }
  .momo__side .frame img { position: absolute; inset: 0; }
}
/* MoMo micro-adjustment: slightly taller cluster, wider supports, tighter top gap */
@media (min-width: 900px) {
  .p--momo { margin-top: clamp(56px, 6vw, 88px); }
  .momo__grid { grid-template-columns: 70fr 30fr; }
  .momo__grid .frame--momo { aspect-ratio: 6 / 5; }
}
/* MoMo final tune: cluster from col 3, lead ~75% */
@media (min-width: 900px) {
  .p--momo .p__text { grid-column: 1 / 3; }
  .p--momo .p__fig.momo__vis { grid-column: 3 / 13; }
  .momo__grid { grid-template-columns: 75fr 25fr; }
  .momo__grid .frame--momo { aspect-ratio: 7 / 5; }
}

/* Footer official logo (IWG-04, white on transparent) */
.footer__logo { display: block; width: 150px; max-width: 100%; height: auto; }
@media (min-width: 900px) { .footer__logo { width: 180px; } }

/* Header official logo (vector-derived, transparent): gold on Ink, deep champagne on Ivory */
.wordmark { display: inline-flex; align-items: center; }
.wordmark__img { display: block; height: 40px; width: auto; }
@media (min-width: 900px) { .wordmark__img { height: 50px; } }
.wordmark__img--light { display: none; }
.site-header[data-over="light"] .wordmark__img--dark { display: none; }
.site-header[data-over="light"] .wordmark__img--light { display: block; }

/* OPTION A — Editorial Original */
@media (min-width: 900px) {
  .p--gapo .p__text { grid-column: 1 / 4; }
  .p--gapo .p__fig  { grid-column: 4 / 12; }
  .p--tg .p__fig { grid-column: 4 / 10; }
}

/* ================= 01 HERO V2 — Full-Bleed Editorial ================= */
.hero { display: block; padding: 0; min-height: 0; }
.hero__media { position: relative; margin: 0; aspect-ratio: auto; height: max(125vw, 460px); grid-column: auto; }
.hero__media img { object-position: 40% 50%; }
/* Ink veil: translucent, no border/radius/shadow; fades softly at its top and left edges */
.hero__media::after {
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 62%; pointer-events: none;
  background: rgba(16, 14, 12, .66);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 46%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 46%);
}
.hero__text { position: absolute; z-index: 2; left: var(--margin); right: var(--margin); bottom: 52px; padding: 0; margin: 0; }
@media (min-width: 900px) {
  .hero { min-height: 100svh; display: block; padding: 0; }
  .hero__media { position: absolute; inset: 0; margin: 0; aspect-ratio: auto; height: auto; }
  .hero__media img { object-position: 50% 42%; }
  .hero__media::after {
    height: 58%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 44%), linear-gradient(to right, transparent 0, #000 42%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 44%), linear-gradient(to right, transparent 0, #000 42%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  .hero__text { left: auto; right: var(--margin); bottom: clamp(72px, 10vh, 120px); grid-column: auto; grid-row: auto; margin: 0; }
  /* 13em cap + padding on word 4 (measurement pass) holds the 2-line break at every size */
  .hero__title { font-size: clamp(42px, 4.03vw, 58px); max-width: 13em; min-height: 2.2em; }
  .hero__title > span:nth-of-type(4) { padding-right: 3em; }
}
@media (min-width: 900px) and (max-width: 979px) { .hero__text { grid-column: auto; } }

/* HEADER V2 (desktop): nav moves to the right, before VI / EN */
@media (min-width: 900px) {
  .nav { position: static; left: auto; margin-left: auto; }
  .nav ul { gap: clamp(32px, 3.6vw, 64px); }
  .site-header .lang { margin-left: clamp(40px, 5vw, 88px); }
}

/* HERO V2 mobile micro-adjust: smaller, lower headline + stronger ink veil (desktop untouched) */
@media (max-width: 899px) {
  .hero__media::after {
    height: 74%; background: rgba(16, 14, 12, .72);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.55) 28%, #000 60%);
            mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.55) 28%, #000 60%);
  }
  .hero__text { bottom: 58px; }
  .hero__title { font-size: clamp(28px, 8.2vw, 32px); }
}
