/* =================================================================
   TYPE SYSTEM
   Display: Hanken Grotesk — names, headings, story, numerals
   Text:    Inter          — body, UI, labels, meta
   One label style, one meta style, a fixed scale. Black on paper.
================================================================= */
:root {
  /* colour */
  --bg: #f5f4f0;
  --ink: #0a0a0a;
  --ink-2: #2b2b2b;       /* long-form body */
  --muted: #5e5d59;       /* meta — AA on --bg */
  --faint: #b9b7b0;
  --line: #dddbd5;
  --card: #e9e8e3;

  /* families */
  --display: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* scale */
  --t-label: 12px;
  --t-meta: 14px;
  --t-body: 17px;
  --t-lead: clamp(20px, 2vw, 24px);
  --t-h3: clamp(18px, 1.6vw, 20px);
  --t-h2: clamp(34px, 4.4vw, 52px);
  --t-story: clamp(30px, 4vw, 52px);
  --t-display: clamp(56px, 8vw, 104px);

  /* layout */
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1040px;
  --rail: 52px;
  --inset: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  padding-left: calc(var(--rail) + var(--inset));
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--t-body);
  line-height: 1.6;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The one label style */
.label {
  margin: 0;
  font-family: var(--text);
  font-size: var(--t-label);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Frame + side rail ---------- */
.frame {
  position: fixed;
  inset: var(--inset);
  border: 1px solid var(--ink);
  pointer-events: none;
  z-index: 20;
}
.frame::before { /* paper gutter outside the frame */
  content: "";
  position: absolute;
  inset: calc(-1 * var(--inset) - 1px);
  border: var(--inset) solid var(--bg);
}
.rail {
  position: fixed;
  z-index: 21;
  top: var(--inset);
  bottom: var(--inset);
  left: var(--inset);
  width: var(--rail);
  border-right: 1px solid var(--ink);
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
}
.rail a {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding: 6px 0;
  transition: color .2s;
}
.rail a:hover, .rail a.is-active { color: var(--ink); }
.rail a.is-active { font-weight: 600; }
.rail a.is-active::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  align-content: center;
  padding-top: 72px;
  padding-bottom: 104px;
}
.hero__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #111;
  opacity: 0;
  transform: translateY(12px);
  animation: rise .9s var(--ease) .05s forwards;
}
.hero__text > * { opacity: 0; transform: translateY(12px); animation: rise .9s var(--ease) forwards; }
.hero__text > *:nth-child(1) { animation-delay: .15s; }
.hero__text > *:nth-child(2) { animation-delay: .22s; }
.hero__text > *:nth-child(3) { animation-delay: .29s; }
.hero__text > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__name {
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-display);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.045em;
  margin-left: -.04em;       /* optical alignment of the J with text below */
}
.hero__role {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: var(--t-lead);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.hero__role .dot { color: var(--faint); margin: 0 6px; }
.hero__links {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  font-size: var(--t-meta);
  color: var(--muted);
}
.hero__links a {
  text-decoration: underline;
  text-decoration-color: var(--faint);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .2s, text-decoration-color .2s;
}
.hero__links a:hover { color: var(--ink); text-decoration-color: var(--ink); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 22px;
  height: 34px;
  margin-left: -11px;
  border: 1.5px solid var(--faint);
  border-radius: 12px;
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--muted);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- Story ---------- */
.story { height: 260vh; position: relative; }
.story__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.story__text {
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-story);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.03em;
  max-width: 22ch;
}
.story__text .w { opacity: .12; transition: opacity .25s linear; }
.story__text .w.on { opacity: 1; }

