:root {
  --ink: #07131f;
  --ink-soft: #2c3a4a;
  --muted: #667485;
  --paper: #f4f7fb;
  --paper-2: #e7eef6;
  --line: #d2dce8;
  --accent: #0f9e93;
  --accent-2: #0b7f76;
  --accent-bright: #2dd4bf;
  --signal: #ff4f6d;
  --white: #ffffff;
  --nav-h: 4.25rem;
  --max: 70rem;
  --font: "Figtree", system-ui, sans-serif;
  --font-brand: "Syne", "Figtree", system-ui, sans-serif;
  --radius: 0.55rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shade-hero:
    linear-gradient(180deg, rgba(7, 19, 31, 0.45) 0%, rgba(7, 19, 31, 0.12) 38%, rgba(7, 19, 31, 0.78) 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(15, 158, 147, 0.09), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(7, 19, 31, 0.05), transparent 48%),
    radial-gradient(700px 420px at 70% 100%, rgba(255, 79, 109, 0.04), transparent 50%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
}
.skip-link:focus { left: 0; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}
.wrap-narrow {
  width: min(36rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Brand lockup */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
  color: inherit;
}
.brand-mark:hover { opacity: 0.82; }
.brand-icon {
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
  color: var(--accent-bright);
  display: block;
}
.brand-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.site-header.is-solid .brand-icon,
.mobile-nav .brand-icon {
  color: var(--accent);
}
.brand-word {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.brand-icon-lg {
  width: clamp(2.4rem, 6vw, 3.4rem);
  height: clamp(2.4rem, 6vw, 3.4rem);
  color: var(--accent-bright);
}
.hero-brand .brand-lockup,
.page-hero .brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.hero-brand .brand-lockup .brand-icon {
  width: clamp(2.4rem, 6vw, 3.4rem);
  height: clamp(2.4rem, 6vw, 3.4rem);
}
.hero-brand .brand-lockup .brand-word {
  font-size: clamp(2.35rem, 7.5vw, 4.1rem);
  letter-spacing: -0.05em;
  font-weight: 700;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  color: var(--white);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(244, 247, 251, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  color: var(--ink);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(7, 19, 31, 0.04);
}

.nav-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: none;
  gap: 1.35rem;
  margin-left: auto;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.72;
  letter-spacing: -0.01em;
  position: relative;
}
.nav-link:hover,
.nav-link[aria-current="page"] { opacity: 1; }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: currentColor;
  opacity: 0.55;
}
.site-header.is-solid .nav-link[aria-current="page"]::after {
  background: var(--accent);
  opacity: 1;
}

.nav-actions {
  display: none;
  margin-left: 0.5rem;
  gap: 0.5rem;
}
.btn-nav {
  min-height: 2.4rem;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
}
.btn-sm {
  min-height: 2.25rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

.nav-toggle {
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: grid;
  place-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: currentColor;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 49;
  background: var(--paper);
  color: var(--ink);
  padding: 1.25rem 1.5rem 2rem;
  overflow: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.9rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-brand);
  letter-spacing: -0.03em;
}
.mobile-nav .btn { margin-top: 1.5rem; width: 100%; }

@media (min-width: 960px) {
  .nav-links, .nav-actions { display: flex; align-items: center; }
  .nav-toggle { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(15, 158, 147, 0.28);
}
.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(15, 158, 147, 0.34);
}
.btn-secondary {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  opacity: 0.95;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); color: inherit; }
.site-header.is-solid .btn-secondary,
.section .btn-secondary {
  color: var(--ink);
  border-color: var(--ink);
}
.site-header.is-solid .btn-secondary:hover,
.section .btn-secondary:hover {
  background: var(--ink);
  color: var(--white);
}
.btn-ghost {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-ghost:hover { background: #152536; color: var(--white); }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.btn-text {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 0.12rem;
  letter-spacing: -0.015em;
}
.btn-text:hover { color: var(--accent); border-color: var(--accent); }

/* Sections */
.section {
  padding: clamp(2.5rem, 6vw, 4.25rem) 0;
  position: relative;
}
.section-compact {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}
.section-head {
  max-width: 36rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.section-title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-bottom: 0.9rem;
}
.lede {
  color: var(--ink-soft);
  font-size: 1.06rem;
  max-width: 36rem;
}
.lede + .lede { margin-top: 0.85rem; }

.band-soft {
  background:
    radial-gradient(800px 300px at 20% 0%, rgba(15, 158, 147, 0.08), transparent 60%),
    var(--paper-2);
}
.band-dark {
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(15, 158, 147, 0.22), transparent 55%),
    radial-gradient(700px 380px at 90% 100%, rgba(255, 79, 109, 0.12), transparent 50%),
    #07131f;
  color: var(--white);
}
.band-dark .lede { color: rgba(255,255,255,0.72); }
.band-dark .kicker { color: var(--accent-bright); }
.band-dark .section-title { color: var(--white); }
.band-dark .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}

