/* Freeday event site. Brandbook v01: Newsreader for headings at weight 400 only,
   Instrument Sans for body. Only the six approved colours and tints of them.
   Layout is a two-column split on wide screens and a single column on phones. */

:root {
  --ink: #0D0A19;
  --ink-soft: rgba(13, 10, 25, 0.66);
  --line: rgba(13, 10, 25, 0.14);
  --bg: #EFE9E4;
  --panel: #FCF9F7;
  --purple: #6D4BEF;
  --purple-tint: rgba(109, 75, 239, 0.09);
  --orange: #FF641D;
  --orange-tint: rgba(255, 100, 29, 0.14);
  --green: #00C2B7;
  --green-tint: rgba(0, 194, 183, 0.12);
  --on-ink: rgba(252, 249, 247, 0.78);
  --on-ink-line: rgba(252, 249, 247, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.4vw, 5rem); line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.12; margin-bottom: 14px; }
h3 { font-size: 1.28rem; margin-bottom: 4px; }

p { margin: 0 0 16px; }
strong { font-weight: 600; }
img { max-width: 100%; }
/* Orange text on the light background measures 2.5:1, which is not readable.
   Links keep the underline and take the ink colour; orange stays for buttons. */
a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover { text-decoration-color: var(--orange); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* Two-column split: the heading holds the left rail, the content fills the rest.
   Below 900px it collapses to one column. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 28px 64px;
  align-items: start;
}
.col-head > p { max-width: 56ch; margin-top: 16px; }
.col-head > h2 + p { color: var(--ink); }
.col-body > p { max-width: 68ch; }
#padel .col-body > p { max-width: 74ch; }

/* Grid sections put the heading on top and let the content use the full width. */
.split.stack { grid-template-columns: minmax(0, 1fr); gap: 26px; }
.split.stack .col-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 64px;
  align-items: end;
}
.split.stack .col-head > p { margin: 0 0 6px; max-width: 60ch; color: var(--ink-soft); }

section { margin-top: 84px; }
.accent { color: var(--purple); }
.note { font-size: 0.92rem; color: var(--ink-soft); }

/* Top bar */
.topbar {
  background: var(--ink);
  color: var(--panel);
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 13px;
  padding-bottom: 13px;
}
.topbar-right { display: flex; align-items: center; gap: 16px; }
.brand {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--panel);
  text-decoration: none;
}
.langs { display: flex; gap: 4px; align-items: center; font-size: 0.78rem; }
.langs a {
  color: rgba(252, 249, 247, 0.62);
  text-decoration: none;
  padding: 4px 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.langs a[aria-current="true"] { color: var(--panel); background: rgba(252, 249, 247, 0.14); }
.topbar-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--orange);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  white-space: nowrap;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 16px;
}

/* Hero. The room is invitation-only and the page should say so before a single
   word is read. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--panel);
  padding: 90px 0 80px;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 74vh, 780px);
}
/* The padel astronaut sits behind the hero. The scrim is a neutral ink fade for
   legibility, not a colour wash over the artwork. */
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('/images/brand/astronaut-padel.jpg');
  background-size: cover;
  background-position: 72% center;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    var(--ink) 0%,
    rgba(13, 10, 25, 0.93) 32%,
    rgba(13, 10, 25, 0.62) 56%,
    rgba(13, 10, 25, 0.28) 100%);
}
.hero .wrap { position: relative; width: 100%; }
.hero h1 { color: var(--panel); max-width: 14ch; }
.hero .eyebrow { color: var(--green); }
.hero .lead {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--on-ink);
  max-width: 46ch;
  margin-top: 24px;
}
.hero .facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  margin-top: 34px;
  /* Wide enough for all four facts on one line in Dutch too, where the date
     string is the long one. Narrower and the fourth drops on its own. */
  max-width: 44rem;
  padding: 18px 0;
  border-top: 2px solid var(--panel);
  border-bottom: 1px solid var(--on-ink-line);
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--panel);
}
/* The one line a phone reader needs before deciding: when the content ends.
   It lived in a collapsed FAQ, which is eight thousand pixels too far down. */
.hero-note {
  margin: 16px 0 0;
  max-width: 44rem;
  font-size: 0.97rem;
  color: var(--panel);
}
.hero-cta { margin: 26px 0 0; }

