/* Human Edge Leadership site styles
   Derived from mockups/4-felicity-v2.html (mint design system). */

:root {
  --ink: #16211d;
  --paper: #fbfaf6;
  --mint: #93d9c2;
  --mint-deep: #17705a;
  --grey: #56605b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--mint-deep); outline-offset: 3px; }
.mono {
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wrap { max-width: 74rem; margin: 0 auto; padding: 0 1.5rem; }
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 600; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 0.8rem 1.4rem; font-weight: 700; text-decoration: none;
  background: var(--mint); color: var(--ink);
}
.skip:focus { left: 0; }

/* perforation divider, film sprocket holes */
.sprockets {
  height: 26px;
  background: var(--ink);
  background-image: radial-gradient(circle at 20px 13px, var(--paper) 5px, transparent 5.5px);
  background-size: 40px 26px;
  background-position: 0 0;
}

/* ---------- header ---------- */
header.site { background: var(--paper); border-bottom: 1px solid rgba(22, 33, 29, 0.12); }
.header-in {
  max-width: 74rem;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
}
.logo-mark {
  width: 2rem; height: 2rem; flex: none;
  border-radius: 50%;
  background: var(--mint);
  border: 2px solid var(--ink);
  display: grid; place-items: center;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
nav.primary ul { display: flex; gap: 1.6rem; list-style: none; flex-wrap: wrap; }
nav.primary a { text-decoration: none; font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
nav.primary a:hover { color: var(--mint-deep); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
nav.primary a[aria-current="page"] {
  color: var(--mint-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.btn {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: transform 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}
.btn:hover { background: var(--mint); color: var(--ink); transform: translateY(-2px); }
.btn-mint {
  background: var(--mint);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-mint:hover { background: var(--ink); color: var(--paper); box-shadow: 2px 2px 0 var(--mint-deep); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-big { font-size: 0.95rem; padding: 1.05rem 2.2rem; }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; padding: 4rem 0 5rem; }
.hero-brand {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
}
.kicker {
  display: inline-block;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.6rem;
  background: var(--paper);
}
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  line-height: 1.05;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
}
.hero h1 em, .accent-em {
  font-style: italic;
  font-weight: 500;
  color: var(--mint-deep);
}
.hero .lede-strong {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  max-width: 34rem;
  margin-bottom: 1.1rem;
}
.hero .lede { font-size: 1.08rem; color: var(--grey); max-width: 34rem; margin-bottom: 1.1rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; }
.hero-foot {
  margin-top: 2.4rem;
  display: flex;
  gap: 0.9rem 2rem;
  flex-wrap: wrap;
  color: var(--grey);
}
.hero-foot .mono { color: var(--grey); font-size: 0.72rem; }

/* video placeholder card */
.reel {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2.5px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  background: #10201a;
  width: 100%;
  justify-self: end;
}
.reel > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}
.reel::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(#000 0.7px, transparent 0.8px);
  background-size: 5px 5px;
  opacity: 0.14;
}
.reel::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.55);
}
.reel .play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  display: grid; place-items: center;
  z-index: 2;
  transition: transform 0.15s;
}
.reel .play::before {
  content: "";
  width: 0; height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--ink);
  margin-left: 5px;
}
.reel:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.reel .chip {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-family: 'Space Mono', monospace; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* cut-paper composition (brand art) */
.cutout {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 22rem;
  justify-self: end;
  text-decoration: none;
}
a.cutout { transition: transform 0.15s; align-self: start; margin-top: 1rem; }
a.cutout:hover { transform: translateY(-3px) rotate(-0.5deg); }
.cutout > div { position: absolute; border: 2.5px solid var(--ink); }
.cutout .shape-circle {
  width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: var(--mint);
  top: 4%; right: 2%;
}
.cutout .shape-arch {
  width: 52%; height: 60%;
  border-radius: 999px 999px 0 0;
  background: #fff;
  background-image: repeating-linear-gradient(0deg, var(--ink) 0 2px, transparent 2px 9px);
  bottom: 0; left: 4%;
}
.cutout .shape-triangle {
  width: 46%; aspect-ratio: 1;
  background: var(--ink);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  border: none !important;
  bottom: 8%; right: 6%;
}
.cutout .ticket {
  background: #fff;
  border: 2.5px solid var(--ink);
  padding: 0.6rem 1rem;
  transform: rotate(-6deg);
  bottom: 26%; left: 14%;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--ink);
}

/* brand icon marks: cutout-style mini icons */
.icon-mark {
  width: 3rem; height: 3rem; flex: none;
  display: grid; place-items: center;
  background: var(--mint);
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.icon-mark svg { width: 1.6rem; height: 1.6rem; }

/* ---------- page hero (sub-pages) ---------- */
.page-hero { padding: 3.5rem 0 1rem; }
.page-hero .part {
  color: var(--mint-deep); font-weight: 700;
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem;
}
.page-hero .part::after { content: ""; height: 2px; background: var(--ink); flex: 1; }
.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -0.015em;
  max-width: 24ch;
}
.page-hero h1 em { font-style: italic; font-weight: 500; color: var(--mint-deep); }

/* ---------- sections ---------- */
section { padding: 4.5rem 0; }
.act-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.4rem;
}
.act-label::after { content: ""; height: 2px; background: var(--ink); flex: 1; }
.act-label .mono { color: var(--mint-deep); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); line-height: 1.1; letter-spacing: -0.01em; }

