/* Fat Fire Australia - one stylesheet for the whole site.
   An exact copy of fatfire.au: its ground, its type, its two-tone headings, its
   cards, its photographs and its motion, measured from brief/current-site/. */

/* ---- Fonts: Archivo (display) and Instrument Sans (body), per brief/brand.json ---- */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/archivo-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/archivo-800.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-sans-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/instrument-sans-600.woff2') format('woff2');
}

/* ---- Tokens ---- */

:root {
  --ink: #08111F;
  --ink-2: #0B1526;
  --panel: #0E1A2E;
  --paper: #F4EFE6;
  --muted: rgba(244, 239, 230, 0.68);
  --dim: rgba(244, 239, 230, 0.5);
  --line: rgba(244, 239, 230, 0.12);
  --ember: #FF6A1F;
  --ember-deep: #E05A12;
  --flame: #FFB320;
  --coal: #F04A2A;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;

  --container: 1280px;
  --gutter: 24px;
  --r-card: 20px;
  --r-photo: 16px;
  --r-panel: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Base ---- */

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

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* A grid child may shrink below its content, so a long word never widens the page */
.events > *,
.formats > *,
.quotes > *,
.videos > *,
.trio > *,
.days > *,
.gallery > *,
.yearcards > *,
.sponsors__list > *,
.figures__grid > *,
.principle > *,
.timeline a > *,
.erow > *,
.pcard > * {
  min-width: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 30;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ember);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus-visible {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- Shared pieces ---- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.eyebrow--quiet {
  color: var(--muted);
}

.eyebrow--quiet::before {
  background: var(--ember);
}

.accent {
  color: var(--ember);
}

.display {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.display-md {
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--paper);
}

.copy {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 60ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--fill {
  background: var(--ember);
  color: var(--ink);
}

.btn--fill:hover {
  background: #FF7D3B;
}

.btn--line {
  border-color: rgba(244, 239, 230, 0.24);
  color: var(--paper);
}

.btn--line:hover {
  border-color: rgba(244, 239, 230, 0.5);
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: #111E33;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ember);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--paper);
  white-space: nowrap;
}

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

.link--ember {
  border-bottom: 0;
  padding-bottom: 0;
  color: var(--ember);
}

.link--ember:hover {
  color: var(--paper);
}

.link--rule {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 12px;
}

.arrow {
  font-family: var(--font-body);
  font-weight: 400;
}

.ast {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.section {
  padding-block: clamp(80px, 9vw, 128px);
}

.section--tint {
  background: var(--ink-2);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.section-head .link {
  margin-bottom: 10px;
}

/* ---- Photo frames ---- */

.ph {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border-radius: var(--r-photo);
}

.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Play button and the inline player ---- */

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ember);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.25s var(--ease);
}

.play:hover {
  transform: scale(1.06);
}

.play svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  margin-left: 4px;
}

.play--small {
  width: 56px;
  height: 56px;
  background: var(--paper);
}

.play--small svg {
  width: 18px;
  height: 18px;
  margin-left: 3px;
}

/* Once a video is playing, nothing sits over the player */

.is-playing .play,
.is-playing .video__len,
.is-playing .capt {
  display: none;
}

.player {
  z-index: 3;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 17, 31, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}

.brand {
  display: inline-flex;
  flex: none;
}

.brand img {
  height: 52px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 24px;
  padding-left: 48px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9375rem;
  color: var(--muted);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav a:hover {
  color: var(--paper);
}

.nav a[aria-current="page"] {
  background: rgba(244, 239, 230, 0.08);
  color: var(--paper);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (min-width: 901px) and (max-width: 1240px) {
  .menu {
    padding-left: 20px;
    gap: 12px;
  }

  .nav {
    gap: 0;
  }

  .nav a {
    padding: 10px 10px;
    font-size: 0.875rem;
    white-space: nowrap;
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero ---- */

.hero {
  padding-block: clamp(48px, 5vw, 64px) clamp(72px, 7vw, 104px);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.hero__copy {
  position: sticky;
  top: 120px;
  padding-top: 48px;
}

.hero__title {
  font-size: clamp(3rem, 5.8vw, 5.25rem);
  line-height: 0.94;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.hero__sub {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 32ch;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__card {
  position: relative;
  aspect-ratio: 10 / 11;
  border-radius: 24px;
  overflow: hidden;
  background: var(--panel);
}

.hero__card .ph {
  position: absolute;
  inset: 0;
  border-radius: 0;
}

.hero__card-foot {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 120px 28px 28px;
  background: linear-gradient(to top, rgba(8, 17, 31, 0.92), rgba(8, 17, 31, 0));
  pointer-events: none;
}

.hero__card-foot h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 6px;
}

.hero__card-foot p {
  font-size: 0.875rem;
  color: var(--muted);
}

.hero__card.is-playing .hero__card-foot {
  display: none;
}

/* ---- Figures ---- */

.figures {
  padding-block: 0 clamp(72px, 7vw, 104px);
}

.figures__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.figure {
  padding: 48px 32px 40px;
  border-left: 1px solid var(--line);
}

.figure:first-child {
  border-left: 0;
  padding-left: 0;
}

.figure__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 3.9vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 18px;
}

.figure__l {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ---- Coming up: event cards ---- */

.events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.event {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease);
}

a.event:hover {
  border-color: rgba(244, 239, 230, 0.28);
  transform: translateY(-3px);
}

.event__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.event__date {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 10px 18px 8px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  line-height: 1;
}

.event__date b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.event__date small {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.event__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--coal);
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 22px;
}

.event__type {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
}

.event__city {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.875rem;
  margin-bottom: 14px;
}

.event__city .arrow {
  font-size: 1.125rem;
  color: var(--muted);
}

.event__venue {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--muted);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.event__venue svg {
  width: 14px;
  height: 14px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.event__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  font-size: 0.875rem;
  color: var(--muted);
}

.event__foot b {
  font-weight: 600;
  color: var(--paper);
}

a.event:hover .event__foot b {
  color: var(--ember);
}

.event__foot .soldout {
  font-weight: 600;
  color: #FF7A5C;
}

.events-note {
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--dim);
}

/* ---- Welcome ---- */

.welcome .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.welcome__photos {
  position: relative;
  padding-bottom: 72px;
}

.welcome__main {
  aspect-ratio: 4 / 3;
}

.welcome__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--ink);
}

.welcome__copy .display-md {
  margin-bottom: 28px;
}

.welcome__copy .lead {
  margin-bottom: 24px;
}

.welcome__copy .copy {
  margin-bottom: 32px;
}

/* ---- Principles ---- */

.principles .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(48px, 6vw, 120px);
  align-items: start;
}

.principles__intro {
  position: sticky;
  top: 120px;
}

.principles__intro .display {
  margin-bottom: 28px;
}

.principles__intro .copy {
  margin-bottom: 56px;
}

.principles__intro .ast {
  width: 64px;
  height: 64px;
  color: var(--ember);
  stroke-width: 1;
}

.pillars {
  grid-column: 1 / -1;
  margin: clamp(48px, 6vw, 96px) 0 0;
}

.pillars img {
  display: block;
  width: 100%;
  height: auto;
}

.principles__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.principle__n {
  padding-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ember);
}

.principle h3 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.principle p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
}