/* Full-width bands */
.band {
  margin-top: 0;
  background: var(--panel);
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.band .eyebrow { margin-bottom: 22px; }
.band-note { background: var(--bg); border-bottom: 0; padding: 72px 0 0; }

/* The Freeday band. The name is the promise, so it gets the same weight as the
   hero rather than a paragraph somewhere in the middle. */
.band-dark {
  background: var(--ink);
  color: var(--panel);
  border-bottom: 0;
  padding: 76px 0;
  margin-top: 84px;
}
.band-dark h2 { color: var(--panel); }
.band-dark .eyebrow { color: var(--green); margin-bottom: 12px; }
.band-dark p { color: var(--on-ink); }
.band-dark .col-body > p:last-child { color: var(--panel); }
.band-dark .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
.band-dark .col-head { align-self: center; }

/* The astronaut is the brand world for campaign contexts, so it gets a whole
   column rather than a decorative corner. */
.astro { margin: 0; grid-column: 1 / -1; }
.astro img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

@media (min-width: 901px) {
  .band-dark .split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 28px 48px;
  }
  .astro { grid-column: auto; }
}

/* Client logos */
.logos {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  justify-items: center;
  gap: 30px 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* Thirteen is prime, so most column counts leave a single logo stranded on its
   own row. Seven and five are the two that do not: 7 + 6 and 5 + 5 + 3. */
@media (max-width: 1179px) {
  .logos { grid-template-columns: repeat(5, 1fr); }
}
/* The marks are optically balanced in the files themselves. 72% opacity on top
   of that pushed the detailed ones (Pathe, MyJewellery, Novum) below legible. */
.logos img {
  width: 100%;
  max-width: 130px;
  height: 44px;
  object-fit: contain;
  opacity: 0.85;
}

/* Vision */
.panel {
  background: var(--purple-tint);
  border-radius: 12px;
  padding: 26px 30px;
  margin: 26px 0;
}
.panel p:last-child { margin-bottom: 0; }
.belief-lead {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: 1.55rem;
  line-height: 1.2;
  margin-bottom: 14px;
}
.close {
  border-left: 3px solid var(--green);
  padding: 2px 0 2px 18px;
}
.close .claim {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 12px;
  text-wrap: balance;
}
.close p:last-child { color: var(--ink-soft); margin-bottom: 0; }

/* Founder note */
.founder {
  margin: 0;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 32px;
}
.founder img {
  width: 132px;
  height: 160px;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: 10px;
  display: block;
}
.founder figcaption p { max-width: 72ch; }
.founder .sign {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* What we keep hearing */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 14px;
}
.quote {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
}
.quote p { margin: 0; font-size: 0.98rem; }
.quote .tag {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 9px;
}

/* The four questions you would ask about any employee */
.qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 16px;
}
.qa {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  padding: 22px 24px 18px;
}
.qa h3 { font-size: 1.18rem; margin-bottom: 10px; }
.qa p { margin: 0; font-size: 0.97rem; color: var(--ink-soft); }

/* Sessions */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--purple);
  border-radius: 10px;
  padding: 22px 24px 18px;
}
.card p { font-size: 0.98rem; }
.card-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.card-top .no {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--purple);
}
.card-top .tag {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.card .who {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 2px 0 14px;
}
.card .question {
  font-size: 1.04rem;
  font-weight: 500;
  border-left: 3px solid var(--orange);
  padding: 2px 0 2px 14px;
  margin-bottom: 14px;
}
.leave {
  border-left: 3px solid var(--green);
  padding: 2px 0 2px 14px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.card .more { border-bottom: 0; margin-top: 6px; }
.card .more summary { padding: 10px 28px 4px 0; font-size: 0.9rem; }
.card .more summary::after { top: 8px; }
.card .more p { font-size: 0.94rem; color: var(--ink-soft); }

/* What is on the table. Question left, the substance behind it right, so the
   list scans as an agenda rather than as marketing bullets. */
.agenda { margin-top: 30px; }
.agenda .eyebrow { margin-bottom: 10px; }
.agenda-group + .agenda-group { margin-top: 26px; }
.agenda-group h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.35rem;
  margin-bottom: 2px;
}
.agenda-group .step {
  font-size: 0.76rem;
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--purple);
}
.agenda-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 6px 40px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.agenda-row p { margin: 0; }
.agenda-row .q { font-weight: 500; font-size: 1.02rem; }
.agenda-row .a { color: var(--ink-soft); font-size: 0.96rem; }

