/* ericdupont.ca · round 4
   Type: Source Serif 4 for display (optical sizes), Schibsted Grotesk for text.
   Colour: warm espresso ink, cream and paper, one bronze accent (gold on dark).
   Motion: hero entrance on load, one or two scroll moments a page, a hover layer everywhere.
   No decorative rules before labels, no tracked capitals. */

/* ---------- Tokens ---------- */
:root {
  --ink: #14120f;
  --ink-2: #1c1915;
  --ink-3: #28241e;
  --paper: #fbf9f5;
  --ivory: #f3eee5;
  --stone: #e6dfd3;
  --stone-2: #d3c9b9;
  --text: #2b2722;
  --muted: #6c655b;
  --quiet: #968c7f;
  --on-ink: #f2ede4;
  --on-ink-muted: #ada496;
  --bronze: #8a6635;
  --gold: #cfae7b;
  --line: rgba(20, 18, 15, .12);
  --line-ink: rgba(255, 255, 255, .11);

  --f-disp: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --f-body: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --maxw: 1360px;
  --gut: clamp(20px, 5vw, 72px);
  --head-h: 76px;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --r-art: 4px;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --m-in: 150ms;
  --m-out: 120ms;
  --m-image: 700ms;
  --shadow-1: 0 1px 2px rgba(20, 18, 15, .06), 0 8px 24px -12px rgba(20, 18, 15, .18);
  --shadow-2: 0 2px 4px rgba(20, 18, 15, .06), 0 24px 48px -20px rgba(20, 18, 15, .32);
  --glass-dark: rgba(22, 20, 17, .7);
  --glass-light: rgba(251, 249, 245, .74);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 20px); background: var(--paper); -webkit-tap-highlight-color: transparent; }
a, button, [role="button"], label, summary { touch-action: manipulation; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--f-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }
.section--ink :focus-visible, .phero :focus-visible, .hero :focus-visible, .site-foot :focus-visible { outline-color: var(--gold); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.08; text-wrap: balance; color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--gold); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 980px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 300; font-size: 14px; }
.skip:focus { top: 12px; }

/* Page transitions between pages (browsers that support them) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; animation-timing-function: var(--ease); }

/* ---------- Type ---------- */
.kicker, .eyebrow, .label { display: inline-block; font-family: var(--f-body); font-size: 14px; font-weight: 500; letter-spacing: .01em; line-height: 1.4; color: var(--bronze); margin: 0 0 18px; }
.section--ink .kicker, .section--ink .eyebrow, .section--ink .label, .phero .kicker, .phero .label, .hero .kicker, .site-foot .label, .next .label { color: var(--gold); }
.display { font-family: var(--f-disp); font-weight: 400; font-size: clamp(58px, min(8.2vw, 12.5vh), 132px); line-height: .9; letter-spacing: -.02em; }
.h1 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(44px, 6vw, 90px); line-height: .95; letter-spacing: -.018em; }
.h2 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; letter-spacing: -.012em; }
.h3 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(28px, 2.5vw, 36px); line-height: 1.08; }
.h4 { font-family: var(--f-body); font-weight: 600; font-size: 15px; letter-spacing: 0; color: var(--ink); }
.display em, .h1 em, .h2 em, .h3 em, .statement em { font-style: italic; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; max-width: 58ch; color: inherit; opacity: .9; }
.statement { font-family: var(--f-disp); font-weight: 400; font-size: clamp(32px, 3.8vw, 56px); line-height: 1.1; letter-spacing: -.01em; color: var(--ink); max-width: 22ch; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.tiny { font-size: 13px; }
.prose { max-width: 66ch; font-size: 17.5px; line-height: 1.75; }
.prose p { color: var(--text); }
.prose h2 { font-family: var(--f-disp); font-size: 36px; line-height: 1.1; margin: 1.4em 0 .5em; color: var(--ink); }
.prose h3, .prose h4 { font-family: var(--f-disp); font-weight: 400; font-size: 28px; line-height: 1.15; margin: 1.4em 0 .4em; color: var(--ink); }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; background: var(--ivory); border-radius: var(--r-m); font-family: var(--f-disp); font-style: italic; font-size: 26px; line-height: 1.35; color: var(--ink); }
.prose a { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat, linear-gradient(var(--stone-2), var(--stone-2)) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 1px; }
.prose a:hover { background-size: 100% 1px, 100% 1px; }
.prose-lede { font-family: var(--f-disp); font-size: clamp(27px, 2.5vw, 34px); line-height: 1.25; color: var(--ink); }

/* ---------- Buttons & links ---------- */
.btn { --b-bg: var(--ink); --b-fg: var(--on-ink); --b-bd: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg); font-family: var(--f-body); font-size: 15.5px; font-weight: 500; letter-spacing: 0; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background-color var(--m-out) var(--ease), color var(--m-out) var(--ease), border-color var(--m-out) var(--ease), transform var(--m-out) var(--ease), box-shadow var(--m-out) var(--ease); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform var(--m-out) var(--ease); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: rgba(20, 18, 15, .28); }
.btn--light { --b-bg: var(--on-ink); --b-fg: var(--ink); --b-bd: var(--on-ink); }
.btn--line-light { --b-bg: rgba(255, 255, 255, .04); --b-fg: var(--on-ink); --b-bd: rgba(255, 255, 255, .34); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--gold { --b-bg: var(--gold); --b-fg: var(--ink); --b-bd: var(--gold); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14.5px; }
.btn--plain::after { display: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); transition-duration: var(--m-in); box-shadow: 0 10px 24px -14px rgba(20, 18, 15, .55); }
  /* dark buttons deepen; white buttons turn pure white and keep dark text; outlined ones fill lightly */
  .btn:hover { --b-bg: #2c2722; --b-bd: #2c2722; }
  .btn.btn--ghost:hover { --b-bg: rgba(20, 18, 15, .05); --b-bd: var(--ink); }
  .btn.btn--line-light:hover { --b-bg: rgba(255, 255, 255, .14); --b-bd: rgba(255, 255, 255, .7); }
  .btn.btn--light:hover, .btn.btn--gold:hover,
  .phero .btn:not(.btn--ghost):not(.btn--line-light):hover { --b-bg: #fff; --b-bd: #fff; --b-fg: var(--ink); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .65); }
  .phero .btn.btn--ghost:hover { --b-bg: rgba(255, 255, 255, .14); --b-bd: rgba(255, 255, 255, .7); --b-fg: #fff; }
  .site-head[data-tone="dark"] .head-cta .btn:hover, .has-overlay .site-head:not(.is-scrolled) .head-cta .btn:hover { --b-bg: rgba(255, 255, 255, .18); --b-bd: rgba(255, 255, 255, .65); --b-fg: #fff; }
  .btn:hover svg { transform: translateX(3px); }
}
.btn:active { transform: translateY(1px) scale(.985); transition-duration: 90ms; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 500; color: inherit; white-space: nowrap; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.link-arrow::after { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform var(--m-out) var(--ease); }
:root { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8h13M9 3l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); --arrow-ne: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 12 12 4M5.5 4H12v6.5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.link-arrow[target="_blank"]::after { -webkit-mask-image: var(--arrow-ne); mask-image: var(--arrow-ne); }
/* Long link labels (e.g. "Integral Health Science, notre histoire") wrap on narrow phones instead of running past the card. */
@media (max-width: 600px) {
  .link-arrow { display: inline; white-space: normal; line-height: 1.6; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .link-arrow::after { display: inline-block; margin-left: 8px; vertical-align: -1px; }
}
@media (hover: hover) and (pointer: fine) {
  .link-arrow { background-size: 100% 1px; transition: background-size .35s var(--ease), color var(--m-in) var(--ease); }
  .link-arrow:hover { animation: underline-redraw .55s var(--ease); }
  .link-arrow:hover::after { transform: translateX(3px); }
  .link-arrow[target="_blank"]:hover::after { transform: translate(2px, -2px); }
}
@keyframes underline-redraw { 0% { background-position: 100% 100%; background-size: 100% 1px; } 45% { background-position: 100% 100%; background-size: 0 1px; } 46% { background-position: 0 100%; background-size: 0 1px; } 100% { background-position: 0 100%; background-size: 100% 1px; } }
.ext::after { content: " ↗"; }
.link { color: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat, linear-gradient(var(--stone-2), var(--stone-2)) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 1px; }
.link:hover { background-size: 100% 1px, 100% 1px; }
.section--ink .link, .phero .link { background-image: linear-gradient(currentColor, currentColor), linear-gradient(rgba(255, 255, 255, .25), rgba(255, 255, 255, .25)); }

/* ---------- Header ---------- */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: var(--ink); transition: color .3s var(--ease); }
.site-head::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--glass-light); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); box-shadow: inset 0 -1px 0 var(--line); opacity: 1; transition: opacity .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease); }
.site-head[data-tone="dark"] { color: var(--on-ink); }
.site-head[data-tone="dark"]::before { background: var(--glass-dark); box-shadow: inset 0 -1px 0 var(--line-ink); }
.has-overlay .site-head:not(.is-scrolled)::before { opacity: 0; }
.has-overlay .site-head:not(.is-scrolled) { color: var(--on-ink); }
.has-overlay .site-head:not(.is-scrolled) .bar { text-shadow: 0 1px 14px rgba(20, 18, 15, .45); }
.proto { font-size: 13px; color: var(--on-ink-muted); background: rgba(20, 18, 15, .9); }
.has-overlay .site-head:not(.is-scrolled) .proto { background: rgba(20, 18, 15, .35); }
.proto .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 32px; text-align: center; }
.proto b { color: var(--on-ink); font-weight: 600; }
.proto button { background: none; border: 0; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.proto button:hover { color: #fff; }
.bar { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.wordmark { flex: none; display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--f-disp); font-size: 28px; letter-spacing: -.005em; line-height: 1; white-space: nowrap; }
.wordmark small { font-family: var(--f-body); font-size: 13px; font-weight: 500; opacity: .7; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nl { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 15px; font-weight: 500; white-space: nowrap; border-radius: 999px; transition: background-color var(--m-out) var(--ease), opacity var(--m-out) var(--ease); }
.nl::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nl[aria-current="page"]::after, .nl.is-section::after { transform: scaleX(1); transform-origin: left; height: 2px; }
@media (hover: hover) and (pointer: fine) { .nav-item:hover > .nl::after { transform: scaleX(1); transform-origin: left; } }
.nl .chev { width: 9px; height: 9px; opacity: .65; transition: transform .25s var(--ease); }
.nav-item.is-open .nl .chev, .nav-item:hover .nl .chev { transform: rotate(180deg); }
.nl-toggle { display: none; }
.head-cta { display: flex; align-items: center; gap: 14px; margin-left: 14px; }
.head-cta .btn { min-height: 40px; padding: 8px 18px; font-size: 14.5px; }
.site-head[data-tone="dark"] .head-cta .btn, .has-overlay .site-head:not(.is-scrolled) .head-cta .btn { --b-bg: rgba(255, 255, 255, .08); --b-fg: var(--on-ink); --b-bd: rgba(255, 255, 255, .38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lang { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.lang > * { padding: 6px 9px; border-radius: 999px; opacity: .62; line-height: 1; transition: opacity var(--m-out) var(--ease), background-color var(--m-out) var(--ease); }
.lang [aria-current="true"] { opacity: 1; background: var(--ink); color: var(--paper); }
.site-head[data-tone="dark"] .lang [aria-current="true"], .has-overlay .site-head:not(.is-scrolled) .lang [aria-current="true"], .menu-open .lang [aria-current="true"] { background: var(--on-ink); color: var(--ink); }
.lang { box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 30%, transparent); }
.lang a:hover { opacity: 1; }
.icon-link { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 35%, transparent); transition: background-color var(--m-out) var(--ease), color var(--m-out) var(--ease); }
.icon-link:hover { background: var(--on-ink); color: var(--ink); }
.icon-link svg { width: 15px; height: 15px; fill: currentColor; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 1.5px; border-radius: 2px; background: currentColor; position: relative; transition: transform .35s var(--ease), background-color .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* Mega menu panels (desktop) */
.mm { position: absolute; top: calc(100% + 14px); left: 50%; width: 600px; transform: translate(calc(-50% + var(--mm-shift, 0px)), 6px); opacity: 0; visibility: hidden; pointer-events: none; color: var(--on-ink); transition: opacity var(--m-out) var(--ease), transform var(--m-out) var(--ease), visibility 0s linear var(--m-out); z-index: 5; }
.mm::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.mm-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 10px; padding: 10px; border-radius: 24px; background: rgba(24, 21, 18, .8); -webkit-backdrop-filter: saturate(1.6) blur(28px); backdrop-filter: saturate(1.6) blur(28px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 80px -24px rgba(0, 0, 0, .55); }
.mm-links { padding: 18px 10px 12px 14px; }
.mm-kicker { font-size: 13.5px; color: var(--gold); margin: 0 0 10px 8px; }
.mm-links ul { list-style: none; display: grid; gap: 2px; }
.mm-links a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 12px; font-size: 16px; font-weight: 500; color: var(--on-ink); transition: background-color var(--m-out) var(--ease); }
.mm-links a small { font-size: 13px; font-weight: 400; color: var(--on-ink-muted); white-space: nowrap; }
.mm-links a:hover, .mm-links a:focus-visible { background: rgba(255, 255, 255, .08); }
.mm-card { position: relative; display: block; border-radius: 16px; overflow: hidden; min-height: 260px; background: var(--ink-3); isolation: isolate; }
.mm-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform var(--m-image) var(--ease); }
.mm-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 18, 15, 0) 40%, rgba(20, 18, 15, .85) 100%); }
.mm-card span { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--f-disp); font-size: 26px; line-height: 1.05; color: #fff; }
.mm-card span::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .16) var(--arrow-white) center / 14px no-repeat; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color var(--m-out) var(--ease); }
:root { --arrow-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8h13M9 3l5 5-5 5' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); --arrow-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8h13M9 3l5 5-5 5' fill='none' stroke='%2314120f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.mm-card:hover img { transform: scale(1.06); }
.mm-card:hover span::after { background-color: rgba(255, 255, 255, .3); }
@media (min-width: 1101px) {
  .nav-item:hover > .mm, .nav-item:focus-within > .mm, .nav-item.is-open > .mm { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(calc(-50% + var(--mm-shift, 0px)), 0); transition: opacity 200ms var(--ease) 120ms, transform 200ms var(--ease) 120ms, visibility 0s linear 120ms; }
  .nav.mm-instant .nav-item:hover > .mm { transition-delay: 0s; }
}

/* ---------- Layout ---------- */
main { padding-top: var(--head-h); }
.has-overlay main { padding-top: 0; }
.section { position: relative; padding-block: clamp(88px, 11vw, 168px); }
.section--tight { padding-block: clamp(64px, 7.5vw, 112px); }
.section--ivory, .section--soft { background: var(--ivory); }
.section--ink { background: radial-gradient(110% 70% at 88% 0%, rgba(207, 174, 123, .07), transparent 60%), var(--ink); color: var(--on-ink); }
.section--ink .muted, .section--ink .small { color: var(--on-ink-muted); }
.section--ink .statement { color: var(--on-ink); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(44px, 5.5vw, 76px); }
.section-head > div { max-width: 780px; }
.section-head p { margin: 22px 0 0; color: var(--muted); max-width: 58ch; }
.section--ink .section-head p { color: var(--on-ink-muted); }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--top { align-items: start; }
.split--wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.split--side { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); }
.split--side .h2 { font-size: clamp(34px, 3.6vw, 54px); } /* long French titles ("Conseils d’administration") fit the narrow side column */
@media (max-width: 900px) { .split, .split--wide, .split--side { grid-template-columns: 1fr; } }
.sticky-col { position: sticky; top: calc(var(--head-h) + 40px); }
@media (max-width: 900px) { .sticky-col { position: static; } }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 36px; } .mt-4 { margin-top: 56px; }
.center { text-align: center; }
.stack-lg { display: grid; gap: 18px; }