/* ---- Marquee ---- */

.marq {
  position: relative;
  overflow: hidden;
  padding-block: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marq__track {
  display: flex;
  width: max-content;
  animation: marq 46s linear infinite;
}

.marq__item {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 6.6vw, 6rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 239, 230, 0.4);
}

.marq__item .ast {
  width: 0.62em;
  height: 0.62em;
  color: var(--ember);
  stroke-width: 2.5;
  -webkit-text-stroke: 0;
}

.marq:hover .marq__track,
.marq:focus-within .marq__track,
.marq.is-paused .marq__track {
  animation-play-state: paused;
}

.marq__pause {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 230, 0.3);
  background: rgba(8, 17, 31, 0.8);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.marq__pause svg {
  width: 12px;
  height: 12px;
  fill: var(--paper);
}

.marq__pause .ico-play {
  display: none;
}

.marq.is-paused .marq__pause .ico-pause {
  display: none;
}

.marq.is-paused .marq__pause .ico-play {
  display: block;
}

@keyframes marq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Four ways: format cards ---- */

.formats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.format {
  display: flex;
  flex-direction: column;
  padding: 36px 28px 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease);
}

.format:hover {
  border-color: rgba(244, 239, 230, 0.28);
  transform: translateY(-3px);
}

.format__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.format__top svg {
  width: 28px;
  height: 28px;
  stroke: var(--ember);
  stroke-width: 1.5;
  fill: none;
}

