/* FCruz · Ink — Grav theme for fabianocruz.work
   Fonts: Instrument Serif (display) + Manrope (text) + system mono, as in the FCruz documents.
   Colour: black and white, with yellow #FFC700 used only as light. */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/InstrumentSerif-normal-400.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/InstrumentSerif-italic-400.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/Manrope-normal-200_800.woff2) format("woff2"); }

:root {
  --black: #0A0A0A;
  --ink: #1A1A1A;
  --studio: #E6E6E4;     /* the photo's pale grey */
  --paper: #F2F2F0;
  --line-dark: #2A2A2A;
  --line-light: #D2D2CF;
  --muted-dark: #9A9A96;  /* on black, ≥ 4.5:1 */
  --muted-light: #55554F; /* on paper, ≥ 4.5:1 */
  --y: #FFC700;

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, Menlo, "SF Mono", monospace;

  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--black); color: var(--paper);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--y); color: var(--black); }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; border-radius: 2px; }
img, video, canvas { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
em { font-style: italic; }
p { margin: 0; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--y); color: var(--black); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ── Logo: the original FCruz SVG, only recoloured black or white ── */
.logo {
  display: block; width: 118px; aspect-ratio: 1543.49 / 280.93; background: currentColor;
  -webkit-mask: url(../images/fcruz-logo.svg) center / contain no-repeat; mask: url(../images/fcruz-logo.svg) center / contain no-repeat;
}

/* Header carries the FCruz icon; the full logo lives in the footer */
.mark-icon { display: block; width: 34px; height: 34px; background: currentColor;
  -webkit-mask: url(../images/fcruz-mark.svg) center / contain no-repeat; mask: url(../images/fcruz-mark.svg) center / contain no-repeat; }

/* ── Navigation ── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 32px;
  padding: 22px var(--pad); color: var(--black); transition: color .5s var(--ease), transform .6s var(--ease);
}
.nav[data-tone="dark"], .nav[data-menu="open"] { color: var(--paper); }
.nav[data-menu="open"]::before { opacity: 0 !important; }
.nav.is-hidden { transform: translateY(-110%); }
/* after the first scroll, whatever passes under the header goes soft, fading back to sharp with no edge */
.nav::before { content: ""; position: absolute; inset: 0 0 -84px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease), background-color .6s var(--ease);
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  background: rgba(230,230,228,.32);
  -webkit-mask: linear-gradient(180deg, #000 0%, #000 34%, rgba(0,0,0,.7) 52%, rgba(0,0,0,.36) 72%, rgba(0,0,0,.12) 88%, transparent 100%);
          mask: linear-gradient(180deg, #000 0%, #000 34%, rgba(0,0,0,.7) 52%, rgba(0,0,0,.36) 72%, rgba(0,0,0,.12) 88%, transparent 100%); }
.nav[data-tone="dark"]::before { background: rgba(10,10,10,.34); }
.nav.is-scrolled::before { opacity: 1; }
.nav-logo { color: inherit; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav-links a, .lang a { text-decoration: none; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-end { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.lang { display: flex; gap: 6px; font-family: var(--mono); letter-spacing: .04em; }
.lang a:not([aria-current]) { opacity: .5; }
.pill {
  display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 99px;
  border: 1px solid currentColor; font-weight: 600; font-size: 13px; text-decoration: none;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.pill:hover { background: var(--y); border-color: var(--y); color: var(--black); }

/* ── Mobile menu ── */
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; color: inherit; cursor: pointer; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }
.menu-panel { position: fixed; inset: 0; z-index: 39; display: flex; flex-direction: column; justify-content: flex-end; gap: 40px;
  padding: 100px 16px 32px; background: var(--black); color: var(--paper); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.menu-panel.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu-panel[hidden] { display: none; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a { font: 400 clamp(2.4rem, 11vw, 3.4rem)/1.12 var(--serif); text-decoration: none; padding: 4px 0; transform: translateY(18px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease), color .3s; }
.menu-panel.is-open .menu-links a { transform: none; opacity: 1; }
.menu-panel.is-open .menu-links a:nth-child(2) { transition-delay: .04s; } .menu-panel.is-open .menu-links a:nth-child(3) { transition-delay: .08s; }
.menu-panel.is-open .menu-links a:nth-child(4) { transition-delay: .12s; } .menu-panel.is-open .menu-links a:nth-child(5) { transition-delay: .16s; }
.menu-panel.is-open .menu-links a:nth-child(6) { transition-delay: .2s; color: var(--y); }
.menu-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--line-dark); font: 12px/1.4 var(--mono); color: var(--muted-dark); }
.menu-foot a { text-decoration: none; }
html.menu-open { overflow: hidden; }
.menu-foot .lang { display: flex !important; }

/* ── 1 · Arrival ── */
.arrival { position: relative; height: 230vh; background: var(--studio); }
.arrival-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.studio, .studio-video, .studio-still, .studio-still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.studio-still { opacity: 0; transition: opacity .9s ease; }
.studio.is-seated .studio-still { opacity: 1; }
.studio::after { /* keeps the headline legible on the light studio */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(230,230,228,.55) 0%, rgba(230,230,228,0) 48%);
}
.arrival-copy { position: absolute; left: var(--pad); bottom: clamp(80px, 14vh, 150px); z-index: 2; color: var(--black); max-width: 56vw; }
.arrival-title { font-size: clamp(3rem, 7.2vw, 6.9rem); line-height: .96; letter-spacing: -0.025em; }
.arrival-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.arrival-title .line > span { display: inline-block; transform: translateY(105%); }
.arrival-name { margin-top: 28px; display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; color: var(--ink); opacity: 0; }
.arrival-name .rule { width: 40px; height: 2px; background: var(--y); flex: none; }
.arrival-hint { position: absolute; right: var(--pad); bottom: 32px; z-index: 2; display: flex; align-items: center; gap: 10px; font: 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.arrival-hint .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--y); }
@keyframes breathe { 50% { transform: scale(1.6); opacity: .5; } }
.ink, .mist { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }

/* ── 2 · Conviction ── */
/* the conviction rises into the last part of the ink, so the words arrive before the black is complete */
.conviction { position: relative; z-index: 4; margin-top: -62vh; padding: 16vh var(--pad) 16vh; overflow: hidden;
  background: linear-gradient(180deg, rgba(10,10,10,0) 0, rgba(10,10,10,0) 14vh, rgba(10,10,10,.75) 42vh, var(--black) 62vh); }
/* beside the statement, between it and the right edge, before the columns begin */
.mark-wrap { position: absolute; right: 9vw; top: 22vh; width: min(44vw, 620px); aspect-ratio: 1; opacity: .07; pointer-events: none; }
.mark { display: block; width: 100%; height: 100%; background: var(--paper); -webkit-mask: url(../images/fcruz-mark.svg) center / contain no-repeat; mask: url(../images/fcruz-mark.svg) center / contain no-repeat; }
.fill-text {
  position: relative; max-width: 15ch; font-size: clamp(2.8rem, 6.4vw, 6.2rem); line-height: 1.02; letter-spacing: -0.02em;
}
.fill-text .w { color: transparent; -webkit-text-stroke: 1px rgba(242,242,240,.32); transition: none; }
.fill-text .w.is-on { color: var(--paper); -webkit-text-stroke-color: transparent; }
.fill-text b { font-weight: 400; }
.fill-text b .w.is-on { color: var(--y); }
.about { margin-top: clamp(200px, 30vh, 360px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 110px); align-items: start; }
.about-lead { font: 400 clamp(1.9rem, 3vw, 2.8rem)/1.08 var(--serif); }
.about-cols { columns: 2; column-gap: 40px; color: #CFCFCB; font-size: 16px; }
.about-cols p { break-inside: avoid; margin-bottom: 1.1em; }
.about-cols p { text-align: justify; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; }
.ledger { grid-column: 1 / -1; margin: 6vh 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line-dark); }
.ledger div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px 0 0; }
.ledger div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.ledger dt { font: 12px/1.5 var(--mono); letter-spacing: .06em; color: var(--muted-dark); max-width: 22ch; }
.ledger dd { margin: 0; font: 400 3rem/1 var(--serif); padding-bottom: .08em; }

/* ── Section heads ── */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid currentColor; }
.sec-head h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: ""; width: 44px; height: 1px; background: currentColor; transform: scaleX(.6); transform-origin: left; transition: transform .45s var(--ease), background-color .3s; }
.link-arrow:hover::after { transform: scaleX(1); background: var(--y); }

/* ── 3 · Insights ── */
.insights { position: relative; background: var(--paper); color: var(--black); padding: 0 0 14vh; }
.insights .mist { position: absolute; inset: 0 0 auto; height: 100vh; z-index: 2; }
.insights-inner { position: relative; z-index: 1; padding: 26vh var(--pad) 0; }
.index { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.index li { border-bottom: 1px solid var(--line-light); }
.index li:last-child { border-bottom: 0; }
.index .row {
  box-sizing: border-box; width: 100%; cursor: pointer; text-decoration: none; color: inherit;
  display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: 24px; align-items: baseline;
  padding: 34px 0;
}
.index .row > * { transition: transform .5s var(--ease); }
.index time { font: 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--muted-light); text-transform: uppercase; }
.index .t { font: 400 clamp(1.7rem, 3.2vw, 3rem)/1.06 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
.index .s { display: block; margin-top: 12px; max-width: 62ch; font: 400 15px/1.55 var(--sans); color: var(--muted-light); }
.index .go { font-size: 13px; font-weight: 600; display: inline-flex; gap: 10px; align-items: center; opacity: .55; transition: opacity .3s; }
.index .go::after { content: ""; width: 40px; height: 1px; background: currentColor; transform: scaleX(.55); transform-origin: left; transition: transform .45s var(--ease), background-color .3s; }
.index .row:hover > *, .index .row:focus-visible > * { transform: translateX(18px); }
.index .row:hover .go, .index .row:focus-visible .go { opacity: 1; }
.index .row:hover .go::after { transform: scaleX(1); background: var(--y); }
.index .row:hover .t em, .index .t em { font-style: italic; }
.peek { position: fixed; left: 0; top: 0; z-index: 30; width: 340px; aspect-ratio: 16 / 9; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .35s var(--ease), transform .45s var(--ease); overflow: hidden; border-radius: 3px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.peek img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); transition: filter 1.6s ease .15s; }
.peek.is-on img { filter: grayscale(0) contrast(1); }
.peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ── 4 · Stage ── */
.stage { background: var(--black); color: var(--paper); padding: 18vh var(--pad) 14vh; }
.stage .sec-head { border-color: var(--line-dark); }
.stage .sec-head h2 em { color: var(--muted-dark); }
.programme { list-style: none; margin: 0; padding: 0; }
.programme li:last-child { border-bottom: 0; }
.programme li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 10rem; gap: 24px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line-dark); }
.programme time, .programme .where { font: 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.programme .where { text-align: right; }
.programme h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.08; }
.programme h3 a { text-decoration: none; background: linear-gradient(var(--y), var(--y)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.programme h3 a:hover { background-size: 100% 1px; }
.programme p { margin-top: 10px; max-width: 64ch; color: #BDBDB8; font-size: 15px; }

/* ── 5 · Podcast ── */
.podcast { background: var(--black); color: var(--paper); padding: 4vh var(--pad) 16vh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 6vw, 110px); align-items: end; border-top: 1px solid var(--line-dark); }
.podcast-title { font-size: clamp(3.6rem, 10vw, 10rem); line-height: .86; letter-spacing: -0.03em; padding-top: 10vh; }
.podcast-title span { display: block; }
.podcast-title em { padding-left: .6em; }
.podcast-body { display: grid; gap: 18px; color: #CFCFCB; max-width: 46ch; }
.podcast-lead { font: 400 1.7rem/1.15 var(--serif); color: var(--paper); }
.episode { display: flex; gap: 12px; align-items: center; font: 12px/1.5 var(--mono); letter-spacing: .05em; color: var(--paper); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--y); flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(255,199,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,199,0,0); } }
.podcast-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 8px; color: var(--paper); }