/* ---------- Motion: entrance, heading rise, image reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-enter] [data-e] { opacity: 0; transform: translateY(14px); }
  .js [data-enter] .e-line { display: inline-block; vertical-align: top; overflow: hidden; padding: .16em .02em .14em; margin: -.16em -.02em -.14em; }
  .js [data-enter] .e-line > span { display: inline-block; transform: translateY(105%); }
  .js [data-enter] [data-e-media] img { transform: scale(1.06); }
  .js.is-ready [data-enter] [data-e] { opacity: 1; transform: none; transition: opacity .6s var(--ease-enter) calc(var(--d, 0) * 1ms + 380ms), transform .7s var(--ease-enter) calc(var(--d, 0) * 1ms + 380ms); }
  .js.is-ready [data-enter] .e-line > span { transform: none; transition: transform .8s var(--ease-enter) calc(var(--d, 0) * 1ms); }
  .js.is-ready [data-enter] [data-e-media] img { transform: scale(1); transition: transform 1.6s var(--ease-enter); }
}
/* Section headings and images no longer animate in on scroll: one motion moment per page is enough. */

/* ---------- Home hero (pinned: the next section slides over it) ---------- */
.hx { position: relative; background: var(--ink); --hx: 0; }
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: stretch; background: var(--ink); color: var(--on-ink); overflow: hidden; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; overflow: hidden; --fade-mask: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .03) 5%, rgba(0, 0, 0, .1) 10%, rgba(0, 0, 0, .22) 15%, rgba(0, 0, 0, .38) 20%, rgba(0, 0, 0, .56) 25%, rgba(0, 0, 0, .72) 30%, rgba(0, 0, 0, .85) 35%, rgba(0, 0, 0, .94) 40%, #000 46%); -webkit-mask-image: var(--fade-mask); mask-image: var(--fade-mask); }
.hero-media .hm-frame { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 30%; transform-origin: 55% 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 18, 15, .5) 0%, rgba(20, 18, 15, .16) calc(var(--head-h) + 40px), rgba(20, 18, 15, 0) calc(var(--head-h) + 130px)), linear-gradient(90deg, rgba(20, 18, 15, .9) 0%, rgba(20, 18, 15, .62) 14%, rgba(20, 18, 15, .3) 26%, rgba(20, 18, 15, .08) 38%, rgba(20, 18, 15, 0) 48%), linear-gradient(0deg, rgba(20, 18, 15, .92) 0%, rgba(20, 18, 15, 0) 36%); }
/* a gentle zoom on Dr. Dupont, anchored at the bottom so his head stays clear of the menu */
@media (min-width: 901px) { .hero-media .hm-frame img { position: absolute; left: -10%; bottom: 0; width: 116%; max-width: none; height: 116%; } }
.hero-inner { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; padding-top: calc(var(--head-h) + clamp(20px, 4vh, 56px)); padding-bottom: calc(36px + clamp(28px, 5vh, 56px)); }
.hero-copy { margin-block: auto; }
.hero-copy { position: relative; max-width: 620px; }
.hero h1 .pre { display: block; font-size: .32em; line-height: 1.2; font-style: italic; letter-spacing: 0; color: var(--gold); margin-bottom: .42em; }
.hero h1 .post { display: block; margin-top: 18px; font-family: var(--f-body); font-size: 16px; line-height: 1.4; letter-spacing: 0; color: var(--on-ink-muted); }
.hero .thesis { font-family: var(--f-disp); font-style: italic; font-size: clamp(24px, min(2.2vw, 3.4vh), 32px); line-height: 1.25; color: var(--on-ink); max-width: 25ch; margin: clamp(18px, 3vh, 30px) 0 clamp(22px, 3.6vh, 34px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-index { position: relative; flex: none; margin-top: clamp(32px, 5vh, 64px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.hero-index a { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 15px; border-radius: 16px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.hero-index span { font-family: var(--f-disp); font-size: clamp(22px, 1.8vw, 27px); line-height: 1.05; color: var(--on-ink); }
.hero-index small { font-size: 13px; line-height: 1.35; color: var(--on-ink-muted); }
@media (hover: hover) and (pointer: fine) { .hero-index a:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transform: translateY(-2px); } .hero-index a:hover small { color: var(--gold); } }

/* the scroll link: the hero recedes while the next sheet slides over it */
@media (min-width: 901px) and (min-height: 680px) {
  .hx .hero { position: sticky; top: 0; height: 100svh; min-height: 0; }
  .hx .hero-inner { opacity: calc(1 - var(--hx) * 1.5); transform: translate3d(0, calc(var(--hx) * -70px), 0); }
  .hx .hero-media img { transform: scale(calc(1 + var(--hx) * .1)); }
  .hx .hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: #0c0b09; opacity: calc(var(--hx) * .65); }
  .hx .hero { transform: scale(calc(1 - var(--hx) * .05)); transform-origin: 50% 0; border-radius: calc(var(--hx) * 32px); }
}
.sheet { position: relative; z-index: 3; background: var(--paper); border-radius: 36px 36px 0 0; margin-top: -36px; box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .45); }

/* ---------- Statement (word highlight) + numbers ---------- */
.statement[data-words] .w { color: var(--quiet); transition: color .35s var(--ease); }
.statement[data-words] .w.on { color: var(--ink); }
.no-js .statement[data-words] .w, .statement[data-words].is-static .w { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .statement[data-words] .w { color: var(--ink); } }
.numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.numbers > div { padding: 28px 26px 26px; border-radius: var(--r-m); background: var(--ivory); }
.numbers b { display: block; white-space: nowrap; font-family: var(--f-disp); font-weight: 400; font-size: clamp(52px, 5.4vw, 80px); line-height: .95; color: var(--ink); font-variant-numeric: lining-nums; letter-spacing: -.02em; }
.numbers b sup { font-family: var(--f-body); font-size: 15px; font-weight: 500; letter-spacing: 0; vertical-align: top; position: relative; top: .5em; margin-left: 6px; color: var(--bronze); }
.numbers span { display: block; margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--muted); max-width: 30ch; }
.section--ink .numbers > div { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-ink); }
.section--ink .numbers b { color: var(--on-ink); }
.section--ink .numbers b sup { color: var(--gold); }
.section--ink .numbers span { color: var(--on-ink-muted); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fact { padding: 30px 26px 28px; border-radius: var(--r-m); background: var(--ivory); }
.section--soft .fact, .section--ivory .fact { background: var(--paper); }
.fact b { display: block; font-family: var(--f-disp); font-weight: 400; font-size: clamp(46px, 4.6vw, 70px); line-height: .95; color: var(--ink); font-variant-numeric: lining-nums; letter-spacing: -.015em; }
.fact span { display: block; margin-top: 12px; font-size: 15px; color: var(--muted); line-height: 1.45; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.signature { width: 210px; opacity: .85; margin-top: 40px; }

/* ---------- Quote ---------- */
.quote { margin: 0; max-width: 1080px; }
.quote p { font-family: var(--f-disp); font-weight: 400; font-style: italic; font-size: clamp(34px, 4.2vw, 64px); line-height: 1.1; letter-spacing: -.01em; color: inherit; margin: 0; }
.quote p::before { content: "“"; } .quote p::after { content: "”"; }
.quote cite { display: block; margin-top: 30px; font-style: normal; font-size: 15px; font-weight: 500; color: var(--bronze); }
.section--ink .quote cite { color: var(--gold); }
.quote cite a { border-bottom: 1px solid currentColor; }
.quote--center { margin-inline: auto; text-align: center; }

/* ---------- Explorer (pills that swap a picture) ---------- */
.xp { display: grid; grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
@media (min-width: 901px) { .xp .xp-stage { position: sticky; top: calc(var(--head-h) + 32px); } }
.xp-list { display: grid; gap: 10px; align-content: start; }
.xp-item { border-radius: 26px; background: var(--ivory); transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.section--soft .xp-item, .section--ivory .xp-item { background: var(--paper); }
.section--ink .xp-item { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-ink); }
.xp-pill { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 22px 14px 14px; border: 0; background: none; text-align: left; cursor: pointer; border-radius: 26px; }
.xp-pill .xp-plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); transition: transform .4s var(--ease), background-color .3s var(--ease); }
.xp-pill .xp-plus::before, .xp-pill .xp-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: var(--paper); border-radius: 2px; transition: transform .4s var(--ease); }
.xp-pill .xp-plus::after { transform: rotate(90deg); }
.section--ink .xp-pill .xp-plus { background: var(--on-ink); }
.section--ink .xp-pill .xp-plus::before, .section--ink .xp-pill .xp-plus::after { background: var(--ink); }
.xp-pill .xp-t { font-family: var(--f-disp); font-size: clamp(25px, 2.1vw, 31px); line-height: 1.05; color: var(--ink); }
.section--ink .xp-pill .xp-t { color: var(--on-ink); }
.xp-pill .xp-s { margin-left: auto; padding-left: 10px; font-size: 13.5px; color: var(--muted); text-align: right; white-space: nowrap; }
.section--ink .xp-pill .xp-s { color: var(--on-ink-muted); }
.xp-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.xp-body > div { overflow: hidden; min-height: 0; }
.xp-body .xp-text { padding: 0 26px 24px 58px; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.xp-body p { color: var(--text); margin: 0 0 14px; font-size: 16.5px; max-width: 46ch; }
.section--ink .xp-body p { color: var(--on-ink-muted); }
.xp-item.is-active { background: var(--paper); box-shadow: var(--shadow-2); }
.section--soft .xp-item.is-active, .section--ivory .xp-item.is-active { background: #fff; }
.section--ink .xp-item.is-active { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.xp-item.is-active .xp-plus { transform: rotate(45deg); background: var(--bronze); }
.section--ink .xp-item.is-active .xp-plus { background: var(--gold); }
.xp-item.is-active .xp-body { grid-template-rows: 1fr; }
.xp-item.is-active .xp-text { opacity: 1; transform: none; transition-delay: .12s; }
.xp-item.is-active .xp-s { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .xp-item:not(.is-active):hover { background: var(--stone); } .section--ink .xp-item:not(.is-active):hover { background: rgba(255, 255, 255, .09); } .section--soft .xp-item:not(.is-active):hover { background: #fff; } }
.xp-stage { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-l); overflow: hidden; background: var(--ink-3); isolation: isolate; }
.xp-media { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s var(--ease); }
.xp-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease-enter); }
.xp-media.is-active { opacity: 1; z-index: 1; }
.xp-media.is-active img { transform: scale(1); }
.xp-media .xp-badge { position: absolute; left: 18px; bottom: 18px; z-index: 2; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #fff; background: rgba(20, 18, 15, .38); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.xp-media--contain { background: #fff; }
.xp-media--contain img { object-fit: contain; padding: 8%; }
.xp-text .xp-meta { font-size: 14px; color: var(--bronze); margin-bottom: 8px; }
.xp-text b { font-weight: 500; color: var(--ink); }
.section--ink .xp-text b { color: var(--on-ink); }
.xp-text .xp-fig { display: flex; align-items: baseline; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--ivory); }
.xp-text .xp-fig b { font-family: var(--f-disp); font-weight: 400; font-size: 46px; line-height: .9; color: var(--ink); white-space: nowrap; }
.xp-text .xp-fig span { font-size: 14px; color: var(--muted); }
.xp-text .link-arrow { margin-top: 4px; }
.xp-item[id] { scroll-margin-top: calc(var(--head-h) + 40px); }
@media (max-width: 640px) { .xp-pill .xp-s, .xp-media .xp-badge { display: none; } }
.xp-item > .xp-stage { margin: 0 12px 6px; aspect-ratio: 4 / 3; border-radius: 18px; }
.xp-list, .xp-item, .xp-pill { min-width: 0; }
@media (max-width: 900px) {
  .xp { grid-template-columns: 1fr; }
  .xp-stage { order: -1; aspect-ratio: 4 / 3; }
  .xp-body .xp-text { padding-left: 22px; }
}

/* ---------- IHS band ---------- */
.ihs { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.ihs figure { margin: 0; position: relative; border-radius: var(--r-l); overflow: hidden; --r: var(--r-l); }
.ihs figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.ihs-logo { width: 156px; opacity: .95; margin-bottom: 30px; }
.pull { font-family: var(--f-disp); font-style: italic; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.12; margin: 0 0 28px; }
@media (max-width: 900px) { .ihs { grid-template-columns: 1fr; } }

/* ---------- Timeline strip (home) ---------- */
.tl-strip { position: relative; }
.tl-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 23%); gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; margin: -4px -2px 0; cursor: grab; overscroll-behavior-x: contain; }
.tl-track::-webkit-scrollbar { display: none; }
.tl-track.is-drag { cursor: grabbing; user-select: none; }
.tl-track li { list-style: none; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 230px; padding: 24px 24px 22px; border-radius: var(--r-m); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s var(--ease), transform .3s var(--ease); }
.tl-track li b { display: block; font-family: var(--f-disp); font-weight: 400; font-size: 56px; line-height: .9; color: var(--ink); font-variant-numeric: lining-nums; letter-spacing: -.02em; }
.tl-track li span { display: block; font-size: 16px; line-height: 1.45; color: var(--text); max-width: 26ch; }
.tl-track li:last-child { background: var(--ink); box-shadow: none; }
.tl-track li:last-child b { color: var(--gold); }
.tl-track li:last-child span { color: var(--on-ink); }
@media (hover: hover) and (pointer: fine) { .tl-track li:hover { transform: translateY(-2px); background: #fff; } .tl-track li:last-child:hover { background: var(--ink-2); } }
.tl-ctrl { display: flex; gap: 8px; }
.round-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background-color var(--m-out) var(--ease), color var(--m-out) var(--ease), opacity .2s; }
.round-btn svg { width: 16px; height: 16px; }
.round-btn:hover { background: var(--ink); color: var(--on-ink); }
.round-btn[disabled] { opacity: .35; pointer-events: none; }
.section--ink .round-btn { background: rgba(255, 255, 255, .06); color: var(--on-ink); box-shadow: inset 0 0 0 1px var(--line-ink); }
.section--ink .round-btn:hover { background: var(--on-ink); color: var(--ink); }

/* ---------- Pinned timeline (About) ---------- */
.tlp { position: relative; height: calc(var(--n) * 30vh + 100svh); background: var(--ink); color: var(--on-ink); }
.tlp-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.tlp-glow { position: absolute; inset: 0; background: radial-gradient(70% 60% at 80% 40%, rgba(207, 174, 123, .09), transparent 70%); pointer-events: none; }
.tlp-grid { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 110px); align-items: center; padding-top: var(--head-h); }
.tlp-head .h2 { margin-bottom: clamp(24px, 4vh, 48px); }
.tlp-year { position: relative; height: 1.15em; overflow: hidden; font-family: var(--f-disp); font-size: clamp(96px, min(15vw, 24svh), 230px); line-height: 1.15; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); letter-spacing: -.035em; color: var(--on-ink); font-variant-numeric: lining-nums; }
.tlp-ytrack { display: block; transform: translate3d(0, calc(var(--i, 0) * -1.15em), 0); transition: transform .8s var(--ease-enter); }
.tlp-ytrack span { display: block; height: 1.15em; white-space: nowrap; }
.tlp-ytrack span.is-word { font-size: .62em; height: 1.8548em; line-height: 1.8548; font-style: italic; }
.tlp-events { position: relative; list-style: none; height: 7.2em; margin-top: 10px; font-size: 22px; }
.tlp-ev { position: absolute; left: 0; top: 0; right: 0; opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease), transform .6s var(--ease-enter); }
.tlp-ev.is-active { opacity: 1; transform: none; transition-delay: .08s; }
.tlp-ev.is-past { transform: translateY(-14px); }
.tlp-ev .tag { display: inline-block; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--gold); background: rgba(207, 174, 123, .1); box-shadow: inset 0 0 0 1px rgba(207, 174, 123, .25); }
.tlp-ev p { font-family: var(--f-disp); font-size: clamp(28px, 2.6vw, 40px); line-height: 1.12; color: var(--on-ink); margin: 0; max-width: 20ch; }
.tlp-pics { position: relative; aspect-ratio: 4 / 5; max-height: 68svh; width: 100%; margin-left: auto; border-radius: var(--r-l); overflow: hidden; background: var(--ink-3); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.tlp-pic { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.tlp-pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.4s var(--ease-enter); }
.tlp-pic.is-active { opacity: 1; }
.tlp-pic.is-active img { transform: scale(1); }
.tlp-rail { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(20px, 4vh, 40px); display: flex; align-items: center; gap: 14px; max-width: calc(var(--maxw) - 2 * var(--gut)); margin-inline: auto; }
.tlp-rail ol { flex: 1; position: relative; display: flex; justify-content: space-between; list-style: none; height: 22px; align-items: center; }
.tlp-rail ol::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .16); }
.tlp-rail ol::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); transform: scaleX(var(--p, 0)); transform-origin: left; }
.tlp-rail li { position: relative; z-index: 1; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.tlp-rail li.is-done { background: var(--gold); box-shadow: none; }
.tlp-rail li.is-active { transform: scale(1.6); background: var(--gold); box-shadow: 0 0 0 4px rgba(207, 174, 123, .2); }
.tlp-rail .tlp-count { font-size: 13px; color: var(--on-ink-muted); font-variant-numeric: tabular-nums; min-width: 4.5em; text-align: right; }
.tlp-static { display: none; }
@media (max-width: 900px) {
  .tlp { height: calc(var(--n) * 26vh + 100svh); }
  .tlp-grid { grid-template-columns: 1fr; gap: 18px; align-content: start; padding-top: calc(var(--head-h) + 12px); }
  .tlp-head .h2 { font-size: 34px; margin-bottom: 8px; }
  .tlp-head .kicker { margin-bottom: 6px; }
  .tlp-pics { order: 2; aspect-ratio: 16 / 10; max-height: 34svh; }
  .tlp-year { font-size: clamp(72px, 22vw, 120px); }
  .tlp-events { font-size: 18px; height: 8.4em; margin-top: 8px; }
  .tlp-ev p { font-size: 24px; }
  .tlp-pics { max-height: 30svh; }
}
@media (prefers-reduced-motion: reduce) {
  .tlp { height: auto; }
  .tlp-stage { display: none; }
  .tlp-static { display: block; }
}
.no-js .tlp { height: auto; } .no-js .tlp-stage { display: none; } .no-js .tlp-static { display: block; }

/* ---------- Page hero ---------- */
.phero { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; min-height: min(88svh, 880px); display: flex; align-items: flex-end; isolation: isolate; }
.phero-media { position: absolute; inset: 0; z-index: -1; }
.phero-media .pm-frame { position: absolute; inset: 0; overflow: hidden; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; }
.phero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 18, 15, .94) 0%, rgba(20, 18, 15, .74) 26%, rgba(20, 18, 15, .3) 58%, rgba(20, 18, 15, .12) 80%, rgba(20, 18, 15, .42) 100%); }
.phero-inner { position: relative; width: 100%; padding-top: calc(var(--head-h) + 120px); padding-bottom: clamp(52px, 6.5vw, 96px); }
.phero-copy { max-width: 820px; }
.phero .lead { margin-top: 26px; color: var(--on-ink); max-width: 56ch; }
.phero .hero-actions { margin-top: 34px; }
.phero .btn:not(.btn--ghost):not(.btn--line-light) { --b-bg: var(--on-ink); --b-fg: var(--ink); --b-bd: var(--on-ink); }
.phero .btn--ghost { --b-bg: rgba(255, 255, 255, .05); --b-fg: var(--on-ink); --b-bd: rgba(255, 255, 255, .34); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.phero .chip { color: var(--on-ink); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.phero .muted, .phero .small { color: var(--on-ink-muted); }
.phero .prose, .phero .prose p, .phero .prose strong { color: var(--on-ink); }
.phero-cap { display: none; }
/* side: a photo on the right with a long soft shadow */
@media (min-width: 901px) {
  .phero--side .phero-media { left: auto; width: var(--side-w, 70%); -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) calc(var(--fade) * .55), #000 var(--fade)); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) calc(var(--fade) * .55), #000 var(--fade)); }
  .phero--side .phero-media::after { background: linear-gradient(180deg, rgba(20, 18, 15, .5) 0%, rgba(20, 18, 15, .16) calc(var(--head-h) + 40px), rgba(20, 18, 15, 0) calc(var(--head-h) + 130px)), linear-gradient(90deg, rgba(20, 18, 15, .55) 0%, rgba(20, 18, 15, 0) calc(var(--fade) + 10%)), linear-gradient(0deg, rgba(20, 18, 15, .8) 0%, rgba(20, 18, 15, 0) 36%); }
  .phero--photo .phero-media::after { background: linear-gradient(180deg, rgba(20, 18, 15, .62) 0%, rgba(20, 18, 15, .2) calc(var(--head-h) + 50px), rgba(20, 18, 15, 0) calc(var(--head-h) + 140px)), linear-gradient(0deg, rgba(20, 18, 15, .94) 0%, rgba(20, 18, 15, .74) 26%, rgba(20, 18, 15, .3) 58%, rgba(20, 18, 15, .1) 80%); }
  .phero--side .phero-copy { max-width: min(46%, 620px); position: relative; }
  .phero--side .phero-copy::before { content: ""; position: absolute; inset: -140px -100px -80px -240px; z-index: -1; background: radial-gradient(ellipse at 30% 60%, rgba(20, 18, 15, .55) 0%, rgba(20, 18, 15, 0) 70%); pointer-events: none; }
}
/* split: a framed portrait on the right */
.phero--split { min-height: 0; align-items: stretch; background: radial-gradient(80% 90% at 85% 30%, rgba(207, 174, 123, .12), transparent 70%), var(--ink); }
.phero--split .phero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 100px); align-items: end; padding-bottom: 0; }
.phero--split .phero-copy { padding-bottom: clamp(52px, 6.5vw, 96px); }
.phero--split figure { margin: 0; align-self: end; border-radius: var(--r-l) var(--r-l) 0 0; overflow: hidden; }
.phero--split figure img { width: 100%; max-height: 74svh; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 18%; }
/* plain and stack: an ambient ground, never a flat black box */
.phero--plain, .phero--stack { min-height: 0; background: radial-gradient(60% 80% at 92% 8%, rgba(207, 174, 123, .16), transparent 62%), radial-gradient(50% 70% at 0% 100%, rgba(90, 74, 52, .32), transparent 70%), var(--ink); }
.phero--plain .phero-inner { padding-top: calc(var(--head-h) + 110px); padding-bottom: clamp(60px, 7vw, 104px); }
.phero--stack .phero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: calc(var(--head-h) + 72px); padding-bottom: clamp(56px, 6vw, 96px); }
.phero-ambient { position: absolute; inset: -10%; z-index: -1; opacity: .34; filter: blur(70px) saturate(1.3); pointer-events: none; }
.phero-ambient img { width: 100%; height: 100%; object-fit: cover; }
.pstack { position: relative; height: clamp(340px, 42vw, 560px); }
.pstack figure { position: absolute; margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 40px 70px -24px rgba(0, 0, 0, .7); transition: transform .8s var(--ease-enter); }
.pstack figure img { width: 100%; height: 100%; object-fit: cover; }
.pstack figure:nth-child(1) { width: 46%; height: 72%; left: 2%; top: 14%; transform: rotate(-5deg); z-index: 1; }
.pstack figure:nth-child(2) { width: 50%; height: 84%; left: 26%; top: 2%; z-index: 3; }
.pstack figure:nth-child(3) { width: 44%; height: 68%; right: 0; top: 22%; transform: rotate(5deg); z-index: 2; }
@media (hover: hover) and (pointer: fine) { .pstack:hover figure:nth-child(1) { transform: rotate(-8deg) translateX(-18px); } .pstack:hover figure:nth-child(3) { transform: rotate(8deg) translateX(18px); } .pstack:hover figure:nth-child(2) { transform: translateY(-8px); } }
@media (max-width: 900px) { .phero--stack .phero-inner { grid-template-columns: 1fr; } .pstack { height: 300px; margin-top: 8px; } }