.format__top span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dim);
}

.format h3 {
  font-size: 1.5rem;
  line-height: 1.1;
  margin-bottom: 14px;
}

.format__hook {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.format p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 28px;
}

.format__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ember);
}

/* ---- In their own words ---- */

.words__note {
  text-align: right;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 12px;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: clamp(56px, 6vw, 80px);
}

.quote {
  display: flex;
  flex-direction: column;
  padding: 32px 30px 36px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  margin: 0;
}

.quote blockquote {
  margin: 0;
}

.quote__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 0.6;
  color: var(--ember);
  margin-bottom: 36px;
}

.quote p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 36px;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  font-size: 0.9375rem;
  font-weight: 600;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
}

.words__sub {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.words__sub h3 {
  font-size: 2rem;
}

.videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.video {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}

.video__media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.video__len {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(8, 17, 31, 0.85);
  font-size: 0.8125rem;
  font-weight: 600;
}

.video__media[data-video],
.hero__card .ph[data-video] {
  cursor: pointer;
}

.video__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
}

.video__foot h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.video__foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.video__foot a:hover {
  color: var(--paper);
}

/* ---- Where we've been ---- */

.past .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 6vw, 120px);
  align-items: start;
}

.past__intro .display-md {
  margin-bottom: 28px;
}

.past__intro .copy {
  margin-bottom: 32px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.timeline a {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.timeline a:hover h3 {
  color: var(--ember);
}

.timeline__year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: var(--ember);
}

.timeline h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  transition: color 0.2s var(--ease);
}

.timeline p {
  font-size: 0.9375rem;
  color: var(--muted);
}

.timeline .arrow {
  color: var(--muted);
  font-size: 1.125rem;
}

/* ---- Closing band ---- */

.close {
  padding-block: 40px clamp(96px, 9vw, 128px);
}

.close__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
  padding: clamp(56px, 7vw, 108px) clamp(28px, 6vw, 88px);
  border-radius: var(--r-panel);
  background: var(--ember);
  color: var(--ink);
}

.close__panel > div {
  position: relative;
  z-index: 1;
}

.close__panel .eyebrow {
  color: var(--ink);
}

.close__title {
  font-size: clamp(2.75rem, 5.6vw, 5rem);
  line-height: 0.95;
}

.close__title span {
  color: rgba(8, 17, 31, 0.55);
}

.close__actions {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.close__actions .link {
  color: var(--ink);
  border-color: var(--ink);
}

.close__actions .link:hover {
  color: rgba(8, 17, 31, 0.7);
}

.close__note {
  font-size: 0.875rem;
  color: rgba(8, 17, 31, 0.8);
}

.close__mark {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 300px;
  height: 300px;
  color: var(--ember-deep);
  opacity: 0.55;
  stroke-width: 0.6;
  pointer-events: none;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 6vw, 80px);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer__brand > img {
  height: 72px;
  width: auto;
  margin-bottom: 24px;
}

.footer__brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 30ch;
}

.footer__partner {
  margin-top: 32px;
}

.footer__partner span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}

.footer__partner a {
  display: inline-block;
}

.footer__partner img {
  height: 96px;
  width: auto;
}

.footer__h {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 22px;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--muted);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--paper);
}

.footer__links svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  flex: none;
}

.footer__tag .ast {
  width: 22px;
  height: 22px;
  color: var(--ember);
  margin-bottom: 20px;
}

.footer__tag p {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
}

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--dim);
}

.footer__bar a {
  text-decoration: none;
  color: var(--dim);
}

.footer__bar a:hover {
  color: var(--paper);
}

/* ---- Inner pages: a short title band, then straight to the content ---- */

.titleband {
  padding-block: clamp(56px, 6vw, 88px) clamp(32px, 4vw, 48px);
}

.titleband .display,
.titleband .display-md {
  margin-bottom: clamp(24px, 2.6vw, 36px);
}

.formwrap {
  padding-bottom: clamp(80px, 9vw, 128px);
}

.form {
  max-width: 760px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
  align-content: start;
  margin-bottom: 20px;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--paper);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid rgba(244, 239, 230, 0.22);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
}

.field textarea {
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 1px;
  border-color: transparent;
}

.hint {
  font-size: 0.875rem;
  color: var(--muted);
}