.split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}
@media (min-width: 840px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse > :first-child { order: 2; }
}

.media-frame {
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.15rem);
  background: #122233;
  aspect-ratio: 4 / 3;
  width: 100%;
  box-shadow: 0 24px 48px rgba(7, 19, 31, 0.12);
  position: relative;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  border-radius: inherit;
}
.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}
.media-frame.video-frame { aspect-ratio: 16 / 10; }

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}
.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}
.hero-media {
  z-index: 0;
  overflow: hidden;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.02);
  animation: heroDrift 22s ease-in-out infinite alternate;
}
.hero-media img.focus-top,
.media-frame img.focus-top {
  object-position: center top;
}
.hero-shade {
  z-index: 1;
  background: var(--shade-hero);
}
.hero-shade::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(0deg, rgba(7, 19, 31, 0.55), transparent);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2rem) 0 clamp(3rem, 8vw, 4.75rem);
  max-width: 42rem;
  margin-left: max(1.25rem, calc((100% - min(var(--max), calc(100% - 2.5rem))) / 2));
}
.hero-brand {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(2.35rem, 7.5vw, 4.1rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin-bottom: 1.15rem;
  animation: rise 0.95s var(--ease) both;
}
.hero-brand::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--accent-bright), var(--signal));
  border-radius: 999px;
}
.hero h1 {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin-bottom: 1rem;
  animation: rise 0.95s var(--ease) 0.12s both;
}
.hero-lede {
  color: rgba(255,255,255,0.88);
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 1.85rem;
  animation: rise 0.95s var(--ease) 0.22s both;
}
.hero .btn-row { animation: rise 0.95s var(--ease) 0.32s both; }
.hero .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}
.hero-note {
  margin-top: 1.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.68;
  animation: rise 0.95s var(--ease) 0.42s both;
}

.page-hero {
  position: relative;
  min-height: min(42vh, 22rem);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  padding-top: var(--nav-h);
}
.page-hero .hero-content {
  padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 38rem;
}
.page-hero .hero-brand {
  font-size: clamp(2rem, 5.5vw, 3.15rem);
  margin-bottom: 0.85rem;
}
.page-hero .hero-brand .brand-word {
  font-size: inherit;
}
.page-hero .hero-lede {
  margin-bottom: 0;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.045) translate3d(0, -0.8%, 0); }
}

/* Events as a calm list */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}
.filter-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.55);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn.is-active,
.filter-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.event-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.event-grid.is-loading {
  border-top: 0;
  min-height: 10rem;
  place-items: center;
  padding: 2.5rem 0;
}
.events-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.events-spinner {
  width: 2rem;
  height: 2rem;
  border: 2.5px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: eventsSpin 0.7s linear infinite;
}
@keyframes eventsSpin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .events-spinner { animation: none; border-top-color: var(--line); opacity: 0.7; }
}

.page-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 12rem;
  padding: 2.5rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
}
.page-spinner {
  width: 2rem;
  height: 2rem;
  border: 2.5px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: eventsSpin 0.7s linear infinite;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
  .page-spinner { animation: none; border-top-color: var(--line); opacity: 0.7; }
}
.event-card {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.15rem;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s, transform 0.2s;
}
.event-card:hover { opacity: 0.78; transform: translateX(2px); }
.event-card img {
  width: 7.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: calc(var(--radius) - 0.1rem);
}
.event-meta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.event-card h3 {
  font-family: var(--font-brand);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}