/* Breadcrumb: a glass pill, legible on any photograph */
.crumbs { display: flex; width: fit-content; margin-bottom: 30px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--on-ink); background: rgba(20, 18, 15, .34); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); max-width: 100%; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li:not(:last-child)::after { content: ""; width: 5px; height: 5px; border-right: 1.2px solid currentColor; border-top: 1.2px solid currentColor; transform: rotate(45deg); opacity: .55; }
.crumbs a { opacity: .78; transition: opacity var(--m-out) var(--ease); }
.crumbs a:hover { opacity: 1; }
.crumbs--dark { color: var(--ink); background: var(--ivory); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- Lists: rows with an ink panel on hover ---------- */
.dl { display: grid; margin: 0; gap: 0; }
.dl > div { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 20px 18px; margin-inline: -18px; border-radius: 14px; isolation: isolate; }
.dl > div + div::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 1px; background: var(--line); }
.dl > div::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ink); transform: scaleX(.96); opacity: 0; transition: opacity .25s var(--ease), transform .45s var(--ease); }
.dl dt { font-family: var(--f-disp); font-size: 24px; line-height: 1.15; color: var(--bronze); font-variant-numeric: lining-nums; transition: color .25s var(--ease); }
.dl dd { margin: 0; color: var(--text); transition: color .25s var(--ease); }
.dl dd b { display: block; color: var(--ink); font-weight: 500; transition: color .25s var(--ease); }
.dl dd small { font-size: 15px; color: var(--muted); transition: color .25s var(--ease); }
.dl a { border-bottom: 1px solid var(--stone-2); }
@media (hover: hover) and (pointer: fine) {
  .dl > div:hover::after { opacity: 1; transform: none; }
  .dl > div:hover dt { color: var(--gold); }
  .dl > div:hover dd, .dl > div:hover dd b { color: var(--on-ink); }
  .dl > div:hover dd small { color: var(--on-ink-muted); }
  .dl > div:hover + div::before, .dl > div:hover::before { opacity: 0; }
}
.section--ink .dl > div + div::before { background: var(--line-ink); }
.section--ink .dl > div::after { background: rgba(255, 255, 255, .07); }
.section--ink .dl dt { color: var(--gold); }
.section--ink .dl dd, .section--ink .dl dd b { color: var(--on-ink); }
.section--ink .dl dd small { color: var(--on-ink-muted); }
@media (max-width: 560px) { .dl > div { grid-template-columns: 1fr; gap: 4px; } }

