/* ============================================================
   TEDxZurich — Life Cycles
   styles.css
   ============================================================ */

/* ─── Fonts ─────────────────────────────────────────────── */

@font-face {
  font-family: "MMVeltlin";
  src: url("../../Content/Font/MM Veltlin Trial/MMVeltlin_Regular_Trial.woff2") format("woff2"),
       url("../../Content/Font/MM Veltlin Trial/MMVeltlin_Regular_Trial.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Inter via Google Fonts — loaded in HTML <head> */

/* ─── Design tokens ─────────────────────────────────────── */

:root {
  /* Palette */
  --ink:        #0A0A0A;
  --paper:      #F4F1EC;
  --paper-pure: #FFFFFF;
  --rule:       #D9D4CC;
  --mute:       #6B6660;
  --ted:        #E62B1E;

  /* Type families */
  --font-display: "MMVeltlin", "Source Serif 4", "Georgia", serif;
  --font-ui:      "Inter", system-ui, -apple-system, sans-serif;

  /* Type scale — fluid */
  --text-hero:    clamp(2.5rem, 6vw, 6.5rem);
  --text-display: clamp(2rem, 4vw, 4rem);
  --text-title:   clamp(1.5rem, 2.5vw, 2.5rem);
  --text-lead:    clamp(1.125rem, 1.5vw, 1.375rem);
  --text-body:    1rem;
  --text-meta:    0.8125rem;   /* 13px */
  --text-label:   0.6875rem;   /* 11px */

  /* Leading */
  --leading-display: 1.05;
  --leading-body:    1.65;
  --leading-tight:   1.2;

  /* Tracking */
  --tracking-ui:     0.04em;
  --tracking-label:  0.08em;

  /* Spacing scale */
  --space-xs:   0.5rem;    /*  8px */
  --space-s:    1rem;      /* 16px */
  --space-m:    1.5rem;    /* 24px */
  --space-l:    2.5rem;    /* 40px */
  --space-xl:   4rem;      /* 64px */
  --space-2xl:  7.5rem;    /* 120px */

  /* Layout */
  --max-prose:   68ch;
  --max-grid:    1440px;
  --gutter:      clamp(1.5rem, 6vw, 6rem);
  --col-count:   12;
}

/* ─── Reset ─────────────────────────────────────────────── */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

/* ─── Base ───────────────────────────────────────────────── */

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Typography ─────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--leading-display);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-display); }
h3 { font-size: var(--text-title); }

p {
  font-family: var(--font-ui);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

/* Tabular figures for numerals */
time, .numeral, [data-tabular] {
  font-variant-numeric: tabular-nums;
}

/* Nav / UI links */
.nav-link {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-link:hover {
  color: var(--ted);
}

/* Active state: hairline underline */
.nav-link[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* Metadata / caption text */
.meta {
  font-family: var(--font-ui);
  font-size: var(--text-meta);
  color: var(--mute);
  letter-spacing: 0.01em;
}

/* Eyebrow label */
.label {
  font-family: var(--font-ui);
  font-size: var(--text-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--mute);
}

/* Editorial text link with rotating arrow */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--font-ui);
  font-size: var(--text-meta);
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  transition: color 200ms ease, border-color 200ms ease;
}

.text-link:hover {
  color: var(--ted);
  border-color: var(--ted);
}

.text-link .arrow {
  display: inline-block;
  transition: transform 200ms ease;
}

.text-link:hover .arrow {
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  .text-link .arrow {
    transition: none;
  }
}

/* Drop cap for theme essay */
.drop-cap::first-letter {
  font-family: var(--font-display);
  font-size: 5em;
  float: left;
  line-height: 0.82;
  margin-right: 0.06em;
  margin-top: 0.04em;
}

/* ─── Layout primitives ──────────────────────────────────── */

/* Full-bleed wrapper */
.bleed {
  width: 100%;
}

/* Centered content container */
.container {
  width: 100%;
  max-width: var(--max-grid);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Prose column */
.prose {
  max-width: var(--max-prose);
  margin-inline: auto;
}

/* 12-column grid */
.grid {
  display: grid;
  grid-template-columns: repeat(var(--col-count), 1fr);
  gap: var(--space-m);
}

/* Common column spans */
.col-full   { grid-column: 1 / -1; }
.col-half   { grid-column: span 6; }
.col-third  { grid-column: span 4; }
.col-two-thirds { grid-column: span 8; }

@media (max-width: 768px) {
  .col-half,
  .col-third,
  .col-two-thirds {
    grid-column: 1 / -1;
  }
}

/* Section rhythm */
.section {
  padding-block: var(--space-2xl);
}

.section--tight {
  padding-block: var(--space-xl);
}

/* Hairline rule separator */
.rule {
  border: none;
  border-top: 1px solid var(--rule);
}

/* ─── Surfaces ───────────────────────────────────────────── */

.surface-paper { background-color: var(--paper); }
.surface-pure  { background-color: var(--paper-pure); }

/* ─── Motion utilities ───────────────────────────────────── */

/* Scroll-reveal: initial state */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Slow rotation (rotating wordmark) */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.spin-slow {
  animation: spin-slow 50s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .spin-slow {
    animation: none;
  }
}

/* Marquee */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
  }
}