/* ---------- situation ---------- */
.situation-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2.2rem;
}
.situation-intro { max-width: 46rem; display: grid; gap: 1rem; margin-top: 1.2rem; }
.situation-intro .note { color: var(--grey); }
.situation-pivot {
  font-size: 1.15rem;
  max-width: 46rem;
  margin: 2.2rem 0 2rem;
}
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}
.challenge-card {
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 1.1rem;
  padding: 1.5rem;
  box-shadow: 5px 5px 0 var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.challenge-card .tag {
  align-self: center;
  text-align: center;
  line-height: 1.5;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  margin-bottom: 0.3rem;
  background: var(--mint);
  font-weight: 700;
  color: var(--ink);
}
.challenge-card h3 { font-size: 1.15rem; font-weight: 650; }
.challenge-card p { font-size: 0.94rem; color: var(--grey); }
.situation-close {
  margin-top: 2.4rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--mint-deep);
  max-width: 44rem;
}

/* ---------- approach band ---------- */
.approach-band {
  background: var(--mint);
  border-top: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 1.4rem;
  margin-top: 2.6rem;
}
.approach-card {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 1.1rem;
  padding: 1.5rem;
  box-shadow: 5px 5px 0 var(--ink);
}
.approach-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; font-weight: 650; }
.approach-card p { font-size: 0.95rem; color: var(--grey); }
.approach-band .lede { max-width: 44rem; font-size: 1.15rem; margin-top: 1rem; }

/* tour cards (home) */
.tour-card-head { display: flex; align-items: center; gap: 0.9rem; }
.challenge-card .btn-mint { box-shadow: none; }

/* ---------- cluster tiles (programs overview) ---------- */
.cluster-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.4rem;
}
.cluster-tile {
  position: relative;
  display: grid;
  gap: 0.5rem;
  align-content: start;
  background: var(--mint);
  border: 2.5px solid var(--ink);
  border-radius: 1.1rem;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 1.8rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cluster-tile:nth-child(even) { background: #fff; }
.cluster-tile:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.cluster-tile .num {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--mint-deep);
}
.cluster-tile h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cluster-tile .mark {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--mint-deep);
  font-size: 1.05rem;
}
.cluster-tile p { font-size: 0.95rem; color: var(--grey); }
.cluster-tile .go {
  font-family: 'Space Mono', monospace;
  font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink);
  margin-top: 0.4rem;
}
.cluster-band { border-top: 2.5px solid var(--ink); padding: 3rem 0; }
.cluster-band.alt { background: #f0eee6; }
.cluster-band .way-head { margin-bottom: 1rem; }

/* ---------- testimonial masonry ---------- */
.test-masonry {
  columns: 3 20rem;
  column-gap: 1.4rem;
  margin-top: 2.4rem;
  padding: 0.25rem;
}
.test-masonry .test-card {
  break-inside: avoid;
  margin-bottom: 1.4rem;
}

/* video card */
.video-card {
  border: 2.5px solid var(--ink);
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--ink);
  background: #10201a;
  display: block;
}
.video-card video { display: block; width: 100%; height: auto; }

/* ---------- booking form ---------- */
.book-form {
  max-width: 44rem;
  margin: 2.5rem auto 0;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 1.1rem;
  box-shadow: 7px 7px 0 var(--ink);
  padding: 2.2rem;
  text-align: left;
  display: grid;
  gap: 1.5rem;
}
.book-form h2 { font-size: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .req { color: var(--mint-deep); font-weight: 700; }
.field input, .field textarea {
  font: inherit;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 0.6rem;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--mint-deep); outline-offset: 1px; }