/* Honours: a list and a spotlight card that follows the hovered row */
.hon { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.hon--solo { grid-template-columns: 1fr; }
.hon-list { list-style: none; display: grid; }
.hon-row { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr) 28px; gap: 6px 18px; align-items: baseline; padding: 20px 20px; margin-inline: -20px; border-radius: 16px; cursor: default; outline-offset: -2px; isolation: isolate; }
.hon-row + .hon-row::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 1px; background: var(--line); transition: opacity .2s; }
.hon-row::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--ease-io); }
.hon-y { font-family: var(--f-disp); font-size: 30px; line-height: 1; color: var(--bronze); font-variant-numeric: lining-nums; transition: color .3s var(--ease), transform .4s var(--ease); }
.hon-t { font-size: 17.5px; line-height: 1.4; font-weight: 500; color: var(--ink); transition: color .3s var(--ease); }
.hon-o { grid-column: 2; font-size: 15px; line-height: 1.45; color: var(--muted); transition: color .3s var(--ease); }
.hon-go { grid-column: 3; grid-row: 1; align-self: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .12) var(--arrow-white) center / 12px no-repeat; opacity: 0; transform: translateX(-8px); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.hon-row.is-on::after { transform: scaleX(1); }
.hon-row.is-on::before, .hon-row.is-on + .hon-row::before { opacity: 0; }
.hon-row.is-on .hon-y { color: var(--gold); transform: translateX(4px); }
.hon-row.is-on .hon-t { color: var(--on-ink); }
.hon-row.is-on .hon-o { color: var(--on-ink-muted); }
.hon-row.is-on .hon-go { opacity: 1; transform: none; }
.section--ink .hon-row + .hon-row::before { background: var(--line-ink); }
.section--ink .hon-row::after { background: linear-gradient(90deg, rgba(207, 174, 123, .16), rgba(255, 255, 255, .06)); box-shadow: inset 0 0 0 1px rgba(207, 174, 123, .2); }
.section--ink .hon-y { color: var(--gold); }
.section--ink .hon-t { color: var(--on-ink); }
.section--ink .hon-o { color: var(--on-ink-muted); }
.hon-card { position: sticky; top: calc(var(--head-h) + 32px); min-height: 380px; display: flex; flex-direction: column; padding: 30px 30px 26px; border-radius: var(--r-l); background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; box-shadow: var(--shadow-2); }
.hon-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 100% 0%, rgba(207, 174, 123, .22), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(207, 174, 123, .08), transparent 70%); }
.section--ink .hon-card { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-ink); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.hon-card .hc-cat { align-self: flex-start; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--gold); background: rgba(207, 174, 123, .1); box-shadow: inset 0 0 0 1px rgba(207, 174, 123, .26); }
.hon-card .hc-y { margin-top: auto; font-family: var(--f-disp); font-size: clamp(96px, 9vw, 140px); line-height: .85; letter-spacing: -.03em; color: var(--on-ink); font-variant-numeric: lining-nums; }
.hon-card .hc-t { margin: 18px 0 6px; font-family: var(--f-disp); font-size: 30px; line-height: 1.1; }
.hon-card .hc-o { margin: 0; font-size: 15px; color: var(--on-ink-muted); min-height: 2.9em; }
.hon-card .hc-n { position: absolute; top: 30px; right: 30px; font-size: 13px; color: var(--on-ink-muted); font-variant-numeric: tabular-nums; }
.hon-card .hc-body { transition: opacity .25s var(--ease), transform .35s var(--ease); display: flex; flex-direction: column; flex: 1; }
.hon-card.is-swap .hc-body { opacity: 0; transform: translateY(8px); }
@media (max-width: 960px) { .hon { grid-template-columns: 1fr; } .hon-card { display: none; } }
@media (hover: none) { .hon-row::after { display: none; } }
@media (max-width: 560px) { .hon-row { grid-template-columns: 64px minmax(0, 1fr); } .hon-go { display: none; } .hon-y { font-size: 24px; } }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--paper); border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(26px, 2.6vw, 36px); transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease); }
.card h3 { font-family: var(--f-disp); font-weight: 400; font-size: 30px; line-height: 1.08; color: var(--ink); }
.card p { color: var(--muted); margin: 0; }
.card .link-arrow { margin-top: auto; align-self: flex-start; padding-top: 14px; background-position: 0 100%; }
.card .eyebrow, .card .kicker { margin-bottom: 4px; }
@media (hover: hover) and (pointer: fine) { a.card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--stone-2), 0 24px 48px -28px rgba(20, 18, 15, .35); } }
.card--soft { background: var(--ivory); box-shadow: none; }
.card--media { padding: 0; overflow: hidden; gap: 0; }
.card--media .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.card--media .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--m-image) var(--ease); }
.card--media .body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: clamp(22px, 2.2vw, 30px); }
.card--media .body .kicker { margin: 0; }
@media (hover: hover) and (pointer: fine) { a.card--media:hover .ph img { transform: scale(1.03); } }