/* ─── Component skeletons ────────────────────────────────── */

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 300ms ease, border-color 300ms ease,
              backdrop-filter 300ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background-color: rgba(244, 241, 236, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-header__nav ul {
  display: flex;
  gap: var(--space-l);
  align-items: center;
}

.site-header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.site-header__burger span {
  display: block;
  height: 1px;
  background-color: var(--ink);
  width: 100%;
}

@media (max-width: 768px) {
  .site-header__nav { display: none; }
  .site-header__burger { display: flex; }
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: var(--paper-pure);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .nav-overlay { transition: none; }
}

.nav-overlay__close {
  position: absolute;
  top: 1.5rem;
  right: var(--gutter);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-overlay__nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.nav-overlay__nav a {
  font-family: var(--font-display);
  font-size: var(--text-display);
  line-height: var(--leading-tight);
}

/* Header wordmark / logo */
.site-header__wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-header__logo {
  display: block;
  height: 28px;
  width: auto;
  transition: filter 300ms ease;
}

/* Over hero: invert logo to white */
.site-header.over-hero .site-header__logo {
  filter: brightness(0) invert(1);
}

/* Over hero: nav links and burger white */
.site-header.over-hero .nav-link {
  color: var(--paper);
}

.site-header.over-hero .site-header__burger span {
  background-color: var(--paper);
}

/* Once scrolled: logo and nav revert to ink */
.site-header.is-scrolled .site-header__logo {
  filter: none;
}

.site-header.is-scrolled .nav-link {
  color: var(--ink);
}

.site-header.is-scrolled .site-header__burger span {
  background-color: var(--ink);
}

/* Header CTA — "Become a part" at right end */
/* Header CTA — underline with sliding wipe on hover */
.header-cta {
  position: relative;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 2px;
}

/* Ink underline — slides out to the right on hover */
.header-cta::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform-origin: right;
  transition: transform 350ms cubic-bezier(0.76, 0, 0.24, 1);
}

/* Red underline — slides in from the left on hover */
.header-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--ted);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms cubic-bezier(0.76, 0, 0.24, 1);
}

.header-cta:hover::before { transform: scaleX(0); }
.header-cta:hover::after  { transform: scaleX(1); }

.site-header.over-hero .header-cta { color: var(--paper); }
.site-header.is-scrolled .header-cta { color: var(--ink); }

/* Mobile overlay CTA */
.nav-overlay__cta {
  display: inline-block;
  margin-top: var(--space-l);
  font-family: var(--font-ui);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.6rem 1.2rem;
  text-decoration: none;
}

@media (max-width: 768px) {
  .header-cta { display: none; }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }
}

/* Subtle dark veil so text stays legible over the video */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.35);
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero__overlay {
    background: var(--paper);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--gutter);
  text-align: center;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-m);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 11rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--paper);
  text-align: center;
  white-space: nowrap;
}

.hero__title em {
  font-style: italic;
}

.hero__tagline {
  font-family: var(--font-ui);
  font-size: var(--text-meta);
  color: rgba(244, 241, 236, 0.65);
  letter-spacing: var(--tracking-ui);
  line-height: 1.75;
  text-align: center;
}

.hero__season {
  font-family: var(--font-ui);
  font-size: var(--text-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .hero__title   { color: var(--ink); }
  .hero__tagline { color: var(--mute); }
}

/* Full-bleed image — no margins, edge to edge */
.bleed-image {
  width: 100%;
  display: block;
  line-height: 0;
}

.bleed-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Essay image — torch spotlight */
.essay-image {
  position: relative;
  width: 100%;
  max-width: var(--max-grid);
  margin-inline: auto;
  overflow: hidden;
  cursor: crosshair;
  display: block;
}

.essay-image img {
  display: block;
  width: 100%;
  height: auto;
}

.essay-image__torch {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.9);
  transition: background 40ms linear;
}

.essay-image__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  pointer-events: none;
}

.essay-image__keywords {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 4.5rem);
  color: var(--paper);
  text-align: center;
  line-height: 1.3;
  white-space: normal;
  opacity: 0.9;
}

/* Theme essay */
.essay .prose p {
  margin-top: var(--space-m);
}