.field textarea { min-height: 6.5rem; resize: vertical; }
.choice-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.choice-group { display: grid; gap: 0.45rem; align-content: start; }
.choice-group .mono { color: var(--mint-deep); font-weight: 700; }
.choice-group label {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.95rem;
}
.choice-group input[type="checkbox"] {
  width: 1.15rem; height: 1.15rem;
  accent-color: var(--mint-deep);
}
.form-note { color: var(--grey); font-size: 0.92rem; }
.form-error {
  display: none;
  background: #fff;
  border: 2px solid #a33b2e;
  color: #a33b2e;
  border-radius: 0.6rem;
  padding: 0.7rem 1rem;
  font-weight: 600;
}
.form-error.show { display: block; }

/* ---------- programs ---------- */
.ways { counter-reset: way; }
.way {
  border-top: 2.5px solid var(--ink);
  padding: 2.6rem 0;
}
.way-head { display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.way-head .num {
  counter-increment: way;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  color: var(--mint-deep);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}
.way-head .num::before { content: "No. " counter(way); }
.way h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.way-head .mark {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--mint-deep);
  margin-left: auto;
}
.way > .intro { color: var(--grey); max-width: 46rem; margin-bottom: 1.6rem; }
.prog-list { display: grid; gap: 1rem; }
details.prog {
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 1.1rem;
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
}
details.prog summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
}
details.prog summary::-webkit-details-marker { display: none; }
details.prog summary h3 { font-size: 1.2rem; font-weight: 650; flex: 1; }
details.prog summary .hint {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint-deep);
  white-space: nowrap;
}
details.prog summary .hint::after { content: "+ More"; }
details.prog[open] summary .hint::after { content: "\2212 Less"; }
details.prog summary:hover { background: #f0eee6; }
.prog-body { padding: 0 1.5rem 1.5rem; display: grid; gap: 0.9rem; }
.prog-body p { color: var(--grey); font-size: 0.98rem; max-width: 60rem; }
.prog-body .covers { font-weight: 600; color: var(--ink); }
.prog-body .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-chip {
  display: inline-block;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  background: var(--mint);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.68rem;
}
.prog-cta { margin-top: 0.4rem; }
.simple-rows { display: grid; gap: 1rem; }
.simple-row {
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 1.1rem;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 1.3rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(11rem, 0.32fr) 1fr;
  gap: 0.4rem 2rem;
  align-items: start;
}
.simple-row h3 { font-size: 1.15rem; font-weight: 650; }
.simple-row p { color: var(--grey); font-size: 0.96rem; }
.simple-row .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }

/* ---------- stills + testimonials ---------- */
.stills-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.4rem;
}
@media (max-width: 900px) { .stills-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .stills-row { grid-template-columns: 1fr; } }

/* clickable still thumbnails */
.frame-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  text-align: inherit;
  font: inherit;
}
.frame-btn .frame { display: block; }
.frame-btn:hover img { filter: grayscale(0.4) contrast(1.05); }
.frame-btn:focus-visible { outline: 3px solid var(--mint-deep); outline-offset: -3px; }