/* The people leading the afternoon. A missing portrait falls back to initials,
   so dropping the file in completes the card with no code change. */
.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 18px;
}
/* Roles differ in length. Pin the discipline tag to the bottom of the card so
   the row of captions lines up instead of stepping down where a role wraps. */
.person { margin: 0; display: flex; flex-direction: column; }
.person img,
.person .monogram {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  background: var(--purple-tint);
}
.person img { object-fit: cover; object-position: 50% 18%; }
.person .monogram {
  display: none;
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  color: var(--purple);
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}
.person.no-photo img { display: none; }
.person.no-photo .monogram { display: flex; }
.person figcaption { display: flex; flex-direction: column; flex: 1; padding-top: 10px; }
.person .name { display: block; font-weight: 600; font-size: 0.94rem; }
.person .role { display: block; font-size: 0.85rem; color: var(--ink-soft); flex: 1 0 auto; }
.person .does {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-top: 5px;
}

/* Programme */
.prog { width: 100%; border-collapse: collapse; }
.prog td { padding: 11px 16px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prog td.t {
  width: 5.4em;
  font-weight: 600;
  color: var(--purple);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

ul.plain { margin: 0; padding-left: 20px; }
ul.plain li { margin-bottom: 8px; color: var(--ink-soft); }

/* The details */
/* Six items, so the column count has to divide into six. An auto-fit grid picks
   five at this width and strands the sixth under the first column. */
.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  margin-bottom: 26px;
}
.detail { padding: 15px 0; border-top: 1px solid var(--line); }
.detail .k {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 5px;
}
.detail .v { margin: 0; font-size: 0.95rem; }
/* Second block inside Practical: how to get there. */
.sub-k {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 30px 0 10px;
}
.maps-link { margin: 0 0 26px; font-size: 0.92rem; }

/* Expanders: FAQ, the full run of show, the session detail */
.faq { border-bottom: 1px solid var(--line); }
.faq summary, .more summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 34px 14px 0;
  font-weight: 500;
  position: relative;
}
.faq summary::-webkit-details-marker,
.more summary::-webkit-details-marker { display: none; }
.faq summary::after, .more summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--purple);
}
.faq[open] summary::after, .more[open] summary::after { content: "\2212"; }
.faq p { margin: 0 0 16px; font-size: 0.96rem; color: var(--ink-soft); max-width: 66ch; }
.faq.wide { margin-top: 18px; border-top: 1px solid var(--line); }
.faq.wide .prog { margin-bottom: 16px; }
.faq.wide ul.plain { margin-bottom: 18px; }
.faq-list { margin-top: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  background: var(--orange);
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  padding: 15px 32px;
}
.btn.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 13px 28px;
}
.btn:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.hero .btn:focus-visible, .cta-band .btn:focus-visible { outline-color: var(--panel); }

/* Photo gallery. Hidden until there is something to show. */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 12px;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  background: var(--panel);
}
.gallery a { display: block; line-height: 0; }
.gallery a:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.gallery-empty {
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 20px 24px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Call to action band */
.cta-band {
  background: var(--ink);
  color: var(--panel);
  margin-top: 90px;
  padding: 64px 0;
}
.cta-band h2 { color: var(--panel); }
.cta-band p { color: var(--on-ink); max-width: 60ch; }
.cta-band .btn { margin-top: 10px; }

/* Registration page */
.reg-page { padding: 56px 0 0; max-width: 780px; margin: 0 auto; }
.reg-h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.recap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--purple);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0 6px;
  font-size: 0.96rem;
}
.recap p { margin-bottom: 8px; }
.recap p:last-child { margin-bottom: 0; }
.after { margin: 12px 0 0; font-size: 0.95rem; font-weight: 500; }
.back { display: inline-block; margin: 26px 0 60px; font-size: 0.92rem; }