.essay .prose p:first-child {
  margin-top: 0;
}

.essay__tagline {
  font-family: var(--font-display);
  font-size: var(--text-lead);
  font-style: italic;
  color: var(--mute);
  line-height: var(--leading-tight);
}

.marquee-section__tagline {
  padding-inline: var(--gutter);
  padding-block: var(--space-l);
  max-width: var(--max-grid);
  margin-inline: auto;
  width: 100%;
}

/* Archive — columns matching about-section layout */
.archive-split__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-l);
}

.archive-split__title {
  font-size: var(--text-title);
}

.archive-split__item {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background-color: var(--paper-pure);
}

.archive-split__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
  transition: filter 500ms ease, transform 600ms ease;
}

.archive-split__item:hover img {
  filter: grayscale(20%);
  transform: scale(1.02);
}

/* Event card title / subtitle */
.event-card__title {
  font-size: var(--text-title);
  margin-bottom: var(--space-xs);
}

.event-card__subtitle {
  margin-bottom: var(--space-m);
}

/* Event card */
.event-card__image {
  aspect-ratio: 16 / 10;
  background-color: var(--paper-pure);
  overflow: hidden;
  margin-bottom: var(--space-l);
}

.event-card__image img,
.event-card__image picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__meta {
  margin-bottom: var(--space-l);
  padding-block: var(--space-m);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.event-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}

/* Marquee section */
.marquee-section {
  overflow: hidden;
  padding-block: 8px;
}

.marquee-wrap {
  overflow: hidden;
}

.marquee-track {
  align-items: center;
  gap: 0;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 5rem);
  color: var(--mute);
  white-space: nowrap;
  display: block;
}

/* About preview */
.about-preview__heading {
  font-size: var(--text-title);
  margin-bottom: var(--space-m);
}

.about-preview__text p {
  margin-bottom: var(--space-m);
  max-width: 52ch;
}

.about-preview__text .text-link {
  margin-top: var(--space-xs);
}

.about-preview__image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--paper-pure);
}

.about-preview__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Become-a-part band */
.become-band {
  text-align: center;
}

.become-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-m);
}

.become-band__heading {
  font-size: var(--text-display);
}

.become-band__links {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-xs);
}

/* Sleek text-action — no border, just arrow rotation */
.become-band__links .text-link {
  font-family: var(--font-display);
  font-size: var(--text-lead);
  letter-spacing: -0.01em;
  border-bottom: none;
  padding-bottom: 0;
  color: var(--mute);
  gap: 0.25em;
  transition: color 200ms ease;
}

.become-band__links .text-link:hover {
  color: var(--ink);
  border-bottom: none;
}

.become-band__links .text-link .arrow {
  font-size: 0.85em;
  opacity: 0.6;
}

.become-band__links .text-link:hover .arrow {
  opacity: 1;
}

/* Partnerships strip */
.partnerships .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
  padding-block: var(--space-xl);
}

.partnerships__logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-l);
  flex-wrap: wrap;
}

.partner-placeholder {
  width: 100px;
  height: 32px;
  background-color: var(--rule);
  opacity: 0.5;
  border-radius: 2px;
}

/* Footer */
.site-footer {
  padding-bottom: var(--space-xl);
}

.site-footer .container {
  padding-top: var(--space-2xl);
}

.site-footer__cols {
  margin-bottom: var(--space-xl);
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.site-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-m);
}

/* Wordmark in header — "x" red */
.wordmark-x {
  color: var(--ted);
}

/* Footer specifics */
.footer-brand {
  font-family: var(--font-ui);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-xs);
}

.footer-disclaimer {
  margin-top: var(--space-xs);
  font-style: italic;
  opacity: 0.7;
}

.footer-link {
  display: inline-block;
  transition: color 150ms ease;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--ink);
}

/* Newsletter form */
.newsletter-form {
  margin-top: var(--space-m);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.newsletter-form__row {
  display: flex;
  gap: 0;
  border: 1px solid var(--rule);
}

.newsletter-form__input {
  flex: 1;
  padding: 0.55rem 0.75rem;
  font-family: var(--font-ui);
  font-size: var(--text-meta);
  color: var(--ink);
  background: transparent;
  border: none;
  outline: none;
}

.newsletter-form__input::placeholder {
  color: var(--mute);
}

.newsletter-form__btn {
  padding: 0.55rem 1rem;
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--paper);
  background-color: var(--ink);
  border: none;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.newsletter-form__btn:hover {
  background-color: var(--ted);
}

/* ─── Focus styles (accessibility) ──────────────────────── */

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

/* ─── Selection ──────────────────────────────────────────── */

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

/* ─── Archive section ────────────────────────────────────── */

.archive-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-l);
}