/* ── 6 · Press ── */
.press { background: var(--black); color: var(--paper); padding: 0 0 14vh; border-top: 1px solid var(--line-dark); overflow: hidden; }
.press-title { padding: 12vh var(--pad) 0; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; }
.press-title em { color: var(--muted-dark); }
.marquee { padding: 7vh 0 6vh; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; width: max-content; will-change: transform; }
/* spacing lives inside each item, so one set of logos is exactly one loop wide */
.marquee-track li { padding-right: clamp(56px, 7vw, 120px); flex: none; }
.marquee-track a { display: block; }
.marquee-track img { width: auto; max-width: none; filter: brightness(0) invert(1); opacity: .62; transition: opacity .35s var(--ease); }
.marquee-track a:hover img, .marquee-track a:focus-visible img { opacity: 1; }
/* each outlet's logo at an optical size that reads evenly in the loop; any other logo gets the default */
.marquee-track img { height: 34px; }
.marquee-track img[alt="Forbes Brasil"] { height: 44px; }
.marquee-track img[alt="Link to Leaders"] { height: 22px; }
.marquee-track img[alt="Meio & Mensagem"] { height: 24px; }
.marquee-track img[alt="PME Magazine"] { height: 40px; }
.marquee-track img[alt="The Next Big Idea"] { height: 54px; }
.marquee-track img[alt="TEDxLeiria"] { height: 36px; }
.marquee-track img[alt="CCIP"] { height: 40px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.press-list { list-style: none; margin: 0 var(--pad); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.press-list li + li { border-left: 1px solid var(--line-dark); }
.press-list a { display: block; padding: 20px 20px 0; font-size: 14px; color: #CFCFCB; text-decoration: none; transition: color .3s; }
.press-list li:first-child a { padding-left: 0; }
.press-list a:hover { color: var(--y); }

/* ── 7 · Contact ── */
.contact { position: relative; min-height: calc(100vh + 96px); min-height: calc(100svh + 96px);
  /* the wall above the photo takes the photo's own grey, so there is no pale band between black and photo */
  background: linear-gradient(180deg, #B8B8B8 0%, #B7B7B7 20%, #C6C6C6 30%, #CECECE 45%, #CBCBCB 60%, #C6C6C6 75%, #CECECE 90%, #D3D3D3 100%); color: var(--black); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.contact-photo { position: absolute; inset: 0; }
.mist-contact { position: absolute; inset: 0 0 auto; height: 100vh; z-index: 2; }
/* the studio floor runs on under the photo, so the footer sits on the floor, below his feet */
.contact-photo { overflow: hidden; }
/* the photo is sized by its height, so his head and feet always fit; the studio grey carries on to the left */
.contact-photo img { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: none;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 22%); mask: linear-gradient(90deg, transparent 0%, #000 22%); }
.contact-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(230,230,228,.75) 0%, rgba(230,230,228,0) 55%); }
.contact-copy { position: relative; z-index: 1; padding: 18vh var(--pad) 22vh; max-width: 62vw; }
.contact h2 { font-size: clamp(3rem, 6.6vw, 6.4rem); line-height: .98; letter-spacing: -0.025em; }
.contact-mail { display: inline-block; margin-top: 40px; font: 400 clamp(1.6rem, 2.8vw, 2.6rem)/1.1 var(--serif); text-decoration: none; background: linear-gradient(var(--y), var(--y)) 0 92% / 100% .14em no-repeat; transition: background-size .5s var(--ease); }
.contact-mail:hover { background-size: 100% .5em; }
.contact-links { display: flex; gap: 28px; margin-top: 36px; font-size: 14px; font-weight: 600; }
.contact-links a { text-decoration: none; }
.contact-links a:hover { text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; }
.foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 28px; padding: 18px var(--pad) 20px;
  font: 12px/1.4 var(--mono); letter-spacing: .02em; color: var(--ink); }
.foot-logo { color: var(--black); }
.foot .logo { width: 156px; }
.foot-legal { display: flex; gap: 22px; margin-left: auto; }
.foot-legal a { text-decoration: none; }
.foot-legal a:hover { text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; }

/* ── Reader ── */
/* the reader draws its own scrollbar: a yellow rectangle that is always visible */
.reader-scroll { position: absolute; inset: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: none; }
.reader-scroll::-webkit-scrollbar { width: 0; height: 0; }
.reader-rail { position: absolute; top: 0; right: 0; bottom: 0; z-index: 3; width: 8px; background: rgba(10,10,10,.06); }
.reader-thumb { position: absolute; left: 0; right: 0; top: 0; min-height: 48px; background: var(--y); cursor: grab !important; transition: background-color .3s; will-change: transform; }
.reader-thumb:hover, .reader-rail.is-dragging .reader-thumb { background: #E6B300; }
.reader-rail.is-dragging .reader-thumb { cursor: grabbing !important; }
.reader { border: 0; padding: 0; margin: 0 0 0 auto; height: 100vh; height: 100dvh; max-height: none; width: min(860px, 100vw); max-width: none; background: var(--paper); color: var(--black); overflow: hidden; }
.reader::backdrop { background: rgba(10,10,10,.6); backdrop-filter: blur(3px); }
.reader[open] { animation: reader-in .7s var(--ease) both; }
.reader.is-closing { animation: reader-out .45s var(--ease) both; }
@keyframes reader-in { from { transform: translateX(100%); } }
@keyframes reader-out { to { transform: translateX(100%); } }
.reader-sheet { position: relative; padding: 96px clamp(24px, 6vw, 80px) 80px; }
.reader-close { position: sticky; top: 20px; z-index: 6; float: right; margin: -72px -24px 0 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--black); background: var(--paper); cursor: pointer; box-shadow: 0 6px 18px rgba(10,10,10,.14); }
.reader-body, .reader-hero { position: relative; z-index: 1; }
.reader-close span { position: absolute; left: 12px; right: 12px; top: 50%; height: 1.5px; background: var(--black); transform: rotate(45deg); }
.reader-close span + span { transform: rotate(-45deg); }
.reader-close:hover { background: var(--y); border-color: var(--y); }
.reader-meta { font: 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); }
.reader-meta::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--y); vertical-align: middle; margin-right: 12px; }
.reader-title { margin-top: 18px; font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.02; letter-spacing: -0.02em; }
.reader-hero { margin: 40px 0 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--line-light); }
/* photos arrive in black and white and develop into colour once, then stay in colour */
.reader-hero img, .reader-body img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 2.2s cubic-bezier(.4, 0, .2, 1); }
.reader-hero img.is-colour, .reader-body img.is-colour { filter: grayscale(0); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font: 11.5px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; padding: 7px 10px; border: 1px solid var(--line-light); border-radius: 99px; color: var(--muted-light); }
.index .tags { margin-top: 14px; }
.reader-tags { margin-top: 48px; }
.reader-body { margin-top: 44px; max-width: 66ch; font-size: 17.5px; line-height: 1.7; color: #232320; }
.reader-body > * + * { margin-top: 1.15em; }
.reader-body h2, .reader-body h3 { font-family: var(--serif); font-weight: 400; color: var(--black); margin-top: 1.8em; }
.reader-body h2 { font-size: 1.9rem; line-height: 1.12; }
.reader-body h3 { font-size: 1.55rem; line-height: 1.15; }
.reader-body em { font-style: italic; }
.reader-body a { color: var(--black); text-decoration-color: var(--y); text-decoration-thickness: 2px; }
.reader-body img { height: auto; }
.reader-body ul { padding-left: 1.2em; }
.reader-body li + li { margin-top: .5em; }
.reader-body hr { border: 0; border-top: 1px solid var(--line-light); margin: 2.4em 0; }
.reader-body .grav-youtube-wrapper { position: relative; aspect-ratio: 16 / 9; }
.reader-body .grav-youtube-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reader-foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-light); }
html.reading { overflow: hidden; }

