/* Tamchou, concept B: editorial, light, serif.
   Palette 1 "Corporate Classic (Light Mode)" of Tamchou Consulting - Brand Guidelines.pdf, used 60-30-10:
   Warm Alabaster ground, Black Raspberry structure, Dark Burgundy and Champagne Gold accents,
   Slate Charcoal text, Sand Gray containers. Headings in Libre Bodoni (the guideline names Bodoni Moda,
   which has no Vietnamese), text in Plus Jakarta Sans. The page reads like the front of a report:
   a masthead, numbered sections, figures with captions, a pull quote, a table of figures. */

:root {
  --alabaster: #FDFBF7; --sand: #F3EFE9; --rasp: #451425; --burg: #65081F; --gold: #D4AF37; --char: #2B2225;
  --ink: var(--char);
  --ink-2: color-mix(in srgb, var(--char) 78%, var(--alabaster));
  --ink-3: color-mix(in srgb, var(--char) 58%, var(--alabaster));
  --line: rgb(43 34 37 / .13);
  --line-2: rgb(43 34 37 / .26);
  --serif: "Libre Bodoni", "Bodoni Moda", Didot, Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1240px;
  --sec: clamp(80px, 10vw, 152px);
  --r: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--alabaster); }
body { margin: 0; color: var(--ink-2); font: 400 17px/1.72 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--rasp); color: var(--alabaster); }
:focus-visible { outline: 2px solid var(--burg); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 12px; top: -80px; z-index: 99; background: var(--rasp); color: var(--alabaster); padding: 12px 18px; text-decoration: none; transition: top 200ms ease; }
.skip:focus { top: 12px; }

/* type */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--rasp); letter-spacing: -.015em; text-wrap: balance; }
h1 em, h2 em, blockquote em { font-style: italic; color: var(--burg); }
.kicker { font: 600 11.5px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.lede { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.dropcap::first-letter { float: left; font: 400 4.1em/.86 var(--serif); color: var(--rasp); margin: .06em .1em 0 0; }
.body { max-width: 62ch; text-wrap: pretty; }

/* buttons and links */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 14px 26px; border: 1px solid var(--burg); border-radius: 999px; background: var(--burg); color: var(--alabaster); font: 600 14px/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: color 350ms ease, border-color 350ms ease, transform 120ms ease-out; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rasp); transform: translateY(101%); transition: transform 500ms var(--ease); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 13px; }
.btn--light { background: var(--alabaster); border-color: var(--alabaster); color: var(--rasp); }
.btn--light::before { background: var(--gold); }
.arr { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; flex: 0 0 auto; transition: width 400ms var(--ease); }
.arr::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.tlink { display: inline-flex; align-items: center; gap: 10px; padding-block: 6px; font: 600 14px/1.35 var(--sans); letter-spacing: .01em; color: var(--rasp); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; transition: background-size 450ms var(--ease), color 300ms ease; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: none; } .btn:hover .arr { width: 28px; }
  .btn--light:hover { color: var(--rasp); border-color: var(--gold); }
  .tlink:hover { color: var(--burg); background-size: 100% 2px; }
}

/* ============================================================ masthead */
.mast { position: relative; z-index: 5; background: var(--alabaster); }
.mast__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 28px 22px; }
.mast__logo img { height: 30px; width: auto; }
.kicker--r { text-align: right; }
.mast__nav { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); position: relative; }
.mast__nav::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 3px; height: 1px; background: var(--line); }
.mast__nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 clamp(16px, 3.4vw, 52px); padding-block: 14px 17px; }
.mast__nav a, .mast__nav button { display: inline-block; padding: 4px 0; background: none; border: 0; cursor: pointer; font: 500 14px/1.4 var(--sans); letter-spacing: .04em; color: var(--rasp); text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px; transition: background-size 400ms var(--ease); }
.mast__nav a:hover, .mast__nav button:hover, .mast__nav a:focus-visible { background-size: 100% 1px; }
.mast__nav a[aria-disabled="true"] { color: var(--ink-3); cursor: default; }
@media (max-width: 760px) {
  .mast__top { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 10px; padding-block: 22px 16px; }
  .mast__top .kicker:first-child { order: 2; } .kicker--r { order: 3; text-align: center; }
  .mast__top .kicker { font-size: 10.5px; }
  .mast__nav ul { gap: 2px 18px; padding-block: 10px 13px; }
  .mast__nav a, .mast__nav button { font-size: 13px; }
}
/* the slim bar that takes over once the masthead has scrolled away */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 50; background: color-mix(in srgb, var(--alabaster) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transform: translateY(-101%); transition: transform 450ms var(--ease); }
.bar.is-on { transform: none; }
.bar__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.bar__logo img { height: 22px; width: auto; }

/* ============================================================ hero */
.hero { padding-top: clamp(48px, 7vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 88px); align-items: end; }
.hero__h { margin-top: 22px; font-size: clamp(42px, 6.6vw, 104px); line-height: 1.18; letter-spacing: -.025em; }
.hero__side { padding-bottom: 10px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.keys { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 88px); }
.keys li { position: relative; display: flex; align-items: baseline; gap: 14px; padding: 18px 16px 18px 0; font: 400 clamp(19px, 1.8vw, 26px)/1.2 var(--serif); color: var(--rasp); }
.keys li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.keys i { font: italic 400 15px/1 var(--serif); color: var(--gold); min-width: 26px; }
.rule-top { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.plate { margin-top: clamp(28px, 4vw, 56px); }
.plate__img { position: relative; aspect-ratio: 16 / 7.4; overflow: hidden; border-radius: var(--r); background: var(--sand); clip-path: inset(0 0 100% 0 round var(--r)); transition: clip-path 1400ms var(--ease-io) .25s; }
.plate.in .plate__img { clip-path: inset(0 0 0 0 round var(--r)); }
.plate img, .plate video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate img { transform: scale(calc(1.06 - var(--push, 0) * .06)); transition: transform 2400ms var(--ease) .2s; }
.plate video { opacity: 0; transition: opacity 900ms ease; }
.plate.has-film video { opacity: 1; }
figcaption { display: flex; gap: 14px; margin-top: 14px; font: italic 400 15px/1.5 var(--serif); color: var(--ink-3); }
figcaption span { font: 600 11px/1.9 var(--sans); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--rasp); white-space: nowrap; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .keys { grid-template-columns: 1fr 1fr; }
  .keys li:nth-child(3) { padding-left: 0; border-left: 0; }
  .keys li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plate__img { aspect-ratio: 4 / 3.2; }
}

/* ============================================================ sections */
.sec { padding-block: var(--sec); }
.sec--sand { background: var(--sand); }
.sec--rule { border-top: 1px solid var(--line-2); }
.shead { display: grid; grid-template-columns: minmax(80px, 1fr) minmax(0, 11fr); gap: 0 24px; align-items: baseline; padding-bottom: clamp(20px, 2.4vw, 32px); margin-bottom: clamp(36px, 5vw, 72px); border-bottom: 1px solid var(--line-2); position: relative; }
.shead::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--rasp); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1300ms var(--ease-io) .1s; }
.shead.in::after { transform: none; }
.shead__no { font: italic 400 clamp(18px, 1.6vw, 22px)/1 var(--serif); color: var(--gold); }
.shead h2 { font-size: clamp(36px, 4.8vw, 72px); line-height: 1.2; letter-spacing: -.02em; }
@media (max-width: 640px) { .shead { grid-template-columns: 1fr; gap: 10px; } }

/* § 01 · two states */
.states { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); }
.state { position: relative; display: flex; flex-direction: column; background: var(--sand); border: 1px solid transparent; border-radius: var(--r); overflow: hidden; transition: border-color 400ms ease, box-shadow 500ms ease, opacity 900ms ease, transform 1000ms var(--ease); }
.state__pic { aspect-ratio: 16 / 10; overflow: hidden; }
.state__pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1600ms var(--ease); }
.state__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: clamp(22px, 2.8vw, 40px); }
.state__no { font: italic 400 20px/1 var(--serif); color: var(--gold); }
.state h3 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.15; margin-bottom: 4px; }
.state__foot { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; border-top: 1px solid var(--line); }
.pick { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 16px 6px 8px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--alabaster); cursor: pointer; font: 600 12.5px/1.2 var(--sans); letter-spacing: .03em; color: var(--rasp); transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease; }
.pick i { position: relative; width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 50%; }
.pick i::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: currentColor; scale: 0; transition: scale 400ms cubic-bezier(.2, 1.4, .3, 1); }
.pick .on { display: none; }
@media (hover: hover) and (pointer: fine) {
  .state:hover { box-shadow: 0 24px 50px -36px rgb(69 20 37 / .5); }
  .state:hover .state__pic img { transform: scale(1); }
  .pick:hover { border-color: var(--rasp); }
}
.state.is-sel { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.state.is-sel .pick { background: var(--burg); border-color: var(--burg); color: var(--alabaster); }
.state.is-sel .pick i::after { scale: 1; }
.state.is-sel .pick .off { display: none; } .state.is-sel .pick .on { display: inline; }
@media (max-width: 860px) { .states { grid-template-columns: 1fr; } }

/* § 02 · pull quote, columns, figure */
.dec { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.pull { position: relative; padding-left: clamp(22px, 2.4vw, 36px); border-left: 2px solid var(--gold); }
.pull p { font: 400 clamp(28px, 3.3vw, 48px)/1.22 var(--serif); letter-spacing: -.015em; color: var(--rasp); text-wrap: balance; }
.cols { margin-top: clamp(28px, 3.2vw, 44px); max-width: none; columns: 2; column-gap: 32px; font-size: 16px; }
.chart__box { position: relative; padding: clamp(18px, 2.2vw, 30px); background: var(--alabaster); border-radius: var(--r); border: 1px solid var(--line); }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .ax { stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .tick { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
.chart .zone { fill: var(--sand); transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1100ms var(--ease-io) .2s; }
.chart.in .zone { transform: none; }
.chart .cv { fill: none; stroke: var(--rasp); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2200ms var(--ease-io) .5s; }
.chart .cv--b { stroke: var(--gold); stroke-width: 2.5; transition-delay: .9s; }
.chart.in .cv { stroke-dashoffset: 0; }
.chart .scan { stroke: var(--rasp); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity 250ms ease; }
.chart .dot { fill: var(--rasp); opacity: 0; transition: opacity 250ms ease; }
.chart .dot--b { fill: var(--alabaster); stroke: var(--gold); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.chart.is-scan .scan, .chart.is-scan .dot { opacity: 1; }
.chart__lab { position: absolute; font: 600 12px/1.3 var(--sans); letter-spacing: .04em; color: var(--rasp); opacity: 0; transition: opacity 700ms ease 1.9s; }
.chart.in .chart__lab { opacity: 1; }
.chart__lab--a { left: 8%; top: 10%; } .chart__lab--b { right: 6%; top: 6%; color: color-mix(in srgb, var(--gold) 70%, var(--char)); }
.chart__zone { position: absolute; left: 8%; top: 50%; max-width: 26%; font: italic 400 14px/1.35 var(--serif); color: var(--rasp); opacity: 0; transition: opacity 700ms ease 1.3s; }
.chart.in .chart__zone { opacity: 1; }
.chart__x { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; font: 600 10.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.chart__x li:nth-child(2) { text-align: center; } .chart__x li:nth-child(3) { text-align: right; }
@media (max-width: 900px) { .dec { grid-template-columns: 1fr; } .cols { columns: 1; } }

/* § 03 · a table of figures */
.sys { border-top: 1px solid var(--rasp); }
.sys__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 48px); align-items: start; padding-block: clamp(28px, 3.6vw, 52px); border-bottom: 1px solid var(--line-2); transition: background-color 400ms ease; }
.sys__name h3 { margin-top: 10px; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.12; }
.sys__tag { display: inline-block; margin-top: 14px; padding: 4px 12px; border-radius: 999px; background: var(--burg); color: var(--alabaster); font: 600 10.5px/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity 350ms ease, transform 600ms var(--ease); }
.sys__row.is-match .sys__tag { opacity: 1; transform: none; }
.sys__val { font: italic 400 clamp(19px, 1.7vw, 24px)/1.45 var(--serif); color: var(--char); }
.figs { display: grid; grid-template-columns: repeat(3, 1fr); }
.figs li { padding: 0 14px; border-left: 1px solid var(--line); }
.figs b { display: block; font: 400 clamp(48px, 5.4vw, 80px)/1 var(--serif); letter-spacing: -.03em; color: var(--rasp); font-variant-numeric: lining-nums tabular-nums; }
.figs b::after { content: ""; display: block; width: 28px; height: 2px; margin: 12px 0 10px; background: var(--gold); }
.figs span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
@media (max-width: 960px) { .sys__row { grid-template-columns: 1fr; } .sys__row:not(.is-match) .sys__tag { display: none; } .figs li:first-child { padding-left: 0; border-left: 0; } }

/* § 04 · three principles */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); counter-reset: w; }
.why li { position: relative; padding-top: 28px; border-top: 1px solid var(--line-2); }
.why li::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1100ms var(--ease-io); }
.why li.in::before { transform: none; }
.why__no { display: block; font: italic 400 clamp(36px, 3.6vw, 52px)/1 var(--serif); color: var(--gold); }
.why h3 { margin-top: 18px; font-size: clamp(23px, 2.1vw, 30px); line-height: 1.2; }
.why p { margin-top: 14px; font-size: 16px; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* close */
.close { padding-bottom: clamp(24px, 3vw, 40px); }
.close__panel { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 112px) clamp(24px, 6vw, 96px); border-radius: calc(var(--r) * 1.6); background: var(--rasp); color: color-mix(in srgb, var(--alabaster) 82%, var(--rasp)); text-align: center; }
.close__sym { position: absolute; right: -40px; bottom: -50px; width: clamp(180px, 22vw, 320px); height: auto; opacity: .07; }
.close h2 { max-width: 18em; margin-inline: auto; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.22; color: var(--alabaster); }
.close h2 em { color: var(--gold); }
.close p { margin: 22px auto 0; max-width: 44ch; font-size: clamp(17px, 1.4vw, 19px); }
.close .btn { margin-top: 34px; }

/* footer */
.foot { padding-block: clamp(48px, 6vw, 88px) 32px; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; padding-top: 32px; border-top: 1px solid var(--rasp); }
.foot__tag { font: italic 400 clamp(30px, 3.4vw, 48px)/1.1 var(--serif); color: var(--rasp); }
.foot__about { margin-top: 16px; max-width: 52ch; font-size: 15px; }
.foot__logo { height: 26px; width: auto; }
.foot__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; color: var(--ink-3); }
.todo { display: inline-block; padding: 2px 8px; border: 1px dashed var(--line-2); border-radius: 6px; font-size: 12px; }

/* dialog */
dialog.talk { width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 18px; background: var(--alabaster); color: var(--ink-2); overflow: auto; }
dialog.talk::backdrop { background: rgb(69 20 37 / .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
dialog.talk[open] { animation: dlg 500ms var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(24px); } }
.talk__in { padding: clamp(24px, 4vw, 48px); }
.talk__x { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--alabaster); cursor: pointer; font-size: 20px; line-height: 1; color: var(--rasp); }
.talk h2 { margin-top: 10px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; }
.talk__lede { margin-top: 14px; max-width: 54ch; }
.form { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font: 600 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rasp); padding: 0; }
.field input, .field textarea { width: 100%; min-height: 46px; padding: 10px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; font-size: 16px; color: var(--char); }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--burg); box-shadow: 0 1px 0 var(--burg); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.seg label { position: relative; cursor: pointer; font: 500 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; }
.seg input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--rasp); transition: background-color 250ms ease, color 250ms ease; }
.seg input:checked + span { background: var(--burg); border-color: var(--burg); color: var(--alabaster); }
.seg input:focus-visible + span { outline: 2px solid var(--burg); outline-offset: 2px; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form__note { font-size: 14px; color: var(--ink-3); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ============================================================ motion: quiet, one move per block */
.w { display: inline-block; }
.wi { display: inline-block; opacity: 0; transform: translateY(.35em); transition: opacity 700ms ease, transform 1000ms var(--ease); transition-delay: calc(var(--i) * 38ms + var(--d, 0ms)); }
.in .wi, .in.wi { opacity: 1; transform: none; }
.rise { opacity: 0; transform: translateY(18px); transition: opacity 800ms ease var(--d, 0ms), transform 1000ms var(--ease) var(--d, 0ms); }
.rise.in { opacity: 1; transform: none; }
.state[data-anim], .sys__row[data-anim] { opacity: 0; transform: translateY(24px); }
.state.in, .sys__row.in { opacity: 1; transform: none; transition: opacity 900ms ease, transform 1000ms var(--ease), border-color 400ms ease, box-shadow 500ms ease; }
.states .state:nth-child(2) { transition-delay: 120ms; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wi, .rise, .state[data-anim], .sys__row[data-anim] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .plate__img { clip-path: none; transition: none; } .plate img { transform: none; transition: none; }
  .shead::after, .why li::before { transform: none; transition: none; }
  .chart .cv { stroke-dashoffset: 0; transition: none; } .chart .zone { transform: none; transition: none; }
  .chart__lab, .chart__zone { opacity: 1; transition: none; }
  dialog.talk[open] { animation: none; }
}
@media (max-width: 520px) {
  .bar__logo img { height: 17px; }
  .bar .btn--sm { min-height: 36px; padding: 6px 14px; font-size: 12px; }
  .chart__zone { top: 60%; font-size: 12px; max-width: 30%; }
  .chart__lab { font-size: 10.5px; }
}

/* ============================================================ v2: more motion on hover and click.
   Still editorial: ink lines drawing, paper sliding under rows, a seal when a choice is made. */

/* reading progress along the slim bar */
.bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(var(--prog, 0)); transform-origin: 0 50%; }

/* hero: the italic phrase is underlined in gold once it has arrived */
.hero__h em { background: linear-gradient(var(--gold), var(--gold)) 0 94% / 0% 2px no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 1300ms var(--ease-io) 1.3s; }
.hero__h.in em { background-size: 100% 2px; }

/* four keys: paper rises under the one being pointed at */
.keys li { isolation: isolate; cursor: default; opacity: 0; transform: translateY(14px); transition: opacity 700ms ease calc(var(--i) * 90ms + 200ms), transform 900ms var(--ease) calc(var(--i) * 90ms + 200ms), color 300ms ease; }
.keys.in li { opacity: 1; transform: none; }
.keys li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sand); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 500ms var(--ease-io); }
.keys i { display: inline-block; transition: transform 500ms var(--ease), color 300ms ease; }
@media (hover: hover) and (pointer: fine) {
  .keys li:hover::before { transform: none; }
  .keys li:hover { color: var(--burg); }
  .keys li:hover i { transform: translateY(-3px) rotate(-8deg); color: var(--burg); }
}

/* figure: slow zoom on hover, the caption leans in */
@media (hover: hover) and (pointer: fine) {
  .plate:hover img { transform: scale(1.015); transition-duration: 2600ms; }
  .plate:hover figcaption span { letter-spacing: .26em; }
}
figcaption span { transition: letter-spacing 600ms var(--ease); }

/* state cards lift; picking one presses a seal onto it */
.state { will-change: transform; }
@media (hover: hover) and (pointer: fine) {
  .state.in:hover { transform: translateY(-6px); }
  .state:hover h3 { color: var(--burg); }
}
.state h3 { transition: color 300ms ease; }
.state__pic { position: relative; }
.seal { position: absolute; right: 18px; top: 18px; width: 86px; height: 86px; display: grid; place-items: center; border-radius: 50%; background: var(--burg); color: var(--alabaster); box-shadow: 0 10px 24px -10px rgb(69 20 37 / .7), inset 0 0 0 4px var(--burg), inset 0 0 0 5px rgb(253 251 247 / .5); opacity: 0; transform: scale(1.7) rotate(-35deg); transition: opacity 250ms ease, transform 650ms cubic-bezier(.2, 1.5, .35, 1); pointer-events: none; }
.seal img { width: 34px; height: auto; }
.seal span { position: absolute; inset: 9px; border-radius: 50%; border: 1px dashed rgb(253 251 247 / .45); animation: seal-turn 24s linear infinite; }
@keyframes seal-turn { to { rotate: 360deg; } }
.state.is-sel .seal { opacity: 1; transform: none; }
.pick { position: relative; overflow: hidden; isolation: isolate; }
.pick::after { content: ""; position: absolute; left: var(--x, 50%); top: var(--y, 50%); z-index: -1; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--gold); opacity: 0; transform: scale(0); }
.pick.is-ripple::after { animation: ripple 650ms var(--ease) forwards; }
@keyframes ripple { 0% { opacity: .55; transform: scale(0); } 100% { opacity: 0; transform: scale(24); } }

/* pull quote: a gold mark sets down, the rule draws from the top */
.pull { border-left: 0; }
.pull::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold); transform: scaleY(0); transform-origin: 50% 0; transition: transform 1200ms var(--ease-io) .2s; }
.pull.in::after { transform: none; }
.pull::before { content: "\201C"; position: absolute; left: clamp(14px, 1.6vw, 26px); top: -.42em; font: 400 clamp(90px, 9vw, 140px)/1 var(--serif); color: var(--gold); opacity: 0; transform: translateY(-14px); transition: opacity 700ms ease .6s, transform 900ms var(--ease) .6s; pointer-events: none; }
.pull.in::before { opacity: .35; transform: none; }
.pull p { position: relative; }

/* table rows: paper slides in from the left, figures rise, gold rules lengthen */
.sys__row { position: relative; isolation: isolate; }
.sys__row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -.4); z-index: -1; border-radius: var(--r); background: var(--sand); transform: scaleX(0); transform-origin: 0 50%; transition: transform 650ms var(--ease-io); }
.sys__name h3, .figs b { transition: transform 600ms var(--ease), color 300ms ease; }
.figs b::after { transition: width 600ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .sys__row:hover::before { transform: none; }
  .sys__row:hover .sys__name h3 { transform: translateX(10px); color: var(--burg); }
  .sys__row:hover .figs b { transform: translateY(-4px); }
  .sys__row:hover .figs li:nth-child(2) b { transition-delay: 60ms; } .sys__row:hover .figs li:nth-child(3) b { transition-delay: 120ms; }
  .sys__row:hover .figs b::after { width: 56px; }
}