.curators-pick-label {
  margin-bottom: var(--space-m);
}

/* ─── Video Carousel ─────────────────────────────────────── */

.video-carousel {
  position: relative;
}

.video-carousel__track-wrap {
  overflow: hidden;
}

.video-carousel__track {
  display: flex;
  transition: transform 520ms cubic-bezier(0.77, 0, 0.18, 1);
}

@media (prefers-reduced-motion: reduce) {
  .video-carousel__track { transition: none; }
}

.video-carousel__item {
  flex: 0 0 100%;
  width: 100%;
}

.video-carousel__embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--ink);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10, 10, 10, 0.14);
  transition: box-shadow 400ms ease, transform 400ms ease;
}

.video-carousel__item:hover .video-carousel__embed {
  box-shadow: 0 10px 40px rgba(10, 10, 10, 0.22);
  transform: translateY(-3px);
}

.video-carousel__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-carousel__caption {
  display: flex;
  align-items: baseline;
  gap: var(--space-m);
  padding-top: var(--space-m);
}

.video-caption-title {
  color: var(--ink);
  font-size: var(--text-body);
}

.video-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-l);
  gap: var(--space-m);
}

.carousel-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 200ms ease, color 200ms ease;
}

.carousel-btn:hover:not(:disabled) {
  border-color: var(--ink);
  color: var(--ink);
}

.carousel-btn:disabled {
  color: var(--rule);
  border-color: var(--rule);
  cursor: default;
}

.carousel-dots {
  display: flex;
  gap: var(--space-s);
  align-items: center;
  justify-content: center;
  flex: 1;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--rule);
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease;
  padding: 0;
  border: none;
  flex-shrink: 0;
}

.carousel-dot.is-active {
  background-color: var(--ink);
  transform: scale(1.5);
}

@media (prefers-reduced-motion: reduce) {
  .carousel-dot { transition: none; }
}

/* ─── Become-a-part band additions ───────────────────────── */

.become-band__sub {
  font-family: var(--font-ui);
  font-size: var(--text-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--mute);
  margin-top: calc(-1 * var(--space-xs));
}

/* ─── Page hero (subpages) ───────────────────────────────── */

.page-hero {
  position: relative;
  height: clamp(280px, 48vh, 560px);
  margin-top: 64px;
  overflow: hidden;
}

.page-hero__image {
  position: absolute;
  inset: 0;
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(100%);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.42);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: var(--space-2xl);
}

.page-hero__title {
  font-size: var(--text-display);
  font-style: italic;
  color: var(--paper);
  margin-bottom: var(--space-xs);
}

.page-hero__content .meta {
  color: rgba(244, 241, 236, 0.6);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

/* ─── Open positions accordion ───────────────────────────── */

.positions-intro {
  max-width: 60ch;
  margin-bottom: 0;
}

.positions-list {
  margin-top: var(--space-2xl);
  border-top: 1px solid var(--rule);
}

.position-item {
  border-bottom: 1px solid var(--rule);
}

.position-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-l) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
}

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

.position-item__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.position-item__title {
  font-family: var(--font-display);
  font-size: var(--text-lead);
  font-weight: 400;
  line-height: var(--leading-tight);
}

.position-item__toggle {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--mute);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 300ms cubic-bezier(0.76, 0, 0.24, 1);
  user-select: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.position-item[open] > summary .position-item__toggle {
  transform: rotate(45deg);
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .position-item__toggle { transition: none; }
}

.position-item__body {
  padding-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  max-width: 60ch;
}

.position-item__body p {
  color: var(--ink);
  line-height: var(--leading-body);
}

.position-item__list {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: var(--text-body);
  color: var(--ink);
}

.position-item__contact {
  margin-top: var(--space-xs);
}

.position-item__contact a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  transition: border-color 150ms ease;
}

.position-item__contact a:hover {
  border-color: var(--ink);
}

/* ─── Tablet adjustments (769–1024px) ────────────────────── */

@media (min-width: 769px) and (max-width: 1024px) {
  .site-header__nav ul {
    gap: var(--space-m);
  }
  .about-preview__image {
    aspect-ratio: 4 / 3;
  }
}

/* ─── Mobile adjustments ─────────────────────────────────── */

@media (max-width: 768px) {
  .site-header__burger,
  .nav-overlay__close {
    min-width: 44px;
    min-height: 44px;
  }

  .carousel-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .newsletter-form__input,
  .newsletter-form__btn {
    min-height: 44px;
  }

  .hero__title {
    font-size: clamp(3rem, 16vw, 6rem);
    white-space: normal;
  }

  .become-band__links {
    gap: var(--space-l);
  }

  .video-carousel__caption {
    flex-direction: column;
    gap: var(--space-xs);
  }
}