/* ── Cursor light: a yellow point replaces the arrow; dialogs, forms and anything marked
   data-native-cursor (cookie banners, widgets) keep the system cursor ── */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor dialog, html.has-cursor dialog *, html.has-cursor [data-native-cursor], html.has-cursor [data-native-cursor] *,
html.has-cursor input, html.has-cursor textarea, html.has-cursor select, html.has-cursor iframe { cursor: auto !important; }
html.has-cursor dialog :is(a, button, [role="button"]), html.has-cursor [data-native-cursor] :is(a, button, [role="button"]) { cursor: pointer !important; }
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--y); pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 1px rgba(10,10,10,.28); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .25s, background-color .3s, border-color .3s; border: 1.5px solid transparent; }
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(255,199,0,.16); border-color: var(--y); box-shadow: none; }
.cursor.is-press { width: 8px; height: 8px; margin: -4px 0 0 -4px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ── Small screens ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .nav-end .pill, .nav-end .lang { display: none; }
  .menu-toggle { display: block; }
  .about { grid-template-columns: 1fr; }
  .about-cols { columns: 1; }
  .ledger { grid-template-columns: 1fr; }
  .ledger div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); }
  .ledger div { padding: 16px 0; }
  .podcast { grid-template-columns: 1fr; }
  .press-list { grid-template-columns: 1fr 1fr; }
  .press-list li + li { border-left: 0; }
  .press-list a { padding-left: 0; }
  .programme li { grid-template-columns: 1fr; gap: 6px; }
  .programme .where { text-align: left; }
  .index .row { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .index .go { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { padding: 16px 16px; gap: 16px; }
  .nav .mark-icon { width: 30px; height: 30px; }
  .foot { flex-wrap: wrap; gap: 12px 20px; }
  .foot-legal { margin-left: 0; order: 3; width: 100%; }
  .foot-copy { margin-left: auto; }
  .lang { display: none; }
  .arrival-copy { left: 16px; right: 16px; max-width: none; bottom: 96px; }
  .arrival-title { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .arrival-name { font-size: 13px; align-items: flex-start; }
  .arrival-name .rule { margin-top: .7em; }
  .studio::after { background: linear-gradient(0deg, rgba(230,230,228,.85) 0%, rgba(230,230,228,0) 60%); }
  .conviction, .stage { padding-left: 16px; padding-right: 16px; }
  .insights-inner { padding-left: 16px; padding-right: 16px; }
  .podcast { padding-left: 16px; padding-right: 16px; }
  .press-list { margin: 0 16px; }
  .contact-copy { max-width: none; }
  .contact { justify-content: flex-start; min-height: calc(100svh + 140px); }
  .contact-copy { padding: 110px 16px 0; }
  .contact-photo { top: auto; bottom: 124px; height: min(52svh, 440px); }
  .contact-photo::after { display: none; }
  .contact-photo img { right: 50%; transform: translateX(35%); }
  .sec-head { flex-direction: column; align-items: flex-start; }
}

/* ── Reduced motion: the still portrait, no ink, no smoothing ── */
@media (prefers-reduced-motion: reduce) {
  .arrival { height: auto; }
  .arrival-stage { position: relative; }
  .studio-video { display: none; }
  .studio-still { opacity: 1; }
  .arrival-title .line > span { transform: none; }
  .arrival-name { opacity: 1; }
  .ink, .mist { display: none; }
  .fill-text .w { color: var(--paper); -webkit-text-stroke: 0; }
  .fill-text b .w { color: var(--y); }
  .marquee-track, .arrival-hint .dot, .live { animation: none; }
  .reader[open], .reader.is-closing { animation: none; }
  .reader-hero img, .reader-body img { transition: none; }
}


/* ════════════════════════════════════════════════════════════════
   Inner pages: Insights, article, legal, 404
   ════════════════════════════════════════════════════════════════ */
body.is-page { background: var(--paper); color: var(--black); }
.page-head { position: relative; padding: clamp(150px, 24vh, 240px) var(--pad) 8vh; }
.page-title { font-size: clamp(3.6rem, 10vw, 9.5rem); line-height: .9; letter-spacing: -0.03em; }
.page-title em { color: var(--muted-light); }
.page-intro { margin-top: 32px; max-width: 52ch; font-size: 18px; color: #3A3A36; }
.crumb { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 28px; font: 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); text-decoration: none; }
.crumb::before { content: ""; width: 26px; height: 2px; background: var(--y); }
.crumb:hover { color: var(--black); }

/* Insights page */
.search { position: relative; margin-top: 52px; max-width: 760px; }
.search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.search-icon { position: absolute; left: 0; top: 50%; width: 26px; height: 26px; transform: translateY(-50%); fill: none; stroke: var(--black); stroke-width: 1.5; stroke-linecap: round; pointer-events: none; }
.search input { width: 100%; padding: 14px 52px 16px 42px; border: 0; border-bottom: 1px solid var(--black); border-radius: 0; background: transparent; color: var(--black);
  font: 400 clamp(1.6rem, 2.6vw, 2.3rem)/1.2 var(--serif); letter-spacing: -0.01em; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .3s; }
.search input::placeholder { color: #8E8E89; }
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus { border-bottom-color: var(--y); box-shadow: 0 2px 0 0 var(--y); }
.search-clear { position: absolute; right: 0; top: 50%; width: 36px; height: 36px; transform: translateY(-50%); border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.search-clear span { position: absolute; left: 10px; right: 10px; top: 50%; height: 1.5px; background: var(--black); transform: rotate(45deg); }
.search-clear span + span { transform: rotate(-45deg); }
.search-clear:hover { background: var(--y); }
.results { padding: 0 0 16px; font: 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); }
.link-reset { all: unset; cursor: pointer; text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: .2em; color: var(--black); }
.tag-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tag-filter button { font: 12px/1 var(--mono); letter-spacing: .03em; padding: 9px 13px; border-radius: 99px; border: 1px solid var(--line-light); background: transparent; color: var(--muted-light); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.tag-filter button:hover { border-color: var(--black); color: var(--black); }
.tag-filter button[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--paper); }
.page-list { padding: 0 var(--pad) 16vh; }
.page-list .index { border-top: 1px solid var(--black); }
.index[data-thumbs] .row { grid-template-columns: 9.5rem minmax(0, 1fr) clamp(200px, 24vw, 340px); align-items: start; }
.index .thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--line-light); }
.index .thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 1.4s ease, transform 1.2s var(--ease); }
.index .row:hover .thumb img, .index .row:focus-visible .thumb img { filter: grayscale(0); transform: scale(1.03); }
.index li[hidden] { display: none; }
.empty-note { padding: 48px 0; font: 400 1.6rem/1.3 var(--serif); color: var(--muted-light); max-width: 40ch; }