/* principles: the numeral tips, the rule thickens */
.why li { transition: transform 600ms var(--ease); }
.why__no { display: inline-block; transition: transform 600ms var(--ease), color 300ms ease; }
.why li::before { transition: transform 1100ms var(--ease-io), height 300ms ease; }
@media (hover: hover) and (pointer: fine) {
  .why li:hover { transform: translateY(-6px); }
  .why li:hover .why__no { transform: rotate(-10deg) scale(1.08); color: var(--burg); }
  .why li.in:hover::before { height: 4px; }
}

/* close: the symbol turns slowly and drifts toward the pointer */
.close__sym { animation: seal-turn 120s linear infinite; translate: calc(var(--px, 0) * 30px) calc(var(--py, 0) * 30px); transition: translate 900ms var(--ease); }

/* buttons lean toward the pointer */
.btn { translate: var(--mx, 0) var(--my, 0); transition: color 350ms ease, border-color 350ms ease, transform 120ms ease-out, translate 450ms var(--ease); }

/* a quiet ring follows the pointer and opens over things that can be pressed */
.ring { position: fixed; left: 0; top: 0; z-index: 90; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid var(--gold); border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 300ms ease, width 400ms var(--ease), height 400ms var(--ease), margin 400ms var(--ease), background-color 300ms ease, border-color 300ms ease; }
.ring.is-on { opacity: .9; }
.ring.is-hot { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgb(212 175 55 / .12); }
.ring.is-down { width: 24px; height: 24px; margin: -12px 0 0 -12px; }

@media (prefers-reduced-motion: reduce) {
  .keys li { opacity: 1; transform: none; transition: none; }
  .hero__h em { background-size: 100% 2px; transition: none; }
  .pull::after { transform: none; transition: none; } .pull::before { opacity: .35; transform: none; transition: none; }
  .seal { transition: none; } .seal span, .close__sym { animation: none; }
  .ring { display: none; }
}
.state.in { transition-duration: 900ms, 600ms, 400ms, 500ms; }

/* ============================================================ inner pages */
.mast__nav a[aria-current="page"] { background-size: 100% 1px; }
.crumb a { color: inherit; text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; }
.hero--page .hero__h { font-size: clamp(38px, 5.6vw, 88px); }
.hero__cta .tlink + .btn, .hero__cta .btn + .tlink { margin-left: 0; }

/* facts under a page opening: same ruled row as the four keys */
.facts { grid-template-columns: repeat(3, 1fr); margin: clamp(48px, 6vw, 88px) 0 0; }
.facts div { position: relative; padding: 18px 16px 20px 0; opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 900ms var(--ease); }
.facts div:nth-child(2) { transition-delay: 90ms; } .facts div:nth-child(3) { transition-delay: 180ms; }
.facts.in div { opacity: 1; transform: none; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dd { margin: 8px 0 0; font: 400 clamp(20px, 1.9vw, 28px)/1.2 var(--serif); color: var(--rasp); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* text set as a lead */
.lead { font: 400 clamp(21px, 2vw, 28px)/1.45 var(--serif); color: var(--char); text-wrap: pretty; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.slot-fig { margin-top: clamp(28px, 4vw, 56px); }
.slot { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 24px; border-radius: var(--r); background: var(--sand); border: 1px dashed var(--line-2); font-size: 13px; color: var(--ink-3); text-align: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* an index list with roman numerals */
.index { margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-top: 1px solid var(--line-2); }
.index li { position: relative; isolation: isolate; display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font: 400 clamp(18px, 1.5vw, 21px)/1.3 var(--serif); color: var(--rasp); opacity: 0; transform: translateY(10px); transition: opacity 600ms ease calc(var(--i, 0) * 60ms), transform 800ms var(--ease) calc(var(--i, 0) * 60ms), color 300ms ease; }
.index.in li { opacity: 1; transform: none; }
.index i { font: italic 400 14px/1 var(--serif); color: var(--gold); min-width: 30px; }
.index span { transition: transform 450ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .index li:hover { color: var(--burg); } .index li:hover span { transform: translateX(8px); } }
.index--4 { margin-bottom: 0; }
@media (max-width: 480px) { .index { grid-template-columns: 1fr; } }

/* figures drawn in ink: the weave */
.weave .chart__box { padding: clamp(18px, 2.2vw, 30px); }
.weave svg { width: 100%; height: auto; overflow: visible; }
.weave path { fill: none; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.weave .st { stroke: var(--rasp); stroke-width: 1.3; opacity: .55; transition: stroke-dashoffset 1700ms var(--ease-io) calc(var(--k) * 160ms + 200ms), opacity 300ms ease; }
.weave .one { stroke: var(--gold); stroke-width: 3; transition: stroke-dashoffset 1100ms var(--ease-io) 1.9s; }
.weave circle { fill: var(--gold); opacity: 0; transition: opacity 400ms ease 1.85s; }
.weave.in path { stroke-dashoffset: 0; } .weave.in circle { opacity: 1; }
.weave__l { position: absolute; left: 5%; translate: 0 -150%; font: 600 11.5px/1.3 var(--sans); letter-spacing: .06em; color: var(--rasp); opacity: 0; transition: opacity 600ms ease calc(var(--k) * 160ms + 300ms); }
.weave__one { position: absolute; right: 5%; top: 50%; translate: 0 -160%; max-width: 32%; text-align: right; font: italic 400 clamp(14px, 1.3vw, 18px)/1.3 var(--serif); color: var(--rasp); opacity: 0; transition: opacity 700ms ease 2.4s; }
.weave.in .weave__l, .weave.in .weave__one { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .weave:hover .st { opacity: 1; } }

/* a statement and four acts */
.statement { max-width: 22em; font: 400 clamp(30px, 3.8vw, 56px)/1.2 var(--serif); letter-spacing: -.015em; color: var(--rasp); text-wrap: balance; }
.statement em { font-style: italic; color: var(--burg); }
.acts__we { margin-top: clamp(36px, 5vw, 64px); font: italic 400 20px/1 var(--serif); color: var(--ink-3); }
.acts { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.acts li { position: relative; padding: 22px 22px 28px; border-radius: var(--r); background: var(--sand); opacity: 0; transform: translateY(18px); transition: opacity 700ms ease calc(var(--i, 0) * 110ms), transform 900ms var(--ease) calc(var(--i, 0) * 110ms), background-color 400ms ease, color 400ms ease; }
.acts.in li { opacity: 1; transform: none; }
.acts i { font: italic 400 22px/1 var(--serif); color: var(--gold); }
.acts b { display: block; margin-top: clamp(28px, 4vw, 56px); font: 400 clamp(20px, 2vw, 27px)/1.2 var(--serif); color: var(--rasp); transition: color 400ms ease; }
@media (hover: hover) and (pointer: fine) { .acts.in li:hover { background: var(--rasp); transform: translateY(-6px); transition-delay: 0s; } .acts li:hover b { color: var(--alabaster); } }
.acts__end { margin-top: 20px; font: italic 400 clamp(19px, 1.6vw, 22px)/1.4 var(--serif); color: var(--char); }
@media (max-width: 860px) { .acts { grid-template-columns: 1fr 1fr; } }

/* mission and vision */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.mv > div { padding: clamp(24px, 3vw, 44px); border-radius: var(--r); border: 1px solid var(--line-2); opacity: 0; transform: translateY(18px); transition: opacity 800ms ease, transform 900ms var(--ease), border-color 400ms ease, box-shadow 500ms ease; }
.mv > div.in { opacity: 1; transform: none; }
.mv__t { margin-top: 18px; font: italic 400 clamp(22px, 2.2vw, 30px)/1.35 var(--serif); color: var(--rasp); }
@media (hover: hover) and (pointer: fine) { .mv > div.in:hover { border-color: var(--gold); box-shadow: 0 24px 50px -36px rgb(69 20 37 / .45); transform: translateY(-4px); } }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }

/* a text-only version of the § 02 layout */
.dec--text { align-items: center; }
.dec--text .hero__cta { margin-top: 28px; }

/* ---- team */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px) clamp(16px, 2.6vw, 40px); }
.person { opacity: 0; transform: translateY(24px); transition: opacity 900ms ease, transform 1000ms var(--ease); }
.person:nth-child(2) { transition-delay: 120ms; } .person:nth-child(3) { transition-delay: 240ms; }
.person.in { opacity: 1; transform: none; }
.person__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink-2); }
.person__pic { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.person__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.03); transform: scale(1.03); transition: filter 700ms ease, transform 1400ms var(--ease); }
.person__pic::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform 600ms var(--ease-io); }
.person__no { display: block; margin-top: 18px; font: italic 400 18px/1 var(--serif); color: var(--gold); }
.person__name { display: block; margin-top: 8px; font: 400 clamp(24px, 2.3vw, 32px)/1.15 var(--serif); color: var(--rasp); transition: color 300ms ease; }
.person__role { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.5; min-height: 3em; }
.person__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding-bottom: 4px; font: 600 13.5px/1.3 var(--sans); color: var(--rasp); background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; }
@media (hover: hover) and (pointer: fine) {
  .person__btn:hover .person__pic img { filter: none; transform: scale(1); }
  .person__btn:hover .person__pic::after { transform: none; }
  .person__btn:hover .person__name { color: var(--burg); }
  .person__btn:hover .arr { width: 28px; }
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags li { padding: 4px 11px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; line-height: 1.5; color: var(--ink-2); background: var(--alabaster); }
@media (max-width: 860px) { .people { grid-template-columns: 1fr 1fr; } .person__role { min-height: 0; } }
@media (max-width: 520px) { .people { grid-template-columns: 1fr; } }

dialog.bio { width: min(820px, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; border-radius: 22px 0 0 22px; background: var(--alabaster); color: var(--ink-2); overflow: auto; overscroll-behavior: contain; }
dialog.bio::backdrop { background: rgb(69 20 37 / .4); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
dialog.bio[open] { animation: sheet 650ms var(--ease); }
@keyframes sheet { from { transform: translateX(56px); opacity: 0; } }
.bio__in { padding: clamp(28px, 4.5vw, 64px); }
.bio__top { display: grid; grid-template-columns: clamp(120px, 26%, 200px) 1fr; gap: clamp(20px, 3vw, 40px); align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--rasp); }
.bio__pic { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.bio__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; mix-blend-mode: multiply; }
.bio h2 { margin-top: 10px; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; }
.bio__role { margin-top: 8px; font: italic 400 18px/1.4 var(--serif); color: var(--char); }
.bio__txt { margin-top: 28px; display: grid; gap: 16px; max-width: 64ch; }
.bio__txt p:first-child::first-letter { float: left; font: 400 3.6em/.86 var(--serif); color: var(--rasp); margin: .06em .1em 0 0; }
@media (max-width: 520px) { .bio__top { grid-template-columns: 1fr; align-items: start; } .bio__pic { max-width: 180px; } dialog.bio { border-radius: 0; } }

/* ---- solutions */
.track li::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform 700ms var(--ease-io) calc(var(--i) * 260ms + 700ms); }
.track.in li::after { transform: none; }
.solu { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.solu .lead { margin-top: 14px; }
.solu .btn { margin-top: 30px; }
.spec { border-top: 1px solid var(--rasp); }
.spec li { position: relative; isolation: isolate; display: grid; grid-template-columns: clamp(80px, 10vw, 140px) 1fr; column-gap: clamp(16px, 2.4vw, 36px); padding: clamp(18px, 2.2vw, 28px) clamp(0px, 1vw, 14px); border-bottom: 1px solid var(--line-2); opacity: 0; transform: translateY(14px); transition: opacity 700ms ease calc(var(--i, 0) * 110ms), transform 900ms var(--ease) calc(var(--i, 0) * 110ms); }
.spec.in li { opacity: 1; transform: none; }
.spec li::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r); background: var(--sand); transform: scaleX(0); transform-origin: 0 50%; transition: transform 600ms var(--ease-io); }
.spec b { grid-row: span 2; font: 400 clamp(52px, 6vw, 92px)/.95 var(--serif); letter-spacing: -.03em; color: var(--rasp); font-variant-numeric: lining-nums; transition: transform 600ms var(--ease), color 300ms ease; }
.spec strong { align-self: end; font: 400 clamp(21px, 1.9vw, 27px)/1.2 var(--serif); color: var(--rasp); }
.spec span { margin-top: 6px; font-size: 15px; max-width: 46ch; }
@media (hover: hover) and (pointer: fine) { .spec li:hover::before { transform: none; } .spec li:hover b { transform: translateY(-4px); color: var(--burg); } }
@media (max-width: 860px) { .solu { grid-template-columns: 1fr; } }

/* four stages with a table of contents */
.stages { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 104px); align-items: start; }
.toc { position: sticky; top: 96px; }
.toc ol { margin-top: 14px; border-top: 1px solid var(--rasp); }
.toc a { position: relative; display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 clamp(18px, 1.5vw, 21px)/1.3 var(--serif); color: var(--ink-3); text-decoration: none; transition: color 300ms ease, padding-left 500ms var(--ease); }
.toc a i { font: italic 400 14px/1 var(--serif); color: var(--gold); min-width: 34px; }
.toc a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--gold); transition: width 500ms var(--ease); }
.toc a:hover { color: var(--rasp); }
.toc a.is-on { color: var(--rasp); padding-left: 26px; }
.toc a.is-on::before { width: 14px; }
.stage { position: relative; padding: clamp(28px, 3.6vw, 52px) 0; border-bottom: 1px solid var(--line-2); scroll-margin-top: 88px; }
.stage:first-child { padding-top: 0; }
.stage h3 { margin-top: 10px; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.12; }
.stage__say { margin-top: 18px; max-width: 30em; font: italic 400 clamp(20px, 1.9vw, 26px)/1.4 var(--serif); color: var(--burg); }
.stage .body { margin-top: 16px; }
.stage > * { opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 900ms var(--ease); }
.stage > :nth-child(2) { transition-delay: 80ms; } .stage > :nth-child(3) { transition-delay: 160ms; } .stage > :nth-child(4) { transition-delay: 240ms; } .stage > :nth-child(5) { transition-delay: 320ms; }
.stage.in > * { opacity: 1; transform: none; }
.outs { margin-top: 24px; }
.outs .tags li { padding: 7px 14px; font-size: 13.5px; color: var(--rasp); transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease; }
@media (hover: hover) and (pointer: fine) { .outs .tags li:hover { background: var(--rasp); border-color: var(--rasp); color: var(--alabaster); } }
@media (max-width: 860px) { .stages { grid-template-columns: 1fr; } .toc { position: static; } }
.gov li { padding-top: 28px; }

/* four pillars */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.pillars li { position: relative; padding: clamp(26px, 3.2vw, 46px); border-radius: var(--r); background: var(--sand); opacity: 0; transform: translateY(20px); transition: opacity 800ms ease, transform 900ms var(--ease), background-color 450ms ease, box-shadow 500ms ease; }
.pillars li:nth-child(2), .pillars li:nth-child(4) { transition-delay: 100ms; }
.pillars li.in { opacity: 1; transform: none; }
.pillars i { font: italic 400 24px/1 var(--serif); color: var(--gold); }
.pillars h3 { margin-top: 18px; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12; transition: color 400ms ease; }
.pillars__q { margin-top: 16px; font: italic 400 clamp(19px, 1.7vw, 23px)/1.4 var(--serif); color: var(--burg); transition: color 400ms ease; }
.pillars p + p { margin-top: 12px; font-size: 15.5px; transition: color 400ms ease; }
@media (hover: hover) and (pointer: fine) {
  .pillars li.in:hover { background: var(--rasp); transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgb(69 20 37 / .8); transition-delay: 0s; }
  .pillars li:hover h3 { color: var(--alabaster); } .pillars li:hover .pillars__q { color: var(--gold); } .pillars li:hover p + p { color: color-mix(in srgb, var(--alabaster) 80%, var(--rasp)); }
}
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* five value groups as table rows */
.rows { border-top: 1px solid var(--rasp); }
.rows li { position: relative; isolation: isolate; display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr); gap: 6px clamp(16px, 3vw, 48px); align-items: baseline; padding: clamp(20px, 2.4vw, 30px) clamp(0px, 1vw, 14px); border-bottom: 1px solid var(--line-2); opacity: 0; transform: translateY(12px); transition: opacity 700ms ease, transform 900ms var(--ease); }
.rows li.in { opacity: 1; transform: none; }
.rows li::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r); background: var(--sand); transform: scaleX(0); transform-origin: 0 50%; transition: transform 600ms var(--ease-io); }
.rows i { font: italic 400 20px/1 var(--serif); color: var(--gold); }
.rows h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; transition: transform 500ms var(--ease), color 300ms ease; }
@media (hover: hover) and (pointer: fine) { .rows li:hover::before { transform: none; } .rows li:hover h3 { transform: translateX(8px); color: var(--burg); } }
@media (max-width: 760px) { .rows li { grid-template-columns: 40px 1fr; } .rows p { grid-column: 2; } }

