/* Black stage, near-white type, a quiet grey for supporting copy.
   Copper is the only colour, and it belongs to the logo and to actions. */
:root {
  color-scheme: dark;

  --bg: #000;
  --tile: #1D1D1F;
  --tile-raised: #2A2A2D;
  --hairline: rgba(255, 255, 255, .1);
  --text: #F5F5F7;
  --muted: #86868B;
  --soft: #A1A1A6;
  --copper: #D98A55;
  --copper-hover: #E9A272;
  --copper-grad: linear-gradient(135deg, #F3BE97 0%, #D4824E 55%, #9A4A24 100%);
  --error: #FF8A73;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;

  --page: 980px;
  --wide: 1200px;
  --gutter: clamp(16px, 5vw, 48px);
  --section: clamp(96px, 14vw, 180px);
  --radius: 28px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--copper-hover); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 980px;
  background: var(--text); color: #000; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 980px;
  background: var(--copper);
  color: #000;
  font: 500 17px/1 var(--font);
  letter-spacing: -.022em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.pill:hover { background: var(--copper-hover); }
.pill:active { transform: scale(.98); }
.pill-ghost { background: transparent; color: var(--copper-hover); border-color: var(--copper); }
.pill-ghost:hover { background: rgba(217, 138, 85, .12); }
.pill-small { min-height: 30px; padding: 7px 14px; font-size: 13px; }

/* Nav: thin, frosted, always there */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--hairline); }
.nav-inner {
  max-width: var(--wide);
  height: 52px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.015em;
}
.brand-mark { width: 26px; height: 26px; flex: none; }
.nav-links { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  font-size: 13px;
  color: #D2D2D7;
  text-decoration: none;
  transition: color .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--gutter) 96px;
}
.hero-mark {
  position: relative;
  width: clamp(120px, 16vw, 176px);
  aspect-ratio: 1;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.hero-mark svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.hero-glow {
  position: absolute;
  left: 50%; top: 67%;
  width: 70%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232, 150, 95, .55) 0%, rgba(217, 138, 85, .18) 40%, transparent 70%);
  filter: blur(18px);
}
.hero-eyebrow {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: .005em;
  color: var(--copper-hover);
}
.hero h1 {
  margin-top: 10px;
  font-size: clamp(48px, 8.4vw, 104px);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.hero-lede {
  max-width: 640px;
  margin-top: 24px;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

/* The hero's one entrance: rings trace in from the rim to the floor, then the copper glows. */
.js .ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 1.8s var(--ease-out) forwards; }
.js .ring-1 { animation-delay: .1s; }
.js .ring-2 { animation-delay: .35s; }
.js .ring-3 { animation-delay: .6s; }
.js .core { opacity: 0; transform-origin: 24px 32.25px; transform: scale(.4); animation: core 1.2s var(--ease-out) 1.1s forwards; }
.js .hero-glow { opacity: 0; animation: glow 2.4s var(--ease) 1.2s forwards; }
.js .hero-eyebrow, .js .hero h1, .js .hero-lede, .js .hero-actions {
  opacity: 0; transform: translateY(16px);
  animation: rise 1.2s var(--ease-out) forwards;
}
.js .hero-eyebrow { animation-delay: .5s; }
.js .hero h1 { animation-delay: .62s; }
.js .hero-lede { animation-delay: .8s; }
.js .hero-actions { animation-delay: .95s; }

@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes core { to { opacity: 1; transform: scale(1); } }
@keyframes glow { to { opacity: 1; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Section heads */
.section-head { max-width: var(--page); margin: 0 auto; }
.section-head h2 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.section-head p {
  max-width: 640px;
  margin-top: 20px;
  font-size: clamp(19px, 1.8vw, 21px);
  line-height: 1.4;
  font-weight: 500;
  color: var(--muted);
}

/* Gentle reveal for section heads only */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Mission */
.mission { padding: var(--section) var(--gutter) 0; }
.fill-text {
  max-width: var(--page);
  margin: 0 auto;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--text);
}
.js .fill-text .w { color: #3A3A3C; transition: color .45s var(--ease); }
.js .fill-text .w.is-lit { color: var(--text); }

.mission-media {
  max-width: var(--wide);
  margin: clamp(64px, 9vw, 120px) auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tile);
}
.mission-media img { width: 100%; aspect-ratio: 21 / 10; object-fit: cover; }
.js .mission-media {
  transform: scale(calc(.86 + .14 * var(--p, 1)));
  opacity: calc(.35 + .65 * var(--p, 1));
  will-change: transform;
}

.mission-body {
  max-width: 760px;
  margin: clamp(56px, 8vw, 96px) auto 0;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: -.012em;
  color: var(--muted);
}
.mission-body strong { color: var(--text); font-weight: 600; }

/* Journey gallery */
.journey { padding: var(--section) 0 0; }
.journey .section-head { padding: 0 var(--gutter); max-width: calc(var(--page) + 2 * var(--gutter)); }
.gallery { margin-top: clamp(40px, 6vw, 64px); }
.gallery-track {
  --inset: max(var(--gutter), calc((100vw - var(--page)) / 2));
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0 var(--inset) 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--inset);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar { display: none; }
.card {
  position: relative;
  flex: none;
  width: clamp(280px, 30vw, 372px);
  aspect-ratio: 372 / 600;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tile);
  scroll-snap-align: start;
  isolation: isolate;
}
.card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease-out);
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .7) 30%, rgba(0, 0, 0, .15) 55%, rgba(0, 0, 0, 0) 70%);
}
.card:hover img { transform: scale(1.03); }
.card-caption {
  padding: 30px 30px 0;
  font-size: clamp(19px, 1.7vw, 21px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.012em;
  color: rgba(255, 255, 255, .62);
}
.card-caption strong { color: #fff; }
.card-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.card-stat::before { display: none; }
.card-number {
  margin: auto 30px 34px;
  font-size: clamp(64px, 7vw, 88px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.045em;
  background: var(--copper-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gallery-controls {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin: 24px auto 0;
  padding: 0 var(--gutter);
}
.round {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: var(--tile-raised);
  color: var(--text);
  cursor: pointer;
  transition: background-color .3s var(--ease), opacity .3s var(--ease);
}
.round:hover { background: #3A3A3D; }
.round[disabled] { opacity: .35; cursor: default; }
.round svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Tiles */
.tile { background: var(--tile); border-radius: var(--radius); }

/* Pocket */
.pocket { padding: var(--section) var(--gutter) 0; }
.tiles {
  max-width: var(--page);
  margin: clamp(40px, 6vw, 64px) auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.tiles .tile { padding: 28px; display: flex; flex-direction: column; min-height: 280px; }
.tile-hero {
  grid-column: span 4;
  position: relative;
  min-height: 420px !important;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(28px, 4vw, 48px) !important;
}
.tile-hero img {
  position: absolute;
  right: -2%; top: 50%;
  width: min(62%, 620px);
  transform: translateY(-50%);
  mix-blend-mode: lighten;
  z-index: -1;
}
.tile-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, var(--tile) 30%, rgba(29, 29, 31, 0) 70%);
}
.tile-hero h3 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; }
.tile-hero p { max-width: 360px; }

.element {
  display: flex;
  flex-direction: column;
  margin-bottom: auto;
  padding-bottom: 32px;
}
.element .z { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.element .sym {
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.04em;
  background: var(--copper-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tile-hero .element .sym { font-size: clamp(72px, 9vw, 112px); }
.tiles h3 { font-size: 24px; letter-spacing: -.02em; line-height: 1.15; }
.tiles p { margin-top: 8px; color: var(--soft); font-size: 17px; }

/* Speakers */
.speak { padding: var(--section) var(--gutter) 0; }
.reasons {
  max-width: var(--page);
  margin: clamp(40px, 6vw, 64px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.reason { padding: 36px 30px 40px; }
.reason h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.reason p { margin-top: 14px; color: var(--soft); }

.topics {
  max-width: var(--page);
  margin: 20px auto 0;
  padding: clamp(32px, 5vw, 56px);
}
.topics h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.025em; max-width: 20ch; }
.topics ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  margin: 28px 0 36px;
  padding: 0;
  list-style: none;
}
.topics li { padding: 16px 0; border-top: 1px solid var(--hairline); color: var(--soft); }

/* Join */
.join { padding: var(--section) var(--gutter) 0; text-align: center; }
.join > div { max-width: 820px; margin: 0 auto; }
.join h2 { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; letter-spacing: -.03em; }
.join-lede {
  margin-top: 20px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -.02em;
  background: var(--copper-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.join p:not(.join-lede) { max-width: 620px; margin: 20px auto 0; font-size: 19px; color: var(--muted); font-weight: 500; }
.join .pill { margin-top: 36px; }

/* Contact */
.contact { padding: var(--section) var(--gutter); }
.form {
  max-width: var(--page);
  margin: clamp(40px, 6vw, 64px) auto 0;
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.field { display: grid; gap: 8px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--soft); letter-spacing: -.01em; }
.field legend { margin-bottom: 12px; padding: 0; }
.optional { color: var(--muted); font-weight: 400; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 10px 18px;
  border-radius: 980px;
  border: 1px solid #424245;
  color: var(--text);
  font-size: 15px;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.chips label:hover span { border-color: #6E6E73; }
.chips input:checked + span { background: var(--text); border-color: var(--text); color: #000; }
.chips input:focus-visible + span { outline: 2px solid var(--copper-hover); outline-offset: 3px; }

.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: #000;
  border: 1px solid #424245;
  border-radius: 12px;
  color: var(--text);
  font: 17px/1.4 var(--font);
  letter-spacing: -.022em;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover { border-color: #6E6E73; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(217, 138, 85, .2); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 14px; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 6px; }
.form-status { color: var(--muted); font-size: 15px; }
.form-status.is-success { color: var(--text); }
.form-status.is-error { color: var(--error); }
.pill[disabled] { opacity: .6; cursor: progress; }

/* Footer */
.footer { border-top: 1px solid var(--hairline); }
.footer-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 32px var(--gutter) 48px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.footer-brand .brand-mark { width: 22px; height: 22px; }
.disclaimer { margin-top: 14px; max-width: 640px; font-size: 12px; line-height: 1.5; color: var(--muted); letter-spacing: -.01em; }

/* Tablet */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-hero { grid-column: span 2; }
  .reasons { grid-template-columns: minmax(0, 1fr); }
  .topics ul { grid-template-columns: minmax(0, 1fr); }
}

/* Phone */
@media (max-width: 600px) {
  .brand span { font-size: 14px; white-space: nowrap; }
  .nav-inner { gap: 12px; }
  .hero { padding-top: 100px; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .mission-media img { aspect-ratio: 4 / 3; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile-hero { grid-column: auto; min-height: 0 !important; justify-content: flex-start; }
  .tile-hero .element { order: 0; margin-bottom: 0; padding-bottom: 0; }
  .tile-hero img { order: 1; position: static; transform: none; width: 100%; margin: 4px 0 20px; }
  .tile-hero h3 { order: 2; }
  .tile-hero p { order: 3; }
  .tile-hero::after { display: none; }
  .tiles .tile { min-height: 0; }
  .element { padding-bottom: 24px; }
  .card { width: 82vw; }
  .form { grid-template-columns: minmax(0, 1fr); }
}

/* Smallest phones: the logo alone in the bar; the full name is in the hero right below. */
@media (max-width: 359px) {
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .mission-media { transform: none; opacity: 1; }
  .js .fill-text .w { color: var(--text); }
}