/* lightbox */
dialog.lightbox {
  border: none;
  padding: 1.5rem;
  background: transparent;
  max-width: min(64rem, 94vw);
  width: 100%;
  margin: auto; /* restore UA centring killed by the global reset */
}
dialog.lightbox::backdrop {
  background: rgba(22, 33, 29, 0.82);
}
.lightbox-in {
  position: relative;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 1.1rem;
  box-shadow: 7px 7px 0 var(--ink);
  padding: 1rem;
}
.lightbox-in img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  border: 2px solid var(--ink);
  border-radius: 0.6rem;
  background: #10201a;
}
.lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.2rem 0.1rem;
}
.lb-caption { color: var(--ink); font-weight: 700; }
.lb-nav { display: flex; gap: 0.7rem; }
.lb-nav button, .lb-close {
  width: 2.9rem; height: 2.9rem;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.lb-nav button:hover, .lb-close:hover { background: var(--mint); transform: translateY(-2px); }
.lb-close {
  position: absolute;
  top: -1.1rem; right: -1.1rem;
  background: var(--mint);
  z-index: 2;
}
@media (max-width: 580px) {
  dialog.lightbox { padding: 0.75rem; }
  .lb-close { top: -0.8rem; right: -0.8rem; }
}
.still {
  border: 2.5px solid var(--ink);
  border-radius: 1.1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
  display: flex;
  flex-direction: column;
}
.still .frame {
  aspect-ratio: 3 / 2; position: relative; overflow: hidden;
  background: #10201a;
  flex: none;
  border-bottom: 2.5px solid var(--ink);
}
.still .frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.96);
}
.still .frame::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background-image: radial-gradient(#000 0.7px, transparent 0.8px);
  background-size: 5px 5px; opacity: 0.14;
}
.still .frame::after { content: ""; position: absolute; inset: 0; z-index: 3; box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.5); }
.still.tint .frame img {
  filter: grayscale(1) sepia(0.75) saturate(2.4) hue-rotate(105deg) contrast(1.02) brightness(1.04);
}
.still.placeholder .frame {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(147, 217, 194, 0.25) 0 12px, transparent 12px 24px),
    #f0eee6;
}
.still.placeholder .frame span {
  position: relative; z-index: 4;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.4rem 1rem;
}
.still figcaption {
  flex: 1;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.75rem 1rem;
  font-family: 'Space Mono', monospace; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.still figcaption .t { color: var(--grey); font-weight: 400; }

.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 2.4rem;
}
.test-card {
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 1.1rem;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.test-card blockquote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
}
.test-card .who { font-family: 'Space Mono', monospace; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-top: auto; }
.test-card.placeholder blockquote { color: var(--grey); }

/* ---------- who we are ---------- */
.bio-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.bio-photo {
  border: 2.5px solid var(--ink);
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 7px 7px 0 var(--ink);
  aspect-ratio: 4 / 5;
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(147, 217, 194, 0.25) 0 12px, transparent 12px 24px),
    #f0eee6;
  display: grid; place-items: center;
}
.bio-photo span {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.4rem 1rem;
}
.bio-rotator { position: relative; }
.bio-rotator img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: bio-cycle 4s infinite;
}
/* two portraits, 2s each, continuous loop */
.bio-rotator img:nth-child(1) { animation-delay: 0s; }
.bio-rotator img:nth-child(2) { animation-delay: 2s; }
@keyframes bio-cycle {
  0% { opacity: 1; }
  50% { opacity: 1; }
  54% { opacity: 0; }
  96% { opacity: 0; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .bio-rotator img { animation: none; }
  .bio-rotator img:first-child { opacity: 1; }
}
.bio-copy { display: grid; gap: 1rem; }
.bio-copy .role { color: var(--mint-deep); font-weight: 700; }
.bio-copy h2 { margin-bottom: 0.4rem; }
.bio-copy p { color: var(--grey); }
.bio-copy p.sign-off { color: var(--ink); font-weight: 600; }

.founder-quote {
  background: var(--mint);
  border: 2.5px solid var(--ink);
  border-radius: 1.1rem;
  box-shadow: 7px 7px 0 var(--ink);
  padding: 2.2rem 2.4rem;
  max-width: 46rem;
  margin: 3rem auto 0;
  text-align: center;
}
.founder-quote blockquote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.5;
}

/* credentials: ticket wall */
.why-band { background: var(--ink); color: var(--paper); }
.why-band .act-label::after { background: var(--paper); opacity: 0.35; }
.why-band .act-label .mono { color: var(--mint); }
.why-band h2 { color: var(--paper); max-width: 30ch; }
.cred-tickets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
  margin-top: 2.6rem;
  list-style: none;
}
.cred-tickets li {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 0.8rem;
  padding: 1.2rem 1.4rem 1.2rem 2.1rem;
  font-weight: 600;
  line-height: 1.45;
}
.cred-tickets li::before {
  content: "";
  position: absolute; left: 0.75rem; top: 0.9rem; bottom: 0.9rem;
  border-left: 2px dashed var(--ink);
  opacity: 0.45;
}
.cred-tickets li .mono { display: block; color: var(--mint-deep); font-weight: 700; margin-bottom: 0.3rem; font-size: 0.66rem; }
.cred-tickets li:nth-child(odd) { transform: rotate(-0.6deg); }
.cred-tickets li:nth-child(even) { transform: rotate(0.5deg); }

/* partners */
.partner-lede { max-width: 46rem; color: var(--grey); margin-top: 1rem; }
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.4rem;
}
.partner-card {
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 1.1rem;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 1.6rem;
  display: grid;
  gap: 0.6rem;
  align-content: start;
}
.partner-card h3 { font-size: 1.25rem; font-weight: 650; }
.partner-card .mono { color: var(--mint-deep); font-weight: 700; }
.partner-card p { color: var(--grey); font-size: 0.96rem; }
.partner-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
  margin-top: 1.4rem;
}
.partner-card.placeholder {
  background:
    repeating-linear-gradient(45deg, rgba(147, 217, 194, 0.18) 0 12px, transparent 12px 24px),
    #fff;
}