/* the initial review: a panel with a large figure */
.close__panel--review { text-align: left; }
.review { position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.review__five { display: flex; align-items: baseline; gap: 12px; color: var(--gold); }
.review__five b { font: 400 clamp(150px, 20vw, 300px)/.8 var(--serif); letter-spacing: -.04em; }
.review__five span { font: italic 400 clamp(22px, 2.2vw, 32px)/1 var(--serif); }
.review h2 { margin: 14px 0 0; max-width: none; text-align: left; }
.review p:not(.kicker) { margin: 20px 0 0; max-width: 56ch; }
.review .kicker { color: color-mix(in srgb, var(--alabaster) 70%, var(--rasp)); }
@media (max-width: 860px) { .review { grid-template-columns: 1fr; } .review__five b { font-size: 140px; } }

@media (prefers-reduced-motion: reduce) {
  .facts div, .index li, .acts li, .mv > div, .person, .spec li, .stage > *, .pillars li, .rows li { opacity: 1 !important; transform: none !important; transition: none !important; }
  .weave path { stroke-dashoffset: 0; transition: none; } .weave circle, .weave__l, .weave__one { opacity: 1; transition: none; }
  .track li::after { transform: none; transition: none; }
  dialog.bio[open] { animation: none; }
}

/* ============================================================ dropdowns on the masthead */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.has-sub { position: relative; display: inline-flex; align-items: center; gap: 4px; }
.sub__tog { position: relative; width: 22px; height: 22px; padding: 0 !important; border: 0; background: none !important; cursor: pointer; color: var(--rasp); }
.sub__tog::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -5px 0 0 -3px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform 400ms var(--ease), margin 400ms var(--ease); }
.sub { position: absolute; left: 50%; top: calc(100% + 14px); z-index: 20; min-width: 270px; padding: 10px; border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 0 0 var(--r) var(--r); background: var(--alabaster); box-shadow: 0 26px 50px -30px rgb(69 20 37 / .45); text-align: left; opacity: 0; visibility: hidden; transform: translate(-50%, -8px); clip-path: inset(0 0 100% 0); transition: opacity 250ms ease, transform 450ms var(--ease), clip-path 450ms var(--ease-io), visibility 0s 450ms; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); clip-path: inset(-2px -2px -40px -2px); transition-delay: 0s; }
.has-sub:hover .sub__tog::before, .has-sub.is-open .sub__tog::before { transform: rotate(-135deg); margin-top: -1px; }
.mast__nav .sub a { position: relative; display: flex; align-items: baseline; gap: 12px; padding: 11px 14px; border-radius: 8px; font: 400 18px/1.3 var(--serif); letter-spacing: 0; color: var(--rasp); background-image: none; opacity: 0; transform: translateY(6px); transition: background-color 250ms ease, color 250ms ease, padding-left 450ms var(--ease), opacity 400ms ease, transform 500ms var(--ease); }
.has-sub:hover .sub a, .has-sub:focus-within .sub a, .has-sub.is-open .sub a { opacity: 1; transform: none; }
.has-sub .sub a:nth-child(2) { transition-delay: 0s, 0s, 0s, 50ms, 50ms; } .has-sub .sub a:nth-child(3) { transition-delay: 0s, 0s, 0s, 100ms, 100ms; } .has-sub .sub a:nth-child(4) { transition-delay: 0s, 0s, 0s, 150ms, 150ms; }
.sub a i { font: italic 400 14px/1 var(--serif); color: var(--gold); min-width: 24px; }
.sub a::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--gold); transform: scaleY(0); transition: transform 350ms var(--ease); }
.mast__nav .sub a:hover, .mast__nav .sub a:focus-visible { background: var(--sand); color: var(--burg); padding-left: 20px; }
.sub a:hover::before, .sub a:focus-visible::before { transform: none; }
.mast__nav .sub a[aria-current="page"] { color: var(--burg); }
.mast__nav .sub a[aria-current="page"] i { color: var(--burg); }
@media (max-width: 760px) {
  .sub { position: fixed; left: 12px; right: 12px; top: auto; min-width: 0; transform: translateY(-8px); margin-top: 10px; }
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { transform: none; }
  .has-sub { position: static; }
  .mast__nav { position: relative; }
  .sub { position: absolute; top: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sub, .mast__nav .sub a { transition: none; clip-path: none; } }
.sub { min-width: 300px; } .mast__nav .sub a { white-space: nowrap; }
@media (max-width: 760px) { .sub { min-width: 0; } .mast__nav .sub a { white-space: normal; } }

/* ============================================================ hero figure, v2
   The reveal waits until the photograph has decoded (site.js), then a curtain lifts from the
   bottom while the picture settles from 1.12 to 1. The scroll drift lives on a separate property
   (translate) with no transition, so it follows the page exactly instead of lagging behind it. */
.plate__img { clip-path: inset(100% 0 0 0 round var(--r)); transition: clip-path 1500ms var(--ease-io) .1s; }
.plate.in .plate__img { clip-path: inset(0 0 0 0 round var(--r)); }
.plate img { inset: -6% 0; height: 112%; transform: scale(1.12); transition: transform 2600ms var(--ease) .1s; translate: 0 calc(var(--push, 0) * -5%); will-change: transform, translate; }
.plate.in img { transform: scale(1); }
@media (hover: hover) and (pointer: fine) { .plate.in:hover img { transform: scale(1.02); transition-duration: 1800ms; transition-delay: 0s; } }
@media (prefers-reduced-motion: reduce) { .plate__img { clip-path: none; transition: none; } .plate img { transform: none; translate: none; transition: none; } }

/* ============================================================ headline marks, carried over from concept A
   A selection box with eight handles, a word dragged into place, a highlight, a dashed frame.
   Sized to Libre Bodoni as measured: marks on capitals reach 1.115em above the baseline, which is
   0.2em above the font's own box, and descenders drop 0.33em. So the highlight is a marker band
   behind the text (the text keeps its colour and nothing can vanish), and the frames are let out
   to clear the marks. */
:root { --t-line: #65081F; --t-paper: #FDFBF7; --t-mark: rgb(212 175 55 / .42); }
.close__panel { --t-line: #D4AF37; --t-paper: #451425; --t-mark: rgb(212 175 55 / .38); }
.hero__h em { background-image: none; }
.t-sel, .t-dash { position: relative; display: inline-block; margin-inline: .1em; }
.t-sel:first-child, .t-dash:first-child { margin-left: .16em; }
.t-box { position: absolute; inset: -.26em -.16em -.12em; border: 1.5px solid var(--t-line); pointer-events: none; clip-path: inset(0 100% 100% 0); transition: clip-path 600ms var(--ease-io) var(--od, 800ms); }
.in .t-box { clip-path: inset(-12px); }
.t-box i { position: absolute; width: 8px; height: 8px; background: var(--t-paper); border: 1.5px solid var(--t-line); transform: translate(-50%, -50%) scale(0); transition: transform 380ms cubic-bezier(.2, 1.4, .3, 1) calc(var(--od, 800ms) + 400ms + var(--hi) * 45ms), background-color 250ms ease; }
.in .t-box i { transform: translate(-50%, -50%) scale(1); }
.t-box i:nth-child(1) { left: 0; top: 0; --hi: 0; } .t-box i:nth-child(2) { left: 50%; top: 0; --hi: 1; }
.t-box i:nth-child(3) { left: 100%; top: 0; --hi: 2; } .t-box i:nth-child(4) { left: 100%; top: 50%; --hi: 3; }
.t-box i:nth-child(5) { left: 100%; top: 100%; --hi: 4; } .t-box i:nth-child(6) { left: 50%; top: 100%; --hi: 5; }
.t-box i:nth-child(7) { left: 0; top: 100%; --hi: 6; } .t-box i:nth-child(8) { left: 0; top: 50%; --hi: 7; }
@media (hover: hover) and (pointer: fine) { .t-sel:hover .t-box i { background: var(--t-line); } }
.t-drag { transform: translate(-.55em, .4em) rotate(-2deg); transition: transform 850ms cubic-bezier(.3, 1.25, .35, 1) calc(var(--od, 800ms) + 950ms); }
.in .t-drag { transform: none; }
.t-cursor { position: absolute; right: -22px; bottom: -26px; width: 22px; height: 22px; pointer-events: none; opacity: 0; transform: translate(16px, 16px); transition: opacity 260ms ease calc(var(--od, 800ms) + 650ms), transform 420ms var(--ease) calc(var(--od, 800ms) + 650ms); }
.t-cursor path { fill: var(--t-paper); stroke: var(--t-line); }
.in .t-cursor { opacity: 1; transform: none; animation: t-cursor-out 400ms ease calc(var(--od, 800ms) + 2100ms) forwards; }
@keyframes t-cursor-out { to { opacity: 0; transform: translate(10px, 12px); } }
.t-hl { background: linear-gradient(var(--t-mark), var(--t-mark)) 0 90% / 0% 58% no-repeat; padding: 0 .08em; margin-inline: -.04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 900ms var(--ease-io) var(--od, 1000ms); }
.in .t-hl { background-size: 100% 58%; }
.t-dash::after { content: ""; position: absolute; inset: -.24em -.14em -.12em; border: 1.5px dashed var(--t-line); border-radius: .14em; opacity: .85; pointer-events: none; clip-path: inset(0 100% 0 0); transition: clip-path 750ms var(--ease-io) var(--od, 1100ms); }
.in .t-dash::after { clip-path: inset(-4px); }
@media (max-width: 520px) { .t-box i { width: 6px; height: 6px; } .t-cursor { right: -12px; } }
@media (prefers-reduced-motion: reduce) {
  .t-box, .t-box i, .t-drag, .t-hl, .t-dash::after { transition: none !important; }
  .t-box { clip-path: inset(-12px); } .t-box i { transform: translate(-50%, -50%) scale(1); } .t-drag { transform: none; }
  .t-hl { background-size: 100% 58%; } .t-dash::after { clip-path: inset(-4px); } .t-cursor { display: none; }
}

/* ============================================================ burgundy sections
   One section per page, the guideline's Dark Burgundy deepening into Black Raspberry. Inside, the
   ink roles are re-pointed so headings, rules and figures read in Alabaster and Champagne Gold;
   figure cards keep their paper and their own ink. */
.sec--wine { background: linear-gradient(135deg, #65081F 0%, #4f0d22 45%, #451425 100%); color: rgb(253 251 247 / .82);
  --rasp: #FDFBF7; --char: #FDFBF7; --burg: #D4AF37;
  --ink-2: rgb(253 251 247 / .82); --ink-3: rgb(253 251 247 / .62);
  --line: rgb(253 251 247 / .16); --line-2: rgb(253 251 247 / .3); --sand: rgb(253 251 247 / .08);
  --t-line: #D4AF37; --t-paper: #5a0b1f; --t-mark: rgb(212 175 55 / .36); }
.sec--wine .chart__box { --rasp: #451425; --char: #2B2225; --burg: #65081F; --ink-2: color-mix(in srgb, #2B2225 78%, #FDFBF7); --ink-3: color-mix(in srgb, #2B2225 58%, #FDFBF7); --line: rgb(43 34 37 / .13); --line-2: rgb(43 34 37 / .26); --sand: #F3EFE9; border-color: transparent; box-shadow: 0 30px 60px -40px rgb(0 0 0 / .6); }
.sec--wine figcaption span { color: var(--gold); }
.sec--wine .btn { background: var(--alabaster); border-color: var(--alabaster); color: #65081F; }
.sec--wine .btn::before { background: var(--gold); }
.sec--wine .tlink { color: var(--alabaster); }
.sec--wine .why li::before { background: var(--gold); }
.sec--wine ::selection { background: var(--gold); color: #451425; }
.t-box { inset: -.18em -.16em -.12em; } .t-dash::after { inset: -.16em -.14em -.12em; }
/* on burgundy the italic is gold, so a gold marker behind it needs the text in Alabaster */
.sec--wine .t-hl, .close__panel .t-hl { color: var(--alabaster); }

/* ============================================================ v3 fixes
   1. Highlight covers the whole word. Padding on an inline box widens its painted background
      without moving the line, so .22em on top reaches the marks over capitals (1.115em above the
      baseline against a 0.92em font box) and the font box already holds the descenders. On paper the
      block is translucent gold so any overlap with the line above stays readable; on burgundy it is
      solid Champagne Gold with Black Raspberry text. Lines open to 1.3 so blocks rarely meet. */
.t-hl { padding: .22em .14em 0; margin-inline: -.06em; border-radius: .08em; background-position: 0 0; background-size: 0% 100%; }
.in .t-hl { background-size: 100% 100%; }
:root { --t-mark: rgb(212 175 55 / .34); }
.sec--wine, .close__panel { --t-mark: #D4AF37; }
.sec--wine .t-hl, .close__panel .t-hl { color: inherit; transition: background-size 900ms var(--ease-io) var(--od, 1000ms), color 300ms ease calc(var(--od, 1000ms) + 350ms); }
.sec--wine .in .t-hl, .close__panel .in .t-hl, .close__panel h2.in .t-hl { color: #451425; }
.hero__h { line-height: 1.3; }
.pull p { line-height: 1.32; }
.close h2 { line-height: 1.32; }
.shead h2 { line-height: 1.26; }
@media (prefers-reduced-motion: reduce) { .t-hl { background-size: 100% 100%; } .sec--wine .t-hl, .close__panel .t-hl { color: #451425; } }

/* 2. The navigation stays. The masthead is sticky with a negative top equal to its upper row, so
      the row with the logo scrolls away and the menu row stays pinned; once pinned, a small logo
      and the CTA slide into the row, and a gold rule underneath shows reading progress. */
.bar { display: none; }
.mast { position: sticky; top: calc(var(--mtop, 92px) * -1); z-index: 50; background: color-mix(in srgb, var(--alabaster) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.mast::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(var(--prog, 0)); transform-origin: 0 50%; opacity: 0; transition: opacity 300ms ease; }
.mast.is-stuck::after { opacity: 1; }
.mast__mini, .mast__cta { position: absolute; top: 50%; opacity: 0; visibility: hidden; transition: opacity 350ms ease, transform 500ms var(--ease), visibility 0s 350ms; }
.mast__mini { left: var(--gutter); transform: translate(-10px, -50%); }
.mast__mini img { height: 20px; width: auto; }
.mast__cta { right: var(--gutter); transform: translate(10px, -50%); }
.mast.is-stuck .mast__mini, .mast.is-stuck .mast__cta { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
.mast.is-stuck { box-shadow: 0 10px 30px -24px rgb(69 20 37 / .5); }
@media (max-width: 1100px) { .mast__cta { display: none; } }
@media (max-width: 860px) { .mast__mini { display: none; } }
.mast__nav .mast__cta { display: inline-flex; min-height: 38px; padding: 8px 18px; border: 1px solid var(--burg); border-radius: 999px; background: var(--burg); background-image: none; color: var(--alabaster); font: 600 12.5px/1.2 var(--sans); letter-spacing: .02em; }
@media (hover: hover) and (pointer: fine) { .mast__nav .mast__cta:hover { background-size: auto; color: var(--alabaster); } }
@media (max-width: 1100px) { .mast__nav .mast__cta { display: none; } }
/* Contact Us already opens the form, so the pinned row keeps only the small logo */
.mast__nav .mast__cta { display: none !important; }
.mast__nav .mast__mini { padding: 0; background-image: none; }
@media (max-width: 1060px) { .mast__nav .mast__mini { display: none; } }

/* ============================================================ motion rules, site-wide
   Photographs in cards: the frame shows paper until the image has decoded and the card is in view,
   then a curtain lifts and the picture fades in. Nothing is ever shown half-loaded. */
.imgr { clip-path: inset(100% 0 0 0 round var(--r)); transition: clip-path 1100ms var(--ease-io) .1s; }
.state__pic.imgr { clip-path: inset(100% 0 0 0); }
.imgr img { opacity: 0; transition: opacity 700ms ease .2s, transform 1600ms var(--ease), filter 700ms ease; }
.in .imgr.is-loaded { clip-path: inset(0 0 0 0 round var(--r)); }
.in .state__pic.imgr.is-loaded { clip-path: inset(0 0 0 0); }
.in .imgr.is-loaded img { opacity: 1; }
.person .person__pic.imgr { transition: clip-path 1100ms var(--ease-io) .15s; }
/* once a block has made its entrance, stagger delays no longer apply to hover */
.settled, .settled *, .settled *::before, .settled *::after { transition-delay: 0s !important; }
@media (prefers-reduced-motion: reduce) {
  .imgr, .state__pic.imgr { clip-path: none !important; transition: none; }
  .imgr img { opacity: 1 !important; transition: none; }
}

/* ============================================================ image reveals, v4: the concept A way
   clip-path on a large photograph repaints on the main thread every frame and stutters. Instead a
   paper curtain lies over the picture and lifts away (scaleY on a pseudo-element), while the picture
   rises a little and settles from a slight zoom. Both are transforms, handled by the compositor.
   The curtain only lifts once the picture has decoded (site.js). */
.plate__img, .imgr, .state__pic.imgr { clip-path: none !important; }
.plate__img { transition: none; }
.plate__img::before, .imgr::before { content: ""; position: absolute; inset: -1px; z-index: 3; transform-origin: 50% 0; transform: scaleY(1); transition: transform 1500ms var(--ease-io) .15s; pointer-events: none; }
.plate__img::before { background: var(--alabaster); }
.state__pic.imgr::before { background: var(--sand); }
.person__pic.imgr::before { background: var(--alabaster); }
.plate.in .plate__img::before, .in .imgr.is-loaded::before { transform: scaleY(0); }

.plate img { opacity: 1; transform: translateY(5%) scale(1.1); transition: transform 2400ms var(--ease) .1s; }
.plate.in img { transform: none; }
@media (hover: hover) and (pointer: fine) { .plate.in:hover img { transform: scale(1.02); transition-duration: 1800ms; } }

.imgr img { opacity: 1; transform: translateY(4%) scale(1.08); transition: transform 1800ms var(--ease) .1s, filter 700ms ease; }
.in .imgr.is-loaded img { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .state.settled:hover .imgr.is-loaded img { transform: scale(1.03); }
  .person.settled .person__btn:hover .imgr.is-loaded img { transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .plate__img::before, .imgr::before { display: none; }
  .plate img, .imgr img { transform: none !important; transition: none; }
}

/* ============================================================ founder profile pages
   A conventional profile layout: portrait and essentials first, then a contents list that keeps
   its place beside clearly titled sections. Type is calmer than the marketing pages: no headline
   marks, serif titles, sans text at a comfortable measure. */
.phero { padding-top: clamp(40px, 6vw, 88px); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.profile__fig { position: sticky; top: 96px; }
.profile__pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.profile__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; mix-blend-mode: multiply; }
.phero__name { margin-top: 18px; font-size: clamp(44px, 6vw, 88px); line-height: 1.12; letter-spacing: -.025em; }
.phero__role { margin-top: 10px; font: italic 400 clamp(20px, 1.9vw, 26px)/1.35 var(--serif); color: var(--burg); }
.phero .lead { margin-top: clamp(22px, 2.6vw, 34px); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; }
.pfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(26px, 3vw, 40px) 0 0; border-top: 1px solid var(--rasp); border-bottom: 1px solid var(--line-2); }
.pfacts div { padding: 16px 14px 18px 0; }
.pfacts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.pfacts dd { margin: 8px 0 0; font: 400 clamp(19px, 1.7vw, 24px)/1.25 var(--serif); color: var(--rasp); }
.phero .tags { margin-top: 20px; }
.phero .hero__cta { margin-top: 28px; }
@media (max-width: 900px) {
  .phero__grid { grid-template-columns: 1fr; }
  .profile__fig { position: static; max-width: 420px; }
}
@media (max-width: 560px) { .pfacts { grid-template-columns: 1fr; } .pfacts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

.pbody { padding-top: clamp(56px, 7vw, 104px); }
.psec h2 { margin-top: 10px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.2; }
.psec > p:not(.kicker):not(.psec__note) { margin-top: 16px; max-width: 66ch; }
.psec > h2 + p:not(.psec__note) { margin-top: 22px; }
.psec__note { margin-top: 10px; font: italic 400 16px/1.5 var(--serif); color: var(--ink-3); }
.psec .pull--sm { margin-top: 30px; }
.psec .pull--sm p { font-size: clamp(22px, 2.2vw, 30px); }

/* experience as a timeline */
.tl { margin-top: 26px; border-left: 1px solid var(--line-2); }
.tl__item { position: relative; display: grid; grid-template-columns: minmax(120px, 2fr) minmax(0, 7fr); gap: 6px 28px; padding: 18px 0 22px 28px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px); transition: opacity 700ms ease, transform 900ms var(--ease); }
.tl__item.in { opacity: 1; transform: none; }
.tl__item::before { content: ""; position: absolute; left: -6px; top: 26px; width: 11px; height: 11px; border-radius: 50%; background: var(--alabaster); border: 2px solid var(--gold); transition: background-color 300ms ease, transform 400ms var(--ease); }
.tl__when { font: 600 12px/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-top: 6px; }
.tl__role { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.25; }
.tl__org { margin-top: 4px; font-weight: 600; color: var(--burg); }
.tl__note { margin-top: 6px; font-size: 15.5px; max-width: 58ch; }
@media (hover: hover) and (pointer: fine) { .tl__item:hover::before { background: var(--gold); transform: scale(1.25); } }
@media (max-width: 640px) { .tl__item { grid-template-columns: 1fr; padding-left: 20px; } }

/* capabilities as cards */
.caps { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cap { padding: 22px 24px 26px; border-radius: var(--r); background: var(--sand); opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 900ms var(--ease), background-color 400ms ease, box-shadow 500ms ease; }
.cap.in { opacity: 1; transform: none; }
.cap i { font: italic 400 18px/1 var(--serif); color: var(--gold); }
.cap h3 { margin-top: 14px; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25; }
.cap p { margin-top: 8px; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .cap.settled:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -32px rgb(69 20 37 / .5); } }
@media (max-width: 640px) { .caps { grid-template-columns: 1fr; } }

/* projects as cards with an image slot */
.projs { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.proj { opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 900ms var(--ease); }
.proj.in { opacity: 1; transform: none; }
.proj:nth-child(2) { transition-delay: 100ms; } .proj:nth-child(3) { transition-delay: 200ms; }
.slot--43 { aspect-ratio: 4 / 3; font-size: 12px; }
.proj .kicker { margin-top: 14px; }
.proj h3 { margin-top: 6px; font-size: 20px; line-height: 1.3; }
.proj p:not(.kicker) { margin-top: 6px; font-size: 14.5px; }
@media (max-width: 900px) { .projs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .projs { grid-template-columns: 1fr; } }

.edu { margin-top: 22px; border-top: 1px solid var(--line-2); }
.edu li { display: grid; grid-template-columns: minmax(120px, 2fr) minmax(0, 7fr); gap: 6px 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.edu h3 { font-size: 20px; line-height: 1.3; }
@media (max-width: 640px) { .edu li { grid-template-columns: 1fr; } }

.psec .todo { font-size: 13px; line-height: 1.5; }
.psec { padding-block: clamp(28px, 3.6vw, 52px); }

/* the next founder */
.pnext { padding-block: clamp(48px, 6vw, 88px); }
.pnext__card { display: grid; grid-template-columns: 120px 1fr auto; gap: clamp(18px, 3vw, 40px); align-items: center; padding: 18px; border: 1px solid var(--line-2); border-radius: var(--r); text-decoration: none; color: inherit; transition: background-color 400ms ease, border-color 400ms ease, transform 500ms var(--ease); }
.pnext__pic { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; background: var(--sand); }
.pnext__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; mix-blend-mode: multiply; filter: grayscale(1); transition: filter 600ms ease; }
.pnext__txt { display: grid; gap: 6px; }
.pnext__name { font: 400 clamp(26px, 2.8vw, 40px)/1.15 var(--serif); color: var(--rasp); }
.pnext__role { font: italic 400 18px/1.4 var(--serif); color: var(--burg); }
.pnext__card .arr { width: 30px; color: var(--rasp); }
@media (hover: hover) and (pointer: fine) { .pnext__card:hover { background: var(--sand); border-color: var(--gold); } .pnext__card:hover .pnext__pic img { filter: none; } .pnext__card:hover .arr { width: 46px; } }
.pnext__all { margin-top: 18px; }
@media (max-width: 560px) { .pnext__card { grid-template-columns: 84px 1fr; } .pnext__card .arr { display: none; } }

/* founder cards on the team page link to their pages */
a.person__btn { text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .tl__item, .cap, .proj { opacity: 1 !important; transform: none !important; transition: none !important; } }
.profile__pic.imgr::before, .pnext__pic.imgr::before { background: var(--alabaster); }
/* sections reuse the stage list behaviour; keep their inner titles at profile sizes */
.psec .tl__role { margin-top: 0; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.25; }
.psec .cap h3 { margin-top: 14px; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25; }
.psec .proj h3 { margin-top: 6px; font-size: 20px; line-height: 1.3; }
.psec .edu h3 { margin-top: 0; font-size: 20px; line-height: 1.3; }

/* ============================================================ Our Team, two tiers
   Founder Group: large feature rows, portrait and essentials, each leading to its own page.
   Experts: a compact list on a quieter ground; a profile opens in place, at a smaller scale. */
.team__intro { margin: calc(clamp(36px, 5vw, 72px) * -.5) 0 clamp(36px, 5vw, 64px); max-width: 62ch; }
.frows { display: grid; gap: clamp(56px, 8vw, 128px); }
.frow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 104px); align-items: center; opacity: 0; transform: translateY(24px); transition: opacity 900ms ease, transform 1000ms var(--ease); }
.frow.in { opacity: 1; transform: none; }
.frow:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.frow:nth-child(even) .frow__pic { order: 2; }
.frow__pic { display: block; }
.frow__pic .person__pic { aspect-ratio: 4 / 5; }
.frow__no { font: italic 400 22px/1 var(--serif); color: var(--gold); }
.frow__name { margin-top: 12px; font-size: clamp(40px, 4.8vw, 70px); line-height: 1.12; letter-spacing: -.02em; }
.frow__name a { color: inherit; text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0% 2px no-repeat; transition: background-size 600ms var(--ease), color 300ms ease; }
.frow__role { margin-top: 8px; font: italic 400 clamp(19px, 1.8vw, 24px)/1.35 var(--serif); color: var(--burg); }
.frow__lead { margin-top: 20px; max-width: 46ch; font: 400 clamp(19px, 1.6vw, 22px)/1.5 var(--serif); color: var(--char); }
.pfacts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; margin-top: 24px; }
.frow .tags { margin-top: 18px; }
.frow__go { margin-top: 26px; }
@media (hover: hover) and (pointer: fine) {
  .frow.settled:hover .person__pic img { filter: none; }
  .frow:hover .frow__name a { background-size: 100% 2px; color: var(--burg); }
}
@media (max-width: 900px) {
  .frow, .frow:nth-child(even) { grid-template-columns: 1fr; gap: 22px; }
  .frow:nth-child(even) .frow__pic { order: 0; }
  .frow__pic { max-width: 380px; }
}

.sec--sand-soft { background: var(--sand); }
.shead--sm h2 { font-size: clamp(30px, 3.6vw, 52px); }
.xrows { border-top: 1px solid var(--rasp); }
.xrow { border-bottom: 1px solid var(--line-2); opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 900ms var(--ease); }
.xrow:nth-child(2) { transition-delay: 90ms; } .xrow:nth-child(3) { transition-delay: 180ms; }
.xrow.in { opacity: 1; transform: none; }
.xrow__head { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto auto; gap: 22px; align-items: center; width: 100%; padding: 18px 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.xrow__pic.person__pic { aspect-ratio: 1; border-radius: 10px; background: var(--alabaster); }
.xrow__id { display: grid; gap: 2px; }
.xrow__no { font: italic 400 15px/1 var(--serif); color: var(--gold); }
.xrow__name { margin-top: 4px; font: 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); color: var(--rasp); transition: color 300ms ease, transform 500ms var(--ease); }
.xrow__role { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.xrow__tags { margin: 0; justify-content: flex-end; max-width: 360px; }
.xrow__tog { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--sans); color: var(--rasp); white-space: nowrap; }
.xrow__tog i { position: relative; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 50%; transition: transform 450ms var(--ease), background-color 300ms ease, border-color 300ms ease; }
.xrow__tog i::before, .xrow__tog i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: currentColor; }
.xrow__tog i::after { transform: rotate(90deg); }
.xrow__less { display: none; }
.xrow.is-open .xrow__more { display: none; } .xrow.is-open .xrow__less { display: inline; }
.xrow.is-open .xrow__tog i { transform: rotate(45deg); background: var(--rasp); border-color: var(--rasp); color: var(--alabaster); }
@media (hover: hover) and (pointer: fine) {
  .xrow__head:hover .xrow__name { color: var(--burg); transform: translateX(6px); }
  .xrow__head:hover .person__pic img { filter: none; }
  .xrow__head:hover .xrow__tog i { border-color: var(--rasp); }
}
/* the profile opens in place: rows grow from 0fr to 1fr, the content fades up after */
.xrow__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 650ms var(--ease-io); }
.xrow.is-open .xrow__panel { grid-template-rows: 1fr; }
.xrow__inner { min-height: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); padding-left: 98px; }
.xrow__inner > * { padding: 6px 0 34px; opacity: 0; transform: translateY(10px); transition: opacity 400ms ease, transform 500ms var(--ease); }
.xrow.is-open .xrow__inner > * { opacity: 1; transform: none; transition: opacity 600ms ease 250ms, transform 700ms var(--ease) 250ms; }
.xrow__body section + section { margin-top: 22px; }
.xrow__body h4, .xrow__side h4 { margin-bottom: 10px; color: var(--rasp); }
.xrow__body p { font-size: 15.5px; max-width: 62ch; }
.xrow__body p + p { margin-top: 12px; }
.pfacts--1 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 22px; }
.pfacts--1 dd { font-size: 17px; }
.xexp { border-top: 1px solid var(--line-2); }
.xexp li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.xexp b { font: 400 17px/1.35 var(--serif); color: var(--rasp); }
.xexp span { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.xrow__note { margin-top: 12px; font: italic 400 14px/1.5 var(--serif); color: var(--ink-3); }
@media (max-width: 1000px) { .xrow__tags { display: none; } }
@media (max-width: 760px) {
  .xrow__head { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; }
  .xrow__more, .xrow__less { display: none !important; }
  .xrow__inner { grid-template-columns: 1fr; padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .frow, .xrow { opacity: 1 !important; transform: none !important; } .xrow__panel, .xrow__inner > * { transition: none !important; } }
.shead + .xrows { border-top: 0; }

/* ============================================================ v1.3 content and the team review
   Core competencies: a short list in Dark Burgundy with gold diamond bullets, replacing pills. */
.core .kicker { color: var(--burg); }
.core ul { display: grid; gap: 7px; margin-top: 10px; }
.core li { position: relative; padding-left: 20px; font: 600 15px/1.4 var(--sans); color: var(--burg); }
.core li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.frow .core { margin-top: 22px; }
.phero .core { margin-top: 22px; }
.xrow__core { min-width: 240px; padding-left: 22px; border-left: 1px solid var(--line-2); }
.xrow__core .kicker { font-size: 10.5px; }
.xrow__core li { font-size: 14px; }
.xrow__head { grid-template-columns: 76px minmax(0, 1fr) minmax(240px, auto) auto; }
@media (max-width: 1000px) { .xrow__core { display: none; } .xrow__head { grid-template-columns: 76px minmax(0, 1fr) auto; } }
@media (max-width: 760px) { .xrow__head { grid-template-columns: 56px minmax(0, 1fr) auto; } }

/* home: two systems as a table with a header row and a link in the last column */
.sys { border-top: 0; }
.sys__heads { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: clamp(20px, 3vw, 48px); padding-bottom: 12px; border-bottom: 1px solid var(--rasp); }
.sys__row { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); }
.sys__go { justify-self: end; align-self: center; }
@media (max-width: 960px) { .sys__heads { display: none; } .sys__go { justify-self: start; } }
.cols p + p { margin-top: 1em; }

/* image placeholders: the same paper card as every other frame */
.slot--wide { aspect-ratio: 16 / 7; margin-top: 22px; font-size: 12px; }
.solu__slot { margin-top: 32px; max-width: 420px; }
.dec__slot { margin-top: 28px; }
.sec--wine .slot { background: rgb(253 251 247 / .06); border-color: rgb(253 251 247 / .3); color: rgb(253 251 247 / .6); }
.pgal { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .pgal { grid-template-columns: 1fr; } }

/* footer: three link columns and the newsletter line */
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.foot__cols h3 { margin-bottom: 12px; }
.foot__cols li + li { margin-top: 6px; }
.foot__cols a, .foot__cols button { padding: 0; border: 0; background: none; cursor: pointer; font: 400 15px/1.5 var(--sans); color: var(--char); text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px; transition: background-size 400ms var(--ease), color 250ms ease; }
.foot__cols a:hover, .foot__cols button:hover { background-size: 100% 1px; color: var(--burg); }
.foot__cols a[aria-disabled="true"] { color: var(--ink-3); cursor: default; background-size: 0 0; }
.foot__top { align-items: start; }
.foot__news { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 40px; align-items: center; margin-top: 40px; padding: 22px 0; border-top: 1px solid var(--line); }
.foot__news > p { font: italic 400 clamp(18px, 1.5vw, 21px)/1.45 var(--serif); color: var(--rasp); }
.news { display: flex; flex-wrap: wrap; gap: 10px; }
.news input { flex: 1 1 220px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--alabaster); font-size: 15px; color: var(--char); }
.news input:focus { outline: none; border-color: var(--burg); }
.news__note { flex-basis: 100%; font-size: 13px; color: var(--ink-3); }
.foot__base { align-items: center; }
@media (max-width: 860px) { .foot__cols { grid-template-columns: 1fr 1fr; } .foot__news { grid-template-columns: 1fr; } }
.foot__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .foot__top { grid-template-columns: 1fr; } }

/* ============================================================ a burgundy section followed by the closing panel
   Two dark blocks touching read as one muddy mass. After a burgundy section the closing panel
   stands off it with space and turns to paper: Sand Gray, Black Raspberry type. */
.sec--wine + .close { padding-top: clamp(56px, 7vw, 112px); }
.sec--wine + .close .close__panel { background: var(--sand); color: var(--ink-2); border: 1px solid var(--line); --t-line: #65081F; --t-paper: var(--sand); --t-mark: #D4AF37; }
.sec--wine + .close .close__panel h2 { color: var(--rasp); }
.sec--wine + .close .close__panel h2 em { color: var(--burg); }
.sec--wine + .close .close__panel .in .t-hl, .sec--wine + .close .close__panel h2.in .t-hl { color: #451425; }
.sec--wine + .close .close__sym { filter: brightness(0); opacity: .05; }
.sec--wine + .close .btn--light { background: #65081F; border-color: #65081F; color: #FDFBF7; }
.sec--wine + .close .btn--light::before { background: #451425; }
@media (hover: hover) and (pointer: fine) { .sec--wine + .close .btn--light:hover { color: #FDFBF7; } }

/* ============================================================ Our Projects */
.cases { display: grid; gap: clamp(28px, 4vw, 56px); }
.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line-2); opacity: 0; transform: translateY(18px); transition: opacity 800ms ease, transform 1000ms var(--ease); }
.case.in { opacity: 1; transform: none; }
.case__pic .slot { aspect-ratio: 16 / 11; }
.case__no { font: 600 11.5px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--burg); }
.case h3 { margin-top: 10px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; }
.case__sum { margin-top: 10px; }
.case__dl { margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.case__dl div { padding: 14px 18px 16px 0; border-bottom: 1px solid var(--line); }
.case__dl div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.case__dl dt { color: var(--rasp); }
.case__dl dd { margin: 6px 0 0; font-size: 14px; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .case__dl { grid-template-columns: 1fr; } .case__dl div:nth-child(even) { padding-left: 0; border-left: 0; } }

.xexp-head, .xexp-row { display: grid; grid-template-columns: 2fr 3fr 3fr 3fr; gap: 18px; }
.xexp-head { margin-top: clamp(32px, 4vw, 56px); padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.xexp-row { padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: opacity 700ms ease, transform 900ms var(--ease); }
.xexp-row.in { opacity: 1; transform: none; }
.xexp-row p { font-size: 14px; }
.sec--wine .todo { border-color: rgb(253 251 247 / .35); color: rgb(253 251 247 / .7); }
@media (max-width: 860px) { .xexp-head { display: none; } .xexp-row { grid-template-columns: 1fr; gap: 4px; } }

/* ============================================================ Our Views */
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cat { padding: 22px 24px 26px; border-radius: var(--r); background: var(--sand); opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 900ms var(--ease), box-shadow 500ms ease; }
.cat.in { opacity: 1; transform: none; }
.cat i { font: italic 400 18px/1 var(--serif); color: var(--gold); }
.cat h3 { margin-top: 14px; font-size: clamp(21px, 2vw, 26px); line-height: 1.2; }
.cat p { margin-top: 10px; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .cat.settled:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -32px rgb(69 20 37 / .5); } }
@media (max-width: 960px) { .cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cats { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 40px); }
.chip { min-height: 40px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; font: 500 13.5px/1.2 var(--sans); color: var(--rasp); transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease; }
.chip:hover { border-color: var(--rasp); }
.chip.is-on { background: #65081F; border-color: #65081F; color: #FDFBF7; }
.arts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2.4vw, 32px); }
.art { position: relative; opacity: 0; transform: translateY(16px); transition: opacity 700ms ease, transform 900ms var(--ease); }
.art.in { opacity: 1; transform: none; }
.art.is-hidden { display: none; }
.art__cat { margin-top: 16px; font: 600 11px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--burg); }
.art h3 { margin-top: 8px; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.25; transition: color 300ms ease; }
.art__dek { margin-top: 8px; font: italic 400 17px/1.45 var(--serif); color: var(--char); }
.art__meta { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.art__soon { display: inline-block; margin-top: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 11px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) { .art.settled:hover h3 { color: var(--burg); } }
@media (max-width: 960px) { .arts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .arts { grid-template-columns: 1fr; } }
.arts__empty { margin-top: 20px; font-style: italic; color: var(--ink-3); }
.news--panel { justify-content: center; max-width: 560px; margin: 30px auto 0; }
.news--panel input { background: rgb(253 251 247 / .08); border-color: rgb(253 251 247 / .3); color: #FDFBF7; }
.news--panel input::placeholder { color: rgb(253 251 247 / .6); }
.news--panel .news__note { color: rgb(253 251 247 / .7); text-align: center; }
@media (prefers-reduced-motion: reduce) { .case, .xexp-row, .cat, .art { opacity: 1 !important; transform: none !important; } }

/* ============================================================ theme switch */
.theme-tog { display: inline-flex; white-space: nowrap; align-items: center; gap: 8px; min-height: 34px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; font: 600 11.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--rasp); transition: border-color 250ms ease, background-color 250ms ease; }
.theme-tog:hover { border-color: var(--rasp); }
.theme-tog i { position: relative; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; overflow: hidden; }
.theme-tog i::after { content: ""; position: absolute; inset: 0 0 0 50%; background: currentColor; }
.mast__right { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
@media (max-width: 760px) {
  .mast__right { justify-content: center; gap: 12px; }
  .theme-tog { white-space: nowrap; padding: 6px 10px; min-height: 30px; font-size: 10.5px; }
}
@media (max-width: 480px) { .theme-tog span { display: none; } .theme-tog { width: 34px; justify-content: center; padding: 0; } }

/* ============================================================ dark mode
   Palette 2 of the brand guidelines: an Obsidian-to-Plum ground, Pearl White type, Rose Metallic
   italics, Champagne Gold marks, Black Raspberry and Dark Burgundy for panels and buttons.
   The editorial layout and every motion stay exactly as they are. */
:root[data-theme="dark"] {
  --alabaster: #1A0F14; --sand: #26161D; --rasp: #F7F4F5; --char: #E6DCDF; --burg: #E8C5CB;
  --ink: var(--char); --ink-2: color-mix(in srgb, #E6DCDF 80%, #1A0F14); --ink-3: color-mix(in srgb, #E6DCDF 58%, #1A0F14);
  --line: rgb(247 244 245 / .13); --line-2: rgb(247 244 245 / .26);
  --t-line: #D4AF37; --t-paper: #1A0F14; --t-mark: rgb(212 175 55 / .3);
  color-scheme: dark;
}
[data-theme="dark"] img[src*="wordmark-wine"] { filter: brightness(0) invert(.96); }
[data-theme="dark"] .btn { background: #65081F; border-color: #65081F; color: #F7F4F5; }
[data-theme="dark"] .btn::before { background: #F7F4F5; }
[data-theme="dark"] .btn--line { background: transparent; border-color: rgb(247 244 245 / .4); color: #F7F4F5; }
@media (hover: hover) and (pointer: fine) { [data-theme="dark"] .btn:hover, [data-theme="dark"] .btn--line:hover { color: #1A0F14; } }
[data-theme="dark"] .btn--light { background: #F7F4F5; border-color: #F7F4F5; color: #451425; }
[data-theme="dark"] .btn--light::before { background: #D4AF37; }
[data-theme="dark"] .close__panel { background: #451425; color: rgb(247 244 245 / .82); border: 1px solid rgb(247 244 245 / .08); }
[data-theme="dark"] .close__panel h2 { color: #F7F4F5; }
[data-theme="dark"] .sec--wine { background: linear-gradient(135deg, #4f0a1d 0%, #3d0f1f 50%, #2d0e18 100%); }
[data-theme="dark"] .sec--wine + .close .close__panel { background: #26161D; border-color: rgb(247 244 245 / .1); }
[data-theme="dark"] .sec--wine + .close .close__panel h2 { color: #F7F4F5; }
[data-theme="dark"] .sec--wine + .close .close__panel h2 em { color: #E8C5CB; }
[data-theme="dark"] .sec--wine + .close .close__sym { filter: none; opacity: .06; }
[data-theme="dark"] .sec--wine + .close .btn--light { background: #F7F4F5; border-color: #F7F4F5; color: #451425; }
/* portraits arrive on white and are multiplied onto their tile, so the tile stays light */
[data-theme="dark"] .person__pic, [data-theme="dark"] .profile__pic, [data-theme="dark"] .pnext__pic, [data-theme="dark"] .bio__pic { background: #EDE6E2; }
[data-theme="dark"] .person__pic.imgr::before, [data-theme="dark"] .profile__pic.imgr::before, [data-theme="dark"] .pnext__pic.imgr::before { background: var(--alabaster); }
[data-theme="dark"] .frows .person__pic img, [data-theme="dark"] .xrow__pic img { filter: grayscale(1) contrast(1.03); }
[data-theme="dark"] .seal { background: #65081F; }
[data-theme="dark"] .chip.is-on { background: #E8C5CB; border-color: #E8C5CB; color: #1A0F14; }
[data-theme="dark"] .sys__tag, [data-theme="dark"] .state.is-sel .pick { color: #1A0F14; }
[data-theme="dark"] .mast { background: color-mix(in srgb, #1A0F14 92%, transparent); }
[data-theme="dark"] .mast.is-stuck { box-shadow: 0 10px 30px -20px rgb(0 0 0 / .8); }
[data-theme="dark"] .sub { box-shadow: 0 26px 50px -30px rgb(0 0 0 / .8); }
[data-theme="dark"] .state:hover, [data-theme="dark"] .cap.settled:hover, [data-theme="dark"] .cat.settled:hover { box-shadow: 0 24px 50px -30px rgb(0 0 0 / .8); }
[data-theme="dark"] .chart__box { box-shadow: none; }
[data-theme="dark"] dialog.talk::backdrop, [data-theme="dark"] dialog.bio::backdrop { background: rgb(0 0 0 / .6); }
[data-theme="dark"] .acts li:hover b, [data-theme="dark"] .pillars li:hover h3 { color: #1A0F14; }
[data-theme="dark"] .pillars li.in:hover { background: #E8C5CB; }
[data-theme="dark"] .pillars li:hover .pillars__q { color: #451425; }
[data-theme="dark"] .pillars li:hover p + p { color: #451425; }
[data-theme="dark"] .acts.in li:hover { background: #E8C5CB; }
/* the theme changes with a short crossfade of colours only */
html.theme-anim, html.theme-anim body, html.theme-anim * { transition: background-color 450ms ease, color 450ms ease, border-color 450ms ease !important; }

/* ---------------------------------------------------------------- client preview v1.3: all pages
   About: three qualities as words, review panel without the big figure, inline link in a lead */
.why--tri .why__no { font-size: clamp(44px, 4.4vw, 64px); font-style: italic; }
.why--tri p { margin-top: 18px; }
.review--plain { grid-template-columns: 1fr; }
.tlink--in { display: inline; padding: 0; font: inherit; color: inherit; background-size: 100% 1px; }
.sec--wine .tlink--in { color: inherit; }
.tlink--back::before { content: "←"; }
.tlink--light { margin-left: 18px; color: var(--alabaster); }
.anchor { display: block; position: relative; top: -120px; height: 0; }
ul.core { display: grid; gap: 9px; margin-top: 12px; }
.statement--sm { margin-top: clamp(36px, 4vw, 56px); font-size: clamp(22px, 2.4vw, 32px); }
.facts--txt dd { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.35; }
.slot--45 { aspect-ratio: 4 / 5; }

/* filters: one or more facets of chips plus a live count */
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px clamp(24px, 3vw, 44px); margin: clamp(24px, 3vw, 40px) 0 clamp(20px, 2.4vw, 32px); }
.facet .kicker { margin-bottom: 10px; }
.filters .chips { margin: 0; }
.chip sup { margin-left: 4px; font-size: 10.5px; vertical-align: 3px; opacity: .7; }
.filters__n { margin-left: auto; font: italic 400 17px/1 var(--serif); color: var(--ink-3); }
.filters__n b { font: 400 26px/1 var(--serif); font-style: normal; color: var(--rasp); }
.xrow.is-hidden, .arow.is-hidden { display: none; }
a.chip { display: inline-flex; align-items: center; text-decoration: none; }

/* Our Projects: catalogue rows that open into a full dossier */
.prows { border-top: 1px solid var(--rasp); }
.prow__head { grid-template-columns: 150px minmax(0, 1fr) minmax(180px, 240px) auto !important; }
.prow__time { font: italic 400 16px/1.3 var(--serif); color: var(--gold); }
.prow__time .todo, .prow__by .todo { font-size: 12px; }
.prow__by { display: grid; gap: 3px; padding-left: 20px; border-left: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); }
.prow__by b { font: 600 13.5px/1.35 var(--sans); color: var(--burg); }
.prow__live { justify-self: start; margin-top: 4px; padding: 2px 9px; border-radius: 999px; background: var(--gold); color: #2B2225; font: 600 10.5px/1.6 var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.prow .xrow__name { font-size: clamp(21px, 1.9vw, 26px); }
.prow__inner { padding-left: 0 !important; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr) !important; }
.dos__k { color: var(--burg); }
.dos__h { margin-top: 10px; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.16; text-wrap: balance; }
.dos__sapo { margin-top: 12px; font-size: 17px; color: var(--ink-2); max-width: 60ch; }
.dos__fig { margin: 26px 0 0; }
.dos__fig figcaption { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.dos__lead { margin-top: 28px; padding-left: 20px; border-left: 2px solid var(--gold); font: italic 400 clamp(19px, 1.7vw, 23px)/1.42 var(--serif); color: var(--rasp); max-width: 52ch; }
.dos__main section { margin-top: 26px; }
.dos__main section h4 { margin-bottom: 8px; color: var(--rasp); }
.dos__main section p { font-size: 15.5px; max-width: 64ch; }
.dos__steps { display: grid; gap: 14px; margin-top: 6px; }
.dos__steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.dos__steps i { font: italic 400 17px/1.3 var(--serif); color: var(--gold); }
.dos__steps b { font: 400 19px/1.3 var(--serif); color: var(--rasp); }
.dos__steps p { margin-top: 4px; }
.dos__note { margin-top: 16px; font: italic 400 16px/1.5 var(--serif); color: var(--ink-2); }
.dos__frame { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.dos__frame b { color: var(--rasp); }
.dos__side { display: grid; align-content: start; gap: 22px; }
.dos__by, .about__in, .byline { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.dos__av { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--rasp); color: var(--alabaster); font: 400 18px/1 var(--serif); letter-spacing: .02em; }
.dos__name { margin-top: 4px; font: 400 21px/1.25 var(--serif); color: var(--rasp); }
.dos__sub { margin-top: 3px; font-size: 13.5px; color: var(--ink-2); }
.dos__ext { margin-left: 6px; font: 600 12px/1 var(--sans); color: var(--burg); text-decoration: none; white-space: nowrap; }
.dos__ext:hover { text-decoration: underline; }
.dos__facts { margin: 0; border-top: 1px solid var(--rasp); }
.dos__facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.dos__facts dd { margin: 0; font-size: 14.5px; color: var(--ink); }
.dos__team { padding: 20px; border-radius: var(--r); background: var(--sand); }
.dos__team p:not(.kicker):not(.dos__name):not(.dos__sub) { margin-top: 10px; font-size: 14.5px; }
.dos__team .tlink { margin-top: 10px; }
.dos__go { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.xrow__close { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: none; cursor: pointer; font: 600 13px/1 var(--sans); color: var(--rasp); transition: border-color 250ms ease, background-color 250ms ease, color 250ms ease; }
.xrow__close:hover { background: var(--rasp); border-color: var(--rasp); color: var(--alabaster); }
@media (max-width: 1000px) { .prow__head { grid-template-columns: 120px minmax(0, 1fr) auto !important; } .prow__by { display: none; } .prow__inner { grid-template-columns: 1fr !important; } }
@media (max-width: 760px) { .prow__head { grid-template-columns: minmax(0, 1fr) auto !important; } .prow__time { grid-column: 1 / -1; } .filters__n { margin-left: 0; } }

/* Our Projects: completed projects, one at a time */
.feat { margin-top: clamp(28px, 3vw, 44px); }
.feat__slides { display: grid; }
.feat__slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity 600ms ease, transform 800ms var(--ease), visibility 0s 600ms; }
.feat__slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 700ms ease 120ms, transform 900ms var(--ease) 120ms, visibility 0s; }
.feat__txt h3 { margin-top: 12px; font-size: clamp(28px, 3vw, 42px); line-height: 1.15; }
.feat__txt p:not(.kicker) { margin-top: 14px; max-width: 46ch; }
.feat__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.feat__meta span + span { color: var(--gold); }
.feat__txt .tlink { margin-top: 18px; }
.feat__nav { display: flex; align-items: center; gap: 12px; margin-top: clamp(24px, 3vw, 40px); padding-top: 18px; border-top: 1px solid rgb(253 251 247 / .2); }
.feat__n { margin-right: auto; font: italic 400 18px/1 var(--serif); color: var(--gold); }
.feat__btn { padding: 10px 16px; border: 1px solid rgb(253 251 247 / .35); border-radius: 999px; background: none; cursor: pointer; font: 600 13px/1 var(--sans); color: var(--alabaster); transition: background-color 250ms ease, color 250ms ease; }
.feat__btn:hover { background: var(--alabaster); color: #451425; }
@media (max-width: 860px) { .feat__slide { grid-template-columns: 1fr; } .feat__nav { flex-wrap: wrap; } .feat__n { flex-basis: 100%; } }

/* Our Views: five sections as rows */
.vcats { margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--rasp); }
.vcats li { border-bottom: 1px solid var(--line-2); opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 900ms var(--ease); }
.vcats li.in { opacity: 1; transform: none; }
.vcat { position: relative; isolation: isolate; display: grid; grid-template-columns: 48px minmax(0, 4fr) minmax(0, 4fr) minmax(0, 3fr) 28px; gap: 8px clamp(16px, 2.4vw, 36px); align-items: baseline; padding: clamp(20px, 2.2vw, 28px) 12px; color: inherit; text-decoration: none; }
.vcat::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r); background: var(--sand); transform: scaleX(0); transform-origin: 0 50%; transition: transform 600ms var(--ease-io); }
.vcat i { font: italic 400 20px/1 var(--serif); color: var(--gold); }
.vcat__main { display: grid; gap: 6px; }
.vcat__t { font: 400 clamp(23px, 2.2vw, 30px)/1.2 var(--serif); color: var(--rasp); transition: transform 500ms var(--ease), color 300ms ease; }
.vcat__d { font-size: 15px; color: var(--ink-2); }
.vcat__q { display: grid; gap: 6px; font: italic 400 17px/1.4 var(--serif); color: var(--ink); }
.vcat__q .kicker { font-style: normal; }
.vcat__st { display: grid; gap: 4px; font-size: 13.5px; color: var(--ink-2); }
.vcat__st b { font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--burg); }
.arow__go { font-size: 18px; color: var(--burg); transition: transform 400ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .vcat:hover::before { transform: none; } .vcat:hover .vcat__t { transform: translateX(6px); color: var(--burg); } .vcat:hover .arow__go, .arow a:hover .arow__go { transform: translateX(6px); } }
@media (max-width: 960px) { .vcat { grid-template-columns: 40px minmax(0, 1fr) 24px; } .vcat__q, .vcat__st { grid-column: 2; } .vcat .arow__go { grid-column: 3; grid-row: 1; } }

/* Our Views: article rows */
.arows { border-top: 1px solid var(--rasp); }
.arow { border-bottom: 1px solid var(--line-2); opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 900ms var(--ease); }
.arow.in { opacity: 1; transform: none; }
.arow a { position: relative; isolation: isolate; display: grid; grid-template-columns: 48px minmax(0, 7fr) minmax(0, 4fr) 28px; gap: 8px clamp(16px, 2.4vw, 36px); align-items: baseline; padding: clamp(20px, 2.2vw, 28px) 12px; color: inherit; text-decoration: none; }
.arow a:not(:has(.arow__no)) { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr) 28px; }
.arow a::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r); background: var(--sand); transform: scaleX(0); transform-origin: 0 50%; transition: transform 600ms var(--ease-io); }
.arow__no { font: italic 400 20px/1 var(--serif); color: var(--gold); }
.arow__main { display: grid; gap: 8px; }
.arow__new { justify-self: start; padding: 2px 9px; border-radius: 999px; background: var(--gold); color: #2B2225; font: 600 10.5px/1.6 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.arow__t { font: 400 clamp(21px, 2vw, 27px)/1.25 var(--serif); color: var(--rasp); text-wrap: balance; transition: transform 500ms var(--ease), color 300ms ease; }
.arow__dek { font: italic 400 16px/1.45 var(--serif); color: var(--ink-2); }
.arow__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--ink-2); }
.tag { padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.arow__cat { flex-basis: 100%; font: 600 11.5px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--burg); }
.arow__by { font-weight: 600; color: var(--rasp); }
.arow__by + .arow__date::before { content: "· "; }
@media (hover: hover) and (pointer: fine) { .arow a:hover::before { transform: none; } .arow a:hover .arow__t { transform: translateX(6px); color: var(--burg); } }
@media (max-width: 860px) { .arow a, .arow a:not(:has(.arow__no)) { grid-template-columns: minmax(0, 1fr) 24px; } .arow__no { grid-column: 1; } .arow__meta { grid-column: 1; } .arow a .arow__go { grid-column: 2; grid-row: 1; } }

/* Our Views: Tamchou News on the wine band */
.nitems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 3vw, 44px); }
.nitem { padding: clamp(20px, 2.2vw, 28px); border: 1px solid rgb(253 251 247 / .2); border-radius: var(--r); opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 900ms var(--ease), border-color 300ms ease; }
.nitem.in { opacity: 1; transform: none; }
.nitem:hover { border-color: var(--gold); }
.nitem__top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.nitem__top .kicker { color: var(--gold); }
.nitem h3 { margin-top: 14px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.3; color: var(--alabaster); }
.nitem p:not(.nitem__top):not(.nitem__src) { margin-top: 10px; font-size: 15px; }
.nitem__src { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgb(253 251 247 / .15); font-size: 12.5px; opacity: .8; }
.vexp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; gap: 14px clamp(24px, 3vw, 48px); align-items: baseline; margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid rgb(253 251 247 / .25); }
.vexp h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; color: var(--alabaster); }
.vexp p { font-size: 15.5px; }
@media (max-width: 860px) { .nitems { grid-template-columns: 1fr; } .vexp { grid-template-columns: 1fr; } }

/* category pages: related links and the empty state */
.rel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.rel .kicker { margin-bottom: 12px; }
.rel__list { border-top: 1px solid var(--rasp); }
.rel__list a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line-2); font: 400 clamp(18px, 1.6vw, 22px)/1.3 var(--serif); color: var(--rasp); text-decoration: none; transition: color 300ms ease, padding 400ms var(--ease); }
.rel__list a:hover { color: var(--burg); padding-left: 10px; }
.rel__list--cards a { display: grid; gap: 6px; }
.rel__by { font: 600 11.5px/1.5 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--burg); }
.rel__go { font: 600 13px/1 var(--sans); color: var(--ink-2); }
.rel__none { padding: 16px 4px; font-style: italic; color: var(--ink-3); }
.rel + p, .rel div > p:last-child { margin-top: 14px; }
.rel__more { margin-top: clamp(32px, 4vw, 56px); }
.rel__more .kicker { margin-bottom: 12px; }
.rel__more + p { margin-top: 28px; }
.empty { max-width: 640px; padding: clamp(24px, 3vw, 40px); border: 1px dashed var(--line-2); border-radius: var(--r); }
.empty__t { margin-top: 10px; font: 400 clamp(22px, 2.2vw, 30px)/1.25 var(--serif); color: var(--rasp); }
.empty p:not(.kicker):not(.empty__t) { margin-top: 12px; }
.empty .tlink { margin-top: 16px; }
@media (max-width: 760px) { .rel { grid-template-columns: 1fr; } }

/* article page */
.post__h { max-width: 18em; font-size: clamp(38px, 5vw, 76px); }
.post__dek { max-width: 46em; margin-top: clamp(22px, 2.4vw, 32px); }
.byline { margin-top: 28px; }
.byline__n { margin-top: 4px; font: 400 21px/1.25 var(--serif); color: var(--rasp); }
.byline__n a:first-child { color: inherit; text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; }
.post__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(56px, 7vw, 104px); }
.art-fig { position: sticky; top: 120px; margin: 0; }
.art-fig__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.art-fig__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-fig figcaption { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); }
.prose { grid-column: 2; }
.post__body > .art-fig { grid-row: 1 / span 2; }
.prose p { font-size: 17.5px; line-height: 1.75; max-width: 66ch; }
.prose p + p, .prose .gaps + p, .prose .pull + p { margin-top: 18px; }
.prose__sub { font: italic 400 clamp(24px, 2.4vw, 32px)/1.3 var(--serif) !important; color: var(--rasp); margin-bottom: 22px; }
.gaps { display: grid; gap: 0; margin: 26px 0; border-top: 1px solid var(--rasp); }
.gaps li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.gaps i { grid-row: span 2; font: italic 400 18px/1.3 var(--serif); color: var(--gold); }
.gaps b { font: 400 21px/1.3 var(--serif); color: var(--rasp); }
.gaps p { margin: 0 !important; font-size: 15.5px !important; line-height: 1.55 !important; }
.prose .pull { margin: 34px 0; }
.prose .pull p { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; }
.about { grid-column: 2; margin-top: clamp(28px, 3vw, 44px); padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r); background: var(--sand); }
.about h2 { margin-top: 4px; font-size: clamp(24px, 2.2vw, 30px); }
.about p:not(.kicker):not(.dos__sub) { margin-top: 10px; font-size: 15px; }
.about__go { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pnav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: clamp(36px, 4vw, 56px); padding-top: 20px; border-top: 1px solid var(--line-2); }
@media (max-width: 860px) { .post__body { grid-template-columns: 1fr; } .art-fig { position: static; max-width: 480px; } .prose, .about { grid-column: 1; } .post__body > .art-fig { grid-row: auto; } }

/* Contact Us page */
.cform { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.cform__box { padding: clamp(22px, 3vw, 44px); border: 1px solid var(--line-2); border-radius: var(--r); background: var(--alabaster); }
.form__legal { flex-basis: 100%; font-size: 13px; color: var(--ink-3); }
.form__legal a { color: var(--rasp); }
.cinfo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--rasp); }
.cinfo div { padding: 18px 16px 20px 0; }
.cinfo div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.cinfo dd { margin: 10px 0 0; font-size: 15px; }
@media (max-width: 960px) { .cform { grid-template-columns: 1fr; } .cinfo { grid-template-columns: 1fr 1fr; } .cinfo div + div { padding-left: 0; border-left: 0; } .cinfo div { border-bottom: 1px solid var(--line); padding-right: 12px; } }

@media (prefers-reduced-motion: reduce) { .vcats li, .arow, .nitem { opacity: 1 !important; transform: none !important; } .feat__slide { transition: none; } }

/* dark theme for the new parts */
[data-theme="dark"] .dos__team, [data-theme="dark"] .about { background: #26161D; }
[data-theme="dark"] .dos__av { background: #E8C5CB; color: #1A0F14; }
[data-theme="dark"] .cform__box { background: #26161D; }
[data-theme="dark"] .vcat::before, [data-theme="dark"] .arow a::before { background: #26161D; }
/* artifact placeholders inside running text keep the type size and only get marked */
.ph { padding: 0 .12em; border-radius: 3px; background: rgb(212 175 55 / .16); box-shadow: inset 0 -1px 0 rgb(212 175 55 / .8); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sec--wine .ph, .close__panel .ph { background: rgb(212 175 55 / .2); }
figcaption .ph { font: inherit; letter-spacing: normal; text-transform: none; color: inherit; white-space: normal; }
.art-fig figcaption { display: block; }
.art-fig figcaption > span:first-child { margin-right: 10px; }
.rel__t { display: block; }
.feat__slides { overflow-x: clip; overflow-clip-margin: 8px; }

/* Our Team: the core-competence column has one width on every row, so the lists line up */
.xrow__head { grid-template-columns: 76px minmax(0, 1fr) 300px auto; }
.xrow__core { min-width: 0; }
@media (max-width: 1000px) { .xrow__head { grid-template-columns: 76px minmax(0, 1fr) auto; } }
@media (max-width: 760px) { .xrow__head { grid-template-columns: 56px minmax(0, 1fr) auto; } }

/* theme switch in the pinned menu row */
.theme-tog--pin { position: absolute; right: var(--gutter); top: 50%; width: 34px; padding: 0; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(-50%); transition: opacity 350ms ease, visibility 0s 350ms, border-color 250ms ease; }
.theme-tog--pin span { display: none; }
.mast.is-stuck .theme-tog--pin { opacity: 1; visibility: visible; transition: opacity 350ms ease, border-color 250ms ease; }
@media (max-width: 1060px) { .theme-tog--pin { display: none; } }
.mast__nav .theme-tog--pin { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0; border: 1px solid var(--line-2); border-radius: 999px; background: none; }
.mast__nav .theme-tog--pin:hover { border-color: var(--rasp); }
@media (max-width: 1060px) { .mast__nav .theme-tog--pin { display: none; } }

/* keeps a short lead word on the same line as the word it belongs to */
.nw { white-space: nowrap; }

/* charts stay on light paper in both themes: the palette is pinned inside the box, so the dark theme cannot remap it */
.chart__box, [data-theme="dark"] .chart__box, [data-theme="dark"] .sec--wine .chart__box {
  --alabaster: #FDFBF7; --sand: #F3EFE9; --rasp: #451425; --burg: #65081F; --gold: #D4AF37; --char: #2B2225; --ink: #2B2225;
  --ink-2: color-mix(in srgb, #2B2225 78%, #FDFBF7); --ink-3: color-mix(in srgb, #2B2225 58%, #FDFBF7);
  --line: rgb(43 34 37 / .13); --line-2: rgb(43 34 37 / .26);
  background: #FDFBF7; color: #2B2225; color-scheme: light;
}

/* ================================================================ v2.2 (29/10)
   1. Heroes smaller, so the whole title, lede and buttons are on screen when a page opens */
.hero { padding-top: clamp(32px, 4.4vw, 68px); }
.hero--page .hero__h { font-size: clamp(34px, 3.9vw, 60px); line-height: 1.24; }
.hero__h { margin-top: 16px; }
.hero__cta { margin-top: 24px; }
.hero--page .lede { font-size: clamp(16.5px, 1.2vw, 18.5px); line-height: 1.65; }
.phero { padding-top: clamp(32px, 4vw, 64px); }
.phero__name { font-size: clamp(40px, 4.4vw, 66px); }
.phero .lead { font-size: clamp(17px, 1.35vw, 20px); }
.post__h { font-size: clamp(32px, 3.6vw, 56px) !important; }

/* 2. Section numbers carry the Tamchou symbol instead of "§" */
.shead__no { display: inline-flex; align-items: center; gap: 10px; font-style: normal; font-size: clamp(16px, 1.3vw, 19px); letter-spacing: .04em; }
.shead__sym { flex: none; width: 1.35em; height: 1.25em; background: currentColor; -webkit-mask: url(brand/symbol-wine.svg) center / contain no-repeat; mask: url(brand/symbol-wine.svg) center / contain no-repeat; transition: transform 900ms var(--ease); }
.shead.in .shead__sym { animation: sym-in 1100ms var(--ease) both; }
@keyframes sym-in { from { transform: rotate(-90deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .shead.in .shead__sym { animation: none; } }

/* 3. Our Solutions mega menu */
.sub--mega { min-width: 0; width: min(880px, calc(100vw - 2 * var(--gutter))); padding: 26px 28px 22px; }
.mega { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.mega__col { display: grid; align-content: start; gap: 8px; }
.mast__nav .sub .mega__h { padding: 0; font: 400 21px/1.25 var(--serif); color: var(--rasp); white-space: normal; opacity: 1; transform: none; }
.mega__sub { margin-top: 6px; font: 600 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.mega__list { display: grid; gap: 2px; }
.mast__nav .sub .mega__list a { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: baseline; padding: 8px 10px; white-space: normal; font: 400 13.5px/1.45 var(--sans); color: var(--ink-2); }
.mega__list a b { display: block; font: 400 16px/1.3 var(--serif); color: var(--rasp); }
.mega__list a i { font: italic 400 14px/1 var(--serif); color: var(--gold); }
.mast__nav .sub .mega__more { padding: 8px 0 0; font: 600 13px/1.4 var(--sans); color: var(--burg); white-space: normal; }
.mast__nav .sub .mega__more::before, .mast__nav .sub .mega__h::before { display: none; }
@media (max-width: 860px) { .mega { grid-template-columns: 1fr; } .sub--mega { width: calc(100vw - 2 * var(--gutter)); max-height: 70vh; overflow: auto; } }

/* 4. Home: a full picture, the title and one line; the promise over a second picture; two doors; three reels */
.hx { position: relative; isolation: isolate; display: grid; align-items: end; min-height: min(calc(100svh - 150px), 820px); margin-top: 0; overflow: hidden; color: #FDFBF7; }
.hx__media { position: absolute; inset: 0; z-index: -2; margin: 0; background: #2B2225; }
.hx__media img, .hx__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx__media img { opacity: 0; transform: scale(1.08); transition: opacity 1400ms ease, transform 2600ms var(--ease); }
.hx.is-loaded .hx__media img { opacity: 1; transform: none; }
.hx__media video { opacity: 0; transition: opacity 900ms ease; } .hx__media.has-film video { opacity: 1; }
.hx::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(26 15 20 / .15) 0%, rgb(26 15 20 / .05) 35%, rgb(26 15 20 / .72) 100%); }
.hx__in { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px); }
.hx .kicker { color: rgb(253 251 247 / .82); }
.hx__h { max-width: 15em; margin-top: 16px; font-size: clamp(38px, 5vw, 76px); line-height: 1.2; letter-spacing: -.022em; color: #FDFBF7; text-wrap: balance; --t-line: #D4AF37; --t-paper: #2B2225; --t-mark: rgb(212 175 55 / .55); }
.hx__h em { font-style: italic; color: #F3E3C0; }
.hx__lede { max-width: 38em; margin-top: 20px; font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.6; color: rgb(253 251 247 / .88); }
.hx .hero__cta { margin-top: 26px; }
.hx__note { margin-top: 26px; font: italic 400 13px/1 var(--serif); color: rgb(253 251 247 / .6); }
.tlink--light { color: #FDFBF7 !important; }
@media (prefers-reduced-motion: reduce) { .hx__media img { opacity: 1; transform: none; transition: none; } }

.band { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(360px, 52vw, 640px); overflow: hidden; }
.band__pic { position: absolute; inset: 0; z-index: -2; }
.band__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(26 15 20 / .48); }
.band__line { max-width: 20em; margin-inline: auto; text-align: center; font: 400 clamp(28px, 3.6vw, 54px)/1.28 var(--serif); letter-spacing: -.015em; color: #FDFBF7; text-wrap: balance; }
.band__line em { color: #F3E3C0; }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.door { display: grid; color: inherit; text-decoration: none; opacity: 0; transform: translateY(18px); transition: opacity 800ms ease, transform 900ms var(--ease); }
.door.in { opacity: 1; transform: none; }
.door:nth-child(2) { transition-delay: 120ms; }
.door__pic { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.door__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1600ms var(--ease); }
.door__txt { display: grid; gap: 10px; padding-top: 22px; }
.door__no { font: italic 400 18px/1 var(--serif); color: var(--gold); }
.door__h { font: 400 clamp(26px, 2.6vw, 38px)/1.2 var(--serif); color: var(--rasp); transition: color 300ms ease; }
.door__p { max-width: 34em; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.door .tlink { justify-self: start; margin-top: 6px; }
@media (hover: hover) and (pointer: fine) { .door:hover .door__pic img { transform: scale(1.04); } .door:hover .door__h { color: var(--burg); } }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }

.reels__go { margin: -12px 0 clamp(20px, 2.4vw, 32px); }
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.reel { margin: 0; opacity: 0; transform: translateY(18px); transition: opacity 800ms ease, transform 900ms var(--ease); }
.reel.in { opacity: 1; transform: none; }
.reel:nth-child(2) { transition-delay: 120ms; } .reel:nth-child(3) { transition-delay: 240ms; }
.reel__pic { position: relative; aspect-ratio: 9 / 14; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.reel__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1600ms var(--ease); }
.reel figcaption { display: flex; gap: 12px; margin-top: 14px; font: 400 clamp(18px, 1.6vw, 22px)/1.3 var(--serif); font-style: normal; color: var(--rasp); }
.reel figcaption span { font: italic 400 15px/1.5 var(--serif); letter-spacing: 0; text-transform: none; color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .reel:hover .reel__pic img { transform: scale(1.04); } }
.reels__note { margin-top: 20px; font: italic 400 14px/1.5 var(--serif); color: var(--ink-3); }
@media (max-width: 760px) { .reels { grid-template-columns: 1fr; } .reel__pic { aspect-ratio: 4 / 5; } }
@media (prefers-reduced-motion: reduce) { .door, .reel { opacity: 1 !important; transform: none !important; } }
.close__sub { max-width: 40em; margin: 18px auto 0; font-size: 16.5px; line-height: 1.6; }
.close__sub a { color: inherit; }

/* 5. Our Team: section names, capability groups with their projects */
.team__sub { margin-bottom: 18px; font: 400 clamp(26px, 2.6vw, 36px)/1.2 var(--serif); color: var(--rasp); }
.xrow__line { margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.cap__head { grid-template-columns: 76px minmax(0, 1fr) auto !important; }
.cap__no { font: italic 400 clamp(26px, 2.4vw, 34px)/1 var(--serif); color: var(--gold); }
.cap__inner { grid-template-columns: 1fr !important; padding-left: 98px; }
.caprows { border-top: 1px solid var(--line); }
.caprow { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto 24px; gap: 6px 20px; align-items: baseline; padding: 14px 4px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: background-color 300ms ease, padding 400ms var(--ease); }
.caprow:hover { background: var(--sand); padding-left: 12px; }
.caprow time { font: italic 400 15px/1.3 var(--serif); color: var(--gold); }
.caprow__main { display: grid; gap: 3px; }
.caprow__main b { font: 400 18px/1.3 var(--serif); color: var(--rasp); }
.caprow__main small { font-size: 13px; color: var(--ink-2); }
.caprow__main em { font: 600 10.5px/1.5 var(--sans); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--burg); }
.cap__more { margin-top: 16px; }
@media (max-width: 760px) { .cap__head { grid-template-columns: 44px minmax(0, 1fr) auto !important; } .cap__inner { padding-left: 0; } .caprow { grid-template-columns: 1fr 24px; } .caprow time, .caprow .prow__live { grid-column: 1; } }

/* 6. Profiles: the whole team at the end, so reading carries on */
.bcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-bottom: clamp(16px, 2vw, 24px); }
.bcard { position: relative; display: grid; align-content: start; gap: 6px; color: inherit; text-decoration: none; opacity: 0; transform: translateY(16px); transition: opacity 700ms ease, transform 900ms var(--ease); }
.bcard.in { opacity: 1; transform: none; }
.bcard__pic { display: block; aspect-ratio: 4 / 5; margin-bottom: 12px; border-radius: var(--r); overflow: hidden; }
.bcard__pic img { width: 100%; height: 100%; object-fit: cover; }
.bcard__no { font: italic 400 15px/1 var(--serif); color: var(--gold); }
.bcard__name { font: 400 clamp(24px, 2.2vw, 30px)/1.2 var(--serif); color: var(--rasp); transition: color 300ms ease; }
.bcard__role { font-size: 13.5px; color: var(--burg); font-weight: 600; }
.bcard__lead { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.bcard .tlink { justify-self: start; margin-top: 6px; }
.bcard__here { position: absolute; top: 14px; left: 14px; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: #2B2225; font: 600 10.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.bcard.is-here .bcard__pic { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { a.bcard:hover .bcard__name { color: var(--burg); } }
@media (max-width: 860px) { .bcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .bcards { grid-template-columns: 1fr; } }
.sec--tight { padding-top: clamp(40px, 5vw, 72px); }
.proj-list { margin-top: 16px; border-top: 1px solid var(--line); }
.proj-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.proj-list h3 { font-size: 19px !important; line-height: 1.3; }
.proj-list p { margin-top: 4px !important; font-size: 14.5px; color: var(--ink-2); }
.psec__go { margin-top: 18px !important; }
@media (prefers-reduced-motion: reduce) { .bcard { opacity: 1 !important; transform: none !important; } }

/* 7. Our Projects and Our Views: one bar of categories, scrolls sideways on narrow screens */
.chips--bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips--bar::-webkit-scrollbar { display: none; }
.chips--bar .chip { flex: none; }
.filters { align-items: center; }
.index--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 8. Contact Us: its own call-to-action page, the form in the first screen */
.cta-page { padding-block: clamp(32px, 4.4vw, 68px) clamp(56px, 7vw, 112px); }
.cta-page__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.cta-page__h { font-size: clamp(32px, 3.4vw, 52px) !important; line-height: 1.24; }
.cta-page__txt .lede { margin-top: 22px; }
.cta-page__txt .body { margin-top: 14px; color: var(--ink-2); }
.cta-page__form { padding: clamp(24px, 3vw, 44px); border: 1px solid var(--line-2); border-top: 3px solid var(--gold); border-radius: var(--r); background: var(--alabaster); box-shadow: 0 30px 60px -48px rgb(69 20 37 / .45); }
.cta-page__fh { margin-top: 10px; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; }
.cta-page__fl { margin: 10px 0 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.cinfo--stack { grid-template-columns: 1fr; margin-top: 28px; }
.cinfo--stack div + div { padding-left: 0; border-left: 0; }
.cinfo--stack div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cinfo--stack dd { margin: 0; }
.cinfo a { color: var(--rasp); }
@media (max-width: 960px) { .cta-page__grid { grid-template-columns: 1fr; } }
[data-theme="dark"] .cta-page__form { background: #26161D; }
[data-theme="dark"] .hx__media { background: #1A0F14; }
.hx::after { background: linear-gradient(90deg, rgb(26 15 20 / .72) 0%, rgb(26 15 20 / .42) 45%, rgb(26 15 20 / .08) 80%), linear-gradient(180deg, rgb(26 15 20 / 0) 45%, rgb(26 15 20 / .55) 100%); }
@media (max-width: 760px) { .hx::after { background: linear-gradient(180deg, rgb(26 15 20 / .25) 0%, rgb(26 15 20 / .8) 70%); } }
/* profile opening: a narrower portrait and a wider text column, so name, lede, facts and buttons fit the first screen */
.phero__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.phero .profile__pic { max-height: calc(100svh - 230px); }
.phero__role { font-size: clamp(18px, 1.5vw, 22px); }
.phero .lead { margin-top: 18px; }
.phero .pfacts { margin-top: 22px; }
.phero .hero__cta { margin-top: 22px; }
/* contact: a compact form, the send button inside the first screen */
.cta-page .form { gap: 12px 22px; margin-top: 0; }
.cta-page .field input { min-height: 40px; padding: 8px 0; }
.cta-page .field textarea { min-height: 72px; height: 72px; }
.cta-page__form { padding: clamp(20px, 2.4vw, 34px); }
.cta-page__fl { margin: 8px 0 16px; font-size: 14.5px; }
.cta-page .form__foot { margin-top: 4px; }
.cta-page__fh { margin-bottom: 16px; }
.hero--page + .sec--wine, .hero--page + .sec--sand-soft { margin-top: clamp(56px, 6vw, 96px); }
.team__sub + .team__intro { margin-top: 0; }

/* ============================================================ headline voices (v2.3)
   Founder's brief: one headline mixes heavy capitals, light italic, a coloured italic, a solid
   highlight block and a dashed underline, on top of the existing selection box and dragged word.
   .t-up   Plus Jakarta Sans 800 in capitals, a touch smaller so it sits with Libre Bodoni
   em      plain italic in the heading colour
   .t-c    italic in the accent: Dark Burgundy on paper, Champagne Gold on burgundy, photo and dark
   .t-hl   a solid block that wipes in, text turns to the paper colour once it lands
   .t-ul   dashed underline that fades in under the words */
:root { --t-acc: #65081F; --t-block: #65081F; --t-onblock: #FDFBF7; }
.sec--wine, .close__panel, :root[data-theme="dark"] { --t-acc: #D4AF37; --t-block: #D4AF37; --t-onblock: #451425; }
.sec--wine + .close .close__panel { --t-acc: #65081F; --t-block: #65081F; --t-onblock: #FDFBF7; }
:root[data-theme="dark"] .sec--wine + .close .close__panel { --t-acc: #D4AF37; --t-block: #D4AF37; --t-onblock: #451425; }
.hx__h { --t-acc: #D4AF37; --t-block: #D4AF37; --t-onblock: #2B2225; }

.t-up { font: 800 .8em/1 var(--sans); font-style: normal; text-transform: uppercase; letter-spacing: -.012em; color: inherit; }
h1 em, h2 em, .hx__h em { font-style: italic; font-weight: 400; color: inherit; }
h1 .t-c, h2 .t-c, .hx__h .t-c { color: var(--t-acc); }
.sec--wine + .close .close__panel h2 em { color: inherit; }
.sec--wine + .close .close__panel h2 .t-c { color: var(--t-acc); }

.t-hl, .sec--wine .t-hl, .close__panel .t-hl { --t-mark: var(--t-block); color: inherit; padding: .2em .16em .02em; margin-inline: .02em; border-radius: .06em;
  transition: background-size 800ms var(--ease-io) var(--od, 1000ms), color 260ms ease calc(var(--od, 1000ms) + 420ms); }
.in .t-hl, .sec--wine .in .t-hl, .close__panel .in .t-hl, .close__panel h2.in .t-hl, .sec--wine + .close .close__panel .in .t-hl { color: var(--t-onblock); }
.t-hl em, .t-hl .t-up, .t-hl .t-c { color: inherit; }
.t-hl .t-up { font-size: .8em; }

.t-ul { text-decoration: underline dashed; text-decoration-thickness: 2px; text-underline-offset: .2em; text-decoration-skip-ink: none;
  text-decoration-color: transparent; transition: text-decoration-color 600ms ease calc(var(--od, 1000ms) + 300ms); }
.in .t-ul { text-decoration-color: var(--t-acc); }
.t-ul .t-up { text-underline-offset: .26em; }

@media (prefers-reduced-motion: reduce) {
  .t-hl, .t-ul { transition: none !important; }
  .t-hl { background-size: 100% 100%; color: var(--t-onblock) !important; } .t-ul { text-decoration-color: var(--t-acc); }
}
/* capitals in Vietnamese stack marks higher (Ầ, Ừ), so the box and the block open further up */
.t-sel:has(> .t-up) .t-box { inset: -.3em -.16em -.1em; }
.t-hl:has(> .t-up) { padding-top: .28em; }
.t-ul { text-decoration-thickness: .06em; }
.close h2 em, [data-theme="dark"] .sec--wine + .close .close__panel h2 em { color: inherit; }
.close h2 .t-c, [data-theme="dark"] .sec--wine + .close .close__panel h2 .t-c { color: var(--t-acc); }
h1 .t-hl em, h2 .t-hl em, .hx__h .t-hl em, h1 .t-hl .t-c, h2 .t-hl .t-c { color: inherit; }
/* short page titles (a few words) take the large size and the hero centres on them */
.hero--page .hero__h.hero__h--xl { font-size: clamp(44px, 6.6vw, 108px); line-height: 1.12; }
.hero__grid:has(.hero__h--xl) { align-items: center; }
/* a highlight on capitals: the block takes the sans metrics so it hugs the letters instead of
   the taller Bodoni box, and it never splits across two lines */
.t-hl:has(> .t-up) { font: 800 .8em/1 var(--sans); text-transform: uppercase; letter-spacing: -.012em; padding: .2em .22em .1em; white-space: nowrap; vertical-align: .06em; }
.t-hl > .t-up { font-size: 1em; }
/* a selection box around capitals takes the sans metrics too: as an inline-block it was as tall as
   the Bodoni line (1.2em and more), so the frame climbed into the kicker above the headline */
.t-sel:has(> .t-up) { font: 800 .8em/1.12 var(--sans); text-transform: uppercase; letter-spacing: -.012em; vertical-align: .04em; }
.t-sel > .t-up { font-size: 1em; }
.t-sel:has(> .t-up) .t-box { inset: -.14em -.18em -.08em; }
.t-sel:has(> .t-up) .t-box { inset: -.26em -.18em -.1em; }
/* the frame and the block stand above the first line, so every headline keeps clear room under its kicker */
.hx__h, .hero__h { margin-top: 30px; }
.shead h2, .close h2 { padding-top: .12em; }
/* a serif block reached about a fifth of a line into the line above: lower its top and open the
   hero lines a little so blocks clear the descenders and marks of the previous line */
.t-hl:not(:has(> .t-up)) { padding-top: .08em; }
.hero--page .hero__h:not(.hero__h--xl), .cta-page__h, .hx__h { line-height: 1.34 !important; }
/* an inline-block's margin opens its own line, so a framed word on a lower line pushes away the
   descenders above instead of drawing its frame through them */
.t-sel { margin-top: .16em; }
/* the drop cap sinks exactly two lines: the old 4.1em float was taller than two lines of the lede
   (2 x 1.65em), so the third line wrapped round it too. initial-letter sizes it to the lines;
   the fallback float is cut to fit inside two lines */
.dropcap::first-letter { font-size: 3.05em; line-height: .9; margin: .1em .08em 0 0; }
@supports (initial-letter: 2) or (-webkit-initial-letter: 2) {
  .dropcap::first-letter { float: none; font-size: inherit; line-height: inherit; margin: 0 .12em 0 0; -webkit-initial-letter: 2; initial-letter: 2; }
}

/* footer: the brand line and its paragraph share the first row, the three link columns get the
   full width underneath so no entry wraps */
.foot__top { grid-template-columns: 1fr; gap: clamp(36px, 4vw, 56px); }
.foot__top > div:first-child { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px clamp(32px, 6vw, 96px); align-items: end; }
.foot__top > div:first-child .foot__about { margin-top: 0; max-width: 60ch; }
.foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(32px, 6vw, 96px); padding-top: 28px; border-top: 1px solid var(--line); }
@media (min-width: 861px) { .foot__cols a { white-space: nowrap; } }
@media (max-width: 860px) { .foot__top > div:first-child { grid-template-columns: 1fr; } .foot__cols { grid-template-columns: 1fr 1fr; } }
/* on phones the Solutions column, with the longest entries, takes a full row so nothing wraps */
@media (max-width: 860px) { .foot__cols > div:nth-child(2) { grid-column: 1 / -1; grid-row: 1; } }

/* footer, round 2: link columns spread edge to edge (first on the left, last flush right);
   the base row is the company card on the left and the copyright on the right */
.foot__cols { display: flex; justify-content: space-between; gap: 28px 48px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 48px; }
.foot__info { display: grid; gap: 14px; }
.foot__info address { font-style: normal; line-height: 1.7; }
.foot__info a { color: inherit; }
.foot__copy { text-align: right; }
@media (max-width: 860px) {
  .foot__cols { display: grid; grid-template-columns: 1fr 1fr; }
  .foot__copy { text-align: left; }
}
@media (min-width: 861px) {
  .foot__cols { display: grid; grid-template-columns: 1fr auto 1fr; }
  .foot__cols > div:nth-child(2) { justify-self: center; } .foot__cols > div:nth-child(3) { justify-self: end; }
}

/* line breaking: paragraphs and list text avoid a lone last word; short display lines balance.
   The build also sets no-break spaces inside Vietnamese compound words (_build/typeset.py). */
p, li, dd, dt, figcaption, blockquote, address, summary { text-wrap: pretty; }
h1, h2, h3, h4, .acts b, .door__txt b, .caprow__main strong, .bcard strong { text-wrap: balance; }
/* headings: balance split "Vì sao chọn / TAMCHOU" into two equal lines with one word alone;
   pretty keeps the natural fill and only reworks the end to avoid a lone last word */
h1, h2, h3, .statement, .pull p, .band__line { text-wrap: pretty; }
/* grid tracks no longer grow to fit a glued phrase */
.acts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .caprow { grid-template-columns: minmax(0, 1fr) 24px; } }
@media (max-width: 480px) { .phero__name { font-size: 36px; } .hero--page .hero__h.hero__h--xl { font-size: 38px; } }
/* phones: the profile name sits in the narrow text column beside the portrait and stays on one
   line; the three criteria stack instead of squeezing into three 100px columns */
@media (max-width: 480px) { .phero__name { font-size: 28px; } .index--3 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .acts { grid-template-columns: minmax(0, 1fr); } .acts b { margin-top: 18px; } }
/* the portrait caption beside a small phone portrait may wrap its label */
.phero figcaption span { white-space: normal; }
@media (max-width: 560px) { .phero figcaption { flex-direction: column; align-items: flex-start; gap: 2px; } }

/* ============================================================ v2.4 (30/10): founder's feedback
   1. Capitals in Be Vietnam Pro Black (900, drawn for Vietnamese) against the thin hairlines of
      Libre Bodoni italic 400, so the heavy and the light voice differ at a glance.
   2. Rose Metallic #E8C5CB of the Executive VIP palette replaces Champagne Gold for the large
      accents: headline italics, blocks, frames, button fills, pull quote, pills. On paper rose is too
      pale for lines and type, so there those take Dark Burgundy and rose stays a fill.
      Gold was kept for small details here; v2.6 narrows it to icons. */
:root { --rose: #E8C5CB; --display: "Be Vietnam Pro", "Plus Jakarta Sans", system-ui, sans-serif; }
.t-up, .t-hl:has(> .t-up), .t-sel:has(> .t-up) { font-family: var(--display); font-weight: 900; letter-spacing: -.02em; }
.t-up { font-size: .86em; }
.t-hl:has(> .t-up) { font-size: .86em; }
.t-sel:has(> .t-up) { font-size: .86em; }
.t-hl .t-up, .t-hl > .t-up, .t-sel > .t-up { font-size: 1em; }
h1 em, h2 em, .hx__h em { font-weight: 400; }

/* headline accents */
:root { --t-acc: #65081F; --t-block: var(--rose); --t-onblock: #65081F; }
.sec--wine, .close__panel, :root[data-theme="dark"], .hx__h,
:root[data-theme="dark"] .sec--wine + .close .close__panel { --t-acc: var(--rose); --t-block: var(--rose); --t-onblock: #451425; }
.sec--wine + .close .close__panel { --t-acc: #65081F; --t-block: var(--rose); --t-onblock: #65081F; }
.sec--wine, .close__panel, :root[data-theme="dark"], .hx__h { --t-line: var(--rose); --t-mark: var(--rose); }
:root[data-theme="dark"] .sec--wine + .close .close__panel { --t-line: var(--rose); }
.sec--wine + .close .close__panel { --t-mark: var(--rose); }
.sec--wine { --burg: var(--rose); }
.sec--wine ::selection { background: var(--rose); color: #451425; }
[data-theme="dark"] .sec--wine + .close .close__panel h2 em:not(.t-c) { color: inherit; }

/* button fills that sweep in on hover */
.btn--light::before, .sec--wine .btn::before, [data-theme="dark"] .btn--light::before { background: var(--rose); }

/* pull quote, pointer ring, menu and form edges: Dark Burgundy on paper, rose on dark */
.pull { border-left-color: var(--burg); }
.pull::after { background: var(--burg); }
.pull::before { color: var(--burg); }
.ring { border-color: var(--burg); }
.ring.is-hot { background: color-mix(in srgb, var(--burg) 12%, transparent); }
.sub { border-top-color: var(--burg); }
.cta-page__form { border-top-color: var(--burg); }
.dos__lead { border-left-color: var(--burg); }
.bcard.is-here .bcard__pic { outline-color: var(--burg); }
@media (hover: hover) and (pointer: fine) { .mv > div.in:hover, .pnext__card:hover, .nitem:hover { border-color: var(--burg); } }

/* small labels on a fill */
.prow__live, .arow__new, .bcard__here { background: var(--rose); color: #451425; }
/* Be Vietnam Pro has a tall font box, so an inline highlight on capitals painted far above the
   letters and met the frame on the line above. As an inline-block it is only as tall as its line
   height, and its top margin opens its own line instead of reaching into the previous one. */
.t-hl:has(> .t-up) { display: inline-block; line-height: 1; padding: .16em .2em .06em; vertical-align: 0; margin-top: .3em; }
/* the narrowest phones (360) leave the profile name a 180px column */
@media (max-width: 380px) { .phero__name { font-size: 25px; } }

/* ============================================================ v2.5 (30/10): light headline voice
   Libre Bodoni stops at 400, so the plain and italic words stayed close to the Black capitals.
   Page and section titles take Noto Serif Display Light (a Didone like Bodoni, with Vietnamese),
   so the heavy and the light voice part clearly. Numerals, captions and quotes keep Libre Bodoni. */
:root { --serif-light: "Noto Serif Display", "Libre Bodoni", Didot, Georgia, serif; }
h1, h2, .hx__h { font-family: var(--serif-light); font-weight: 300; }
h1 em, h2 em, .hx__h em { font-weight: 300; }
/* Noto Serif Display has a taller font box than Bodoni, so the serif block already covers the marks
   without top padding; with it, the block met the frame on the line above */
.t-hl:not(:has(> .t-up)) { padding-top: 0; }
/* highlights are one key word now (founder: never a long block), so a block never splits across lines */
.t-hl { white-space: nowrap; }

/* ============================================================ v2.6 (31/10): founder's feedback
   Gold is no longer used for type, nor for rules and lines: it stays on icons only (the Tamchou
   symbol beside section numbers, diamond bullets, timeline dots). Everything else that read
   --gold now takes the accent of its ground: Dark Burgundy on paper, rose on dark and on photos. */
:root { --gold: #65081F; --gold-icon: #D4AF37; }
:root[data-theme="dark"], .sec--wine, .close__panel, .hx, .band, :root[data-theme="dark"] .sec--wine + .close .close__panel { --gold: var(--rose); }
.sec--wine + .close .close__panel { --gold: #65081F; }
.hx__h em, .band__line em { color: var(--rose); }
.ph, .sec--wine .ph, .close__panel .ph { background: color-mix(in srgb, var(--gold) 16%, transparent); box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--gold) 80%, transparent); }
.shead__sym { color: var(--gold-icon); }
.core li::before { background: var(--gold-icon); }
.tl__item::before { border-color: var(--gold-icon); }
@media (hover: hover) and (pointer: fine) {
  .tl__item:hover::before { background: var(--gold-icon); }
  :root:not([data-theme="dark"]) .pillars li:hover, :root:not([data-theme="dark"]) .acts li:hover { --gold: var(--rose); }
}
.hero__cta:empty { display: none; }
/* the chart's second line lost its gold, so the first steps back to keep the two apart */
.chart .cv:not(.cv--b) { stroke: color-mix(in srgb, var(--rasp) 45%, transparent); }

/* ============================================================ v2.7 (02/11): three solutions
   The founder's update: Our Solutions has three solutions and a new trust page, with evaluation
   packs, grouped solutions and implementation modes. Parts below follow the content's own order. */
.doors--3 { grid-template-columns: repeat(3, 1fr); }
.doors--3 .door__h { font-size: clamp(23px, 2.1vw, 31px); }
.doors--3 .door { grid-template-rows: auto 1fr; }
.doors--3 .door__txt { grid-template-rows: auto 1fr auto auto; }
.doors--3 .door__txt:not(:has(.door__tag)) { grid-template-rows: auto 1fr auto; }
.door__tag { font: 600 12px/1.5 var(--sans); letter-spacing: .04em; color: var(--ink-3); }
.sec__lead { max-width: 46em; margin-bottom: clamp(24px, 3vw, 44px); }
.sec__after { max-width: 46em; margin-top: clamp(24px, 3vw, 44px); }
.sec--tight { padding-block: 0; }
.fine { max-width: 60em; margin-top: 24px; font-size: 13.5px; line-height: 1.6; color: var(--ink-3); }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px clamp(16px, 2.4vw, 36px); padding-block: clamp(22px, 2.6vw, 36px); border-block: 1px solid var(--line-2); }
.stats b { display: block; font: 400 clamp(40px, 4.6vw, 68px)/1 var(--serif); letter-spacing: -.02em; color: var(--rasp); font-variant-numeric: lining-nums; }
.stats span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.frame { display: grid; grid-template-columns: 2fr 3fr; gap: 18px clamp(20px, 3vw, 48px); margin-top: clamp(20px, 2.4vw, 32px); padding-top: clamp(18px, 2vw, 26px); border-top: 1px solid var(--line-2); }
.frame dd { margin-top: 6px; font: 400 clamp(17px, 1.5vw, 21px)/1.4 var(--serif); color: var(--rasp); }
.pillars i { font-style: normal; font: 600 13px/1 var(--sans); letter-spacing: .1em; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.packs--2 { grid-template-columns: repeat(2, 1fr); }
.pack { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 2.6vw, 36px); border: 1px solid var(--line-2); border-radius: var(--r); }
.pack h3 { font-size: clamp(23px, 2.2vw, 32px); line-height: 1.18; }
.pack__sub { margin-top: 10px; font-weight: 600; font-size: 15px; line-height: 1.5; color: var(--ink); }
.pack__q { margin-top: 12px; font: italic 400 clamp(17px, 1.5vw, 20px)/1.4 var(--serif); color: var(--burg); }
.pack__p { margin-top: 12px; font-size: 15.5px; line-height: 1.6; }
.pack .tlink { margin-top: auto; }
.pack__p + .tlink { padding-top: 18px; }
.pack__dl { display: grid; gap: 14px; width: 100%; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.pack__dl dd { margin-top: 5px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pack__dl .tags { margin-top: 2px; }
.pack .tags li { background: transparent; }
.sgroups { border-top: 1px solid var(--rasp); margin-top: clamp(18px, 2vw, 28px); }
.sgroups > li { display: grid; grid-template-columns: 56px minmax(0, 5fr) minmax(0, 7fr); gap: 8px clamp(16px, 3vw, 48px); align-items: baseline; padding-block: clamp(18px, 2.2vw, 28px); border-bottom: 1px solid var(--line-2); }
.sgroups i { font: 600 13px/1 var(--sans); font-style: normal; letter-spacing: .1em; color: var(--gold); }
.sgroups h3 { font-size: clamp(21px, 2vw, 28px); line-height: 1.22; }
.sgroups ul { display: grid; gap: 8px; }
.sgroups ul li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15.5px; line-height: 1.5; }
.sgroups ul b { flex: none; font: 600 11px/1.4 var(--sans); letter-spacing: .1em; color: var(--ink-3); }
.why__fit { font-size: 14.5px; color: var(--ink-3); }
.why__fit b { color: var(--ink-2); font-weight: 600; }
.why .why__no { font-variant-numeric: lining-nums; }
.ticks { display: grid; gap: 10px; margin-top: 16px; }
.ticks li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; background: var(--gold-icon); transform: rotate(45deg); }
.ticks--lg { max-width: 54em; gap: 14px; }
.ticks--lg li { font: 400 clamp(19px, 1.7vw, 24px)/1.4 var(--serif); color: var(--rasp); padding-left: 26px; }
.ticks--lg li::before { top: .62em; }
.applies { padding-top: clamp(24px, 3vw, 40px); }
.plate-slot { margin-top: clamp(28px, 4vw, 56px); }
.mega { grid-template-columns: repeat(3, 1fr); gap: 24px 32px; }
.sub--mega { width: min(1120px, calc(100vw - 2 * var(--gutter))); }
@media (max-width: 1000px) {
  .doors--3, .packs { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .mega { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .packs--2, .frame { grid-template-columns: 1fr; }
  .sgroups > li { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .stats { grid-template-columns: 1fr 1fr; } }
/* large short titles carrying both a frame and a block: when they wrap, the two must not meet */
.hero--page .hero__h.hero__h--xl:has(.t-hl):has(.t-sel:not(.t-hl)) { line-height: 1.42 !important; }
.sec--tight { padding-top: clamp(28px, 3.4vw, 52px); }
.pack__dl dd, .frame dd { margin-inline: 0; }
.pack__dl dd { margin-top: 5px; }
.frame dd { margin-top: 6px; }

/* ---- v2.8 Our Views: the founder's infographics keep their own shape, expert note on paper ---- */
.art-fig__img--nat img { position: static; height: auto; object-fit: contain; }
.art-fig:has(.art-fig__img--nat) { position: static; }
.sec:not(.sec--wine) .vexp { border-top-color: var(--line); }
.sec:not(.sec--wine) .vexp h3 { color: var(--ink); }
.prose .prose__h { margin: 34px 0 6px; font: 400 clamp(24px, 2.4vw, 32px)/1.25 var(--serif); color: var(--rasp); }

/* ---- v2.9 About Us hero: a full-width picture, a smaller title bottom left, the long introduction on a soft fade at the right edge ---- */
.hx--about { min-height: min(calc(100svh - 150px), 780px); }
.hx--about .hx__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 29em); gap: clamp(32px, 6vw, 112px); align-items: end; width: 100%; }
.hx--about .hx__h { max-width: none; font-size: clamp(38px, 4.4vw, 68px); }
.hx--about .hx__side { padding-bottom: 6px; }
.hx--about .hx__lede { max-width: none; margin-top: 0; font-size: clamp(16.5px, 1.2vw, 18.5px); line-height: 1.7; color: rgb(253 251 247 / .9); text-wrap: pretty; }
.hx--about .dropcap::first-letter { color: var(--rose); }
.hx--about::after { background:
  linear-gradient(270deg, rgb(26 15 20 / .94) 0%, rgb(26 15 20 / .9) 34%, rgb(26 15 20 / .55) 50%, rgb(26 15 20 / .12) 66%, rgb(26 15 20 / 0) 76%),
  linear-gradient(180deg, rgb(26 15 20 / 0) 42%, rgb(26 15 20 / .62) 100%); }
@media (max-width: 900px) {
  .hx--about .hx__in { grid-template-columns: 1fr; gap: 24px; }
  .hx--about::after { background: linear-gradient(180deg, rgb(26 15 20 / .1) 0%, rgb(26 15 20 / .55) 38%, rgb(26 15 20 / .9) 70%); }
}

/* ---- v3.0 About Us, vision and mission: the vision is one statement on a wide 21:9 picture, light type on a wine shade from the left; the mission its three commitments below ---- */
#tam-nhin-su-menh .shead { margin-bottom: clamp(28px, 3.6vw, 48px); }
.vis { --vl: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); position: relative; aspect-ratio: 21 / 9; min-height: 440px; overflow: hidden; background: #2B2225; display: flex; align-items: center; }
.vis__pic { position: absolute; inset: 0; margin: 0; }
.vis__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.06); transition: transform 2600ms var(--ease); }
.vis.in .vis__pic img { transform: none; }
.vis::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgb(26 15 20 / .84) 0%, rgb(26 15 20 / .72) 30%, rgb(26 15 20 / .48) 48%, rgb(26 15 20 / 0) 68%); }
.vis__txt { position: relative; z-index: 2; margin-left: var(--vl); width: calc(50vw - var(--vl)); max-width: 38rem; }
.vis__txt .kicker { color: var(--rose, #D8A7A7); opacity: 0; transform: translateY(12px); transition: opacity 800ms ease .2s, transform 900ms var(--ease) .2s; }
.vis__t { margin-top: 18px; font: 400 clamp(26px, 2.5vw, 38px)/1.3 var(--serif); letter-spacing: -.012em; color: #FDFBF7; text-shadow: 0 1px 24px rgb(26 15 20 / .35); text-wrap: pretty; opacity: 0; transform: translateY(16px); transition: opacity 1000ms ease .35s, transform 1100ms var(--ease) .35s; }
.vis.in .vis__txt .kicker, .vis.in .vis__t { opacity: 1; transform: none; }
.vis .t-hl { --od: 1300ms; font-style: italic; color: #65081F; text-shadow: none; }
.mis { display: grid; grid-template-columns: minmax(80px, 1fr) minmax(0, 11fr); gap: 0 24px; margin-top: clamp(40px, 5vw, 72px); }
.mis > .kicker { padding-top: 30px; }
.mis__list h3 { margin-top: 14px; }
@media (max-width: 900px) {
  .vis { aspect-ratio: auto; min-height: 0; display: block; background: none; overflow: visible; }
  .vis__pic { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
  .vis::before { display: none; }
  .vis__txt { margin: 0; width: auto; max-width: none; padding: 28px var(--gutter) 0; }
  .vis__txt .kicker { color: inherit; }
  .vis__t { color: var(--rasp); text-shadow: none; }
  .mis { grid-template-columns: 1fr; gap: 8px; }
  .mis > .kicker { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .vis__pic img, .vis__txt .kicker, .vis__t { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---- v3.1 About 01: the connection drawn as a blueprint straight on the wine ground (hairlines, construction lines,
   crop marks, mono labels with indexes), the text beside it set as its legend ---- */
:root { --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace; }
.dec--bp { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.bp-legend { position: relative; }
.bp-key { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #D4AF37; }
.bp-key::after { content: ""; flex: 1; height: 0; border-top: 1px dashed rgb(212 175 55 / .45); margin-right: calc(-1 * clamp(36px, 6vw, 104px)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1200ms var(--ease-io) .2s; }
.bp-key.in::after { transform: none; }
.bp { position: relative; margin: 0; }
.bp svg { display: block; width: 100%; height: auto; overflow: visible; }
.bp path, .bp circle { fill: none; vector-effect: non-scaling-stroke; }
.bp-con path { stroke: rgb(253 251 247 / .16); stroke-width: 1; stroke-dasharray: 3 5; }
.bp-crop path { stroke: rgb(253 251 247 / .5); stroke-width: 1; }
.bp-st { stroke: rgb(253 251 247 / .62); stroke-width: 1.1; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1700ms var(--ease-io) calc(var(--k) * 160ms + 300ms), stroke 300ms ease; }
.bp-node circle { stroke: #FDFBF7; stroke-width: 1.2; fill: #4f0d22; }
.bp-node path { stroke: rgb(253 251 247 / .55); stroke-width: 1; }
.bp-node { opacity: 0; transition: opacity 500ms ease calc(var(--k) * 160ms + 150ms); }
.bp-hub circle { stroke: rgb(253 251 247 / .7); stroke-width: 1.1; }
.bp-ring { stroke-dasharray: 2 6; transform-box: fill-box; transform-origin: 50% 50%; animation: bp-spin 40s linear infinite; }
.bp-hub .bp-dot { fill: #D4AF37; stroke: none; }
.bp-hub { opacity: 0; transition: opacity 600ms ease 1.6s; }
.bp-one { stroke: #D4AF37; stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1000ms var(--ease-io) 1.9s; }
.bp-arrow { stroke: #D4AF37; stroke-width: 2; opacity: 0; transition: opacity 300ms ease 2.8s; }
.bp-dim path { stroke: rgb(253 251 247 / .38); stroke-width: 1; }
.bp-dim { opacity: 0; transition: opacity 700ms ease 2.4s; }
.bp-l { position: absolute; translate: 0 -100%; font: 500 clamp(10.5px, .85vw, 12px)/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #FDFBF7; white-space: nowrap; opacity: 0; transition: opacity 600ms ease calc(var(--k) * 160ms + 300ms); }
.bp-l--below { translate: 0 0; }
.bp-l b { font-weight: 400; color: #D4AF37; margin-right: .4em; }
.bp-one-l { position: absolute; right: 4.7%; translate: 0 -100%; max-width: 34%; text-align: right; font: italic 400 clamp(16px, 1.5vw, 21px)/1.3 var(--serif); color: #FDFBF7; opacity: 0; transition: opacity 700ms ease 2.6s; }
.bp-dim-l { position: absolute; text-align: center; font: 400 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgb(253 251 247 / .62); opacity: 0; transition: opacity 700ms ease 2.5s; }
.bp.in .bp-st, .bp.in .bp-one { stroke-dashoffset: 0; }
.bp.in .bp-node, .bp.in .bp-hub, .bp.in .bp-arrow, .bp.in .bp-dim, .bp.in .bp-l, .bp.in .bp-one-l, .bp.in .bp-dim-l { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .bp:hover .bp-st { stroke: #FDFBF7; } }
@keyframes bp-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .dec--bp { grid-template-columns: 1fr; }
  .bp-key::after { margin-right: 0; }
  .bp-l { font-size: 9.5px; letter-spacing: .04em; }
  .bp-one-l { font-size: 14px; max-width: 30%; }
  .bp-dim-l { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-ring { animation: none; }
  .bp-st, .bp-one { stroke-dashoffset: 0; transition: none; }
  .bp-node, .bp-hub, .bp-arrow, .bp-dim, .bp-l, .bp-one-l, .bp-dim-l, .bp-key::after { opacity: 1; transform: none; transition: none; }
}

/* ---- v3.2 Our Solutions per revision v1.2: four areas (2 x 2), a "being developed" mark on the B2B platform,
   the menu as a 2 x 2 grid, short descriptions under each group and stage, assessment details behind a toggle ---- */
.mega.mega--4 { grid-template-columns: 1fr 1fr; gap: 22px 40px; }
.sub--mega:has(.mega--4) { width: min(900px, calc(100vw - 2 * var(--gutter))); }
.mega--4 .mega__sub { margin-top: 2px; font: 400 13.5px/1.5 var(--sans); letter-spacing: 0; text-transform: none; }
.mega--4 .mega__list a { padding-block: 6px; }
.mega__state, .door__state { display: inline-block; vertical-align: middle; font: 600 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; border-radius: 999px; }
.mega__state { margin-left: 8px; padding: 5px 9px; color: var(--burg); border: 1px solid currentColor; }
.door__state { position: absolute; z-index: 1; left: 14px; top: 14px; padding: 7px 11px; background: var(--alabaster); color: var(--burg); }
.doors--4 .door { grid-template-rows: auto 1fr; }
.doors--4 .door__txt { grid-template-rows: auto 1fr auto auto; }
.doors--4 .door__txt:not(:has(.door__tag)) { grid-template-rows: auto 1fr auto; }
.doors--4 .door__pic { aspect-ratio: 16 / 9; }
.door__tag b { display: block; margin-bottom: 2px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 10.5px; color: var(--ink-3); }
.door__tag { font-weight: 500; font-size: 14px; letter-spacing: 0; color: var(--ink-2); }
.stage__p { margin-top: 12px; max-width: 40em; font-size: 16.5px; line-height: 1.65; }
.sgroups > li > div { display: grid; gap: 8px; }
.sgroups__p { font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.pack__more { width: 100%; margin-top: 16px; border-top: 1px solid var(--line); }
.pack__more summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; cursor: pointer; list-style: none; font: 600 13.5px/1.4 var(--sans); color: var(--burg); }
.pack__more summary::-webkit-details-marker { display: none; }
.pack__more summary::after { content: "+"; font: 400 20px/1 var(--sans); transition: transform 300ms var(--ease); }
.pack__more[open] summary::after { transform: rotate(45deg); }
.pack__more summary:focus-visible { outline: 2px solid var(--burg); outline-offset: 4px; border-radius: 2px; }
.pack__more .pack__dl { margin-top: 12px; padding-top: 0; border-top: 0; }
.pack .pack__dl + .pack__more { margin-top: 18px; }
@media (max-width: 760px) { .mega.mega--4 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .br-lg { display: none; } }
.hero__h:has(.br-lg) { font-size: clamp(34px, 3.7vw, 53px); }
.applies__p { margin-top: 10px; max-width: 44em; font: 400 clamp(17px, 1.4vw, 19px)/1.55 var(--serif); color: var(--rasp); }

/* ---- v3.3 page heroes: both columns start at the top, the kicker level with the first line of the introduction,
   so no empty band sits above the headline when the introduction is the taller column ---- */
.hero--page .hero__grid, .hero--page .hero__grid:has(.hero__h--xl) { align-items: start; }
.hero--page .hero__side { padding-bottom: 0; padding-top: 2px; }

/* ---- v3.4 Our Team per revision v1.2 and the user's layout: portrait cards only (name and title on the picture,
   "Xem hồ sơ" under it), the two founders in the first row, experts after at the same card size, up to four a row;
   each profile opens in a centred dialog instead of its own page ---- */
.hero--solo .hero__h { margin-top: 18px; }
.team-sec { padding-top: clamp(40px, 5vw, 72px); }
.tgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(18px, 2.2vw, 32px); }
.tgrid--experts { margin-top: clamp(64px, 8vw, 120px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-2); }
.tcard { display: grid; gap: 16px; align-content: start; justify-items: start; opacity: 0; transform: translateY(18px); transition: opacity 800ms ease, transform 900ms var(--ease); }
.tcard.in { opacity: 1; transform: none; }
.tgrid .tcard:nth-child(2) { transition-delay: 90ms; } .tgrid .tcard:nth-child(3) { transition-delay: 180ms; } .tgrid .tcard:nth-child(4) { transition-delay: 270ms; }
.tcard__pic { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--sand); cursor: pointer; isolation: isolate; }
.tcard__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform 1400ms var(--ease); }
.tcard__pic::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(26 15 20 / 0) 48%, rgb(26 15 20 / .78) 100%); pointer-events: none; }
.tcard__cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: clamp(16px, 1.6vw, 22px); text-align: left; }
.tcard__name { font: 400 clamp(21px, 1.7vw, 26px)/1.15 var(--serif); color: #FDFBF7; }
.tcard__title { font: 500 13px/1.45 var(--sans); color: rgb(253 251 247 / .86); text-wrap: pretty; }
.tcard__mono, .tbio__mono { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, #F3EFE9, #E8DCD6); }
.tcard__mono b, .tbio__mono b { font: italic 400 clamp(48px, 5vw, 80px)/1 var(--serif); color: color-mix(in srgb, var(--rasp) 55%, transparent); letter-spacing: .02em; }
@media (hover: hover) and (pointer: fine) { .tcard__pic:hover img { transform: scale(1.04); } }
@media (max-width: 1000px) { .tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tcard__title { font-size: 12px; } .tcard__go { padding-inline: 14px; } }

dialog.tbio { width: min(980px, calc(100vw - 32px)); height: auto; max-height: min(88dvh, 760px); margin: auto; border-radius: 20px; overflow: auto; }
dialog.tbio[open] { animation: dlg 500ms var(--ease); }
.tbio__in { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3.4vw, 48px); padding: clamp(22px, 3vw, 40px); }
.tbio__pic { position: sticky; top: 0; align-self: start; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.tbio__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.tbio__txt { display: grid; gap: 14px; align-content: start; padding-right: 28px; }
.tbio__txt h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; }
.tbio__role { font: 400 15px/1.5 var(--sans); color: var(--ink-3); }
.tbio__role b { font-weight: 600; color: var(--burg); }
.tbio__lead { margin-top: 6px; font: 400 clamp(18px, 1.5vw, 21px)/1.5 var(--serif); color: var(--rasp); }
.tbio__txt h3 { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font: 600 11.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.tbio__txt p:not([class]) { font-size: 15.5px; line-height: 1.7; }
.tbio__go { margin-top: 10px; }
.tbio__x { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: var(--alabaster); color: var(--rasp); font: 400 24px/1 var(--sans); cursor: pointer; transition: background 250ms ease, color 250ms ease; }
.tbio__x:hover { background: var(--rasp); color: var(--alabaster); }
@media (max-width: 760px) {
  dialog.tbio { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .tbio__in { grid-template-columns: 1fr; }
  .tbio__pic { position: relative; width: 52%; max-width: 220px; }
  .tbio__txt { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .tcard { opacity: 1; transform: none; transition: none; } dialog.tbio[open] { animation: none; } }
html:has(dialog.bio[open]) { overflow: hidden; }
:root:not([data-theme="dark"]) .tcard__go { background: transparent; border-color: var(--line-2); color: var(--rasp); }
:root:not([data-theme="dark"]) .tcard__go::before { background: var(--burg); }
@media (hover: hover) and (pointer: fine) { :root:not([data-theme="dark"]) .tcard__go:hover { color: var(--alabaster); border-color: var(--burg); } .tcard__go:hover::before { transform: none; } }
.tcard__go { overflow: hidden; isolation: isolate; }
@media (max-width: 760px) { .tcard__cap { padding: 12px; gap: 4px; } .tcard__name { font-size: 17px; } .tcard__title { font-size: 11.5px; line-height: 1.4; } }
/* larger portraits: three cards a row on desktop (founders 2, experts 3 + 1), a bigger picture in the profile popup */
.tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tcard__name { font-size: clamp(22px, 2vw, 30px); }
.tcard__title { font-size: 14px; }
dialog.tbio { width: min(1080px, calc(100vw - 32px)); max-height: min(90dvh, 820px); }
.tbio__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 760px) { .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tcard__name { font-size: 17px; } .tcard__title { font-size: 11.5px; } .tbio__in { grid-template-columns: 1fr; } .tbio__pic { width: 64%; max-width: 280px; } }
/* four experts a row at the founders' card size: the team page uses a wider frame than the text pages, and both rows share a 4-column grid */
.wrap--team { max-width: 1520px; padding-inline: clamp(20px, 3vw, 48px); }
.tgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(16px, 1.7vw, 28px); }
@media (max-width: 1000px) { .tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the two founders centred above the experts, at the same card width */
.tgrid--board { --g: clamp(16px, 1.7vw, 28px); column-gap: var(--g); grid-template-columns: repeat(2, calc((100% - 3 * var(--g)) / 4)); justify-content: center; }
@media (max-width: 1000px) { .tgrid--board { grid-template-columns: repeat(2, calc((100% - 2 * var(--g)) / 3)); } }
@media (max-width: 760px) { .tgrid--board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* v3.5 team profile contact row: Phone / Email / Business card (.vcf) */
.tbio__acts { list-style: none; margin: 14px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tbio__act { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid color-mix(in srgb, var(--burg) 45%, transparent); border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--burg); text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.tbio__act:hover, .tbio__act:focus-visible { background: var(--burg); border-color: var(--burg); color: var(--alabaster); }
.tbio__i { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 480px) { .tbio__acts li { flex: 1 1 auto; } .tbio__act { width: 100%; justify-content: center; padding: 0 12px; } }

/* v3.6 team profile pages: one page per person, portrait left (sticky), profile right */
.tpro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); margin-top: clamp(24px, 3vw, 40px); align-items: start; }
.tpro__pic { position: sticky; top: calc(var(--mast-h, 88px) + 24px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.tpro__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.tpro__txt { padding-right: 0; max-width: 720px; }
.tpro__h { font: 400 clamp(40px, 4.6vw, 68px)/1.05 var(--serif); color: var(--rasp); letter-spacing: -.01em; }
.tpro__sh { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font: 600 11.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.tpro__txt p:not([class]) { font-size: 16.5px; line-height: 1.75; }
.tpro__txt .tbio__lead { font-size: clamp(19px, 1.6vw, 23px); }
.tpro__nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-top: clamp(32px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--line-2); }
.tpro__next { display: grid; gap: 6px; text-align: right; text-decoration: none; color: var(--rasp); }
.tpro__nn { font: 400 clamp(22px, 2vw, 28px)/1.15 var(--serif); }
.tpro__next:hover .tpro__nn { color: var(--burg); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .tpro { grid-template-columns: 1fr; } .tpro__pic { position: relative; top: 0; width: 72%; max-width: 320px; } .tpro__next { text-align: left; } }
.tpro__txt h2.tpro__sh { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font: 600 11.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.tpro-sec { padding-bottom: clamp(64px, 8vw, 120px); }

/* v3.7 experts row by row (2 / 2 / 3), same card width as the board row, rows centred; reserved seats show a monogram */
.tgrid--row { --g: clamp(16px, 1.7vw, 28px); display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 3vw, 44px) var(--g); }
.tgrid--row > .tcard { width: calc((100% - 3 * var(--g)) / 4); }
.tgrid--row + .tgrid--row { margin-top: clamp(28px, 3vw, 44px); }
@media (max-width: 1000px) { .tgrid--row > .tcard { width: calc((100% - 2 * var(--g)) / 3); } }
@media (max-width: 760px) { .tgrid--row > .tcard { width: calc((100% - var(--g)) / 2); } }
.tcard--soon .tcard__pic { cursor: default; }
.tcard--soon .tcard__pic::after { opacity: .55; }

/* v3.8 team page: sticky title column left, three-column card field right; pairs alternate left / right slots */
.team-lay__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
.team-lay__head { position: sticky; top: calc(var(--mast-h, 88px) + 32px); }
.team-lay .hero__h.hero__h--xl { font-size: clamp(44px, 5.4vw, 92px); }
.team-lay__cards { --g: clamp(16px, 1.7vw, 28px); padding-top: 6px; }
.trow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) var(--g); }
.trow > .tcard { width: auto; }
.trow--r > .tcard:first-child { grid-column-start: 2; }
.trow + .trow { margin-top: clamp(36px, 4vw, 60px); }
.trow--board + .trow { margin-top: clamp(56px, 6vw, 96px); padding-top: clamp(40px, 4.5vw, 64px); border-top: 1px solid var(--line-2); }
.team-lay { padding-bottom: clamp(64px, 8vw, 120px); }
@media (max-width: 1000px) {
  .team-lay__in { grid-template-columns: 1fr; }
  .team-lay__head { position: static; }
  .trow--r > .tcard:first-child { grid-column-start: auto; }
}
@media (max-width: 760px) { .trow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* v3.9 home H03: the team as the "Kinh nghiệm và chuyên môn" block (doc fallback until a real team photo) */
.hteam { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(24px, 2.4vw, 36px) clamp(12px, 1.4vw, 22px); }
.hteam > li { opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 800ms var(--ease); }
.hteam > li.in { opacity: 1; transform: none; }
.hteam__a { display: grid; gap: 4px; text-decoration: none; color: var(--rasp); }
.hteam__pic { position: relative; display: block; aspect-ratio: 4 / 5; margin-bottom: 10px; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.hteam__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform 1200ms var(--ease); }
.hteam__name { font: 400 clamp(17px, 1.3vw, 20px)/1.2 var(--serif); }
.hteam__title { font: 400 12.5px/1.45 var(--sans); color: var(--ink-3); text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) { .hteam__a:hover img { transform: scale(1.04); } .hteam__a:hover .hteam__name { color: var(--burg); } }
.hteam__go { margin-top: clamp(32px, 3.5vw, 52px); }
@media (max-width: 1100px) { .hteam { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hteam { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .hteam > li { opacity: 1; transform: none; transition: none; } }

/* v4.0 Our Views per revision v1.2: featured article, compact list, one related service on category pages */
.vfeat { display: grid; gap: clamp(20px, 3vw, 48px); margin-bottom: clamp(32px, 4vw, 56px); padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r); background: var(--sand); color: inherit; text-decoration: none; opacity: 0; transform: translateY(16px); transition: opacity 800ms ease, transform 900ms var(--ease); }
.vfeat.in { opacity: 1; transform: none; }
.vfeat--pic { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.vfeat__pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--r) * .8); background: var(--alabaster); }
.vfeat__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
.vfeat__txt { display: grid; gap: 14px; align-content: center; }
.vfeat__txt .kicker { color: var(--burg); }
.vfeat__t { font: 400 clamp(28px, 3vw, 44px)/1.15 var(--serif); color: var(--rasp); text-wrap: balance; }
.vfeat__d { font: 400 clamp(17px, 1.3vw, 19px)/1.6 var(--serif); color: var(--ink-2); max-width: 60ch; }
.vfeat__by { font: 600 13px/1.4 var(--sans); color: var(--rasp); }
.vfeat .tlink { justify-self: start; }
@media (hover: hover) and (pointer: fine) { .vfeat:hover .vfeat__pic img { transform: scale(1.03); } .vfeat:hover .vfeat__t { color: var(--burg); } }
@media (max-width: 760px) { .vfeat--pic { grid-template-columns: 1fr; } }
.arow__main .arow__cat { flex-basis: auto; }
.rel--one { grid-template-columns: 1fr; margin-top: clamp(40px, 5vw, 64px); }
@media (prefers-reduced-motion: reduce) { .vfeat { opacity: 1; transform: none; transition: none; } }
@media (min-width: 961px) { .vcat { grid-template-columns: 48px minmax(0, 8fr) minmax(0, 3fr) 28px; } }
.vcat__d { max-width: 62ch; }

/* v4.1 Our Projects per "Nội dung 11 hồ sơ dự án v1.5": flat filter in visual rows, positioning line in the list, details on open */
.filters--rows { display: grid; gap: 14px; justify-items: start; }
.filters--rows .filters__n { margin: 0; }
.chips--rows { display: grid; gap: 12px; }
.chips__row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip__n { margin-left: 6px; font-size: 12px; opacity: .7; }
.chip.is-on { background: var(--burg); border-color: var(--burg); color: #FDFBF7; }
.prow__head { grid-template-columns: 56px minmax(0, 1fr) auto !important; align-items: start !important; }
.xrow__id { display: grid; gap: 8px; }
.prow__mark { font: 600 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--burg); }
.prow__sapo { font: 400 16px/1.6 var(--serif); color: var(--ink-2); max-width: 70ch; text-wrap: pretty; }
.prow__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.prow__inner { grid-template-columns: minmax(0, 1fr) !important; padding-left: 56px !important; }
.dos__main--wide { max-width: 860px; }
.dos__main--wide > section:first-child { margin-top: 0; }
.dos__contrib { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dos__contrib li { font-size: 15.5px; line-height: 1.65; padding-left: 16px; border-left: 2px solid var(--line-2); }
.dos__contrib b { color: var(--rasp); font-weight: 600; }
.dos__ppl { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.dos__ppl .kicker { margin-bottom: 8px; }
.dos__ppl ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.dos__ppl a { color: var(--rasp); font-weight: 600; }
.dos__go { margin-top: 28px; }
@media (max-width: 760px) { .prow__head { grid-template-columns: minmax(0, 1fr) auto !important; } .prow__inner { padding-left: 0 !important; } }

/* v4.2 project pictures: a cover in each list row, a small gallery at the top of the opened profile */
.prow__head { grid-template-columns: 56px minmax(0, 1fr) clamp(180px, 20vw, 280px) auto !important; }
.prow__pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.prow__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .prow__head:hover .prow__pic img { transform: scale(1.04); } }
.pgal { position: relative; display: grid; gap: 10px; margin-bottom: clamp(24px, 3vw, 36px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pgal--1 { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.pgal--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pgal__f { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--r) * .7); background: var(--sand); }
.pgal--1 .pgal__f { aspect-ratio: 16 / 9; }
.pgal__f img { width: 100%; height: 100%; object-fit: cover; }
.pgal__tag { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: rgb(26 15 20 / .62); color: #FDFBF7; font: 600 10.5px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.dos__main--wide { max-width: none; }
.dos__main--wide > section { max-width: 860px; }
@media (max-width: 1000px) { .prow__head { grid-template-columns: 48px minmax(0, 1fr) 160px auto !important; } .pgal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .prow__head { grid-template-columns: minmax(0, 1fr) auto !important; }
  .prow__pic { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 9; }
}

/* v4.3 project pictures as a carousel: one large picture, arrows, counter, swipe */
.pcar { margin-bottom: clamp(28px, 3.4vw, 44px); }
.pcar__view { position: relative; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.pcar__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pcar__track::-webkit-scrollbar { display: none; }
.pcar__track:focus-visible { outline: 2px solid var(--burg); outline-offset: -4px; }
.pcar__f { flex: 0 0 100%; margin: 0; aspect-ratio: 16 / 9; scroll-snap-align: start; }
.pcar__f img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcar__tag { position: absolute; left: 14px; top: 14px; padding: 6px 11px; border-radius: 999px; background: rgb(26 15 20 / .62); color: #FDFBF7; font: 600 10.5px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.pcar__nav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 14px; }
.pcar__n { margin: 0 4px; font: 500 13.5px/1 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pcar__n b { color: var(--rasp); font-weight: 600; }
.pcar__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--rasp); font: 400 18px/1 var(--sans); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, opacity .25s; }
.pcar__btn:hover:not(:disabled) { background: var(--burg); border-color: var(--burg); color: #FDFBF7; }
.pcar__btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 760px) { .pcar__f { aspect-ratio: 4 / 3; } }
.prow__head { grid-template-columns: 56px minmax(0, 1fr) clamp(240px, 28vw, 400px) auto !important; }
@media (max-width: 1000px) { .prow__head { grid-template-columns: 48px minmax(0, 1fr) 200px auto !important; } }
@media (max-width: 760px) { .prow__head { grid-template-columns: minmax(0, 1fr) auto !important; } }

/* v4.4 home team block: 9 people, rows of five centred (5 + 4) */
.hteam { --g: clamp(14px, 1.6vw, 24px); display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 3vw, 44px) var(--g); }
.hteam > li { width: calc((100% - 4 * var(--g)) / 5); }
@media (max-width: 1100px) { .hteam > li { width: calc((100% - 2 * var(--g)) / 3); } }
@media (max-width: 640px) { .hteam > li { width: calc((100% - var(--g)) / 2); } }

/* v4.5 TripGateX page: buyer / supplier columns, a one-line flow, four steps */
.tgx-sides { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.tgx-side { display: grid; gap: 16px; align-content: start; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-2); border-radius: var(--r); background: var(--alabaster); opacity: 0; transform: translateY(16px); transition: opacity 800ms ease, transform 900ms var(--ease); scroll-margin-top: 120px; }
.tgx-side.in { opacity: 1; transform: none; }
.tgx-side .kicker { color: var(--burg); font-size: 12.5px; }
.tgx-side__d { font: 400 clamp(19px, 1.6vw, 23px)/1.4 var(--serif); color: var(--rasp); }
.tgx-side__pts { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 14px; }
.tgx-side__pts li { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.tgx-side__pts b { font: 600 15px/1.4 var(--sans); color: var(--rasp); }
.tgx-side__pts span { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.tgx-side .btn { justify-self: start; }
.tgx-flow { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); margin-bottom: clamp(28px, 3.4vw, 44px); font: 500 clamp(13px, 1.1vw, 15px)/1.2 var(--mono, monospace); letter-spacing: .06em; text-transform: uppercase; color: rgb(253 251 247 / .8); }
.tgx-flow i { flex: 1; height: 1px; background: linear-gradient(90deg, rgb(253 251 247 / .2), rgb(253 251 247 / .7)); position: relative; }
.tgx-flow i::after { content: ""; position: absolute; right: -1px; top: -4px; border: 4.5px solid transparent; border-left: 7px solid rgb(253 251 247 / .7); border-right: 0; }
.tgx-flow b { padding: 10px 16px; border: 1px solid #D4AF37; border-radius: 999px; color: #FDFBF7; font-weight: 600; }
.why--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.anchor#lien-he { display: block; position: relative; top: -100px; }
@media (max-width: 1000px) { .why--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tgx-sides { grid-template-columns: 1fr; } .why--4 { grid-template-columns: 1fr; } .tgx-flow { flex-wrap: wrap; } .tgx-flow i { flex-basis: 24px; } }
@media (prefers-reduced-motion: reduce) { .tgx-side { opacity: 1; transform: none; transition: none; } }

/* v4.6 team page: title on top, founders larger, experts in even centred rows (4 + 3) */
.team-c { padding-bottom: clamp(64px, 8vw, 120px); }
.team-c__head { text-align: center; margin-bottom: clamp(40px, 5vw, 72px); }
.team-c__head .crumb { justify-content: center; }
.team-c .hero__h.hero__h--xl { font-size: clamp(44px, 5.4vw, 92px); }
.team-c__cards { --g: clamp(16px, 1.7vw, 28px); --w: calc((min(100%, 1320px) - 3 * var(--g)) / 4); }
.tc-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 3vw, 44px) var(--g); grid-template-columns: none; }
.tc-row > .tcard { width: var(--w); }
.tc-row--board > .tcard { width: min(calc(var(--w) * 1.42), calc((100% - var(--g)) / 2)); }
.tc-row--board .tcard__name { font-size: clamp(26px, 2.4vw, 38px); }
.tc-row--board .tcard__title { font-size: 15px; }
.tc-row + .tc-row { margin-top: clamp(36px, 4vw, 60px); }
.tc-row--board + .tc-row { margin-top: clamp(56px, 6vw, 96px); padding-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--line-2); }
@media (max-width: 1000px) { .tc-row .tcard__title { font-size: 12.5px; } }
@media (max-width: 760px) {
  .team-c__cards { --w: calc((100% - var(--g)) / 2); }
  .tc-row--board > .tcard { width: var(--w); }
  .tc-row--board .tcard__name { font-size: 19px; }
  .tc-row--board .tcard__title { font-size: 12px; }
}

/* v4.7 Projects mega menu, privacy page (one reading column, short contents list) */
.mega__all { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.mast__nav .sub .mega__all a { display: inline-flex; padding: 0; font: 600 13px/1.4 var(--sans); color: var(--burg); white-space: normal; }
.legal .wrap--read { max-width: 760px; }
.legal__toc { margin-bottom: clamp(36px, 4vw, 56px); padding-bottom: 28px; border-bottom: 1px solid var(--line-2); }
.legal__toc ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: lg; }
.legal__toc li { counter-increment: lg; font: 400 15px/1.5 var(--sans); }
.legal__toc li::before { content: counter(lg, decimal-leading-zero); margin-right: 12px; font: italic 400 15px/1 var(--serif); color: var(--gold); }
.legal__toc a { color: var(--ink-2); text-decoration: none; }
.legal__toc a:hover { color: var(--burg); }
.legal__s { padding-block: clamp(20px, 2.4vw, 32px); scroll-margin-top: 120px; }
.legal__s + .legal__s { border-top: 1px solid var(--line-2); }
.legal__s h2 { margin: 0 0 14px; font: 400 clamp(24px, 2.4vw, 32px)/1.2 var(--serif); color: var(--rasp); }
.legal__s p { margin: 0 0 14px; font: 400 16px/1.7 var(--sans); color: var(--ink-2); text-wrap: pretty; }

.legal__date { margin: 0 0 22px; font: 500 13px/1.4 var(--sans); letter-spacing: .04em; color: var(--ink-3); }
.legal__s h3 { margin: 22px 0 8px; font: 600 15px/1.4 var(--sans); color: var(--rasp); }
.field--consent { margin-top: 4px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font: 400 14px/1.55 var(--sans); color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--burg); }
.consent a { color: var(--burg); text-decoration: underline; text-underline-offset: 3px; }

/* v4.8 expert names: one size for every card, scaled to the card so the longest name ("Nguyễn Nam Phương") stays on one line */
.tc-row--row .tcard__pic { container-type: inline-size; }
.tc-row--row .tcard__name { font-size: min(30px, 8.8cqi); white-space: nowrap; }

/* v4.9 profile page ends in one button to the whole team */
.tpro__nav { display: block; }

/* v5.0 language: EN / VI switch in the masthead and footer, and the chooser shown on a first visit to the home page */
.lang { display: inline-flex; align-items: center; gap: 7px; font: 600 11.5px/1 var(--sans); letter-spacing: .1em; }
.lang a { color: var(--rasp); text-decoration: none; opacity: .5; padding: 8px 1px; border-bottom: 1px solid transparent; transition: opacity 250ms ease, border-color 250ms ease; }
.lang a:hover, .lang a:focus-visible { opacity: 1; }
.lang a[aria-current] { opacity: 1; border-bottom-color: currentColor; }
.lang span { opacity: .35; }
.mast__top > .lang { grid-column: 3; justify-self: end; }
@media (max-width: 760px) { .mast__top > .lang { grid-column: auto; justify-self: center; } .mast__right .lang { font-size: 10.5px; } }
.foot__lang { font-size: 13px; color: var(--ink-3); }
.foot__lang a { color: inherit; text-decoration: none; padding: 4px 2px; border-bottom: 1px solid transparent; }
.foot__lang a:hover { border-bottom-color: currentColor; }
.foot__lang a[aria-current] { color: var(--rasp); border-bottom-color: currentColor; }
@media (max-width: 760px) { .foot__lang { order: 3; } }

.langgate { display: none; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; padding: 20px; background: rgb(253 251 247 / .34); -webkit-backdrop-filter: blur(14px) saturate(1.05); backdrop-filter: blur(14px) saturate(1.05); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .langgate { background: rgb(253 251 247 / .93); } }
:root[data-theme="dark"] .langgate { background: rgb(26 15 20 / .42); }
html.lang-ask .langgate { display: flex; }
html.lang-ask body { overflow: hidden; }
.langgate__box { display: grid; gap: 20px; justify-items: center; width: min(100%, 340px); padding: 30px 28px 28px; text-align: center; background: var(--alabaster); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 28px 70px rgb(43 34 37 / .2); }
.langgate__box img { width: 136px; height: auto; }
.langgate__t { font: 400 19px/1.3 var(--serif); color: var(--rasp); }
.langgate__t span { display: block; margin-top: 4px; font-size: .84em; opacity: .62; }
.langgate__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (prefers-reduced-motion: no-preference) {
  html.lang-ask .langgate { animation: lg-fade 600ms ease both; }
  html.lang-ask .langgate__box { animation: lg-in 700ms var(--ease) 120ms both; }
}
@keyframes lg-fade { from { opacity: 0; } }
@keyframes lg-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* Changing language: a beige panel and a burgundy one sweep across the screen, left to right, and the new page appears behind them */
.langwipe { position: fixed; inset: 0; z-index: 2000; overflow: hidden; pointer-events: none; }
.langwipe i { position: absolute; inset: 0; transform: translateX(-101%); }
.lw-a { background: #F3EFE9; }
.lw-b { background: #451425 url("/assets/brand/symbol-cream.svg") center / 64px no-repeat; }
.langwipe.is-in .lw-a { transform: none; transition: transform 560ms cubic-bezier(.7, 0, .2, 1); }
.langwipe.is-in .lw-b { transform: none; transition: transform 600ms cubic-bezier(.7, 0, .2, 1) 150ms; }
html.lang-wipe::before, html.lang-wipe::after { content: ""; position: fixed; inset: 0; z-index: 2000; pointer-events: none; }
html.lang-wipe::before { background: #F3EFE9; animation: lw-out 640ms cubic-bezier(.7, 0, .2, 1) 330ms both; }
html.lang-wipe::after { z-index: 2001; background: #451425 url("/assets/brand/symbol-cream.svg") center / 64px no-repeat; animation: lw-out 640ms cubic-bezier(.7, 0, .2, 1) 120ms both; }
@keyframes lw-out { to { transform: translateX(101%); } }
@media (prefers-reduced-motion: reduce) { html.lang-wipe::before, html.lang-wipe::after, .langwipe { display: none; } }
