/*
 * Pay the Price: the design system (see ../DESIGN.md for the reasoning).
 *
 * One dark theme, one accent: the gold of his PTP logo (2026-10-29; the
 * proposal's aqua and film-red switch is gone). Everything that is coloured
 * reads var(--accent).
 *
 * The website editor (web/whitelabel/_editor) reaches the design through three
 * doors, so the tokens below are written to be opened by them:
 *   - typefaces: the editor's Headline / Label / Reading type set
 *     --font-display / --font-cond / --font-body on <html>, inline, which wins
 *     over the values here; --display, --label and --sans follow them.
 *   - the accent: Custom CSS can set --brand (and --brand-ink for small
 *     coloured text, --brand-on for text on a filled button). Nothing here
 *     defines them, so any value Leo gives wins over both proposal accents.
 *   - everything else: per-element styles and Custom CSS, which load after.
 */

@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #080808;
  --bg-2: #121514;
  --bg-sea: #0e1918;
  --ink: #f4f2ee;
  --ink-2: #b4b8b5;
  --ink-3: #8c918e;
  --line: #242826;
  --line-strong: #6b716e;
  --accent: var(--brand, #d6a352);
  --accent-ink: var(--brand-ink, var(--brand, #d6a352));
  --accent-on: var(--brand-on, #120c03);
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-cond: var(--font-body);
  --display: var(--font-display);
  --sans: var(--font-body);
  --label: var(--font-cond);
  --wrap: 1320px;
  --gutter: clamp(16px, 4.4vw, 72px);
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
/* `hidden` must mean hidden: the live sections and the blog reader switch
   things with it, and rules like img{display:block} or .btn{display:inline-flex}
   would otherwise beat the browser's own [hidden] rule. */
[hidden] { display: none !important; }
/* picture only chooses the format (AVIF, else WebP); the img inside is what
   every rule styles, so the wrapper must not take part in layout. */
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
em { font-style: italic; }
::selection { background: var(--accent); color: var(--accent-on); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; line-height: .96; }
.display em { color: var(--accent); }
.h2 { font-family: var(--display); font-size: clamp(2.5rem, 1.5rem + 3.8vw, 4.9rem); line-height: .98; letter-spacing: -.01em; }
.h2 em { color: var(--accent); }
.label { font: 600 12px/1.3 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.lede { font-size: clamp(1.06rem, .98rem + .35vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.prose { max-width: 62ch; color: var(--ink-2); }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: 600 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .18s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-on); }
.btn-accent:hover { background: var(--ink); color: var(--bg); }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.link { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link:hover { color: var(--ink); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(8, 8, 8, .92); border-bottom-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-in { display: flex; align-items: center; gap: 28px; max-width: none; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.brand b { font: 400 26px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.brand small { margin-top: 5px; font: 600 10.5px/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font: 500 14.5px/1 var(--sans); text-decoration: none; color: var(--ink-2); padding: 10px 0; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  min-width: 44px; min-height: 40px; padding: 0 10px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 2px;
  font: 600 12.5px/1 var(--sans); letter-spacing: .12em; cursor: pointer;
}
.lang-btn:hover { border-color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; padding: 0; }
.burger i { display: block; width: 22px; margin: 0 auto; }
.burger span { display: block; height: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.burger span + span { margin-top: 6px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s .25s;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .25s var(--ease); }
.menu ol { list-style: none; margin: 0; padding: 0; }
.menu a { display: block; font: 400 clamp(2.4rem, 8vw, 3.4rem)/1.12 var(--display); text-decoration: none; padding: 4px 0; }
.menu a:hover { color: var(--accent); }
.menu-foot { color: var(--ink-3); font-size: 14px; }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: block; }
}
@media (max-width: 520px) {
  .nav-right .btn { display: none; }
  .brand b { font-size: 23px; }
}
.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: clip; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: #1a2423; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,8,.86) 0%, rgba(8,8,8,.62) 34%, rgba(8,8,8,.08) 66%, rgba(8,8,8,0) 100%),
    linear-gradient(180deg, rgba(8,8,8,.55) 0%, rgba(8,8,8,0) 22%, rgba(8,8,8,0) 62%, rgba(8,8,8,.9) 100%);
}
.hero-copy { padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(28px, 5vh, 56px); }
.hero .label { color: var(--ink-2); margin-bottom: 22px; }
.hero h1 { font-size: clamp(3rem, 1.4rem + 6.2vw, 7.4rem); max-width: 11.5ch; }
.hero .lede { margin-top: 24px; color: var(--ink); opacity: .86; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-sub {
  border-top: 1px solid rgba(244, 242, 238, .14);
  background: rgba(8, 8, 8, .55);
}
.hero-sub .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
.hero-sub q { flex: 1; font: italic 400 clamp(1.05rem, .95rem + .4vw, 1.3rem)/1.35 var(--display); color: var(--ink); quotes: "\201C" "\201D"; }
.hero-sub cite { font: 600 11px/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-style: normal; white-space: nowrap; }
.pause {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  background: transparent; border: 1px solid var(--line-strong); cursor: pointer;
  display: grid; place-items: center;
}
.pause:hover { border-color: var(--ink); }
.pause svg { width: 14px; height: 14px; }
.pause .i-play { display: none; }
.pause[aria-pressed="true"] .i-play { display: block; }
.pause[aria-pressed="true"] .i-pause { display: none; }
@media (max-width: 760px) {
  .hero-media video, .hero-media img { object-position: 74% 50%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(8,8,8,.6) 0%, rgba(8,8,8,.05) 26%, rgba(8,8,8,.35) 48%, rgba(8,8,8,.94) 78%); }
  .hero-sub cite { display: none; }
}

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }

/* the film frame: every wide photograph keeps the film's 2.4:1 */
.frame { position: relative; aspect-ratio: 2.4 / 1; overflow: hidden; background: var(--bg-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame figcaption, .cap {
  font: 500 12.5px/1.4 var(--sans); color: var(--ink-3); margin-top: 12px;
}

/* ---------- method ---------- */
.method-open { position: relative; }
.method-open .frame { aspect-ratio: 2.4 / 1; }
.method-open .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,8,0) 40%, rgba(8,8,8,.85) 100%); }
.method-open h2 { position: absolute; left: 0; right: 0; bottom: clamp(20px, 4vw, 56px); z-index: 1; }
.method-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(48px, 7vw, 96px); }
.method-intro { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.method-intro .prose + .prose { margin-top: 20px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.step-mark { font: 400 clamp(2.6rem, 2rem + 2vw, 3.6rem)/.9 var(--display); color: var(--accent); }
.step-mark.small { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.05; }
.step h3 { font: 600 19px/1.3 var(--sans); margin-bottom: 8px; }
.step p { color: var(--ink-2); }
@media (max-width: 900px) {
  .method-grid { grid-template-columns: 1fr; }
  .method-intro { position: static; }
}
@media (max-width: 520px) {
  .method-open .frame { aspect-ratio: 4 / 3; }
  .step { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
}

/* ---------- programmes: one dominant cell, two lighter ones ---------- */
.programmes { background: var(--bg-sea); }
.bento { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell { background: var(--bg-sea); padding: clamp(26px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.cell-main { grid-row: span 2; padding: 0; background: var(--bg); }
.cell-main .cell-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cell-main .cell-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cell-main .cell-body { padding: clamp(26px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.cell h3 { font: 400 clamp(2rem, 1.5rem + 1.6vw, 3rem)/1 var(--display); }
.cell-main h3 { font-size: clamp(2.6rem, 1.8rem + 2.6vw, 4rem); }
.cell p { color: var(--ink-2); max-width: 52ch; }
.cell .meta { font: 600 12px/1.4 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.cell .btn { align-self: flex-start; margin-top: auto; }
.cell-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; color: var(--ink-2); }
.cell-foot strong { color: var(--ink); font-weight: 600; }
.ticks { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 8px; color: var(--ink-2); }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.ticks li::before { content: ""; width: 10px; height: 1px; background: var(--accent); margin-top: .8em; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .cell-main { grid-row: auto; }
}

/* ---------- story: the receipt ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.portrait { position: relative; }
.portrait-media { position: relative; overflow: hidden; }
.portrait-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: contrast(1.04); }
.portrait .inset {
  position: absolute; right: -24px; bottom: -40px; width: 38%;
  border: 6px solid var(--bg); box-shadow: 0 18px 40px rgba(0,0,0,.5);
}
.portrait .inset img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 30%; }
.portrait figcaption { margin-top: 56px; max-width: 34ch; }
.story-copy .h2 { margin-bottom: 28px; }
.receipt {
  margin-top: 44px; padding: 28px clamp(20px, 3vw, 36px) 24px;
  background: var(--bg-2); border-top: 2px solid var(--accent);
}
.receipt-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-strong); }
.receipt dl { margin: 0; }
.receipt .row { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.receipt dt { color: var(--ink); }
.receipt dt small { display: block; color: var(--ink-3); font-size: 13.5px; }
.receipt .row::after { content: none; }
.receipt .dots { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--line-strong); transform: translateY(-5px); }
.receipt dd { margin: 0; text-align: right; color: var(--ink-2); max-width: 46%; font-variant-numeric: lining-nums; }
.receipt .total { border-bottom: 0; padding-top: 18px; }
.receipt .total dt, .receipt .total dd { font: 400 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1 var(--display); color: var(--ink); max-width: none; }
.receipt .total dd { color: var(--accent); }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 520px; }
  .portrait .inset { right: 0; }
  .portrait figcaption { max-width: 55%; }
}
@media (max-width: 520px) {
  .receipt .dots { display: none; }
  .receipt .row { flex-direction: column; gap: 2px; }
  .receipt dd { text-align: left; max-width: none; }
  .receipt .total { flex-direction: row; justify-content: space-between; }
}

/* ---------- quote band ---------- */
.quote { position: relative; isolation: isolate; overflow: clip; padding: clamp(110px, 16vw, 220px) 0; }
.quote-bg { position: absolute; inset: 0; z-index: -1; }
.quote-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: .85; }
.quote-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,.9) 0%, rgba(8,8,8,.6) 50%, rgba(8,8,8,.2) 100%); }
.quote blockquote { margin: 0; }
.quote p { font: 400 clamp(2.6rem, 1.4rem + 5vw, 6.4rem)/.98 var(--display); letter-spacing: -.01em; max-width: 14ch; }
.quote p em { color: var(--accent); display: block; }
.quote footer { margin-top: 28px; }

/* ---------- film ---------- */
.film-player { position: relative; aspect-ratio: 2.4 / 1; background: #000; overflow: hidden; }
.film-player img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.film-play {
  position: absolute; inset: 0; display: grid; place-items: end start; cursor: pointer;
  background: linear-gradient(180deg, rgba(8,8,8,0) 55%, rgba(8,8,8,.55)); border: 0;
  padding: clamp(14px, 2.4vw, 32px); width: 100%;
}
.film-play span {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px 0 20px;
  background: var(--accent); color: var(--accent-on); font: 600 16px/1 var(--sans); border-radius: 2px;
  transition: background-color .18s, color .18s;
}
.film-play svg { width: 18px; height: 18px; }
.film-play:hover span { background: var(--ink); color: var(--bg); }
.film-player:hover img { transform: scale(1.02); }
.film-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-meta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); margin-top: 32px; }
.stills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 5vw, 64px); }
.stills figure { margin: 0; }
.stills .frame { aspect-ratio: 2.4 / 1; }
@media (max-width: 760px) {
  .film-player { aspect-ratio: 16 / 9; }
  .film-meta { grid-template-columns: 1fr; }
  .stills { grid-template-columns: 1fr; }
}

/* ---------- talks ---------- */
.talks-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.talks-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.talks-copy .h2 { margin-bottom: 24px; }
.talks-copy .ticks { margin: 24px 0 32px; }
@media (max-width: 900px) { .talks-grid { grid-template-columns: 1fr; } .talks-photo { max-width: 520px; } }

/* ---------- live event ---------- */
.live { position: relative; isolation: isolate; overflow: clip; padding: clamp(96px, 13vw, 180px) 0; }
.live-bg { position: absolute; inset: 0; z-index: -1; }
.live-bg img { width: 100%; height: 100%; object-fit: cover; }
.live-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,.92) 0%, rgba(8,8,8,.75) 45%, rgba(8,8,8,.35) 100%); }
.live .h2 { max-width: 16ch; }
.live .prose { color: var(--ink); opacity: .88; margin-top: 24px; }
.live-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; list-style: none; padding: 0; }
.live-meta li { font: 600 12.5px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(244,242,238,.4); padding: 10px 14px; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font: 600 18px/1.35 var(--sans);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 28px/1 var(--display); color: var(--accent-ink); transition: transform .2s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 24px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- contact form ---------- */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-side .prose { margin-top: 24px; }
.contact-side .ticks { margin-top: 28px; }
.card { position: relative; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font: 600 14px/1.3 var(--sans); color: var(--ink); }
.field label small, .field legend small { font-weight: 400; color: var(--ink-3); }
.field .hint { font-size: 13.5px; color: var(--ink-3); margin-top: -2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 2px;
  font: 400 16px/1.4 var(--sans);
  transition: border-color .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.field .err { display: none; font-size: 13.5px; color: var(--accent-ink); }
.field.invalid input, .field.invalid select { border-color: var(--accent-ink); }
.field.invalid .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.ab { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 12px; align-items: start; }
.ab-mark { font: 400 2.2rem/1 var(--display); color: var(--accent); padding-top: 34px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { position: relative; display: inline-flex; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 2px; font-weight: 500; cursor: pointer; }
.choices input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.choices input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-top: 4px; }
.form-foot p { font-size: 13.5px; color: var(--ink-3); max-width: 40ch; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.busy { pointer-events: none; opacity: .7; }
.sent { display: none; padding: clamp(28px, 4vw, 48px); border-top: 2px solid var(--accent); background: var(--bg); }
.sent h3 { font: 400 clamp(2.2rem, 1.6rem + 2vw, 3.2rem)/1 var(--display); margin-bottom: 16px; }
.sent h3:focus { outline: none; }
.sent p { color: var(--ink-2); max-width: 52ch; }
.sent .btn { margin-top: 24px; }
.card.done .form { display: none; }
.card.done .sent { display: block; }
.failed-msg { display: none; grid-column: 1 / -1; color: var(--accent-ink); font-size: 14.5px; }
.card.failed .failed-msg { display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.foot .brand b { font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); }
.foot .brand small { margin-top: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.foot-links a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.foot-links a:hover { color: var(--ink); }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: var(--ink-3); }
.foot-base a { color: var(--ink-2); }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }

/* ---------- motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .08s; }
.js [data-reveal="3"] { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

.method-open h2 { padding: 0 clamp(20px, 4vw, 56px); }
.method-intro .lede + .prose { margin-top: 20px; }
@media (max-width: 520px) { .hero .label { letter-spacing: .1em; font-size: 11px; } }

/* ---------- section loops ----------
 * Short muted clips from the film over the still that stands in for them. The
 * still stays underneath (it carries the alt text and is what a reduced-motion
 * or data-saving reader sees); the clip only fades in once it is actually
 * playing, so a slow network never shows an empty box. */
.loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.loop.on { opacity: 1; }
.cell-photo .loop { object-position: 50% 30%; }
.quote-bg .loop { object-position: 50% 40%; }
.quote-bg .loop.on { opacity: .85; }

/* ---------- additions from the second brief (2026-10-21) ----------
   The problem, the 3M Method, the other paths and Business Overseers reuse the
   method grid, the steps and the bento; these only space them. */
.method-grid.flush { margin-top: 0; }
.method-grid + .method-grid { margin-top: clamp(64px, 9vw, 128px); }
.method-intro .label + .h2 { margin-top: 14px; }
.method-intro .h2 + .prose { margin-top: 22px; }
.method-intro .btn { margin-top: 28px; }
.list-label { margin-bottom: 14px; }
.steps.compact .step { padding: 20px 0; align-items: center; }
.steps.compact .step h3 { margin: 0; }
.steps.compact .step-mark { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); }
.fine { font-size: 13.5px; line-height: 1.55; color: var(--ink-3); max-width: 62ch; margin-top: 18px; }
.more-head { margin: clamp(56px, 8vw, 96px) 0 20px; }
.bento.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .bento.even { grid-template-columns: 1fr; } }
.field.consent { grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 10px 12px; }
.field.consent input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 2px 0 0; accent-color: var(--accent); }
.field.consent label { font-weight: 400; color: var(--ink-2); }
.field.consent .err { grid-column: 1 / -1; }
.field.consent.invalid input { outline: 1px solid var(--accent-ink); outline-offset: 2px; }
.foot-legal { margin-top: 16px; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); max-width: 90ch; }
.legal .prose h2 { font: 400 clamp(2rem, 1.5rem + 1.6vw, 3rem)/1.05 var(--display); color: var(--ink); margin: 56px 0 18px; }
.legal .prose h3 { font: 600 17px/1.3 var(--sans); color: var(--ink); margin: 26px 0 8px; }
.legal .prose p, .legal .prose li { color: var(--ink-2); }
.legal .prose ul { padding-left: 18px; }
.contact-side .h2 + .lede { margin: 20px 0 16px; color: var(--ink); }