.section--ivory .card, .section--soft .card { background: var(--paper); }
.section--ink .card { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-ink); color: var(--on-ink); }
.section--ink .card h3 { color: var(--on-ink); }
.section--ink .card p { color: var(--on-ink-muted); }

/* ---------- Art ---------- */
.col-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 820px) { .col-cards { grid-template-columns: 1fr; } }
.col-card { display: block; }
.col-card .ph { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r-m); background: var(--ink-3); }
.col-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--m-image) var(--ease); }
.col-card h3 { font-family: var(--f-disp); font-size: 32px; line-height: 1.05; margin-top: 20px; }
.col-card p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.section--ink .col-card p { color: var(--on-ink-muted); }
@media (hover: hover) and (pointer: fine) { .col-card:hover img { transform: scale(1.03); } }
.filters { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: 40px; border-radius: 999px; background: var(--ivory); }
.section--soft .filters { background: var(--paper); }
.filters button { border: 0; background: transparent; font-size: 14.5px; font-weight: 500; color: var(--muted); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); box-shadow: 0 6px 16px -8px rgba(20, 18, 15, .5); }
.filters button .n { opacity: .55; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* Works: a masonry wall where each painting comes into focus */
.masonry { columns: 4 260px; column-gap: 22px; }
.masonry .wk { break-inside: avoid; margin-bottom: 28px; }
.wk { display: block; position: relative; }
.wk .ph { position: relative; overflow: hidden; border-radius: var(--r-art); background: var(--stone); box-shadow: 0 1px 2px rgba(20, 18, 15, .08), 0 18px 34px -24px rgba(20, 18, 15, .5); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.wk .ph img { width: 100%; height: auto; transition: transform var(--m-image) var(--ease); }
.wk .ph::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
.wk .glass { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 14px; border-radius: 12px; color: #fff; background: rgba(20, 18, 15, .32); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.wk .glass b { font-family: var(--f-disp); font-weight: 400; font-size: 21px; line-height: 1.05; }
.wk .glass i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6V3h3M13 6V3h-3M3 10v3h3M13 10v3h-3' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.wk .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 12px; }
.wk .cap b { font-family: var(--f-disp); font-weight: 400; font-size: 22px; line-height: 1.1; color: var(--ink); }
.wk .cap span { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.wk[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) {
  .wk:hover .ph { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20, 18, 15, .08), 0 30px 50px -26px rgba(20, 18, 15, .6); }
  .wk:hover .ph img { transform: scale(1.03); }
  .wk:hover .glass { opacity: 1; transform: none; }
}
/* the focus pull as a painting scrolls into view */
@media (prefers-reduced-motion: no-preference) {
  .js .focus-wall .wk .ph { transform: scale(.94); opacity: .55; transition: transform 1s var(--ease-enter), opacity .9s var(--ease), box-shadow .3s var(--ease); }
  .js .focus-wall .wk .ph img { transform: scale(1.14); filter: saturate(.4) brightness(1.08); transition: transform 1.4s var(--ease-enter), filter 1.2s var(--ease); }
  .js .focus-wall .wk .ph .veil { position: absolute; inset: 0; z-index: 1; background: rgba(251, 249, 245, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity 1.1s var(--ease); pointer-events: none; }
  .js .focus-wall .wk.in .ph { transform: none; opacity: 1; }
  .js .focus-wall .wk.in .ph img { transform: none; filter: none; }
  .js .focus-wall .wk.in .ph .veil { opacity: 0; }
  @media (hover: hover) and (pointer: fine) { .js .focus-wall .wk.in:hover .ph { transform: translateY(-3px); } .js .focus-wall .wk.in:hover .ph img { transform: scale(1.03); } }
}
.veil { display: none; }
.js .focus-wall .veil { display: block; }
.series-block + .series-block { margin-top: clamp(64px, 8vw, 110px); }
.series-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 30px; }
.series-head h3 { font-family: var(--f-disp); font-size: 44px; line-height: 1; }
.series-head span { font-size: 14.5px; color: var(--muted); }

/* ---------- Viewer (paintings and photos) ---------- */
.vw { position: fixed; inset: 0; z-index: 400; display: none; color: var(--on-ink); overscroll-behavior: contain; }
.vw.is-open { display: block; }
.vw-bg { position: absolute; inset: 0; background: #0d0c0a; opacity: 0; transition: opacity .45s var(--ease); }
.vw-ambient { position: absolute; inset: -15%; opacity: 0; filter: blur(80px) saturate(1.4); transition: opacity .8s var(--ease); pointer-events: none; }
.vw-ambient img { width: 100%; height: 100%; object-fit: cover; }
.vw.is-in .vw-bg { opacity: 1; }
.vw.is-in .vw-ambient { opacity: .45; }
.vw-stage { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) 360px; }
.vw-pic { position: relative; display: grid; place-items: center; padding: 84px 40px 40px; min-width: 0; }
.vw-pic img { max-width: 100%; max-height: calc(100svh - 140px); width: auto; height: auto; border-radius: 3px; box-shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 50px 100px -30px rgba(0, 0, 0, .85); transform-origin: 0 0; }
.vw-pic img.is-swap { transition: opacity .25s var(--ease), transform .45s var(--ease); }
.vw-info { position: relative; display: flex; flex-direction: column; gap: 14px; margin: 16px 16px 16px 0; padding: 30px 28px 26px; border-radius: 24px; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: saturate(1.5) blur(30px); backdrop-filter: saturate(1.5) blur(30px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); opacity: 0; transform: translateX(20px); transition: opacity .45s var(--ease) .1s, transform .6s var(--ease-enter) .1s; overflow-y: auto; }
.vw.is-in .vw-info { opacity: 1; transform: none; }
.vw-info .vi-k { font-size: 13.5px; color: var(--gold); margin: 0; }
.vw-info h2 { font-family: var(--f-disp); font-size: 44px; line-height: 1; }
.vw-info dl { margin: 6px 0 0; display: grid; gap: 0; }
.vw-info dl div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; }
.vw-info dt { color: var(--on-ink-muted); }
.vw-info dd { margin: 0; }
.vw-info .vi-actions { margin-top: auto; display: grid; gap: 8px; padding-top: 16px; }
.vw-info .btn { width: 100%; }
.vw-count { font-size: 13px; color: var(--on-ink-muted); font-variant-numeric: tabular-nums; }
.vw-btn { position: absolute; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); cursor: pointer; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.vw-btn svg { width: 18px; height: 18px; }
.vw-btn:hover { background: rgba(255, 255, 255, .2); }
.vw-x { top: 20px; left: 20px; }
.vw-p { left: 20px; top: 50%; margin-top: -24px; }
.vw-n { right: 396px; top: 50%; margin-top: -24px; }
.vw--simple .vw-stage { grid-template-columns: 1fr; }
.vw--simple .vw-info { display: none; }
.vw--simple .vw-n { right: 20px; }
.vw-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-family: var(--f-disp); font-style: italic; font-size: 20px; color: var(--on-ink-muted); padding-inline: 80px; display: none; }
.vw--simple .vw-cap { display: block; }
body.vw-lock { overflow: hidden; }
@media (max-width: 900px) {
  .vw-stage { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .vw-pic { padding: 72px 16px 12px; }
  .vw-pic img { max-height: calc(100svh - 300px); }
  .vw-info { margin: 0 12px 12px; padding: 20px; max-height: 40svh; }
  .vw-info h2 { font-size: 32px; }
  .vw-info dl { display: none; }
  .vw-info .vi-actions { grid-template-columns: 1fr; padding-top: 8px; }
  .vw-info .btn { min-height: 44px; }
  .vw-n { right: 12px; top: 40%; } .vw-p { left: 12px; top: 40%; } .vw-x { top: 14px; left: 14px; }
  .vw--simple .vw-pic img { max-height: calc(100svh - 160px); }
}

/* ---------- Single work page ---------- */
.work-view { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .work-view { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .work-img { padding: 14px; border-radius: 20px; } .work-img img.main { max-height: 62svh; } }
.work-img { position: relative; border-radius: var(--r-l); overflow: hidden; padding: clamp(24px, 5vw, 72px); background: var(--ink); isolation: isolate; }
.work-img .amb { position: absolute; inset: -20%; z-index: -1; opacity: .5; filter: blur(70px) saturate(1.3); }
.work-img .amb img { width: 100%; height: 100%; object-fit: cover; }
.work-img button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.work-img img.main { margin-inline: auto; max-height: 74svh; width: auto; border-radius: 3px; box-shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 40px 80px -30px rgba(0, 0, 0, .8); transition: transform .6s var(--ease); }
.work-img button:hover img.main { transform: scale(1.015); }
.work-meta { position: sticky; top: calc(var(--head-h) + 40px); }
.work-meta .dl { margin: 32px 0; }
.work-meta .dl > div { grid-template-columns: 110px minmax(0, 1fr); padding-block: 14px; }
.work-meta .dl dt { font-family: var(--f-body); font-size: 14.5px; color: var(--muted); padding-top: 2px; }
.work-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.work-nav a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--ivory); font-family: var(--f-disp); font-size: 21px; line-height: 1.1; transition: background-color .2s var(--ease); }
.work-nav a small { font-family: var(--f-body); font-size: 13px; color: var(--muted); }
.work-nav a:last-child { text-align: right; }
.work-nav a:hover { background: var(--stone); }

.duale-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
@media (max-width: 980px) { .duale-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .duale-grid { grid-template-columns: 1fr; } }
.duale { margin: 0; }
.duale button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--ink-3); cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-m); }
.duale img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--m-image) var(--ease); }
@media (hover: hover) and (pointer: fine) { .duale button:hover img { transform: scale(1.03); } }
.duale figcaption { padding-top: 16px; }
.duale figcaption b { display: block; font-family: var(--f-disp); font-weight: 400; font-size: 26px; line-height: 1.1; color: inherit; }
.duale figcaption span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.status { display: inline-block; margin-top: 10px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--bronze); background: rgba(138, 102, 53, .1); }
.photo-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-m); overflow: hidden; }
.photo-btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--m-image) var(--ease); }
@media (hover: hover) and (pointer: fine) { .photo-btn:hover img { transform: scale(1.03); } }