.event-card p {
  color: var(--muted);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-card .more { display: none; }

@media (min-width: 720px) {
  .event-card {
    grid-template-columns: 10rem 1fr auto;
    gap: 1.5rem;
  }
  .event-card img {
    width: 10rem;
    height: 7rem;
  }
  .event-card .more {
    display: inline;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    color: var(--ink-soft);
  }
}

/* Experience list */
.exp-list {
  border-top: 1px solid var(--line);
}
.exp-row {
  display: grid;
  gap: 0.4rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: color 0.2s, padding-left 0.25s var(--ease);
}
.exp-row:hover {
  color: var(--accent);
  padding-left: 0.35rem;
}
.exp-row h3 {
  font-family: var(--font-brand);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.exp-row p { color: var(--muted); font-size: 0.98rem; max-width: 40rem; }
.exp-row:hover p { color: var(--muted); }

.exp-grid { display: none; }
.exp-card, .exp-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.exp-item:first-child,
.exp-list + .exp-item { border-top: 1px solid var(--line); }
.exp-card h3,
.exp-item h3 {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
}
.exp-card p,
.exp-item p { color: var(--muted); }

/* Photos */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}
@media (min-width: 720px) {
  .photo-strip { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
}
.photo-strip figure {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  box-shadow: 0 12px 28px rgba(7, 19, 31, 0.08);
}
.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.photo-strip figure:hover img { transform: scale(1.05); }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}
@media (min-width: 720px) {
  .photo-grid { grid-template-columns: repeat(4, 1fr); }
}
.photo-grid figure {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quotes */
.quote-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .quote-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.quote {
  padding: 1.6rem 1.45rem;
  border: 0;
  background: rgba(255,255,255,0.72);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  box-shadow: 0 10px 30px rgba(7, 19, 31, 0.04);
}
.band-soft .quote {
  background: rgba(255,255,255,0.78);
}
.quote p {
  font-family: var(--font-brand);
  font-size: 1.18rem;
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  font-weight: 600;
}
.quote cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: -0.01em;
}

/* Steps / involve / partners */
.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
}
.step { padding-top: 0.85rem; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.55rem;
  letter-spacing: -0.04em;
}
.step h3 {
  font-family: var(--font-brand);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
}
.step p { color: var(--muted); font-size: 0.95rem; }

.involve-grid,
.partner-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) {
  .involve-grid,
  .partner-grid { grid-template-columns: 1fr 1fr; }
}
.involve-card,
.partner-card {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.involve-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.85rem;
  align-items: start;
}
@media (min-width: 800px) {
  .involve-card:nth-child(odd),
  .partner-card:nth-child(odd) { padding-right: 1.5rem; }
  .involve-card:nth-child(even),
  .partner-card:nth-child(even) { padding-left: 1.5rem; }
}
.involve-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  grid-row: 1;
  grid-column: 1;
  border-radius: 50%;
  background: rgba(15, 158, 147, 0.1);
  color: var(--accent);
}
.involve-icon svg { width: 1.2rem; height: 1.2rem; display: block; }
.involve-card h3,
.partner-card h3 {
  font-family: var(--font-brand);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}
.involve-card h3 {
  grid-row: 1;
  grid-column: 2;
  align-self: center;
  margin-bottom: 0;
}
.involve-card p,
.involve-card a {
  grid-column: 1 / -1;
}
.involve-card p,
.partner-card p { color: var(--muted); margin-bottom: 0.5rem; }
.involve-card p { margin-top: 0.4rem; }
.involve-card a { font-weight: 700; text-decoration: none; }
.involve-card a:hover { color: var(--accent); }

/* Forms */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 700px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

.phone-field {
  display: grid;
  grid-template-columns: minmax(9.5rem, 12.5rem) 1fr;
  gap: 0.65rem;
}

.phone-field select,
.phone-field input {
  min-width: 0;
}

.social-field {
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
}