/* ---------- live from MatPilot (shared/live.js) ----------
   Hidden until their fetch returns something: an account with nothing
   published shows no empty shelf. */
[data-blog]:not(.has) { display: none; }
.journal-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; }
.journal-head .label { flex-basis: 100%; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.post-card { display: flex; flex-direction: column; gap: 12px; background: var(--bg); padding: 0 0 clamp(22px, 2.6vw, 32px); text-decoration: none; color: inherit; }
.post-cover { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-cover img { transform: scale(1.03); }
.post-meta, .post-title, .post-excerpt { display: block; padding: 0 clamp(18px, 2.2vw, 28px); }
.post-cover + .post-meta { margin-top: 10px; }
.post-card > .post-meta:first-child { margin-top: clamp(22px, 2.6vw, 32px); }
.post-meta { font: 600 12px/1.4 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.post-title { font: 400 clamp(1.7rem, 1.3rem + 1.1vw, 2.3rem)/1.05 var(--display); text-wrap: balance; }
.post-card:hover .post-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.post-excerpt { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

/* events, inside the live section: the static teaser steps aside once
   something is actually on sale */
.live.has-events .live-static { display: none; }
.ev-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.ev-list:empty { display: none; }
.ev-card { display: flex; flex-direction: column; height: 100%; background: rgba(8, 8, 8, .9); border: 1px solid var(--line-strong); text-decoration: none; color: inherit; transition: border-color .18s var(--ease); }
a.ev-card:hover { border-color: var(--ink); }
.ev-cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.ev-cover img { width: 100%; height: 100%; object-fit: cover; }
.ev-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: clamp(20px, 2.4vw, 28px); }
.ev-when { font: 600 12px/1.4 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.ev-title { font: 400 clamp(1.8rem, 1.4rem + 1vw, 2.4rem)/1.02 var(--display); text-wrap: balance; }
.ev-venue { color: var(--ink); font-weight: 500; }
.ev-desc { color: var(--ink-2); font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ev-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.ev-price { font: 400 1.6rem/1 var(--display); }
.ev-left { font-size: 13.5px; color: var(--ink-3); }
.ev-go { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--accent-ink); }
.ev-go svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
a.ev-card:hover .ev-go svg { transform: translateX(3px); }
.ev-card.sold-out .ev-price { color: var(--ink-3); }
/* An event's address is https://matpilot.io/e/..., which the shared editor
   engine pins as "Powered by MatPilot" (display:inline-flex !important on the
   link, display:revert !important on everything in it). These win on
   specificity, so a real event card keeps its layout. */
.ev-list a.ev-card[href] { display: flex !important; }
.ev-list .ev-card .ev-cover, .ev-list .ev-card .ev-when, .ev-list .ev-card .ev-venue, .ev-list .ev-card .ev-title, .ev-list .ev-card img { display: block !important; }
.ev-list .ev-card .ev-body, .ev-list .ev-card .ev-foot { display: flex !important; }
.ev-list .ev-card .ev-desc { display: -webkit-box !important; }
.ev-list .ev-card .ev-go { display: inline-flex !important; }
.ev-list .ev-card .ev-price, .ev-list .ev-card .ev-left { display: inline !important; }

/* ---------- the editing surface ---------- */
/* The logo slot in the top bar holds his PTP mark beside the name. An upload
   from the editor goes in front of it as <img class="bz-logo-img"> and the
   engine hides the slot, so either one takes the mark's place. */
.brand-logo:empty { display: none; }
.brand:has(.brand-logo:not(:empty), .bz-logo-img) {
  display: grid; grid-template-columns: auto auto; justify-content: start;
  align-items: center; column-gap: 12px;
}
.brand-logo, .brand .bz-logo-img { grid-column: 1; grid-row: 1 / span 2; }
.brand:has(.brand-logo:not(:empty), .bz-logo-img) > b,
.brand:has(.brand-logo:not(:empty), .bz-logo-img) > small { grid-column: 2; }
.brand-mark { display: block; height: 40px; width: auto; }
.brand .bz-logo-img { height: 34px; width: auto; }
@media (max-width: 520px) { .brand-mark { height: 34px; } }
/* The footer carries the full lockup, mark over words, as he drew it. */
.foot-logo { display: block; align-self: flex-start; height: clamp(96px, 7vw + 56px, 150px); width: auto; }
/* A photograph Leo replaced: the clip of the old one must not play over it. */
.loop[data-off] { display: none; }
/* Inside the editor's preview: a still picture of the page. No loops covering
   the photographs, and the film's play
   button lets a click through to the title card under it. */
[data-preview] .loop { display: none !important; }
[data-preview] .film-play { pointer-events: none; }
[data-preview] .film-play > span { pointer-events: auto; }

/* ---------- blocks Leo adds in the editor ----------
   The engine renders them with a shared class vocabulary (_editor/site-edit.js,
   BLOCK_TEMPLATES); these give that vocabulary this site's type and colour. */
.bzb { padding: clamp(64px, 9vw, 128px) 0; }
.bzb.sec-flush { padding: 0; }
.bzb .eyebrow { display: flex; align-items: center; gap: 16px; }
.bzb .eyebrow .rule { flex: 1; height: 1px; background: var(--line); }
.bzb .display { color: var(--ink); text-wrap: balance; }
.bzb .d-xxl { font-size: clamp(3rem, 1.4rem + 6.2vw, 7.4rem); }
.bzb .d-lg { font-size: clamp(2.5rem, 1.5rem + 3.8vw, 4.9rem); line-height: .98; }
.bzb .d-md { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1; }
.bzb .d-sm { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.05; }
.bzb .body { color: var(--ink-2); max-width: 62ch; }
.bzb .mt-8 { margin-top: 8px; } .bzb .mt-16 { margin-top: 16px; } .bzb .mt-24 { margin-top: 24px; }
.bzb .mt-32 { margin-top: 32px; } .bzb .mt-48 { margin-top: 48px; }
.bzb .figure { position: relative; margin: 0; overflow: hidden; background: var(--bg-2); }
.bzb .figure img, .bzb .figure video { width: 100%; height: 100%; object-fit: cover; }
.bzb .figure.wide { aspect-ratio: 2.4 / 1; }
.bzb .figure.tall { aspect-ratio: 4 / 5; }
.bzb .figure .cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 28px 16px 12px; color: var(--ink); background: linear-gradient(180deg, rgba(8,8,8,0), rgba(8,8,8,.8)); }
.bzb .bzb-drop { display: grid; place-items: center; min-height: 160px; border: 1px dashed var(--line-strong); }
.bzb .bzb-drop-hint { font: 600 12px/1.3 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.bzb-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.bzb-feature { background: var(--bg); padding: clamp(24px, 3vw, 40px); }
.bzb-feature .num { color: var(--accent-ink); }
.bzb-cta { border-top: 2px solid var(--accent); background: var(--bg-2); padding: clamp(32px, 5vw, 64px); }
.bzb-cta .btn { background: var(--accent); color: var(--accent-on); }
.bzb-cta .btn:hover { background: var(--ink); color: var(--bg); }
.bzb-quote { margin: 0; font: 400 clamp(2.2rem, 1.3rem + 3.6vw, 4.8rem)/1 var(--display); max-width: 18ch; }
.bzb-quote-by { margin-top: 24px; }
.bzb-it { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.bzb-it.flip .bzb-it-media { order: 2; }
.bzb .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bzb .gallery .figure { aspect-ratio: 4 / 5; }
.bzb-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bzb-people .opt { background: var(--bg-2); padding: clamp(22px, 2.6vw, 32px); }
.bzb-people .opt .body { color: var(--ink); font: 400 1.4rem/1.25 var(--display); }
.bzb-people .vframe { aspect-ratio: 9 / 16; }
@media (max-width: 900px) {
  .bzb-features, .bzb-people, .bzb .gallery { grid-template-columns: 1fr; }
  .bzb-it { grid-template-columns: 1fr; }
  .bzb-it.flip .bzb-it-media { order: 0; }
}