/* ---------- Ventures (Entrepreneur) ---------- */
.ventures { display: grid; gap: 12px; }
.venture { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(28px, 4vw, 64px); padding: clamp(28px, 3.4vw, 48px); border-radius: var(--r-l); background: var(--ivory); scroll-margin-top: calc(var(--head-h) + 80px); align-items: start; }
.venture .yrs { font-family: var(--f-disp); font-size: 34px; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.venture .yrs small { display: block; margin-top: 14px; font-family: var(--f-body); font-size: 14px; color: var(--bronze); line-height: 1.45; }
.venture h3 { font-family: var(--f-disp); font-size: clamp(32px, 3vw, 44px); line-height: 1.02; color: var(--ink); }
.venture .role { margin-top: 14px; color: var(--muted); font-size: 16px; }
.venture .vtext p { margin: 0 0 14px; }
.venture .vimg { margin-top: 24px; border-radius: var(--r-m); overflow: hidden; background: #fff; }
.venture .vimg img { width: 100%; max-height: 300px; object-fit: contain; }
.venture .src { font-size: 15px; color: var(--muted); }
.venture--now { background: radial-gradient(80% 90% at 100% 0%, rgba(207, 174, 123, .18), transparent 60%), var(--ink); color: var(--on-ink); }
.venture--now .yrs, .venture--now h3 { color: #fff; }
.venture--now .yrs small { color: var(--gold); }
.venture--now .role, .venture--now .src { color: var(--on-ink-muted); }
@media (max-width: 960px) { .venture { grid-template-columns: 1fr; } }
.big-figure { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px 24px; border-radius: var(--r-m); background: var(--paper); margin-top: 26px; }
.big-figure b { font-family: var(--f-disp); font-weight: 400; font-size: clamp(50px, 5vw, 78px); line-height: .9; color: var(--ink); }
.big-figure span { font-size: 15px; color: var(--muted); }

/* ---------- Sticky sub-nav (pill bar) ---------- */
.subnav { position: sticky; top: calc(var(--head-h) + 10px); z-index: 20; display: flex; justify-content: center; pointer-events: none; padding-inline: var(--gut); margin-top: -26px; }
.subnav ul { pointer-events: auto; list-style: none; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 5px; border-radius: 999px; background: var(--glass-light); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); box-shadow: inset 0 0 0 1px var(--line), 0 12px 30px -18px rgba(20, 18, 15, .4); max-width: 100%; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; font-size: 14.5px; font-weight: 500; color: var(--muted); padding: 9px 16px; border-radius: 999px; transition: background-color .2s var(--ease), color .2s var(--ease); }
.subnav a:hover { color: var(--ink); background: rgba(20, 18, 15, .05); }
.subnav a.is-on { background: var(--ink); color: var(--on-ink); }

/* ---------- Publications ---------- */
.pubs { list-style: none; display: grid; }
.pub { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 24px; padding: 22px 0; }
.pub + .pub { border-top: 1px solid var(--line); }
.pub .y { font-family: var(--f-disp); font-size: 30px; line-height: 1; color: var(--bronze); font-variant-numeric: lining-nums; }
.pub .ref { font-size: 16px; line-height: 1.6; color: var(--text); }
.pub .ref b { font-family: var(--f-disp); font-weight: 400; font-size: 24px; color: var(--ink); line-height: 1.2; }
.section--ink .pub + .pub { border-color: var(--line-ink); }
.section--ink .pub .ref, .section--ink .pub .ref b { color: var(--on-ink); }
.section--ink .pub .y { color: var(--gold); }
.tag { display: inline-block; font-size: 13px; font-weight: 500; color: var(--muted); }
/* the full list: toolbar, a chart and decade groups */
.pub-tools { position: sticky; top: calc(var(--head-h) + 12px); z-index: 10; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px; margin-bottom: 30px; border-radius: 999px; background: var(--glass-light); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); box-shadow: inset 0 0 0 1px var(--line), 0 14px 34px -22px rgba(20, 18, 15, .45); }
.pub-tools .filters { margin: 0; background: transparent; padding: 0; }
.pub-search { flex: 1 1 220px; display: flex; align-items: center; gap: 8px; min-width: 200px; padding: 0 16px; height: 44px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.pub-search svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.pub-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15.5px; color: var(--ink); outline: none; }
.pub-search:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pub-count { padding: 0 14px 0 6px; font-size: 14px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pub-chart { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; padding: 30px 32px 24px; border-radius: var(--r-l); background: var(--ivory); margin-bottom: clamp(48px, 6vw, 80px); }
.pub-bars { display: flex; align-items: flex-end; gap: 4px; height: 140px; }
.pub-bars span { position: relative; flex: 1; min-height: 3px; border-radius: 4px 4px 1px 1px; background: var(--stone-2); height: calc(var(--v) * 100% / var(--max)); transition: background-color .2s var(--ease); }
.pub-bars span.has { background: var(--ink); }
.pub-bars span.has:hover { background: var(--bronze); }
.pub-bars span::after { content: attr(data-l); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px); padding: 5px 9px; border-radius: 8px; background: var(--ink); color: var(--on-ink); font-size: 12.5px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .2s var(--ease); }
.pub-bars span:hover::after { opacity: 1; transform: translateX(-50%); }
.pub-axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pub-stats { display: flex; gap: 32px; }
.pub-stats b { display: block; font-family: var(--f-disp); font-weight: 400; font-size: 56px; line-height: .9; color: var(--ink); }
.pub-stats span { font-size: 14px; color: var(--muted); }
.decade { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
.decade + .decade { margin-top: clamp(40px, 5vw, 72px); }
.decade[hidden] { display: none; }
.decade h2 { position: sticky; top: calc(var(--head-h) + 100px); align-self: start; font-family: var(--f-disp); font-size: clamp(40px, 3.8vw, 54px); line-height: .9; color: var(--ink); }
.decade h2 small { display: block; margin-top: 10px; font-family: var(--f-body); font-size: 14px; color: var(--muted); }
.pcard { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 6px 22px; padding: 22px 22px; margin-inline: -22px; border-radius: 18px; transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
.pcard + .pcard::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; background: var(--line); }
.pcard[hidden] { display: none; }
.pcard .y { font-family: var(--f-disp); font-size: 28px; line-height: 1; color: var(--bronze); font-variant-numeric: lining-nums; }
.pcard .t { font-family: var(--f-disp); font-size: 23px; line-height: 1.22; color: var(--ink); margin: 0; }
.pcard .a { grid-column: 2; font-size: 14.5px; line-height: 1.5; color: var(--muted); margin: 4px 0 0; }
.pcard .tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pcard .pill { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--muted); background: var(--ivory); }
.pcard .pill--area { color: var(--bronze); background: rgba(138, 102, 53, .1); }
.pcard .go { grid-column: 3; grid-row: 1 / span 3; align-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); opacity: .7; transition: opacity .2s, background-color .2s var(--ease), color .2s var(--ease); white-space: nowrap; }
.pcard .go::after { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: var(--arrow-ne) center / contain no-repeat; mask: var(--arrow-ne) center / contain no-repeat; }
.pcard mark { background: rgba(207, 174, 123, .4); color: inherit; border-radius: 3px; padding: 0 2px; }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover { background: #fff; box-shadow: 0 1px 2px rgba(20, 18, 15, .05), 0 20px 40px -26px rgba(20, 18, 15, .4); }
  .pcard:hover::before, .pcard:hover + .pcard::before { opacity: 0; }
  .pcard:hover .go { opacity: 1; background: var(--ink); color: var(--on-ink); box-shadow: none; }
}
.pub-empty { padding: 40px 0; color: var(--muted); }
@media (max-width: 600px) {
  .pcard { margin-inline: -14px; padding-inline: 14px; column-gap: 14px; } .pcard + .pcard::before { left: 14px; right: 14px; }
  /* Long scientific words (Immunohistochemical, 3ß-hydroxysteroid) must fit a 320 px phone. */
  .pcard .t { font-size: 20px; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
}
@media (max-width: 860px) {
  .decade { grid-template-columns: 1fr; gap: 12px; }
  .decade h2 { position: static; }
  .pcard { grid-template-columns: 56px minmax(0, 1fr); }
  .pcard .go { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 10px; }
  .pub-chart { grid-template-columns: 1fr; padding: 24px 20px; }
  .pub-tools { border-radius: 24px; position: static; }
}

/* ---------- Books ---------- */
.books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
@media (max-width: 860px) { .books { grid-template-columns: 1fr; } }
.book { display: grid; gap: 30px; }
.book-cover { position: relative; display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 64px); aspect-ratio: 1 / 1; border-radius: var(--r-l); background: radial-gradient(70% 70% at 50% 40%, #fff, var(--ivory)); overflow: hidden; }
/* Sized by width, not by a percentage height: iPhone Safari ignored max-height:100% in this square frame, so the cover grew taller and its top (the authors) was cropped. Covers are about 2:3, so 66% of the width fits the height. */
.book-cover img { width: 66%; height: auto; max-width: 100%; max-height: none; object-fit: contain; border-radius: 3px; box-shadow: 0 2px 6px rgba(20, 18, 15, .2), 0 36px 60px -24px rgba(20, 18, 15, .5); transition: transform .8s var(--ease-enter); }
.cover { width: 62%; aspect-ratio: 2 / 3; display: flex; flex-direction: column; justify-content: space-between; padding: 26px 22px; color: #fff; background: var(--ink); position: relative; overflow: hidden; border-radius: 3px; box-shadow: 0 2px 6px rgba(20, 18, 15, .2), 0 36px 60px -24px rgba(20, 18, 15, .55); transition: transform .8s var(--ease-enter); }
.cover::before { content: ""; position: absolute; inset: 0; background: var(--cover-img) center / cover; opacity: .55; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 12, .1), rgba(10, 10, 12, .75)); }
.cover > * { position: relative; z-index: 1; }
.cover b { font-family: var(--f-disp); font-weight: 400; font-size: clamp(30px, 2.8vw, 38px); line-height: 1; }
.cover small { font-size: 12px; opacity: .85; }
@media (hover: hover) and (pointer: fine) { .book:hover .book-cover img, .book:hover .cover { transform: translateY(-6px) rotate(-1deg); } }
.book h3 { font-family: var(--f-disp); font-size: clamp(38px, 3.6vw, 52px); line-height: 1; color: var(--ink); }
.book .meta { margin: 0 0 14px; font-size: 14.5px; color: var(--bronze); }
.book p { color: var(--muted); }

/* ---------- Press & news ---------- */
.outlets { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px 40px; padding: 30px 0; border-block: 1px solid var(--line); }
.outlets span { font-family: var(--f-disp); font-size: clamp(24px, 2.3vw, 32px); color: var(--quiet); white-space: nowrap; transition: color .25s var(--ease); }
.outlets span:hover { color: var(--ink); }
.press { list-style: none; display: grid; }
.press li { position: relative; display: grid; grid-template-columns: 150px 230px minmax(0, 1fr) auto; gap: 8px 30px; align-items: baseline; padding: 22px 20px; margin-inline: -20px; border-radius: 16px; transition: background-color .25s var(--ease); }
.press li + li::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 1px; background: var(--line); }
.press .d { font-size: 14px; color: var(--muted); }
.press .o { font-family: var(--f-disp); font-size: 25px; line-height: 1.1; color: var(--ink); }
.press .t { color: var(--text); }
.press a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .press li:hover { background: var(--ivory); } .press li:hover::before, .press li:hover + li::before { opacity: 0; } .press li:hover a { background: var(--ink); color: var(--on-ink); box-shadow: none; } }
.section--soft .press li:hover { background: var(--paper); }
@media (max-width: 860px) { .press li { grid-template-columns: 1fr; gap: 4px; } .press a { justify-self: start; margin-top: 8px; } }
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
@media (max-width: 900px) { .news { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .news { grid-template-columns: 1fr; } }
.ncard { display: flex; flex-direction: column; }
.ncard .ph { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-m); background: var(--stone); }
.ncard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--m-image) var(--ease); }
.ncard .ph--txt { display: flex; align-items: flex-end; padding: 26px; background: radial-gradient(90% 80% at 100% 0%, rgba(207, 174, 123, .22), transparent 60%), var(--ink-2); }
.ncard .ph--txt span { font-family: var(--f-disp); font-style: italic; font-size: 34px; line-height: 1.05; color: var(--on-ink); }
.ncard time { display: block; margin-top: 18px; font-size: 14px; color: var(--bronze); }
.ncard h3 { font-family: var(--f-disp); font-weight: 400; font-size: 26px; line-height: 1.15; margin-top: 8px; color: var(--ink); transition: color .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .ncard:hover .ph img { transform: scale(1.03); } .ncard:hover h3 { color: var(--bronze); } }
.post-body { max-width: 780px; }
.post-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 36px; }
.post-gallery button { padding: 0; border: 0; background: var(--stone); cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; }
.post-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--m-image) var(--ease); }
.post-gallery button:hover img { transform: scale(1.03); }