.form__error {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--coal);
  background: rgba(240, 74, 42, 0.14);
  color: var(--paper);
  font-size: 0.9375rem;
}

.form__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 8px;
}

.form__foot .hint {
  flex: 1 1 280px;
}

.form__done {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.form__done h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.form__done p {
  font-size: 1rem;
  color: var(--muted);
}

/* ---- Coming Up: filters ---- */

.listing {
  padding-bottom: clamp(80px, 9vw, 128px);
}

.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(32px, 4vw, 48px);
}

.filters__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 230, 0.24);
  background: none;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.pill span {
  font-size: 0.8125rem;
  font-weight: 400;
  opacity: 0.7;
}

.pill:hover {
  color: var(--paper);
  border-color: rgba(244, 239, 230, 0.45);
}

.pill.is-on {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.filters__count {
  font-size: 0.875rem;
  color: var(--dim);
}

/* ---- Coming Up: the event rows ---- */

.elist {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.erow {
  display: grid;
  grid-template-columns: 308px minmax(0, 1fr) 290px;
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}

.erow--intl {
  background: #0F1D33;
}

.erow__media {
  position: relative;
  aspect-ratio: 4 / 3;
}

.erow__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 7px 13px;
  border-radius: 10px;
  background: rgba(8, 17, 31, 0.78);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.erow__city {
  font-size: clamp(2rem, 2.9vw, 2.75rem);
  margin-bottom: 18px;
}

.erow__when,
.erow__where {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.erow__when b,
.erow__where b {
  color: var(--paper);
  font-weight: 600;
}

.erow__when svg,
.erow__where svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 4px;
  stroke: var(--ember);
  stroke-width: 1.5;
  fill: none;
}

.erow__when .sep {
  opacity: 0.5;
}

.erow__copy {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 18px;
}

.erow__aside {
  align-self: stretch;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
  padding-left: clamp(24px, 3vw, 40px);
  border-left: 1px solid var(--line);
}

.erow__year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.75rem;
  letter-spacing: -0.03em;
  color: rgba(244, 239, 230, 0.45);
}

.erow__fine {
  font-size: 0.8125rem;
  color: var(--dim);
}

.pill-out {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--coal);
  background: transparent;
  color: #FF7A5C;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- Coming Up: the charity note and the three cards ---- */

.notecard {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(28px, 3vw, 40px);
  border: 1px dashed rgba(244, 239, 230, 0.26);
  border-radius: var(--r-card);
  margin-bottom: clamp(48px, 6vw, 80px);
}

.notecard__i {
  width: 28px;
  height: 28px;
  flex: none;
  margin-top: 2px;
  stroke: var(--ember);
  stroke-width: 1.5;
  fill: none;
}

.notecard h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.notecard p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 88ch;
}

.trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.trio__card {
  padding: 32px 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}

.trio__card svg {
  width: 26px;
  height: 26px;
  margin-bottom: 22px;
  stroke: var(--ember);
  stroke-width: 1.5;
  fill: none;
}

.trio__card h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}

.trio__card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---- Coming Up: the full-bleed Cebu band ---- */

.cebu {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(420px, 46vw, 620px);
  padding-block: clamp(56px, 6vw, 88px);
}

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

.cebu::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(8, 17, 31, 0.94) 10%, rgba(8, 17, 31, 0.55) 55%, rgba(8, 17, 31, 0.7));
}

.cebu .wrap {
  position: relative;
  z-index: 2;
}

.cebu__credit {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
}

.cebu__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin-top: 28px;
}

.cebu__meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  color: var(--paper);
}

.cebu__meta svg {
  width: 17px;
  height: 17px;
  stroke: var(--ember);
  stroke-width: 1.5;
  fill: none;
}

/* ---- Coming Up: the two-column rhythm block ---- */

.split .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.split__r .lead {
  margin-bottom: 24px;
}

.split__r .copy {
  margin-bottom: 32px;
}

/* ---- Coming Up: the itinerary ---- */

.itin__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.itin__head h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0;
}

.itin__range {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
}

.days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}

.day {
  padding: 24px 20px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}

.day__n {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  letter-spacing: -0.03em;
  color: var(--ember);
  margin-bottom: 18px;
}

.day__n span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.6875rem;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.day h3 {
  font-size: 1.0625rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.day p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.itin__note {
  margin-top: 24px;
  font-size: 0.8125rem;
  color: var(--dim);
}

/* ---- Coming Up: the questions ---- */

.faq .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.faq__l .display {
  margin-bottom: 24px;
}

.faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.faq__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.125rem;
  font-weight: 600;
}