/* ---------- CTA / book page ---------- */
.intermission { text-align: center; padding: 5.5rem 0; }
.intermission .mono { color: var(--mint-deep); }
.intermission h1, .intermission h2 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 650;
  margin: 1rem 0 1.4rem;
}
.intermission h1 em, .intermission h2 em { font-style: italic; font-weight: 500; }
.intermission p { max-width: 38rem; margin: 0 auto 2.2rem; color: var(--grey); font-size: 1.15rem; }
.contact-card {
  max-width: 30rem;
  margin: 2.5rem auto 0;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 1.1rem;
  box-shadow: 7px 7px 0 var(--ink);
  padding: 2rem;
  text-align: left;
  display: grid;
  gap: 0.9rem;
}
.contact-card .name { font-family: 'Fraunces', serif; font-weight: 650; font-size: 1.25rem; }
.contact-line { display: flex; align-items: center; gap: 0.8rem; }
.contact-line a { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contact-line a:hover { color: var(--mint-deep); text-decoration: underline; text-underline-offset: 3px; }
.contact-line .ico {
  width: 2rem; height: 2rem; flex: none;
  border-radius: 50%;
  background: var(--mint);
  border: 2px solid var(--ink);
  display: grid; place-items: center;
}
.contact-line .ico svg { width: 0.95rem; height: 0.95rem; }
.contact-note { color: var(--grey); font-size: 0.95rem; }

/* next-page link band */
.next-band { border-top: 2.5px solid var(--ink); }
.next-band .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.next-band .label { color: var(--mint-deep); font-weight: 700; }
.next-band a.next {
  font-family: 'Fraunces', serif;
  font-weight: 650;
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-decoration: none;
}
.next-band a.next:hover { color: var(--mint-deep); }
.next-band a.next .arrow { color: var(--mint-deep); }

/* ---------- footer ---------- */
footer.site {
  background: var(--ink);
  color: rgba(251, 250, 246, 0.75);
  font-size: 0.9rem;
  padding: 3rem 0 2.4rem;
}
.footer-grid {
  max-width: 74rem; margin: 0 auto; padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
}
footer.site .mono { color: var(--mint); }
footer.site h2 { color: var(--paper); font-size: 1.1rem; margin-bottom: 0.8rem; }
footer.site ul { list-style: none; display: grid; gap: 0.45rem; }
footer.site a { color: rgba(251, 250, 246, 0.85); text-decoration: none; overflow-wrap: anywhere; }
footer.site a:hover { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
footer.site a:focus-visible { outline-color: var(--mint); }
.footer-contact { display: grid; gap: 0.5rem; }
.footer-base {
  max-width: 74rem; margin: 2.4rem auto 0; padding: 1.4rem 1.5rem 0;
  border-top: 1px solid rgba(251, 250, 246, 0.2);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

/* ---------- responsive ---------- */
@media (max-width: 840px) {
  .hero-grid, .situation-head, .bio-grid, .partner-grid,
  .cluster-tiles, .form-grid, .choice-groups { grid-template-columns: 1fr; }
  .cutout { justify-self: center; max-width: 18rem; }
  .simple-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .header-in { flex-wrap: wrap; }
  nav.primary ul { gap: 0.6rem 1.2rem; }
  nav.primary a { font-size: 0.88rem; }
  .way-head .mark { margin-left: 0; width: 100%; }
}
.label-short { display: none; }
@media (max-width: 560px) {
  .header-in { padding: 0.9rem 1rem; }
  .header-in .label-long { display: none; }
  .header-in .label-short { display: inline; }
  .logo-mark { width: 1.8rem; height: 1.8rem; font-size: 0.95rem; }
  .header-in .btn {
    white-space: nowrap;
    padding: 0.6rem 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- wide-screen accommodation ---------- */
/* Scale the whole rem-based design up on very large viewports so the
   site doesn't sit as a small band on 4K monitors at low OS scaling. */
@media (min-width: 1800px) {
  html { font-size: 19px; }
  .wrap, .header-in, .footer-grid, .footer-base { max-width: 80rem; }
}
@media (min-width: 2400px) {
  html { font-size: 22px; }
}