/* ---------- Media kit ---------- */
.bio-tabs { display: grid; gap: 18px; }
.bio-panel { position: relative; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r-l); background: var(--ivory); }
.bio-panel[hidden] { display: none; }
.bio-panel p { margin: 0; font-size: 18.5px; line-height: 1.7; color: var(--ink); max-width: 64ch; }
.bio-panel .bio-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.copy { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .2s var(--ease), transform .15s var(--ease); }
.copy svg { width: 14px; height: 14px; }
.copy:hover { background: #2c2722; }
.copy:active { transform: scale(.97); }
.copy.is-done { background: var(--bronze); }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .photo-grid { grid-template-columns: 1fr; } .photo-dl img { aspect-ratio: 4 / 3; } .bio-tabs .filters .n { display: none; } .bio-tabs .filters button { padding-inline: 16px; } }
.photo-dl { position: relative; display: block; border-radius: var(--r-m); overflow: hidden; background: var(--stone); isolation: isolate; }
.photo-dl img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform var(--m-image) var(--ease); }
.photo-dl .pd-bar { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 14px; color: #fff; background: rgba(20, 18, 15, .36); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.photo-dl .pd-bar b { display: block; font-size: 14.5px; font-weight: 500; line-height: 1.25; }
.photo-dl .pd-bar small { font-size: 12.5px; opacity: .8; font-variant-numeric: tabular-nums; }
.photo-dl .pd-bar i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .3s var(--ease); }
.photo-dl .pd-bar i svg { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) { .photo-dl:hover img { transform: scale(1.03); } .photo-dl:hover .pd-bar i { transform: translateY(2px); } }
.name-card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.name-card > div { padding: 24px 24px 22px; border-radius: var(--r-m); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-ink); }
.name-card small { display: block; font-size: 13.5px; color: var(--gold); margin-bottom: 10px; }
.name-card p { margin: 0; font-family: var(--f-disp); font-size: 27px; line-height: 1.15; color: var(--on-ink); }
.name-card p + p { margin-top: 6px; font-family: var(--f-body); font-size: 15px; color: var(--on-ink-muted); }
@media (max-width: 860px) { .name-card { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-size: 16.5px; color: var(--ink); background: var(--ivory); border: 0; border-radius: 14px; padding: 15px 18px; width: 100%; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .15s var(--ease), background-color .15s var(--ease); }
.form textarea { min-height: 170px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(138, 102, 53, .14); }
.form .consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 400; color: var(--muted); }
.form .consent input { width: 18px; height: 18px; margin-top: 3px; padding: 0; accent-color: var(--ink); }
.form-ok { display: none; background: var(--ivory); color: var(--ink); padding: 18px 22px; border-radius: 14px; }
.form-ok.show { display: block; }