.faq__list svg {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: var(--ember);
  stroke-width: 1.5;
  fill: none;
}

/* ---- Mastermind: the programme page ---- */

.mm__h {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin-bottom: 26px;
}

.mm__sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 68ch;
  margin-bottom: 26px;
}

.checks--two {
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 16px 36px;
}

.checks--two li {
  align-items: flex-start;
  line-height: 1.65;
  color: var(--muted);
}

.checks b {
  font-weight: 600;
  color: var(--paper);
}

.day--wk .day__n {
  font-size: 1.75rem;
  color: var(--ember);
}

.day--wk h3 {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.incl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.incl__card {
  min-width: 0;
  padding: 30px 28px 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: border-color 0.2s var(--ease);
}

.incl__card:hover {
  border-color: rgba(255, 106, 31, 0.4);
}

.incl__i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: rgba(255, 106, 31, 0.1);
  border: 1px solid rgba(255, 106, 31, 0.28);
}

.incl__i svg {
  width: 24px;
  height: 24px;
  stroke: var(--ember);
  stroke-width: 1.5;
  fill: none;
}

.incl__card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

.incl__card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}

.prog {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.prog__h {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  margin-bottom: 18px;
}

.prog__obj {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: 24px;
}

.prog__list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2 260px;
  column-gap: 32px;
  counter-reset: prog;
}

.prog__list li {
  break-inside: avoid;
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 600;
}

.prog__list li:not(.prog__break)::before {
  counter-increment: prog;
  content: counter(prog, decimal-leading-zero);
  min-width: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ember);
}

.prog__list .prog__break {
  padding-left: 36px;
  font-weight: 400;
  font-style: italic;
  color: var(--dim);
}

.faq__groups {
  display: grid;
  gap: clamp(36px, 4vw, 56px);
  min-width: 0;
}

.faq__gh {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 8px;
}

.qa {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.qa summary svg {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: var(--ember);
  stroke-width: 1.5;
  fill: none;
  transition: rotate 0.25s var(--ease);
}

.qa[open] summary svg {
  rotate: 180deg;
}

.qa summary:hover span {
  color: var(--ember);
}

.qa__a {
  display: grid;
  gap: 12px;
  padding-bottom: 24px;
  max-width: 64ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.qa__a ul {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
}

.qa__a b {
  font-weight: 600;
  color: var(--paper);
}

.faq--mm .faq__l {
  position: sticky;
  top: 120px;
}

@media (max-width: 900px) {
  .prog {
    grid-template-columns: 1fr;
  }

  .faq--mm .faq__l {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qa summary svg {
    transition: none;
  }
}

.fee {
  display: grid;
  gap: 18px;
  justify-items: start;
  max-width: 780px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}

.fee p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.fee .fee__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ember);
}

.fee .fee__n span {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--muted);
}

.philo {
  max-width: 68ch;
}

.philo p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 16px;
}

.philo .philo__line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 24px;
}

.split__l .notecard {
  margin-top: 24px;
  margin-bottom: 0;
}

/* ---- Coming Up: the sold-out card ---- */

.soldout {
  padding-bottom: clamp(40px, 5vw, 64px);
}

.soldout__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid rgba(240, 74, 42, 0.45);
  border-radius: var(--r-card);
  background: rgba(240, 74, 42, 0.05);
}

.soldout__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 14px;
}

.soldout__card h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  margin-bottom: 14px;
}

.soldout__card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---- Past Events: the year cards on the index ---- */

.yearcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.yearcard {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease);
}

.yearcard:hover {
  border-color: rgba(244, 239, 230, 0.28);
  transform: translateY(-3px);
}

.yearcard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.yearcard__count {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 7px 14px;
  border-radius: 10px;
  background: rgba(8, 17, 31, 0.82);
  font-size: 0.75rem;
  font-weight: 600;
}

.yearcard__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 24px;
  padding: 28px;
}

.yearcard__year {
  grid-row: span 2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 4vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--ember);
}

.yearcard__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
}

.yearcard__title {
  font-size: 1.375rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.yearcard__place {
  font-size: 0.9375rem;
  color: var(--muted);
}

.yearcard__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 28px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ember);
}