/* RSVP confirmation page */
.confirm { padding: 72px 0 0; }
.confirm .mark {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.confirm .mark.yes { background: var(--green-tint); color: var(--ink); }
.confirm .mark.no { background: rgba(13,10,25,0.07); color: var(--ink-soft); }

/* Registration form */
.form-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  margin-top: 24px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.field .hint { font-weight: 400; color: var(--ink-soft); }
.plain-label { font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
}
textarea { min-height: 84px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* A label that wraps must not drag its input below the one beside it. */
.row .field { display: flex; flex-direction: column; }
.row .field label { flex: 1 0 auto; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }

button.primary {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  background: var(--orange);
  color: var(--ink);
  border: none;
  border-radius: 8px;
  padding: 15px 30px;
  cursor: pointer;
}
button.primary:disabled { opacity: 0.55; cursor: not-allowed; }

.status { margin-top: 14px; font-size: 0.95rem; min-height: 1.4em; }
.status.ok { color: var(--ink); background: var(--green-tint); padding: 14px 16px; border-radius: 8px; }
.status.err { color: var(--ink); background: var(--orange-tint); padding: 14px 16px; border-radius: 8px; }

/* Footer */
footer { background: var(--ink); color: var(--panel); }
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-top: 1px solid var(--on-ink-line);
}
footer a { color: rgba(252, 249, 247, 0.75); }

/* Tablet */
@media (max-width: 900px) {
  .wrap { padding: 0 28px; }
  .split { grid-template-columns: 1fr; gap: 18px; }
  .band-dark .split { grid-template-columns: minmax(0, 1fr); }
  .band-dark .col-head { align-self: start; }
  .details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Three route lines. Two columns would strand the third. */
  .details.routes { grid-template-columns: minmax(0, 1fr); }
  /* Five hosts. Four across leaves one alone next to three empty cells. */
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero .facts { gap: 8px 28px; }
  .split.stack .col-head { grid-template-columns: 1fr; gap: 10px; }
  .agenda-row { grid-template-columns: 1fr; gap: 4px; }
  .split.stack .col-head > p { margin-bottom: 0; }
  .col-head h2, .col-head > p { position: static; }
  .col-head > p { max-width: 66ch; }
  section { margin-top: 60px; }
  .hero { padding: 64px 0 56px; }
  .cta-band { margin-top: 64px; padding: 52px 0; }
}

/* Phone */
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .topbar-cta { display: none; }
  .hero { padding: 44px 0 40px; min-height: 0; }
  .hero h1 { max-width: none; }
  .hero-image { background-position: 64% center; }
  .hero-image::after {
    background: linear-gradient(180deg,
      rgba(13, 10, 25, 0.86) 0%,
      rgba(13, 10, 25, 0.93) 45%,
      var(--ink) 100%);
  }
  /* Four facts wrapped as one, then two, then one on a narrow phone. A fixed
     two column grid gives the same block at every width. */
  .hero .facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
    font-size: 0.9rem;
    margin-top: 26px;
  }
  .hero .btn, .cta-band .btn { display: block; text-align: center; }
  .row { grid-template-columns: 1fr; }
  .band { padding: 32px 0; }
  .band-note { padding: 56px 0 0; }
  .founder {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 20px;
  }
  .founder img { width: 96px; height: 116px; }
  .logos { gap: 22px 10px; padding: 24px 0; }
  .logos img { max-width: 88px; height: 32px; }
  /* Five hosts in two columns leaves the fifth alone beside an empty cell. */
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .person figcaption { padding-top: 8px; }
  .person .name { font-size: 0.88rem; line-height: 1.28; }
  .person .role { font-size: 0.8rem; line-height: 1.32; }
  /* Three columns on a phone leaves about 107px per tag, and the longest tag is
     one unbreakable word. Size it to fit rather than letting it break mid-word. */
  .person .does { font-size: 0.66rem; line-height: 1.3; letter-spacing: 0.02em; }
  .panel { padding: 20px 16px; }
  .card { padding: 18px 16px 14px; }
  .qa { padding: 18px 16px 14px; }
  .quote { padding: 16px 16px; }
  .card .question, .leave { padding-left: 11px; }
  .belief-lead { font-size: 1.3rem; }
  .form-wrap { padding: 20px 18px; }
  .prog td { padding: 10px 10px 10px 0; font-size: 0.94rem; }
  .prog td.t { width: 4.6em; }
  button.primary { width: 100%; }
}

/* Between 620 and 700 the four hero facts miss a single line by a few pixels
   and break as three plus one. Give them the same two column block as a phone. */
@media (max-width: 700px) {
  .hero .facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
  }
}