/* ---------- Next pillar ---------- */
.next { display: block; position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.next-bg { position: absolute; inset: 0; z-index: -1; opacity: .34; transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.next-bg img { width: 100%; height: 100%; object-fit: cover; }
.next::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 18, 15, .9) 0%, rgba(20, 18, 15, .72) 55%, rgba(20, 18, 15, .5) 100%); }
/* Bright photos (e.g. Auteur) washed out the text: darker, even shade and a clear white subtitle. */
.next .wrap { text-shadow: 0 1px 24px rgba(0, 0, 0, .35); }
.next .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-block: clamp(80px, 10vw, 150px); }
.next .h1 { margin: 0; }
.next .arrow { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.next .arrow svg { width: 24px; height: 24px; }
@media (hover: hover) and (pointer: fine) { .next:hover .next-bg { opacity: .46; transform: scale(1.03); } .next:hover .arrow { background: #fff; color: var(--ink); transform: translateX(4px); } }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: var(--on-ink-muted); font-size: 15px; }
.foot-cta { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: end; padding-block: clamp(88px, 10vw, 150px) clamp(56px, 7vw, 96px); }
.foot-cta .h1 { color: var(--on-ink); }
@media (max-width: 760px) { .foot-cta { grid-template-columns: 1fr; } }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 56px; border-top: 1px solid var(--line-ink); }
@media (max-width: 900px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }
.foot-top .wordmark { color: var(--on-ink); font-size: 32px; }
.foot-top h4 { font-family: var(--f-body); font-size: 14px; font-weight: 600; color: var(--on-ink); margin-bottom: 16px; }
.foot-top ul { list-style: none; display: grid; gap: 10px; }
.foot-top ul a { transition: color .2s var(--ease); }
.foot-top ul a:hover { color: #fff; }
.foot-social { display: flex; gap: 10px; margin-top: 24px; color: var(--on-ink); }.foot-bottom { border-top: 1px solid var(--line-ink); }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px; font-size: 13.5px; }
.foot-bottom a:hover { color: #fff; }

/* ---------- Misc ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; padding: 8px 15px; border-radius: 999px; background: var(--ivory); color: var(--text); transition: background-color .2s var(--ease), color .2s var(--ease); }
.section--soft .chip, .section--ivory .chip { background: var(--paper); }
a.chip:hover { background: var(--ink); color: var(--on-ink); }
.section--ink .chip { background: rgba(255, 255, 255, .06); color: var(--on-ink); }
.note { font-size: 14.5px; color: var(--muted); padding: 14px 18px; border-radius: 14px; background: var(--ivory); }
.img-cap { margin-top: 12px; font-size: 14px; color: var(--muted); }
.frame { position: relative; border-radius: var(--r-l); overflow: hidden; --r: var(--r-l); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.full-img { position: relative; height: min(78vh, 760px); overflow: hidden; background: var(--ink); }
.full-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============ Responsive: header and menu ============ */
@media (max-width: 1240px) and (min-width: 1101px) {
  .nl { padding: 10px 11px; font-size: 14.5px; }
  .nl::after { left: 11px; right: 11px; }
  .head-cta { margin-left: 8px; gap: 10px; }
}
@media (max-width: 1100px) {
  .burger { display: inline-flex; }
  .bar { min-height: 66px; }
  body.menu-open { overflow: hidden; }
  .menu-open .site-head { color: var(--on-ink); }
  .menu-open .site-head::before { opacity: 1 !important; background: var(--ink); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav { position: fixed; left: 0; right: 0; bottom: 0; top: var(--head-b, 96px); display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px var(--gut) 40px; overflow-y: auto; background: var(--ink); color: var(--on-ink); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .35s var(--ease); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-bottom: 1px solid var(--line-ink); }
  .nl { font-family: var(--f-disp); font-size: 36px; font-weight: 400; padding: 14px 0; border-radius: 0; }
  .nl::after, .nl .chev { display: none; }
  .nl-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .07); color: var(--on-ink); cursor: pointer; }
  .nl-toggle svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
  .nav-item.is-open .nl-toggle svg { transform: rotate(180deg); }
  .mm { position: static; grid-column: 1 / -1; width: auto; transform: none; opacity: 1; visibility: visible; pointer-events: auto; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
  .mm::before { display: none; }
  .mm > .mm-inner { overflow: hidden; min-height: 0; display: block; padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; }
  .nav-item.is-open .mm { grid-template-rows: 1fr; }
  .mm-links { padding: 0 0 16px; }
  .mm-kicker { margin-left: 0; }
  .mm-links a { padding: 10px 0; font-size: 17px; border-radius: 0; }
  .mm-links a:hover { background: none; color: #fff; }
  .mm-card { display: none; }
  .nav-extra { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
  .nav-extra a { padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; background: rgba(255, 255, 255, .07); color: var(--on-ink); }
  .head-cta { margin: 22px 0 0; justify-content: flex-start; flex-wrap: wrap; gap: 14px; }
  .head-cta .btn { --b-bg: var(--on-ink) !important; --b-fg: var(--ink) !important; --b-bd: var(--on-ink) !important; min-height: 48px; padding: 12px 24px; font-size: 15.5px; }
  .menu-open .nav-list > .nav-item { animation: menu-in .5s var(--ease-enter) both; animation-delay: calc(var(--k, 0) * 45ms + 60ms); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.nav-extra { display: none; }
@media (min-width: 1101px) { .nav-extra { display: none !important; } }

/* ============ Responsive: heroes and sections ============ */
@media (max-width: 1100px) {
  .hero-copy { max-width: 54%; }
  .phero--side .phero-copy { max-width: 52%; }
}
@media (max-width: 900px) {
  .section { padding-block: clamp(72px, 13vw, 104px); }
  .hero { flex-direction: column; min-height: 0; }
  .hero-media { position: relative; width: 100%; height: calc(min(64svh, 600px) + var(--head-h)); -webkit-mask-image: none; mask-image: none; }
  .hero-media img { object-position: 46% 30%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(20, 18, 15, .58) 0%, rgba(20, 18, 15, .22) var(--head-h), rgba(20, 18, 15, 0) calc(var(--head-h) + 80px)), linear-gradient(0deg, var(--ink) 0%, rgba(20, 18, 15, .4) 26%, rgba(20, 18, 15, 0) 52%); }
  .hero-inner { padding-top: 0; padding-bottom: calc(28px + 44px); margin-top: -84px; }
  .hero-copy { margin-block: 0; }
  .hero-copy { max-width: none; }
  .hero-index { grid-template-columns: 1fr 1fr; }
  .hero-index a:last-child { grid-column: 1 / -1; }
  .sheet { border-radius: 28px 28px 0 0; margin-top: -28px; }

  .phero:not(.phero--plain):not(.phero--split):not(.phero--stack) { flex-direction: column; align-items: stretch; min-height: 0; }
  .phero:not(.phero--plain):not(.phero--split):not(.phero--stack) .phero-media { position: relative; inset: auto; height: calc(min(56svh, 520px) + var(--head-h)); z-index: 0; }
  .phero:not(.phero--plain):not(.phero--split):not(.phero--stack) .phero-media::after { background: linear-gradient(180deg, rgba(20, 18, 15, .58) 0%, rgba(20, 18, 15, .22) var(--head-h), rgba(20, 18, 15, 0) calc(var(--head-h) + 80px)), linear-gradient(0deg, var(--ink) 0%, rgba(20, 18, 15, .3) 32%, rgba(20, 18, 15, 0) 58%); }
  .phero:not(.phero--plain):not(.phero--split):not(.phero--stack) .phero-inner { padding-top: 0; margin-top: -56px; }
  .phero--split .phero-inner { grid-template-columns: 1fr; padding-top: calc(var(--head-h) + 56px); }
  .phero--split figure { max-width: 520px; }
  .phero--split .phero-copy { padding-bottom: 0; }
  .phero-copy { max-width: none !important; }
  .work-meta { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .display { font-size: clamp(50px, 14.5vw, 72px); }
  .h1 { font-size: clamp(44px, 12vw, 60px); }
  .h2 { font-size: clamp(36px, 9.6vw, 46px); }
  .statement { font-size: clamp(30px, 8.4vw, 40px); }
  .hero .thesis { font-size: 23px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .numbers { grid-template-columns: 1fr 1fr; gap: 8px; }
  .numbers > div { padding: 20px 18px; }
  .numbers b { font-size: clamp(42px, 12vw, 56px); }
  .numbers b sup { font-size: 13px; }
  .numbers span { font-size: 14px; }
  .facts { gap: 8px; }
  .fact { padding: 22px 18px; }
  .fact b { font-size: clamp(36px, 10.5vw, 46px); }
  .fact span { font-size: 14px; -webkit-hyphens: auto; hyphens: auto; }
  .next .arrow { width: 58px; height: 58px; }
  /* "Philanthropist" (about 6 times the font size wide) plus the arrow must fit a 320 px phone. */
  .next .wrap { gap: 16px; }
  .next .h1 { font-size: clamp(32px, 10vw, 44px); }
  .next::before { background: rgba(20, 18, 15, .76); }
  .crumbs { margin-bottom: 22px; font-size: 13px; }
  .phero--plain .phero-inner { padding-top: calc(var(--head-h) + 64px); }
  .phero-inner { padding-top: calc(var(--head-h) + 80px); }
  .tl-track { grid-auto-columns: minmax(230px, 78%); }
  .foot-cta .hero-actions .btn { flex: 1 1 100%; }
  .quote p { font-size: clamp(30px, 8.6vw, 40px); }
  .venture { padding: 24px 20px; }
  .subnav { margin-top: -22px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hx .hero { position: relative; }
}