.disclaim {
  font-size: 0.875rem;
  color: var(--dim);
}

/* ---- Past Events: a year page ---- */

.crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 28px;
}

.crumb a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9375rem;
  color: var(--muted);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--paper);
}

.crumb .eyebrow {
  margin: 0;
}

.bigyear {
  font-size: clamp(5rem, 13vw, 11.5rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ember);
  margin-bottom: 36px;
}

.yearintro {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}

.pcard {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}

.pcard + .gallabel {
  margin-top: 28px;
}

.pcard__media {
  position: relative;
  aspect-ratio: 16 / 11;
}

.capt {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 26px 16px 12px;
  background: linear-gradient(to top, rgba(8, 17, 31, 0.86), rgba(8, 17, 31, 0));
  font-size: 0.8125rem;
  color: var(--paper);
}

.playmark {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ember);
  color: var(--ink);
  pointer-events: none;
}

.playmark svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
  fill: currentColor;
}

.pcard__type {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 14px;
}

.pcard h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  margin-bottom: 16px;
}

.pcard__sub {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.pcard__meta {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.pcard__body p.copy {
  margin-bottom: 16px;
}

.pcard__body p.copy:last-of-type {
  color: var(--dim);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 230, 0.24);
  font-size: 0.875rem;
  font-weight: 600;
}

.chips--stages {
  list-style: none;
  padding: 0;
  counter-reset: stage;
}

.chips--stages .chip {
  counter-increment: stage;
}

.chips--stages .chip::before {
  content: counter(stage) " ";
  color: var(--ember);
  margin-right: 4px;
}

.gallabel {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 16px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery .ph {
  aspect-ratio: 4 / 3;
}

/* A gallery that opens on one wide photo across two columns (Sydney's seven):
   four columns fill two rows, two columns put it across the top. */
.gallery--lead {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery--lead > :first-child {
  grid-column: span 2;
  aspect-ratio: auto;
}

.gallery--lead > :first-child img {
  position: absolute;
  inset: 0;
}

@media (max-width: 1100px) {
  .gallery--lead {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery--lead > :first-child {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 680px) {
  .gallery--lead {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery--lead > :first-child {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }
}

/* ---- Past Events: the 2025 sponsors ---- */

.sponsors .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.sponsors h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  margin-bottom: 20px;
}

.sponsors__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.sponsor {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 28px 22px 20px;
  border-radius: var(--r-card);
  background: #FFFFFF;
  text-decoration: none;
}

.sponsor img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.sponsor span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #0B1526;
  text-align: center;
}

/* ---- Event Types: the four-item chooser ---- */

.chooser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 5vw, 56px);
}

.chooser a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease);
}

.chooser a:hover {
  border-color: rgba(244, 239, 230, 0.28);
  transform: translateY(-3px);
}

.chooser b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--ember);
}

.chooser span {
  flex: 1;
  font-size: 1.0625rem;
  font-weight: 600;
}

.chooser .arrow {
  color: var(--muted);
}

/* ---- Event Types: a format section ---- */

.fmt .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.fmt--flip .fmt__body {
  order: 2;
}

.fmt--flip .fmt__media {
  order: 1;
}

.fmt__num {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ember);
}

.fmt__num svg {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.fmt__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 18px;
}

.fmt h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  margin-bottom: 24px;
}

.fmt__copy {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
}

.fmt__copy + .fmt__copy {
  margin-top: 18px;
}

.kindbox {
  margin: 28px 0;
  padding: 22px 24px;
  border: 1px solid rgba(255, 106, 31, 0.38);
  border-radius: var(--r-card);
  background: rgba(255, 106, 31, 0.04);
}

.kindbox p:first-child {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
}

.kindbox p:last-child {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--paper);
}

.fmt__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 28px;
}

/* Even space above the link text so it centres on the button beside it. */
.fmt__actions .link {
  padding-top: 7px;
}

.fmt__note {
  margin-top: 22px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--dim);
  max-width: 62ch;
}

.fmt__media .ph {
  aspect-ratio: 4 / 3;
}

.fmt + .principles {
  padding-top: 0;
}

.checks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--paper);
}

.checks svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 4px;
  stroke: var(--ember);
  stroke-width: 2;
  fill: none;
}

/* ---- Motion: entry reveal and photo drift ---- */

.js .rv {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.7s var(--ease), translate 0.7s var(--ease);
}