/* Article page */
.article { position: relative; }
.article-head { padding: clamp(150px, 22vh, 220px) var(--pad) 0; max-width: 1180px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); }
.article-title { margin-top: 26px; font-size: clamp(2.8rem, 6.4vw, 6.2rem); line-height: .98; letter-spacing: -0.025em; max-width: 18ch; }
.article-hero { margin: 7vh var(--pad) 0; aspect-ratio: 16 / 9; max-height: 82vh; overflow: hidden; background: var(--line-light); }
.article-hero img, .article-body img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 2.2s cubic-bezier(.4, 0, .2, 1); }
.article-hero img.is-colour, .article-body img.is-colour { filter: grayscale(0); }
.article-grid { display: grid; grid-template-columns: minmax(180px, 3fr) minmax(0, 9fr); gap: 40px clamp(32px, 6vw, 110px); padding: 9vh var(--pad) 12vh; }
.article-aside { position: sticky; top: 110px; align-self: start; display: grid; gap: 28px; font-size: 13px; }
.article-aside dt { font: 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); }
.article-aside dd { margin: 6px 0 0; }
.share { display: flex; flex-direction: column; gap: 8px; }
.share a, .share button { all: unset; cursor: pointer; font-weight: 600; font-size: 13px; text-decoration: none; }
.share a:hover, .share button:hover { text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.article-body { max-width: 68ch; font-size: 19px; line-height: 1.72; color: #232320; }
.article-body > * + * { margin-top: 1.15em; }
.article-body h2, .article-body h3 { font-family: var(--serif); font-weight: 400; color: var(--black); line-height: 1.12; margin-top: 1.9em; }
.article-body h2 { font-size: 2.1rem; }
.article-body h3 { font-size: 1.65rem; }
.article-body > h2:first-child { margin-top: 0; font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: #3A3A36; }
.article-body a { color: var(--black); text-decoration-color: var(--y); text-decoration-thickness: 2px; }
.article-body ul { padding-left: 1.2em; }
.article-body li + li { margin-top: .5em; }
.article-body blockquote { margin: 1.8em 0; padding-left: 24px; border-left: 2px solid var(--y); font: italic 400 1.8rem/1.2 var(--serif); color: var(--black); }
.article-body hr { border: 0; border-top: 1px solid var(--line-light); margin: 2.4em 0; }
.article-body .grav-youtube-wrapper { position: relative; aspect-ratio: 16 / 9; }
.article-body .grav-youtube-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-end { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--black); margin: 0 var(--pad); }
.article-nav a { padding: 34px 0 44px; text-decoration: none; display: grid; gap: 12px; }
.article-nav a + a { padding-left: 32px; border-left: 1px solid var(--line-light); text-align: right; }
.article-nav span { font: 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); }
.article-nav strong { font: 400 clamp(1.5rem, 2.4vw, 2.2rem)/1.08 var(--serif); }
.article-nav a:hover strong { text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.page-rail { position: fixed; top: 0; right: 0; bottom: 0; z-index: 35; width: 6px; background: rgba(10,10,10,.06); pointer-events: none; }
.page-rail span { position: absolute; left: 0; right: 0; top: 0; background: var(--y); will-change: transform; }

/* Legal pages */
.legal { display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 9fr); gap: 40px clamp(32px, 6vw, 110px); padding: 4vh var(--pad) 14vh; }
.toc { position: sticky; top: 110px; align-self: start; }
.toc p { font: 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 16px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; font-size: 13.5px; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 28px 1fr; padding: 5px 0; color: var(--muted-light); text-decoration: none; transition: color .25s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font: 11px/1.9 var(--mono); }
.toc a:hover { color: var(--black); }
.toc a.is-current { color: var(--black); font-weight: 600; }
.toc a.is-current::before { color: var(--black); box-shadow: inset 0 -2px 0 var(--y); width: max-content; }
.legal-body { max-width: 70ch; font-size: 17px; line-height: 1.7; color: #232320; }
.legal-body > * + * { margin-top: 1em; }
.legal-body h2 { font: 400 1.9rem/1.12 var(--serif); color: var(--black); margin-top: 2.2em; padding-top: 10px; scroll-margin-top: 110px; }
.legal-body h3 { font: 600 1.05rem/1.3 var(--sans); margin-top: 1.6em; }
.legal-body a { color: var(--black); text-decoration-color: var(--y); text-decoration-thickness: 2px; }
.legal-body ul { padding-left: 1.2em; }
.legal-updated { margin-top: 26px; font: 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); }

/* 404 */
.lost { position: relative; min-height: 100vh; min-height: 100svh; background: var(--black); color: var(--paper); overflow: hidden; display: grid; place-items: center; text-align: center; }
.lost-ink { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .28; }
.lost-num { position: absolute; inset: 0; display: grid; place-items: center; font: 400 clamp(14rem, 42vw, 40rem)/.8 var(--serif); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(242,242,240,.22); user-select: none; pointer-events: none; }
.lost-copy { position: relative; z-index: 2; padding: 120px 24px; max-width: 640px; }
.lost-copy h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1; letter-spacing: -0.02em; }
.lost-copy h1 em { color: var(--y); }
.lost-copy p { margin-top: 22px; color: #BDBDB8; font-size: 17px; }
.lost-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.lost-links a { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 99px; border: 1px solid rgba(242,242,240,.4); text-decoration: none; font-size: 14px; font-weight: 600; transition: background-color .3s, color .3s, border-color .3s; }
.lost-links a:first-child { background: var(--paper); color: var(--black); border-color: var(--paper); }
.lost-links a:hover { background: var(--y); border-color: var(--y); color: var(--black); }
.lost-code { margin-top: 36px; font: 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }

/* Footer for inner pages */
.site-foot { background: var(--black); color: var(--paper); padding: 14vh var(--pad) 28px; }
.site-foot-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 10vh; }
.site-foot-cta h2 { font-size: clamp(2.6rem, 5.6vw, 5.4rem); line-height: .98; letter-spacing: -0.02em; }
.site-foot-cta h2 em { color: var(--muted-dark); }
.site-foot-cta a.mail { font: 400 clamp(1.4rem, 2.4vw, 2.2rem)/1.1 var(--serif); text-decoration: none; background: linear-gradient(var(--y), var(--y)) 0 92% / 100% .12em no-repeat; transition: background-size .5s var(--ease); }
.site-foot-cta a.mail:hover { background-size: 100% .5em; color: var(--black); }
.site-foot-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 22px; border-top: 1px solid var(--line-dark); font: 12px/1.4 var(--mono); color: var(--muted-dark); }
.site-foot-bar .logo { width: 156px; color: var(--paper); }
.site-foot-bar nav { display: flex; gap: 22px; margin-left: auto; }
.site-foot-bar a { text-decoration: none; }
.site-foot-bar a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; }

