/* The Sales Stage — one calm system: number, heading, lead, one content block. */

/* Inter, hosted with the site (no requests to Google). Licence: assets/fonts/OFL.txt */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --orange: #ff4a1c;
  --ink: #141414;
  --ink-raised: #1b1b1b;
  --bone: #f5f0e8;
  --muted: color-mix(in srgb, var(--bone) 66%, transparent);
  --faint: color-mix(in srgb, var(--bone) 45%, transparent);
  --line: #2c2c2c;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(1.15rem, 4.2vw, 3.75rem);
  --max: 72rem;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-optical-sizing: auto;
  font-size: clamp(1rem, 0.96rem + 0.15vw, 1.0625rem);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

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

::selection {
  background: var(--orange);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 50;
  padding: 0.5rem 0.75rem;
  background: var(--orange);
  color: var(--ink);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.container {
  width: min(100%, var(--max));
  margin-inline: auto;
}

/* ---------- Header (sticky) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  min-height: var(--header-h);
  padding: 0.75rem max(var(--gutter), env(safe-area-inset-right)) 0.75rem
    max(var(--gutter), env(safe-area-inset-left));
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand {
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  min-height: 2.5rem;
  padding: 0 0.15rem;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-size: 0.875rem;
}

#site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.5rem;
}

#site-nav a {
  position: relative;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}

#site-nav a:hover,
#site-nav a[aria-current="true"] {
  color: var(--bone);
}

#site-nav a[aria-current="true"]:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--orange);
}

#site-nav .nav-cta {
  padding: 0.5rem 0.95rem;
  background: var(--orange);
  color: var(--ink);
  font-weight: 600;
}

#site-nav .nav-cta:hover {
  background: var(--bone);
  color: var(--ink);
}

/* ---------- Hero (locked look) ---------- */

.stage {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100svh - var(--header-h));
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  align-self: center;
  width: min(66vmin, 34rem);
  aspect-ratio: 1;
  margin: 0 auto;
}

.stage-mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--orange);
  pointer-events: none;
}

.stage-mark path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: tape 0.4s ease forwards;
}

.stage-mark path:nth-child(2) {
  animation-delay: 0.08s;
}

.stage-mark path:nth-child(3) {
  animation-delay: 0.16s;
}