/* ---------- Section blocks ---------- */
.block { padding-top: 72px; padding-bottom: 72px; }
.block__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 32px;
  border-bottom: 1.5px solid var(--ink);
}
.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-h2);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}
.more {
  font-size: var(--t-meta);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.more span { display: inline-block; transition: transform .2s; }
.more:hover span { transform: translateX(3px); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.tile { display: block; text-decoration: none; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; font: inherit; text-align: left; width: 100%; }
.tile__media { position: relative; aspect-ratio: 16 / 9; background: var(--card); overflow: hidden; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.03); }
.tile__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tile__play {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  display: grid;
  place-items: center;
  transition: transform .2s;
}
.tile__play::before { content: ""; margin-left: 3px; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--ink); }
.tile:hover .tile__play { transform: scale(1.08); }
.tile__empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: var(--t-label); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tile__meta { margin-top: 14px; }
.tile__kicker { font-size: var(--t-label); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tile__title {
  margin-top: 6px;
  font-family: var(--display);
  font-size: var(--t-h3);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.015em;
}

/* ---------- Founders Notes: chapters ---------- */
.chapters {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.toc { list-style: none; margin: 0; padding: 0; position: sticky; top: 40px; }
.toc li { border-bottom: 1px solid var(--line); }
.toc li:first-child .toc__item { padding-top: 4px; }
.toc__item {
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 18px 0;
  background: none;
  border: 0;
  font: inherit;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color .2s;
}
.toc__item:hover, .toc__item[aria-current="true"] { color: var(--ink); }
.toc__num { font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.toc__text { display: flex; flex-direction: column; gap: 4px; }
.toc__title { font-family: var(--display); font-size: 18px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.toc__meta { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.toc__latest {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-left: 8px;
  padding: 2px 6px;
  color: var(--bg);
  background: var(--ink);
}
.toc__item[aria-current="true"] .toc__title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }

.reader { position: relative; scroll-margin-top: 60px; min-height: 360px; }
.reader__inner { position: relative; animation: page .5s var(--ease); }
@keyframes page { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reader__numeral {
  position: absolute;
  top: -.2em;
  right: 0;
  font-family: var(--display);
  font-size: clamp(120px, 16vw, 220px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  opacity: .05;
  pointer-events: none;
  user-select: none;
}
.reader__kicker { margin: 0; }
.reader__kicker { font-size: var(--t-label); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.reader__title {
  position: relative;
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
  max-width: 18ch;
}
.reader__meta {
  margin: 16px 0 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-meta);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.reader__body {
  margin-top: 28px;
  max-width: 64ch;
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--ink-2);
  overflow: hidden;
  transition: max-height .6s var(--ease);
}
.reader__body p { margin: 0 0 1.15em; }
.reader__body strong { font-weight: 600; color: var(--ink); }
.reader__body p:first-child::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 3.7em;
  font-weight: 700;
  line-height: .82;
  letter-spacing: -.04em;
  padding: .08em .1em 0 0;
  color: var(--ink);
}
.reader__body.is-clamped {
  max-height: 15.5em;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
          mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.reader__more {
  margin-top: 6px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  cursor: pointer;
}
.reader__more span { display: inline-block; transition: transform .2s; }
.reader__more:hover span { transform: translateY(2px); }
.reader__nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1.5px solid var(--ink);
}
.reader__nav button {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.reader__nav button.is-next { text-align: right; align-items: flex-end; }
.reader__nav small { font-family: var(--text); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.reader__nav button:hover small { color: var(--ink); }

/* ---------- Newsletter ---------- */
.newsletter { padding-top: 104px; padding-bottom: 128px; text-align: center; }
.newsletter__heading {
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-h2);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}
.newsletter__blurb { margin: 14px 0 32px; font-size: var(--t-body); color: var(--muted); }
.newsletter__form { display: flex; max-width: 460px; margin: 0 auto; border: 1.5px solid var(--ink); }
.newsletter__form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 16px 18px;
  font: inherit;
  font-size: 16px;
  color: inherit;
}
.newsletter__form input::placeholder { color: #8d8b85; }
.newsletter__form input:focus { outline: none; }
.newsletter__form:focus-within { box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.newsletter__form button {
  border: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 0 24px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
}
.newsletter__form button:hover { opacity: .85; }
.newsletter__done { margin-top: 18px; font-weight: 600; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 32px;
  margin-bottom: var(--inset);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer a { text-decoration: none; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  :root { --rail: 0px; --inset: 6px; --t-body: 16px; }
  body { padding-left: 0; padding-top: 46px; }
  .rail {
    top: var(--inset); left: var(--inset); right: var(--inset); bottom: auto;
    width: auto; height: 40px;
    flex-direction: row; justify-content: space-between;
    padding: 0 14px;
    border-right: 0; border-bottom: 1px solid var(--ink);
    background: var(--bg);
    z-index: 19;
  }
  .rail a { writing-mode: horizontal-tb; transform: none; font-size: 10px; letter-spacing: .06em; }
  .rail a.is-active::after { display: none; }
  .rail a.is-active { text-decoration: underline; text-underline-offset: 4px; }
  .hero { grid-template-columns: 1fr; align-items: start; padding-top: 40px; gap: 28px; }
  .block { padding-top: 56px; padding-bottom: 56px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: 1fr; }
  .toc { position: static; }
  .reader { padding-top: 12px; }
  .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__photo, .hero__text > *, .reveal { opacity: 1; transform: none; }
  .story { height: auto; }
  .story__sticky { position: static; height: auto; padding-top: 80px; padding-bottom: 80px; }
  .story__text .w { opacity: 1; }
}

/* footer rule aligned to the content column */
.footer { border-top: 0; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }

/* name on a single line */
.hero__name { font-size: clamp(44px, 5.6vw, 76px); white-space: nowrap; line-height: .95; }

/* role + contact: tight, even rhythm under the name */
.hero__role { margin-top: 20px; display: flex; align-items: baseline; flex-wrap: wrap; }
.hero__role .dot { margin: 0 .45em; color: var(--muted); }
.hero__links { margin-top: 10px; gap: 4px 18px; }

/* newsletter: name fields + email row */
.newsletter__form { flex-direction: column; border: 0; max-width: 520px; gap: 10px; }
.newsletter__form:focus-within { box-shadow: none; }
.newsletter__names { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.newsletter__names input, .newsletter__row { border: 1.5px solid var(--ink); }
.newsletter__row { display: flex; }
.newsletter__form input { width: 100%; background: transparent; }
.newsletter__names input:focus, .newsletter__row:focus-within { box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.newsletter__form button:disabled { opacity: .6; cursor: default; }
.newsletter__error { margin: 4px 0 0; font-size: var(--t-meta); color: #a01b1b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 460px) { .newsletter__names { grid-template-columns: 1fr; } }

/* Roman numerals read best thin: hairline watermark on the home reader */
.reader__numeral { font-weight: 200; letter-spacing: .02em; opacity: .09; }
.toc__num { letter-spacing: .06em; }
a.reader__more { display: inline-block; text-decoration: underline; }

/* Roman numerals: a lone "I" in a grotesk is just a bar, so numerals sit
   between hairline rules (reads as a chapter mark) and drop caps are
   replaced by a larger opening paragraph. */
.reader__numeral { display: none; }
.reader__body p:first-child::first-letter { all: unset; }
.reader__body p:first-child { font-size: 1.12em; line-height: 1.6; color: var(--ink); }


/* hide chapter nav when there is nowhere to go */
.reader__nav:not(:has(button)) { display: none; }

/* =================================================================
   FOUNDERS NOTES PAGE — minimal, centred: numeral, title, one fading
   line, a dropdown
================================================================= */
.book { max-width: 680px; padding-top: 104px; padding-bottom: 120px; text-align: center; }
.book__head { margin-bottom: 96px; }
.book__title {
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-h2);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}
.book__sub { margin: 14px 0 0; font-size: var(--t-meta); color: var(--muted); }

.book__chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 88px; }
.chapter { scroll-margin-top: 32px; }

.chapter__toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
.chapter__num { font-family: var(--display); font-size: 15px; font-weight: 500; letter-spacing: .12em; color: var(--muted); }
.chapter__title {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
}
/* the opening line, fading out toward its end */
.chapter__preview {
  margin-top: 12px;
  max-width: 44ch;
  font-size: 15px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 35%, transparent 95%);
          mask-image: linear-gradient(to right, #000 35%, transparent 95%);
}
.chapter__chev {
  margin-top: 18px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .35s var(--ease);
}
.chapter__toggle:hover .chapter__chev { transform: rotate(45deg) translate(2px, 2px); }
.chapter.is-open .chapter__preview { display: none; }
.chapter.is-open .chapter__chev, .chapter.is-open .chapter__toggle:hover .chapter__chev { transform: rotate(-135deg); }

.chapter__body {
  margin: 36px auto 0;
  max-width: 60ch;
  text-align: left;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  animation: drop .45s var(--ease);
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.chapter__date { margin: 0 0 28px; text-align: center; font-size: 13px; color: var(--muted); }
.chapter__body p { margin: 0 0 1.1em; }
.chapter__body strong { font-weight: 600; color: var(--ink); }
.chapter__close {
  display: block;
  margin: 28px auto 0;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
}
.chapter__close span { display: block; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-135deg); }

.notes-page .footer::before { display: none; }

@media (max-width: 760px) {
  .book { padding-top: 56px; }
  .book__head { margin-bottom: 64px; }
  .book__chapters { gap: 64px; }
  .chapter__preview { max-width: 100%; }
}
/* keep the fading line inside the column on narrow screens */
.chapter__toggle { min-width: 0; overflow: hidden; }
.chapter__preview { width: 44ch; max-width: 100%; }
.chapter { min-width: 0; }
.notes-page .footer { justify-content: center; gap: 28px; }

/* numeral on the left of the title, one line */
.chapter__line { display: inline-flex; align-items: baseline; gap: 16px; }
.chapter__line .chapter__title { margin-top: 0; }
.chapter__num { font-size: 16px; }
/* SVG chevrons: crisp, never clipped */
.chapter__toggle { overflow: visible; padding-bottom: 4px; }
.chapter__chev {
  margin-top: 16px;
  width: 16px; height: 16px;
  border: 0;
  transform: none;
  transition: transform .35s var(--ease);
}
.chapter__toggle:hover .chapter__chev { transform: translateY(2px); }
.chapter.is-open .chapter__chev,
.chapter.is-open .chapter__toggle:hover .chapter__chev { transform: rotate(180deg); }
.chapter__close svg { display: block; }
.chapter__close:hover svg { transform: translateY(-2px); transition: transform .2s; }
/* numeral matches the title's size, lighter so the title leads */
.chapter__line .chapter__num { font-size: clamp(22px, 2.6vw, 28px); font-weight: 300; letter-spacing: .04em; color: var(--muted); }
@media (max-width: 760px) { .notes-page .footer { align-items: center; } }

/* ---------- Upcoming events ---------- */
.event { display: block; text-decoration: none; color: inherit; }
.event__cover { position: relative; aspect-ratio: 5 / 4; background: var(--card); overflow: hidden; }
.event__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.event:hover .event__cover img { transform: scale(1.03); }
.event__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; }
.event__location { font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.event__date { font-family: var(--display); font-size: var(--t-h3); font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.event__domain { display: inline-block; margin-top: 6px; font-size: var(--t-meta); color: var(--muted); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.event:hover .event__domain { color: var(--ink); text-decoration-color: var(--ink); }

/* social links: icon + short handle, same grey as domain/email */
.hero__social { margin-top: 12px; }
.hero__social + .hero__links { margin-top: 6px; }
.hero__links a.social { display: inline-flex; align-items: center; gap: 7px; }
.hero__links a.social svg { flex: none; opacity: .85; }

/* events at YouTube-tile scale */
.event__cover { aspect-ratio: 16 / 9; }
.event__row { margin-top: 14px; gap: 12px; }
.event__location { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.event__date { font-family: var(--text); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.event__domain { margin-top: 4px; font-size: 13px; }

/* social: stacked, clean — icon + handle, no underline until hover */
.hero__social { flex-direction: column; gap: 8px; margin-top: 16px; }
.hero__social + .hero__links { margin-top: 14px; }
.hero__links a.social {
  gap: 10px;
  text-decoration: none;
  color: var(--muted);
  transition: color .2s;
}
.hero__links a.social svg { width: 15px; height: 15px; opacity: 1; }
.hero__links a.social span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 1px;
  transition: background-size .3s var(--ease);
}
.hero__links a.social:hover { color: var(--ink); }
.hero__links a.social:hover span { background-size: 100% 1px; }

.event__note { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.event__notelink { color: var(--muted); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
.event__notelink:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* events without a photo yet: black panel with the city */
.event__cover:has(.event__placeholder) { background: #0d0d0d; }
.event__placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -.02em;
  color: #f5f4f0;
}