@media (max-width: 900px) {
  .index[data-thumbs] .row { grid-template-columns: 1fr; }
  .index[data-thumbs] .thumb { order: -1; }
  .article-grid, .legal { grid-template-columns: 1fr; }
  .article-aside, .toc { position: static; }
  .article-aside { grid-template-columns: repeat(2, 1fr); }
  .toc { padding-bottom: 20px; border-bottom: 1px solid var(--line-light); }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); text-align: left; }
}
@media (max-width: 760px) {
  .page-head, .article-head { padding-left: 16px; padding-right: 16px; }
  .page-list, .article-grid, .legal { padding-left: 16px; padding-right: 16px; }
  .article-hero { margin: 5vh 0 0; }
  .article-body { font-size: 17.5px; }
  .article-nav { margin: 0 16px; }
  .site-foot { padding-left: 16px; padding-right: 16px; }
  .site-foot-bar nav { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .article-hero img, .article-body img { filter: none; transition: none; }
  .lost-ink { display: none; }
}


/* ════════════════════════════════════════════════════════════════
   Sections that came from the site's content: Expertise, Career, AENVO
   ════════════════════════════════════════════════════════════════ */
.sec-note { font: 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); }
.expertise, .career { background: var(--paper); color: var(--black); padding: 14vh var(--pad); }
.career { padding-top: 0; }
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 110px); }
.areas li { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); column-gap: 12px; padding: 30px 0 34px; border-bottom: 1px solid var(--line-light); }
.areas .n { grid-row: span 2; font: 12px/2.6 var(--mono); color: var(--muted-light); }
.areas h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.06; }
.areas p { margin-top: 12px; color: #3A3A36; font-size: 15.5px; max-width: 54ch; }
.path { list-style: none; margin: 0; padding: 0; }
.path li { display: grid; grid-template-columns: minmax(180px, 3fr) minmax(0, 9fr); gap: 24px clamp(32px, 6vw, 110px); padding: 34px 0; border-bottom: 1px solid var(--line-light); }
.path li:last-child { border-bottom: 0; }
.path .when { font: 12px/1.6 var(--mono); letter-spacing: .04em; color: var(--muted-light); }
.path h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.05; }
.path .role { margin-top: 8px; font-size: 14px; font-weight: 600; }
.path .what { margin-top: 12px; max-width: 70ch; color: #3A3A36; font-size: 15.5px; text-align: justify; hyphens: auto; }

/* the top screen of this section starts as paper; the ink falls on it and turns it black */
.convai { position: relative; color: var(--paper); padding: 46vh var(--pad) 16vh; overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0, var(--paper) 100vh, var(--black) 100vh); }
.convai.no-ink { background: var(--black); padding-top: 18vh; }
.convai .ink-fall { position: absolute; inset: 0 0 auto; height: 100vh; width: 100%; z-index: 0; pointer-events: none; }
.convai-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px clamp(32px, 6vw, 110px); align-items: center; }
.convai .sec-note { color: var(--muted-dark); }
.convai h2 { margin-top: 18px; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -0.02em; }
.convai-text { margin-top: 28px; color: #CFCFCB; max-width: 58ch; }
.convai .tags { margin: 28px 0 32px; }
.tags-dark li { border-color: var(--line-dark); color: var(--muted-dark); }
.convai-media { aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.convai-media video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 1.6s ease; }
.convai-media:hover video { filter: grayscale(0); }

.podcast-meaning, .podcast-note { font-size: 14px; color: var(--muted-dark); }
.podcast-body > p:not([class]) { color: #CFCFCB; }

/* Press list: outlet, the piece, the call to read or watch */
.press-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0; }
.press-list li { border-top: 1px solid var(--line-dark); }
.press-list li + li { border-left: 0; }
.press-list a { display: grid; gap: 10px; height: 100%; padding: 22px 24px 26px 0; }
.press-list .outlet { font: 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-dark); }
.press-list .piece { font: 400 1.25rem/1.25 var(--serif); color: var(--paper); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.press-list .cta { font-size: 13px; font-weight: 600; color: #CFCFCB; }
.press-list a:hover .cta { color: var(--y); }
.press-list li:first-child a { padding-left: 0; }

/* Let's talk: write a message, phone and address */
.contact-write { all: unset; cursor: pointer; font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.contact-details { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font: 12px/1.5 var(--mono); color: var(--ink); }
.contact-details a { text-decoration: none; }
.contact-details a:hover { text-decoration: underline; text-decoration-color: var(--y); }
.form-dialog { border: 0; padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); background: var(--paper); color: var(--black); overflow: auto; }
.form-dialog::backdrop { background: rgba(10,10,10,.6); backdrop-filter: blur(3px); }
.form-dialog[open] { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.contact-form { position: relative; display: grid; gap: 18px; padding: 44px clamp(22px, 5vw, 44px) 36px; }
.contact-form h2 { font-size: 2.4rem; line-height: 1; margin-bottom: 6px; padding-right: 48px; }
.contact-form .reader-close { position: absolute; top: 18px; right: 18px; float: none; margin: 0; }
.contact-form label { display: grid; gap: 8px; font: 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); }
.contact-form input, .contact-form textarea { font: 400 17px/1.5 var(--sans); color: var(--black); text-transform: none; letter-spacing: 0; padding: 10px 0; border: 0; border-bottom: 1px solid var(--black); border-radius: 0; background: transparent; outline: none; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--y); box-shadow: 0 2px 0 0 var(--y); }
.contact-form [aria-invalid="true"] { border-bottom-color: #B3261E; }
.contact-form .pill { justify-self: start; margin-top: 8px; cursor: pointer; font-family: var(--sans); }
.pill-dark { background: var(--black); color: var(--paper); border-color: var(--black); }
.form-status { min-height: 1.4em; font-size: 14px; }
.form-status.is-error { color: #B3261E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.page-title-md { font-size: clamp(3rem, 7vw, 6.4rem); }
.page-intro p + p { margin-top: 1em; }
.legal-plain { grid-template-columns: minmax(0, 1fr); }
.page-head + .legal { padding-top: 0; }

@media (max-width: 900px) {
  .areas { grid-template-columns: 1fr; }
  .path li { grid-template-columns: 1fr; gap: 6px; }
  .convai-inner { grid-template-columns: 1fr; }
  .convai-media { aspect-ratio: 16 / 10; }
  .press-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .expertise, .career, .convai { padding-left: 16px; padding-right: 16px; }
  .press-list { grid-template-columns: 1fr; }
  .press-list a { padding-left: 0; }
}