.stage-mark path:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes tape {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-stage h1 {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  padding: 0 12%;
  font-size: clamp(2.75rem, 8vmin + 1rem, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.88;
  text-align: center;
  text-wrap: balance;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem 2rem;
  padding: 1rem max(var(--gutter), env(safe-area-inset-right)) 2rem
    max(var(--gutter), env(safe-area-inset-left));
}

.hero-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.hero-sub {
  max-width: 30rem;
  margin-top: 0.55rem;
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  line-height: 1.4;
  text-wrap: pretty;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 3.25rem;
  padding: 0 1.15rem;
  border: 1px solid var(--orange);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.button span {
  transition: transform 0.25s var(--ease);
}

.button:hover span {
  transform: translateY(2px);
}

.button-outline {
  background: transparent;
  color: var(--bone);
}

.button-outline span {
  color: var(--orange);
}

.button-outline:hover {
  background: var(--orange);
  color: var(--ink);
}

.button-outline:hover span {
  color: var(--ink);
}

.button-solid {
  width: 100%;
  background: var(--orange);
  color: var(--ink);
}

.button-solid:hover {
  background: var(--bone);
  border-color: var(--bone);
}

.button-solid:hover span {
  transform: translate(2px, -2px);
}

/* ---------- Section anatomy ---------- */

.section {
  padding: clamp(7rem, 18vh, 12rem) max(var(--gutter), env(safe-area-inset-right))
    clamp(7rem, 18vh, 12rem) max(var(--gutter), env(safe-area-inset-left));
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.num {
  display: block;
  margin-bottom: 1.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.section-body {
  max-width: 38rem;
  margin-top: clamp(2rem, 5vh, 3rem);
}

.lead {
  font-size: clamp(1.15rem, 1.02rem + 0.55vw, 1.45rem);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

.lead + .lead {
  margin-top: 1.5rem;
}

.aside {
  margin-top: clamp(3rem, 7vh, 4.5rem);
  font-size: 0.95rem;
  color: var(--faint);
}

/* ---------- 02 Timeline ---------- */

.timeline {
  display: flex;
  gap: 6px;
  max-width: 52rem;
  margin-top: clamp(4.5rem, 11vh, 7rem);
}

.timeline-step {
  flex: var(--span) 1 0;
  min-width: 0;
}

.timeline-bar {
  height: 6px;
  background: var(--bone);
  transform-origin: left;
}

.timeline-step.is-main .timeline-bar {
  background: var(--orange);
}

.timeline-time {
  margin-top: 1.25rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.timeline-step h3 {
  margin-top: 0.5rem;
  padding-right: 1rem;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.formats {
  margin-top: clamp(5.5rem, 13vh, 8rem);
}

.formats-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.formats-head h3 {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.strip-hint {
  display: none;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  transition: opacity 0.3s ease;
}

/* Sessions bar (locked look) */
.stage-strip {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.stage-strip::-webkit-scrollbar {
  display: none;
}

.stages {
  display: grid;
  grid-auto-columns: minmax(9rem, 1fr);
  grid-auto-flow: column;
  width: max(100%, 48rem);
  margin: 0;
  padding: 0;
  list-style: none;
  column-gap: 3px;
}

.stages li {
  min-width: 0;
  scroll-snap-align: start;
}

.stage-name {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  padding: 0.45rem 1.05rem 0.45rem 1.2rem;
  background: var(--bone);
  color: var(--ink);
  border: 0;
  font-size: clamp(0.72rem, 0.68rem + 0.15vw, 0.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  cursor: pointer;
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 50%,
    calc(100% - 10px) 100%,
    0 100%,
    10px 50%
  );
  transition: background-color 0.2s ease, color 0.2s ease;
}

.stages li:first-child .stage-name {
  padding-left: 0.65rem;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

.stages li:last-child .stage-name {
  padding-right: 0.65rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10px 50%);
}

.stage-name:hover {
  background: color-mix(in srgb, var(--bone) 82%, var(--orange));
}

.stage-track:not(.has-selection) li.hot .stage-name,
.stage-name[aria-expanded="true"] {
  background: var(--orange);
  color: var(--bone);
}

.stage-panel {
  max-width: 40rem;
  min-height: 8rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--orange);
  color: var(--muted);
}

.stage-panel[hidden] {
  display: none;
}

.stage-panel.is-swapping {
  animation: panel-in 0.35s var(--ease);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.panel-title {
  margin-bottom: 0.35rem;
  color: var(--bone);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* ---------- Rows (who) ---------- */

.rows {
  margin-top: clamp(4.5rem, 11vh, 7rem);
  padding: 0;
  list-style: none;
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 0.75rem clamp(2rem, 7vw, 7rem);
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.row-key {
  font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.row-body {
  max-width: 32rem;
  padding-top: 0.25rem;
  color: var(--muted);
  line-height: 1.55;
}

.row-meta {
  margin-top: 0.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- 04 Open Stage + form ---------- */

.open-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem clamp(3rem, 9vw, 9rem);
  align-items: start;
  margin-top: clamp(4.5rem, 11vh, 7rem);
}

.events {
  margin: 0;
  padding: 0;
  list-style: none;
}

.events li {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.events li:first-child {
  padding-top: 0;
  border-top: 0;
}

.join-form {
  display: grid;
  gap: 1.75rem;
}

.join-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.join-form em {
  font-style: normal;
  color: var(--faint);
}

.join-form input,
.join-form textarea {
  width: 100%;
  padding: 0.65rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #4a4642;
  color: var(--bone);
  transition: border-color 0.2s ease;
}

.join-form textarea {
  resize: vertical;
}

.join-form input:focus,
.join-form textarea:focus {
  outline: none;
  border-bottom-color: var(--orange);
}

.join-form .button-solid {
  margin-top: 0.75rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--faint);
}

.form-note a {
  text-underline-offset: 0.18em;
}

/* ---------- 05 FAQ ---------- */

.faq {
  max-width: 48rem;
  margin-top: clamp(4rem, 10vh, 6rem);
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.9rem 0;
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--orange);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:hover {
  color: color-mix(in srgb, var(--bone) 80%, var(--orange));
}

.faq details p {
  max-width: 38rem;
  padding-bottom: 2rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- 05 Team ---------- */

.team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 3.5rem clamp(2rem, 4vw, 3.5rem);
  margin: clamp(4.5rem, 11vh, 7rem) 0 0;
  padding: 0;
  list-style: none;
}

.person-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-bottom: 1.5rem;
  padding: 9%;
  background: none;
}

/* Corner brackets: the stage mark framing each person */
.person-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--orange), var(--orange)) top left / 28% 5px,
    linear-gradient(var(--orange), var(--orange)) top left / 5px 28%,
    linear-gradient(var(--orange), var(--orange)) top right / 28% 5px,
    linear-gradient(var(--orange), var(--orange)) top right / 5px 28%,
    linear-gradient(var(--orange), var(--orange)) bottom left / 28% 5px,
    linear-gradient(var(--orange), var(--orange)) bottom left / 5px 28%,
    linear-gradient(var(--orange), var(--orange)) bottom right / 28% 5px,
    linear-gradient(var(--orange), var(--orange)) bottom right / 5px 28%;
  background-repeat: no-repeat;
  transition: inset 0.4s var(--ease);
}

.person:hover .person-photo::before {
  inset: -6px;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* No photo yet: initials fill the frame */
.person-photo[data-initials]:not(:has(img))::after {
  content: attr(data-initials);
  font-size: clamp(3rem, 2rem + 4vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.person-open .person-photo::after {
  content: "+";
  color: var(--faint);
  font-size: 3rem;
  font-weight: 300;
}

.person-open .person-photo::before {
  opacity: 0.35;
}

.person-name {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.person-role {
  max-width: 20rem;
  margin-top: 0.3rem;
  color: var(--muted);
}

.person-link {
  display: inline-flex;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--bone);
  box-shadow: inset 0 -1px 0 var(--orange);
  transition: color 0.2s ease;
}

.person-link:hover {
  color: var(--orange);
}

/* Placeholder profile URL: hidden until a real one is set */
.person-link[href*="REPLACE-ME"] {
  display: none;
}

/* ---------- Colour moments ---------- */

.dot {
  color: var(--orange);
}

mark {
  background: none;
  color: var(--bone);
  box-shadow: inset 0 -0.14em 0 var(--orange);
}

/* Bone band (Who it's for) */
.section-bone {
  --muted: color-mix(in srgb, var(--ink) 70%, transparent);
  --faint: color-mix(in srgb, var(--ink) 52%, transparent);
  --line: color-mix(in srgb, var(--ink) 14%, transparent);
  background: var(--bone);
  color: var(--ink);
}

.section-bone .num {
  color: var(--orange);
}

.section-bone .row-key {
  transition: color 0.25s ease;
}

.section-bone .row:hover .row-key {
  color: var(--orange);
}

/* Orange band (Open Stage) */
.section-orange {
  --muted: color-mix(in srgb, var(--ink) 80%, transparent);
  --faint: color-mix(in srgb, var(--ink) 66%, transparent);
  --line: color-mix(in srgb, var(--ink) 22%, transparent);
  background: var(--orange);
  color: var(--ink);
}

.section-orange :focus-visible {
  outline-color: var(--ink);
}

.section-orange .num {
  color: var(--ink);
}

.section-orange .dot {
  color: var(--bone);
}

.section-orange .row-meta {
  color: var(--ink);
}

.section-orange .join-form input,
.section-orange .join-form textarea {
  border-bottom-color: color-mix(in srgb, var(--ink) 40%, transparent);
  color: var(--ink);
}

.section-orange .join-form input:focus,
.section-orange .join-form textarea:focus {
  border-bottom-color: var(--ink);
}

.section-orange .button-solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}

.section-orange .button-solid:hover {
  background: var(--bone);
  border-color: var(--bone);
  color: var(--ink);
}

.section-orange ::selection {
  background: var(--ink);
  color: var(--orange);
}

/* Bands carry their own edge */
.section-bone,
.section-orange,
.section-bone + .section,
.section-orange + .section {
  border-top: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 2.5rem max(var(--gutter), env(safe-area-inset-right))
    max(2.5rem, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mark {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--orange);
  flex-shrink: 0;
}

.site-footer a {
  text-decoration: none;
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--bone);
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .timeline .timeline-bar {
  transform: scaleX(0);
  transition: transform 0.9s var(--ease);
}

.js .timeline.is-visible .timeline-bar {
  transform: scaleX(1);
}

.js .timeline.is-visible .timeline-step:nth-child(2) .timeline-bar {
  transition-delay: 0.15s;
}

.js .timeline.is-visible .timeline-step:nth-child(3) .timeline-bar {
  transition-delay: 0.3s;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  #site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.25rem 0 0.75rem;
  }

  #site-nav.open {
    display: flex;
  }

  #site-nav a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--bone);
  }

  #site-nav a[aria-current="true"]:not(.nav-cta)::after {
    display: none;
  }

  #site-nav .nav-cta {
    margin-top: 0.85rem;
    padding: 0.9rem 1rem;
    border-bottom: 0;
    text-align: center;
  }

  .open-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }
}

@media (max-width: 767px) {
  .strip-hint {
    display: block;
  }
}

@media (max-width: 700px) {
  .hero-stage {
    width: min(86vw, 50vh);
  }

  .hero-stage h1 {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }

  .hero-foot {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 1.5rem;
  }


  .row {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.9rem 0;
  }

  .section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

@media (max-height: 700px) and (min-width: 701px) {
  .hero-stage {
    width: min(52svh, 30rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .stage-mark path {
    stroke-dashoffset: 0;
    animation: none;
  }

  .js .reveal,
  .js .timeline .timeline-bar {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .stage-panel.is-swapping {
    animation: none;
  }

  .person-photo::before {
    transition: none;
  }

  .button span,
  .faq summary::after {
    transition: none;
  }
}

.faq details[open] summary {
  color: var(--orange);
}

@media (max-width: 640px) {
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.75rem 1.25rem;
  }

  .person-photo {
    margin-bottom: 1.1rem;
  }

  .person-photo[data-initials]:not(:has(img))::after {
    font-size: 2.6rem;
  }

  .person-role {
    font-size: 0.92rem;
  }
}

/* Footer links */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

/* Legal pages (imprint, privacy) */
.legal-back {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}

.legal-back:hover {
  color: var(--bone);
}

.legal {
  max-width: 44rem;
}

.legal h1 {
  margin-bottom: 2.5rem;
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.legal h2 {
  margin: 3rem 0 0.75rem;
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.6;
}

.legal p + p {
  margin-top: 1rem;
}

.legal ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1.2rem;
}

.legal li + li {
  margin-top: 0.4rem;
}

.legal strong {
  color: var(--bone);
  font-weight: 600;
}

.legal a {
  color: var(--bone);
  text-underline-offset: 0.18em;
  text-decoration-color: var(--orange);
}

.legal-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint) !important;
}

.legal-page .site-footer .footer-inner > p {
  color: var(--muted);
}