.social-field legend {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 158, 147, 0.18);
}
.check-grid { display: grid; gap: 0.5rem; }
.check-grid label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}
.check-grid input { width: auto; }
.form-note { font-size: 0.9rem; color: var(--muted); }
.form-status {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
}
.form-status.is-ok { display: block; background: #e6f7f1; color: #0f5c45; }
.form-status.is-err { display: block; background: #fdecef; color: #9b1c36; }
.form-status.is-wait { display: block; background: var(--paper-2); }

/* Event detail */
.event-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .event-layout { grid-template-columns: 1.25fr 0.75fr; align-items: start; }
}
.event-detail-meta {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 1.75rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) {
  .event-detail-meta { grid-template-columns: 1fr 1fr; }
}
.event-detail-meta dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.event-detail-meta dd { font-weight: 700; }
.prose .event-about {
  white-space: pre-line;
}
.prose h2 {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 1.75rem 0 0.6rem;
}
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 0.7rem; }
.prose ul { list-style: disc; padding-left: 1.15rem; }
.map-embed {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper-2);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.search-field,
.city-field {
  flex: 1;
  min-width: 12rem;
}
.search-field input,
.city-field select {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.past-field {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0 0.25rem;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.past-field input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent, #c45c26);
  cursor: pointer;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.host-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 1rem 0 1.5rem;
  padding: 1.1rem;
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.host-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 999px;
  flex-shrink: 0;
}
.host-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.share-row > span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.25rem;
}

.social-follow {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 720px) {
  .social-follow {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2.5rem;
  }
}
.social-follow .lede {
  max-width: 36rem;
}
.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  width: min(100%, 22rem);
}
@media (min-width: 720px) {
  .social-links {
    width: auto;
    grid-template-columns: repeat(2, max-content);
  }
}
.social-links a,
.social-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.15rem;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.social-links a:hover,
.social-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}
.social-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  display: block;
}
img.social-icon,
.social-icon--meetup {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

.cookie-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 80;
  background: #07131f;
  color: rgba(255,255,255,0.85);
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-inner p {
  flex: 1;
  min-width: 16rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.cookie-inner a { color: var(--accent-bright); }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-bar .btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}

/* Footer */
.site-footer {
  background: #050d16;
  color: rgba(255,255,255,0.7);
  padding: clamp(2.25rem, 5vw, 3.5rem) 0 1.75rem;
}
.footer-top {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.25rem;
}
@media (min-width: 860px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.footer-top > :first-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  margin-bottom: 0.65rem;
}
.footer-brand .brand-icon {
  color: var(--accent-bright);
  width: 1.7rem;
  height: 1.7rem;
}
.footer-brand .brand-word {
  font-size: 1.25rem;
}
.footer-tag {
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 0.85rem;
  font-weight: 700;
}
.footer-col a {
  display: block;
  text-decoration: none;
  padding: 0.28rem 0;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}
.footer-col a:hover { color: var(--accent-bright); }
.footer-social .social-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.38rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  letter-spacing: 0;
}
.footer-social .social-item:hover {
  background: transparent;
  border: 0;
  color: var(--accent-bright);
}
.footer-social .social-icon {
  width: 1.2rem;
  height: 1.2rem;
  opacity: 1;
}
.footer-social .social-icon--meetup {
  width: 1.4rem;
  height: 1.4rem;
  opacity: 1;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a {
  color: inherit;
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--white); }

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* legacy class aliases used in pages */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.band-sand { background: var(--paper-2); }
.band-ink {
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(15, 158, 147, 0.22), transparent 55%),
    linear-gradient(165deg, #07131f 0%, #0d2236 100%);
  color: var(--white);
}
.band-ink .lede { color: rgba(255,255,255,0.72); }
.band-ink .eyebrow { color: var(--accent-bright); }
.band-teal {
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(15, 158, 147, 0.22), transparent 55%),
    linear-gradient(165deg, #07131f 0%, #0d2236 100%);
  color: var(--white);
}
.band-teal .lede { color: rgba(255,255,255,0.72); }
.band-teal .eyebrow { color: var(--accent-bright); }

@media (prefers-reduced-motion: reduce) {
  .hero-brand, .hero-brand::after, .hero h1, .hero-lede, .hero .btn-row, .hero-note, .reveal {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-media img,
  .hero-media video {
    animation: none;
  }
}