.js .rv.in {
  opacity: 1;
  translate: 0 0;
}

.js .rv-stagger > * {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.6s var(--ease), translate 0.6s var(--ease), border-color 0.2s var(--ease), transform 0.25s var(--ease);
}

.js .rv-stagger.in > * {
  opacity: 1;
  translate: 0 0;
}

.js .rv-stagger > *:nth-child(2) { transition-delay: 80ms; }
.js .rv-stagger > *:nth-child(3) { transition-delay: 160ms; }
.js .rv-stagger > *:nth-child(4) { transition-delay: 240ms; }
.js .rv-stagger > *:nth-child(5) { transition-delay: 320ms; }
.js .rv-stagger > *:nth-child(6) { transition-delay: 400ms; }

@supports (animation-timeline: view()) {
  .ph--drift img {
    scale: 1.12;
    animation: drift linear both;
    animation-timeline: view();
  }
}

@keyframes drift {
  from { translate: 0 -5%; }
  to { translate: 0 5%; }
}

/* ---- Tablet ---- */

@media (max-width: 1100px) {
  .figures__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .figure {
    padding: 36px 24px 32px;
  }

  .figure:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .figure:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .erow__aside {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

}

/* ---- Phone ---- */

@media (max-width: 900px) {
  :root {
    --gutter: 20px;
  }

  .site-header .wrap {
    height: 72px;
  }

  .brand img {
    height: 44px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header .menu {
    position: absolute;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px var(--gutter) 28px;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .site-header .menu.is-open {
    display: flex;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav a {
    padding: 12px 16px;
    font-size: 1.0625rem;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions .btn {
    justify-content: center;
  }

  .hero .wrap,
  .welcome .wrap,
  .principles .wrap,
  .past .wrap {
    grid-template-columns: 1fr;
  }

  .hero__copy,
  .principles__intro {
    position: static;
    padding-top: 16px;
  }

  .hero__sub {
    max-width: none;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__card {
    aspect-ratio: 4 / 3;
    border-radius: var(--r-photo);
  }

  .hero__card-foot {
    padding: 80px 20px 20px;
  }

  .play {
    width: 72px;
    height: 72px;
  }

  .section-head,
  .words__sub {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }

  .words__note {
    text-align: left;
  }

  .principle {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 32px 0;
  }

  .principle__n {
    padding-top: 0;
  }

  .principles__intro .copy {
    margin-bottom: 40px;
  }

  .marq {
    padding-block: 28px;
  }

  .marq__pause {
    right: 16px;
    bottom: 16px;
  }

  .timeline a {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline .arrow {
    justify-self: start;
  }

  .close__panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .close__mark {
    width: 200px;
    height: 200px;
    top: -30px;
    right: -30px;
  }

  .split .wrap,
  .faq .wrap,
  .fmt .wrap {
    grid-template-columns: 1fr;
  }

  .fmt--flip .fmt__body,
  .fmt--flip .fmt__media {
    order: 0;
  }

  .fmt__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .erow {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .erow__media {
    aspect-ratio: 16 / 10;
  }

  .erow__aside .btn {
    width: 100%;
    justify-content: center;
  }


  .notecard {
    flex-direction: column;
    gap: 16px;
  }

  .soldout__card {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .itin__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cebu__credit {
    position: static;
    margin-bottom: 20px;
    padding-inline: var(--gutter);
  }

  .pcard,
  .sponsors .wrap {
    grid-template-columns: 1fr;
  }

  .yearcard__body {
    padding: 22px;
    gap: 2px 18px;
  }

  .yearcard__more {
    margin: 0 22px 22px;
  }

  .bigyear {
    margin-bottom: 28px;
  }

}

  .footer__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 680px) {
  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form__foot .btn {
    width: 100%;
    justify-content: center;
  }

  .welcome__inset {
    width: 50%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ---- Reduced motion: everything has a still form ---- */

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

  .marq__track {
    animation: none;
  }

  .marq__pause {
    display: none;
  }

  .js .rv,
  .js .rv-stagger > * {
    opacity: 1;
    translate: 0 0;
    transition: none;
    transition-delay: 0ms;
  }

  .ph--drift img {
    scale: 1;
    animation: none;
  }

  .btn,
  .nav a,
  .nav-toggle span,
  .play,
  a.event,
  .format {
    transition: none;
  }
}
