:root {
  color-scheme: light;
  --bg: #f8faf8;
  --surface: #ffffff;
  --surface-alt: #edf3ee;
  --ink: #18201c;
  --muted: #4f5d54;
  --line: #d7dfd9;
  --line-strong: #b4c3b9;
  --mint: #0f7f68;
  --blue: #4c5c53;
  --amber: #686357;
  --magenta: #6d5960;
  --purple: #625e68;
  --graphite: #17211d;
  --focus: #0f7f68;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 1px 6px rgba(24, 32, 28, 0.075);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Satoshi", "Geist", "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-color: rgba(15, 143, 114, 0.45);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--mint);
}

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

code {
  background: #e8efe9;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.08rem 0.28rem;
  font-size: 0.92em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 5.2rem);
  max-width: 980px;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--muted);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea,
summary {
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(15, 143, 114, 0.45);
}

.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;
}

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

.container.narrow {
  width: min(100% - 32px, 760px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem max(1rem, calc((100vw - var(--max)) / 2));
  background: rgba(247, 250, 247, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: background-color 180ms var(--ease-standard), box-shadow 180ms var(--ease-standard), border-color 180ms var(--ease-standard);
}

body.is-scrolled .site-header {
  background: rgba(247, 250, 247, 0.99);
  border-bottom-color: var(--line-strong);
  box-shadow: 0 2px 8px rgba(24, 32, 28, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: min(300px, 68vw);
  display: block;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.primary-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0.58rem 0.72rem;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms var(--ease-standard), background-color 160ms var(--ease-standard), border-color 160ms var(--ease-standard);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: #e8efe9;
  color: var(--ink);
}

.primary-nav .nav-join {
  margin-left: 0.35rem;
  background: var(--graphite);
  color: #fff;
}

.primary-nav .nav-join:hover {
  background: var(--mint);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0;
  transition: background-color 160ms var(--ease-standard), border-color 160ms var(--ease-standard), transform 120ms var(--ease-standard);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms var(--ease-out-quart), opacity 150ms var(--ease-standard);
}

.hero-band {
  padding: 4.5rem 0 3.5rem;
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 2rem;
  align-items: end;
}

.context-line {
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 1rem;
}

.lede {
  max-width: 780px;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  color: #344139;
}

.hero-actions,
.card-links,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.button,
button.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.72rem 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--graphite);
  color: #fff;
}

.button.primary:hover {
  background: var(--mint);
  color: #fff;
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.next-event-panel,
.event-card,
.project-card,
.resource-card,
.track-card,
.post-card,
.team-card,
.partner-card,
.content-block,
.verify-result,
.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.next-event-panel {
  padding: 1.2rem;
}

.next-event-panel h2 {
  font-size: 1.35rem;
}

.card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.card-topline span,
.chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.18rem 0.5rem;
  background: #f6f9f6;
  color: #425047;
}

.band {
  padding: 3.5rem 0;
}

.alt-band {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-band {
  padding: 1.4rem 0;
  background: var(--graphite);
  border: 0;
}

.stats-grid,
.feature-grid,
.project-grid,
.resource-grid,
.track-grid,
.team-grid,
.partner-grid,
.value-grid,
.department-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  color: #dfe9e3;
}

.stat-item strong {
  display: block;
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
}

.stat-item span {
  display: block;
  margin-top: 0.35rem;
  font-weight: 700;
}

.stat-item p {
  margin: 0.25rem 0 0;
  color: #b9c9c0;
  font-size: 0.9rem;
}

.section-intro {
  margin-bottom: 1.4rem;
}

.section-intro p {
  max-width: 720px;
}

.feature-grid,
.project-grid,
.resource-grid,
.track-grid,
.team-grid,
.partner-grid,
.department-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-item,
.event-card,
.project-card,
.resource-card,
.track-card,
.post-card,
.partner-card,
.content-block,
.empty-state {
  padding: 1rem;
}

.event-card {
  overflow: hidden;
}

.event-card.has-image {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  padding: 0;
}

.event-card-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-right: 1px solid var(--line);
}

.event-card-body {
  padding: 1rem;
}

.feature-item {
  border-top: 3px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.55);
}

.feature-item .icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 0.85rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
}

.three-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.event-grid {
  display: grid;
  gap: 1rem;
}

.event-meta {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
}

.event-meta div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.8rem;
}

.event-meta dt {
  color: var(--muted);
}

.event-meta dd {
  margin: 0;
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-weight: 700;
  color: var(--mint);
}

.next-step,
.track-name,
.role,
.terms-note,
.article-meta {
  color: #3b4a41;
  font-weight: 700;
}

.card-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-weight: 700;
}

.compact.track-grid {
  grid-template-columns: 1fr;
}

.compact.track-grid .track-card:nth-child(n + 4) {
  display: none;
}

.compact-list {
  display: grid;
  gap: 1rem;
}

.page-heading {
  padding: 3.2rem 0 2.2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-heading h1 {
  font-size: clamp(2.3rem, 4.2vw, 4rem);
}

.page-heading p {
  max-width: 820px;
  font-size: 1.12rem;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.filter-button {
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 0.42rem 0.68rem;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  background: var(--graphite);
  color: #fff;
}

.plain-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.plain-list li + li {
  margin-top: 0.45rem;
}

.value-grid {
  grid-template-columns: repeat(6, 1fr);
}

.value-item {
  min-height: 86px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.85rem;
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.8rem;
}

.timeline time {
  color: var(--blue);
  font-weight: 800;
}

.timeline p {
  margin: 0;
}

.team-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1rem;
  padding: 1rem;
}

.team-photo {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-alt);
}

.team-photo.placeholder {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--graphite);
  font-weight: 800;
  font-size: 1.35rem;
}

.partner-list article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
}

.partner-list article + article {
  padding-top: 0.75rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.9rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 0.75rem 0 0;
}

.article-page {
  padding: 3.5rem 0;
}

.article-page h1 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.article-page p {
  font-size: 1.05rem;
}

.form-layout,
.verify-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.25rem;
  align-items: start;
}

.contact-form,
.verify-form {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0.72rem 0.76rem;
}

textarea {
  resize: vertical;
}

.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.6rem;
  align-items: start;
  font-weight: 500;
  color: var(--muted);
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
}

.verify-layout {
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr) 320px;
}

.verify-result {
  padding: 1rem;
  min-height: 180px;
}

.verify-result.valid {
  border-color: rgba(15, 143, 114, 0.55);
}

.verify-result.revoked,
.verify-result.invalid,
.verify-result.error {
  border-color: rgba(184, 61, 107, 0.55);
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.result-table th,
.result-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0;
  text-align: left;
  vertical-align: top;
}

.cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
}

.final-cta {
  background: var(--graphite);
  color: #fff;
}

.final-cta p {
  color: #d6e0da;
}

.final-cta .button.primary {
  background: #fff;
  color: var(--graphite);
}

.final-cta .button.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.site-footer {
  background: var(--graphite);
  color: #fff;
  padding: 2.6rem max(1rem, calc((100vw - var(--max)) / 2));
}

.site-footer p,
.site-footer a {
  color: #d6e0da;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-main img {
  width: min(270px, 78vw);
  display: block;
  margin-bottom: 1rem;
}

.footer-main h2 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-note {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 2rem;
  padding-top: 1rem;
}

.footer-note p {
  margin: 0;
  max-width: 720px;
}

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

  .primary-nav {
    position: fixed;
    inset: 84px 0 auto 0;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1rem 1rem;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -8px, 0);
    visibility: hidden;
    transition: opacity 170ms var(--ease-standard), transform 220ms var(--ease-out-quart), visibility 0s linear 220ms;
  }

  body.nav-open .primary-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    visibility: visible;
    transition-delay: 0s;
  }

  .primary-nav a,
  .primary-nav .nav-join {
    margin: 0;
    justify-content: flex-start;
  }

  .hero-grid,
  .two-column,
  .three-column,
  .form-layout,
  .verify-layout,
  .footer-main,
  .footer-note {
    grid-template-columns: 1fr;
  }

  .footer-note,
  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-grid,
  .project-grid,
  .resource-grid,
  .track-grid,
  .team-grid,
  .partner-grid,
  .department-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    min-height: 76px;
    padding-top: 0.55rem;
    padding-bottom: 0.65rem;
  }

  .primary-nav {
    inset: 76px 0 auto 0;
  }

  .hero-band {
    padding: 2.6rem 0 2rem;
  }

  .band {
    padding: 2.4rem 0;
  }

  .feature-grid,
  .project-grid,
  .resource-grid,
  .track-grid,
  .team-grid,
  .partner-grid,
  .department-grid,
  .stats-grid,
  .value-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .event-meta div,
  .timeline div,
  .team-card {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .toolbar {
    align-items: stretch;
  }

  .hero-actions .button,
  .toolbar button {
    width: 100%;
  }

  .next-event-panel,
  .event-card,
  .project-card,
  .resource-card,
  .track-card,
  .post-card,
  .team-card,
  .partner-card,
  .content-block,
  .verify-result,
  .contact-form,
  .verify-form {
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

.event-card,
.project-card,
.resource-card,
.track-card,
.post-card,
.partner-card,
.content-block,
.feature-item,
.value-item {
  transition: border-color 160ms var(--ease-standard), background-color 160ms var(--ease-standard), box-shadow 160ms var(--ease-standard);
}

.event-card:hover,
.project-card:hover,
.resource-card:hover,
.track-card:hover,
.post-card:hover,
.partner-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 4px 10px rgba(24, 32, 28, 0.08);
}

.button:active,
.filter-button:active {
  transform: translateY(1px);
}

@media (min-width: 981px) {
  .feature-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: stretch;
  }

  .feature-item:nth-child(1) {
    grid-column: span 5;
    border-top-color: var(--mint);
  }

  .feature-item:nth-child(2) {
    grid-column: span 3;
  }

  .feature-item:nth-child(3) {
    grid-column: span 4;
  }

  .feature-item:nth-child(4),
  .feature-item:nth-child(5),
  .feature-item:nth-child(6) {
    grid-column: span 4;
  }

  .project-grid .project-card:first-child {
    grid-column: span 2;
    display: grid;
    align-content: start;
  }
}

/* Redesigned homepage layout */
.simplified-hero {
  padding: clamp(2.8rem, 5.5vw, 4.9rem) 0 clamp(2.5rem, 4vw, 3.6rem);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.simplified-hero .hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.45fr);
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: stretch;
}

.simplified-hero .hero-copy {
  align-self: center;
}

.simplified-hero h1 {
  max-width: 920px;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5vw, 5.25rem);
}

.simplified-hero .lede {
  max-width: 710px;
  margin-bottom: 1.35rem;
  color: #2f3b34;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.hero-tertiary {
  margin-left: 0.15rem;
}

.hero-stack {
  display: grid;
  grid-template-rows: auto auto;
  gap: 1rem;
  min-width: 0;
}

.event-ticket {
  border-left: 4px solid var(--mint);
  border-color: var(--line-strong);
  box-shadow: none;
}

.event-ticket h2 {
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
}

.panel-kicker {
  margin-bottom: 0.65rem;
  color: var(--amber);
  font-weight: 800;
}

.compact-event-meta {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0;
}

.compact-event-meta div {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}

.compact-event-meta dt {
  color: var(--muted);
  font-weight: 700;
}

.compact-event-meta dd {
  margin: 0.15rem 0 0;
  color: var(--ink);
}

.identity-board {
  display: grid;
  align-content: center;
  gap: 1.2rem;
  min-height: 150px;
  border: 1px solid #223229;
  border-radius: var(--radius);
  background: var(--graphite);
  color: #fff;
  padding: 1.15rem;
}

.identity-board img {
  width: min(300px, 100%);
  margin: 0 auto;
}

.identity-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 0.9rem;
  color: #d6e0da;
  font-weight: 700;
}

.proof-band {
  padding: 0;
  background: #eef4ef;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: stretch;
}

.proof-title {
  display: flex;
  align-items: center;
  margin: 0;
  border-right: 1px solid var(--line-strong);
  padding: 1rem 1.15rem 1rem 0;
  color: #2f3b34;
  font-weight: 800;
}

.proof-band .stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.proof-band .stat-item {
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 1rem 1.25rem;
  color: var(--ink);
}

.proof-band .stat-item:last-child {
  border-right: 0;
}

.proof-band .stat-item strong {
  display: block;
  color: var(--graphite);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1;
}

.proof-band .stat-item span {
  display: block;
  margin-top: 0.35rem;
  color: #405047;
  font-weight: 700;
}

.path-band {
  padding: clamp(2.7rem, 5vw, 4.2rem) 0;
  background: var(--surface);
}

.path-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
}

.path-copy {
  position: sticky;
  top: 112px;
}

.path-copy p {
  max-width: 360px;
}

.path-list {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.path-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 1.08rem 0 1.08rem 0.85rem;
  transition: background-color 160ms var(--ease-standard), border-color 160ms var(--ease-standard);
}

.path-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--mint);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 220ms var(--ease-out-quart);
}

.path-item:hover,
.path-item:focus-within {
  background: #f6f7f3;
  border-bottom-color: var(--line-strong);
}

.path-item:hover::before,
.path-item:focus-within::before {
  transform: scaleY(1);
}

.path-number {
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.path-item h3,
.path-item p {
  margin: 0;
}

.path-item h3 {
  font-size: 1.14rem;
}

.path-item .text-link {
  justify-self: end;
}

.home-activity {
  padding: clamp(2.7rem, 5vw, 4.2rem) 0;
}

.activity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 1.25rem;
  align-items: start;
}

.activity-primary {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.compact-intro {
  margin-bottom: 0;
  padding: 1.15rem 1.25rem 0.95rem;
}

.compact-intro p {
  margin-bottom: 0;
}

.activity-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.activity-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem;
  transition: background-color 160ms var(--ease-standard);
}

.activity-row:last-child {
  border-bottom: 0;
}

.activity-row:hover,
.activity-row:focus-within {
  background: #f6f7f3;
}

.activity-row time {
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.activity-row h3,
.activity-row p {
  margin: 0;
}

.activity-row a {
  justify-self: end;
  color: var(--mint);
  font-weight: 800;
}

.builder-board {
  border: 1px solid #223229;
  border-radius: var(--radius);
  background: var(--graphite);
  color: #fff;
  padding: 1.05rem 1.1rem;
}

.builder-board h2 {
  margin-bottom: 0.4rem;
  font-size: 1.12rem;
}

.builder-board p {
  color: #d6e0da;
}

.board-list article {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.95rem 0;
}

.board-list article:last-child {
  padding-bottom: 0;
}

.board-list h3,
.board-list p {
  margin-bottom: 0.35rem;
}

.builder-board .text-link,
.builder-board .mini-link-list a {
  color: #9ee4d2;
}

.mini-link-list {
  display: grid;
  gap: 0.35rem;
}

.mini-link-list a {
  color: var(--blue);
  font-weight: 700;
}

.slim-cta {
  padding: 2.8rem 0;
}

@media (max-width: 760px) {
  .event-card.has-image {
    grid-template-columns: 1fr;
  }

  .event-card-image {
    aspect-ratio: 16 / 9;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 980px) {
  .simplified-hero .hero-grid,
  .path-layout,
  .activity-grid,
  .proof-layout {
    grid-template-columns: 1fr;
  }

  .path-copy {
    position: static;
  }

  .proof-title {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  .simplified-hero h1 {
    font-size: clamp(2.2rem, 11vw, 2.7rem);
  }

  .identity-board {
    display: none;
  }

  .proof-band .stats-grid {
    grid-template-columns: 1fr;
  }

  .proof-band .stat-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-band .stat-item:last-child {
    border-bottom: 0;
  }

  .path-item {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .path-item .text-link {
    grid-column: 2;
    justify-self: start;
  }

  .activity-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .activity-row a {
    justify-self: start;
  }

  .identity-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .simplified-hero {
    padding: 2.6rem 0 2.3rem;
  }

  .hero-stack {
    gap: 0.85rem;
  }

  .identity-board {
    min-height: 145px;
  }

  .path-band,
  .home-activity {
    padding: 2.4rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .path-item,
  .path-item::before,
  .activity-row {
    transition: none;
  }
}

/* Purposeful motion layer */
.button,
.filter-button,
.text-link,
.nav-toggle,
input,
select,
textarea,
.faq-list summary,
.verify-result {
  transition-timing-function: var(--ease-standard);
}

.button,
.filter-button {
  position: relative;
  overflow: hidden;
  transition: background-color 160ms var(--ease-standard), border-color 160ms var(--ease-standard), color 160ms var(--ease-standard), transform 130ms var(--ease-standard), box-shadow 180ms var(--ease-standard);
}

.button::after,
.filter-button::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  bottom: 0.48rem;
  left: 0.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: left;
  transition: opacity 160ms var(--ease-standard), transform 220ms var(--ease-out-quart);
  pointer-events: none;
}

.button:hover::after,
.button:focus-visible::after,
.filter-button:hover::after,
.filter-button:focus-visible::after {
  opacity: 0.28;
  transform: scaleX(1);
}

.is-pressing {
  animation: press-confirm 170ms var(--ease-out-quint) both;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

html.motion-ok .simplified-hero .hero-copy h1 {
  --hero-delay: 40ms;
}

html.motion-ok .simplified-hero .hero-copy .lede {
  --hero-delay: 130ms;
}

html.motion-ok .simplified-hero .hero-copy .hero-actions {
  --hero-delay: 220ms;
}

html.motion-ok .simplified-hero .hero-copy > * {
  animation: hero-copy-in 620ms var(--ease-out-expo) both;
  animation-delay: var(--hero-delay, 0ms);
}

.event-ticket {
  overflow: hidden;
  position: relative;
}

.event-ticket::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
}

html.motion-ok .event-ticket {
  animation: event-ticket-in 560ms var(--ease-out-quart) 120ms both;
}

html.motion-ok .event-ticket::after {
  animation: ticket-scan 720ms var(--ease-out-quint) 520ms both;
}

html.motion-ok .identity-board {
  animation: identity-board-in 520ms var(--ease-out-quart) 260ms both;
}

html.motion-ok .reveal-item {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 520ms var(--ease-out-quart), transform 520ms var(--ease-out-quart), border-color 160ms var(--ease-standard), background-color 160ms var(--ease-standard);
  transition-delay: calc(var(--reveal-index, 0) * 42ms);
  will-change: opacity, transform;
}

html.motion-ok .reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.motion-ok .proof-title.reveal-item,
html.motion-ok .proof-band .stat-item.reveal-item {
  transform: translate3d(-10px, 0, 0);
}

html.motion-ok .proof-title.reveal-item.is-visible,
html.motion-ok .proof-band .stat-item.reveal-item.is-visible {
  transform: translate3d(0, 0, 0);
}

html.motion-ok .path-item.reveal-item,
html.motion-ok .activity-row.reveal-item,
html.motion-ok .builder-board .board-list article.reveal-item {
  transform: translate3d(10px, 0, 0);
}

html.motion-ok .path-item.reveal-item.is-visible,
html.motion-ok .activity-row.reveal-item.is-visible,
html.motion-ok .builder-board .board-list article.reveal-item.is-visible {
  transform: translate3d(0, 0, 0);
}

.proof-band .stat-item,
.board-list article {
  position: relative;
  overflow: hidden;
}

.proof-band .stat-item::after,
.board-list article::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--mint);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 360ms var(--ease-out-quart);
}

.proof-band .stat-item.is-visible::after,
.board-list article:hover::before,
.board-list article:focus-within::before {
  transform: scaleY(1);
}

.path-number,
.activity-row a,
.path-item .text-link,
.mini-link-list a,
.card-links a {
  transition: color 160ms var(--ease-standard), transform 180ms var(--ease-out-quart), text-decoration-color 160ms var(--ease-standard);
}

.path-item:hover .path-number,
.path-item:focus-within .path-number,
.activity-row:hover a,
.activity-row:focus-within a,
.board-list article:hover .text-link,
.board-list article:focus-within .text-link {
  transform: translate3d(2px, 0, 0);
}

input,
select,
textarea {
  transition: border-color 160ms var(--ease-standard), box-shadow 160ms var(--ease-standard), background-color 160ms var(--ease-standard);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(15, 143, 114, 0.12);
}

.contact-form,
.verify-form,
.verify-result {
  transition: border-color 180ms var(--ease-standard), background-color 180ms var(--ease-standard), box-shadow 180ms var(--ease-standard);
}

.contact-form:focus-within,
.verify-form:focus-within {
  border-color: var(--line-strong);
}

.faq-list summary {
  transition: color 160ms var(--ease-standard);
}

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

.faq-list details[open] p {
  animation: details-copy-in 220ms var(--ease-out-quart) both;
}

.verify-result.valid h2,
.verify-result.revoked h2,
.verify-result.invalid h2,
.verify-result.error h2 {
  animation: result-settle 260ms var(--ease-out-quart) both;
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes event-ticket-in {
  from {
    opacity: 0;
    transform: translate3d(18px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes ticket-scan {
  0% {
    transform: scaleX(0);
  }
  48% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0.18);
  }
}

@keyframes identity-board-in {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes press-confirm {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  45% {
    transform: translate3d(0, 1px, 0) scale(0.985);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes details-copy-in {
  from {
    opacity: 0;
    transform: translate3d(0, -4px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes result-settle {
  from {
    opacity: 0.72;
    transform: translate3d(0, 4px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.motion-ok .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }

  .event-ticket::after,
  .proof-band .stat-item::after,
  .board-list article::before {
    transition: none !important;
    animation: none !important;
  }
}

/* Design-taste refinement layer */
.card-links a,
.mini-link-list a,
.timeline time,
.context-line {
  color: var(--mint);
}

.path-number,
.activity-row time,
.panel-kicker {
  color: var(--graphite);
}

.field-block {
  display: grid;
  gap: 0.38rem;
}

.field-help {
  color: #66736b;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
}

.field-error {
  color: #8a2f42;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

[aria-invalid="true"] {
  border-color: #a04452;
  background: #fffafa;
}

[aria-invalid="true"]:focus {
  border-color: #8a2f42;
  box-shadow: 0 0 0 3px rgba(138, 47, 66, 0.11);
}

.consent-row span:not(.field-error) {
  color: var(--muted);
}

.consent-row .field-error {
  grid-column: 2;
}

.button:disabled,
button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.contact-form.is-submitting {
  border-color: var(--line-strong);
}

.verify-form.is-loading {
  border-color: var(--line-strong);
}

.skeleton-lines {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.skeleton-lines span {
  position: relative;
  display: block;
  overflow: hidden;
  height: 14px;
  border-radius: 6px;
  background: #e7eee9;
}

.skeleton-lines span:nth-child(2) {
  width: 78%;
}

.skeleton-lines span:nth-child(3) {
  width: 54%;
}

.skeleton-lines span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: translate3d(-100%, 0, 0);
  animation: skeleton-sweep 1.2s var(--ease-standard) infinite;
}

@media (min-width: 981px) {
  .track-grid,
  .resource-grid,
  .project-grid,
  .team-grid,
  .partner-grid,
  .department-grid,
  .value-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .track-card,
  .resource-card,
  .team-card,
  .partner-card,
  .department-grid .content-block,
  .value-item {
    grid-column: span 4;
  }

  .track-card:nth-child(1),
  .track-card:nth-child(4),
  .resource-card:nth-child(1),
  .resource-card:nth-child(5),
  .team-card:nth-child(1),
  .partner-card:nth-child(1),
  .value-item:nth-child(1),
  .value-item:nth-child(6) {
    grid-column: span 5;
  }

  .track-card:nth-child(2),
  .track-card:nth-child(5),
  .resource-card:nth-child(2),
  .resource-card:nth-child(4),
  .team-card:nth-child(2),
  .partner-card:nth-child(2),
  .value-item:nth-child(2),
  .value-item:nth-child(5) {
    grid-column: span 3;
  }

  .project-card {
    grid-column: span 4;
  }

  .project-grid .project-card:first-child {
    grid-column: span 7;
  }

  .project-card:nth-child(2) {
    grid-column: span 5;
  }
}

html.motion-ok .identity-board img {
  animation: brand-mark-breathe 5.4s var(--ease-standard) infinite;
}

@keyframes skeleton-sweep {
  from {
    transform: translate3d(-100%, 0, 0);
  }
  to {
    transform: translate3d(100%, 0, 0);
  }
}

@keyframes brand-mark-breathe {
  0%, 100% {
    opacity: 0.94;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate3d(0, -1px, 0) scale(1.012);
  }
}

@media (max-width: 980px) {
  .field-help,
  .field-error {
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-lines span::after,
  html.motion-ok .identity-board img {
    animation: none !important;
    transform: none !important;
  }
}

/* High-end visual design pass */
:root {
  --paper: #fbfcfb;
  --tray: #eef3ef;
  --hairline: rgba(23, 33, 29, 0.11);
  --inner-highlight: rgba(255, 255, 255, 0.78);
  --agency-ease: cubic-bezier(0.32, 0.72, 0, 1);
}

body {
  background: var(--paper);
  font-family: "Satoshi", "Geist", "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.34;
  background-image: repeating-linear-gradient(0deg, rgba(23, 33, 29, 0.025) 0 1px, transparent 1px 5px);
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.scroll-sentinel {
  position: absolute;
  top: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 12px;
  width: min(100% - 32px, var(--max));
  min-height: 78px;
  margin: 12px auto 0;
  padding: 0.55rem 0.78rem 0.55rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: rgba(251, 252, 251, 0.9);
  box-shadow: inset 0 1px 0 var(--inner-highlight), 0 16px 42px rgba(23, 33, 29, 0.07);
  transition: background-color 420ms var(--agency-ease), box-shadow 420ms var(--agency-ease), border-color 420ms var(--agency-ease);
}

body.is-scrolled .site-header {
  border-bottom-color: var(--hairline);
  background: rgba(251, 252, 251, 0.96);
  box-shadow: inset 0 1px 0 var(--inner-highlight), 0 18px 46px rgba(23, 33, 29, 0.1);
}

.brand img {
  width: min(315px, 68vw);
}

.primary-nav {
  gap: 0.08rem;
  border: 1px solid rgba(23, 33, 29, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  padding: 0.24rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.primary-nav a {
  min-height: 38px;
  border-radius: 7px;
  padding: 0.48rem 0.64rem;
  transition: color 260ms var(--agency-ease), background-color 260ms var(--agency-ease), transform 260ms var(--agency-ease);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: rgba(23, 33, 29, 0.07);
  transform: translate3d(0, -1px, 0);
}

.primary-nav .nav-join {
  margin-left: 0.18rem;
  background: var(--graphite);
}

.nav-toggle {
  position: relative;
  border-color: var(--hairline);
  box-shadow: inset 0 1px 0 var(--inner-highlight);
}

.hero-band {
  margin-top: -90px;
  padding-top: clamp(8.4rem, 14vw, 12rem);
}

.simplified-hero {
  background: var(--paper);
  border-bottom: 0;
}

.simplified-hero .hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.52fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
}

.simplified-hero h1 {
  max-width: 880px;
  letter-spacing: -0.03em;
}

.simplified-hero .lede {
  max-width: 650px;
}

.button {
  gap: 0.68rem;
  padding-right: 0.72rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.button span:first-child {
  display: inline-flex;
  align-items: center;
}

.button-mark {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transition: transform 420ms var(--agency-ease), background-color 420ms var(--agency-ease);
}

.button.secondary .button-mark {
  background: rgba(23, 33, 29, 0.07);
}

.button-mark svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover .button-mark,
.button:focus-visible .button-mark {
  transform: translate3d(2px, -1px, 0) scale(1.04);
}

.button:active {
  transform: translate3d(0, 1px, 0) scale(0.985);
}

.next-event-panel,
.identity-board,
.activity-primary,
.builder-board,
.event-card,
.project-card,
.resource-card,
.track-card,
.team-card,
.partner-card,
.post-card,
.content-block,
.contact-form,
.verify-form,
.verify-result,
.empty-state {
  position: relative;
  border-color: var(--hairline);
  box-shadow: inset 0 1px 0 var(--inner-highlight), 0 18px 44px rgba(23, 33, 29, 0.055);
}

.next-event-panel::before,
.identity-board::before,
.activity-primary::before,
.builder-board::before,
.event-card::before,
.project-card::before,
.resource-card::before,
.track-card::before,
.team-card::before,
.partner-card::before,
.post-card::before,
.content-block::before,
.contact-form::before,
.verify-form::before,
.verify-result::before,
.empty-state::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: calc(var(--radius) - 2px);
  pointer-events: none;
}

.identity-board,
.builder-board {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 22px 52px rgba(23, 33, 29, 0.13);
}

.proof-band {
  background: var(--tray);
  border-color: var(--hairline);
}

.proof-title,
.proof-band .stat-item {
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
}

.path-band,
.home-activity,
.band {
  padding-top: clamp(4rem, 7vw, 7.25rem);
  padding-bottom: clamp(4rem, 7vw, 7.25rem);
}

.path-list,
.activity-list,
.timeline {
  border-color: var(--hairline);
}

.path-item,
.activity-row,
.timeline div,
.board-list article {
  transition: background-color 520ms var(--agency-ease), border-color 520ms var(--agency-ease), transform 520ms var(--agency-ease);
}

.path-item:hover,
.path-item:focus-within,
.activity-row:hover,
.activity-row:focus-within {
  transform: translate3d(3px, 0, 0);
}

.final-cta {
  background: #17211d;
}

.site-footer {
  margin-top: 0;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 76px;
  }

  .primary-nav {
    inset: 0;
    padding: 7rem 1rem 1.5rem;
    border: 0;
    border-radius: 0;
    background: rgba(251, 252, 251, 0.96);
    box-shadow: none;
  }

  body.nav-open .primary-nav a {
    animation: nav-link-lift 520ms var(--agency-ease) both;
    animation-delay: calc(var(--nav-index, 0) * 42ms);
  }

  .hero-band {
    margin-top: -88px;
    padding-top: 8.2rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 24px, var(--max));
    padding-left: 0.72rem;
  }

  .brand img {
    width: min(255px, 68vw);
  }

  .path-band,
  .home-activity,
  .band {
    padding-top: 3.1rem;
    padding-bottom: 3.1rem;
  }

  .next-event-panel,
  .activity-primary,
  .builder-board,
  .event-card,
  .project-card,
  .resource-card,
  .track-card,
  .team-card,
  .partner-card,
  .post-card,
  .content-block,
  .contact-form,
  .verify-form,
  .verify-result,
  .empty-state {
    box-shadow: inset 0 1px 0 var(--inner-highlight), 0 10px 24px rgba(23, 33, 29, 0.045);
  }
}

@keyframes nav-link-lift {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.nav-open .primary-nav a {
    animation: none !important;
  }
}

/* High-end mobile QA fixes */
.site-header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.button-mark {
  flex: 0 0 30px;
}

.button span:first-child {
  min-width: 0;
}

@media (max-width: 980px) {
  .primary-nav {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    align-content: start;
  }
}

@media (max-width: 640px) {
  .hero-actions > .button {
    width: 100% !important;
    flex: 0 0 100%;
  }
}

@media (max-width: 640px) {
  .hero-band {
    padding-top: 5.8rem;
  }

  .simplified-hero {
    padding-bottom: 1.25rem;
  }

  .simplified-hero h1 {
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 0.75rem;
  }

  .simplified-hero .lede {
    margin-bottom: 0.9rem;
    font-size: 1rem;
  }

  .simplified-hero .hero-actions {
    gap: 0.7rem;
  }

  .simplified-hero .hero-actions > .button {
    width: auto !important;
    flex: 0 1 auto;
  }

  .event-ticket {
    padding: 0.75rem;
  }

  .event-ticket .panel-kicker {
    display: none;
  }

  .hero-stack {
    gap: 0.65rem;
  }

  .event-ticket h2 {
    font-size: 1.08rem;
  }

  .compact-event-meta {
    gap: 0.5rem;
    margin: 0.7rem 0;
  }

  .compact-event-meta div {
    padding-top: 0.55rem;
  }
}

@media (max-width: 980px) {
  .simplified-hero .hero-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .simplified-hero .hero-copy,
  .hero-copy,
  .hero-stack {
    width: 100%;
    min-width: 0;
  }
}


/* Theme system */
.brand .brand-logo-dark {
  display: none;
}

.header-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.45rem;
}

.theme-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  padding: 0;
  cursor: pointer;
  box-shadow: inset 0 1px 0 var(--inner-highlight);
  transition: border-color 260ms var(--agency-ease), background-color 260ms var(--agency-ease), transform 180ms var(--agency-ease), box-shadow 260ms var(--agency-ease);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--line-strong);
  transform: translate3d(0, -1px, 0);
}

.theme-toggle-track {
  position: relative;
  width: 34px;
  height: 22px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--tray);
  box-shadow: inset 0 1px 2px rgba(23, 33, 29, 0.12);
  transition: border-color 300ms var(--agency-ease), background-color 300ms var(--agency-ease), box-shadow 300ms var(--agency-ease);
}

.theme-toggle-orb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--graphite);
  box-shadow: 0 2px 8px rgba(23, 33, 29, 0.18);
  transition: transform 360ms var(--agency-ease), background-color 300ms var(--agency-ease), box-shadow 300ms var(--agency-ease);
}

.theme-toggle[aria-pressed="true"] .theme-toggle-orb {
  transform: translate3d(12px, 0, 0);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101214;
  --surface: #111a15;
  --surface-alt: #0f1713;
  --ink: #edf7f1;
  --muted: #aebdb4;
  --line: rgba(231, 242, 235, 0.12);
  --line-strong: rgba(231, 242, 235, 0.24);
  --mint: #78d8c1;
  --blue: #afc4b8;
  --amber: #d1b879;
  --magenta: #d89aad;
  --purple: #bbb2c8;
  --graphite: #17211d;
  --focus: #78d8c1;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  --paper: #101214;
  --tray: #101914;
  --hairline: rgba(232, 243, 236, 0.13);
  --inner-highlight: rgba(255, 255, 255, 0.075);
}

html[data-theme="dark"] body {
  background: linear-gradient(135deg, #101214 0%, #101914 54%, #0c130f 100%);
}

html[data-theme="dark"] body::before {
  opacity: 0.38;
  background-image: repeating-linear-gradient(0deg, rgba(232, 243, 236, 0.032) 0 1px, transparent 1px 5px);
}

html[data-theme="dark"] .brand .brand-logo-light {
  display: none;
}

html[data-theme="dark"] .brand .brand-logo-dark {
  display: block;
}

html[data-theme="dark"] code {
  background: rgba(232, 243, 236, 0.06);
  border-color: var(--line);
}

html[data-theme="dark"] .site-header {
  background: rgba(12, 18, 15, 0.93);
  box-shadow: inset 0 1px 0 var(--inner-highlight), 0 18px 48px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] body.is-scrolled .site-header {
  background: rgba(12, 18, 15, 0.97);
  box-shadow: inset 0 1px 0 var(--inner-highlight), 0 18px 52px rgba(0, 0, 0, 0.46);
}

html[data-theme="dark"] .primary-nav,
html[data-theme="dark"] .theme-toggle {
  background: rgba(17, 26, 21, 0.78);
  border-color: var(--hairline);
  box-shadow: inset 0 1px 0 var(--inner-highlight);
}

html[data-theme="dark"] .primary-nav a:hover,
html[data-theme="dark"] .primary-nav a[aria-current="page"] {
  background: rgba(232, 243, 236, 0.08);
  color: var(--ink);
}

html[data-theme="dark"] .primary-nav .nav-join,
html[data-theme="dark"] .button.primary,
html[data-theme="dark"] .filter-button.active,
html[data-theme="dark"] .filter-button:hover {
  background: var(--mint);
  color: #08110e;
}

html[data-theme="dark"] .button.primary:hover,
html[data-theme="dark"] .primary-nav .nav-join:hover {
  background: #9be8d5;
  color: #08110e;
}

html[data-theme="dark"] .button.secondary,
html[data-theme="dark"] .filter-button {
  background: rgba(232, 243, 236, 0.045);
  border-color: var(--line-strong);
  color: var(--ink);
}

html[data-theme="dark"] .button.secondary:hover {
  color: var(--mint);
}

html[data-theme="dark"] .button-mark,
html[data-theme="dark"] .button.secondary .button-mark {
  background: rgba(8, 17, 14, 0.2);
}

html[data-theme="dark"] .theme-toggle-track {
  background: rgba(232, 243, 236, 0.065);
  border-color: var(--line-strong);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .theme-toggle-orb {
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(120, 216, 193, 0.14), 0 4px 14px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .lede,
html[data-theme="dark"] .simplified-hero .lede,
html[data-theme="dark"] .field-help,
html[data-theme="dark"] .next-step,
html[data-theme="dark"] .track-name,
html[data-theme="dark"] .role,
html[data-theme="dark"] .terms-note,
html[data-theme="dark"] .article-meta,
html[data-theme="dark"] .proof-band .stat-item span {
  color: #c3d3c9;
}

html[data-theme="dark"] .card-topline span,
html[data-theme="dark"] .chip {
  background: rgba(232, 243, 236, 0.055);
  color: #cfddd4;
  border-color: var(--line);
}

html[data-theme="dark"] .next-event-panel,
html[data-theme="dark"] .activity-primary,
html[data-theme="dark"] .event-card,
html[data-theme="dark"] .project-card,
html[data-theme="dark"] .resource-card,
html[data-theme="dark"] .track-card,
html[data-theme="dark"] .team-card,
html[data-theme="dark"] .partner-card,
html[data-theme="dark"] .post-card,
html[data-theme="dark"] .content-block,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .verify-form,
html[data-theme="dark"] .verify-result,
html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .faq-list details,
html[data-theme="dark"] .value-item {
  background: rgba(17, 26, 21, 0.9);
  border-color: var(--hairline);
  box-shadow: inset 0 1px 0 var(--inner-highlight), 0 20px 48px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .next-event-panel::before,
html[data-theme="dark"] .identity-board::before,
html[data-theme="dark"] .activity-primary::before,
html[data-theme="dark"] .builder-board::before,
html[data-theme="dark"] .event-card::before,
html[data-theme="dark"] .project-card::before,
html[data-theme="dark"] .resource-card::before,
html[data-theme="dark"] .track-card::before,
html[data-theme="dark"] .team-card::before,
html[data-theme="dark"] .partner-card::before,
html[data-theme="dark"] .post-card::before,
html[data-theme="dark"] .content-block::before,
html[data-theme="dark"] .contact-form::before,
html[data-theme="dark"] .verify-form::before,
html[data-theme="dark"] .verify-result::before,
html[data-theme="dark"] .empty-state::before {
  border-color: rgba(255, 255, 255, 0.07);
}

html[data-theme="dark"] .feature-item {
  background: rgba(232, 243, 236, 0.04);
}

html[data-theme="dark"] .proof-band {
  background: #101914;
  border-color: var(--hairline);
}

html[data-theme="dark"] .proof-title,
html[data-theme="dark"] .proof-band .stat-item,
html[data-theme="dark"] .proof-band .stat-item strong {
  color: var(--ink);
}

html[data-theme="dark"] .path-band,
html[data-theme="dark"] .alt-band,
html[data-theme="dark"] .home-activity,
html[data-theme="dark"] .page-heading,
html[data-theme="dark"] .simplified-hero,
html[data-theme="dark"] .band {
  background: transparent;
}

html[data-theme="dark"] .path-item:hover,
html[data-theme="dark"] .path-item:focus-within,
html[data-theme="dark"] .activity-row:hover,
html[data-theme="dark"] .activity-row:focus-within {
  background: rgba(232, 243, 236, 0.045);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background: rgba(8, 17, 14, 0.58);
  border-color: var(--line-strong);
  color: var(--ink);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: rgba(195, 211, 201, 0.58);
}

html[data-theme="dark"] [aria-invalid="true"] {
  background: rgba(120, 31, 55, 0.14);
  border-color: #d89aad;
}

html[data-theme="dark"] [aria-invalid="true"]:focus {
  border-color: #e9b7c5;
  box-shadow: 0 0 0 3px rgba(216, 154, 173, 0.14);
}

html[data-theme="dark"] .field-error {
  color: #e9b7c5;
}

html[data-theme="dark"] .skeleton-lines span {
  background: rgba(232, 243, 236, 0.08);
}

html[data-theme="dark"] .skeleton-lines span::after {
  background: linear-gradient(90deg, transparent, rgba(232, 243, 236, 0.18), transparent);
}

html[data-theme="dark"] .identity-board,
html[data-theme="dark"] .builder-board,
html[data-theme="dark"] .final-cta,
html[data-theme="dark"] .site-footer {
  background: #08110e;
  border-color: var(--hairline);
}

html[data-theme="dark"] .identity-board,
html[data-theme="dark"] .builder-board {
  box-shadow: inset 0 1px 0 var(--inner-highlight), 0 24px 56px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .identity-meta,
html[data-theme="dark"] .board-list article,
html[data-theme="dark"] .footer-note {
  border-color: rgba(232, 243, 236, 0.14);
}

html[data-theme="dark"] .final-cta p,
html[data-theme="dark"] .site-footer p,
html[data-theme="dark"] .site-footer a,
html[data-theme="dark"] .builder-board p,
html[data-theme="dark"] .identity-meta {
  color: #c7d7cd;
}

html[data-theme="dark"] .final-cta .button.primary {
  background: var(--mint);
  color: #08110e;
}

html[data-theme="dark"] .final-cta .button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(232, 243, 236, 0.28);
}

@media (max-width: 980px) {
  html[data-theme="dark"] .primary-nav {
    background: rgba(8, 17, 14, 0.98);
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 0.75rem;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
  }

  .brand img {
    width: min(225px, 60vw);
  }
}

@media (max-width: 360px) {
  .brand img {
    width: min(205px, 52vw);
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }
}

/* Color theory palette rebuild */
:root {
  color-scheme: light;
  --bg: #f6f7f3;
  --surface: #ffffff;
  --surface-alt: #ecefea;
  --ink: #191d22;
  --muted: #58616b;
  --line: #d8ddd6;
  --line-strong: #b9c2bb;
  --mint: #9b4817;
  --blue: #596673;
  --amber: #9b4817;
  --magenta: #8a2f42;
  --purple: #67616d;
  --graphite: #191d22;
  --focus: #9b4817;
  --shadow: 0 18px 42px rgba(25, 29, 34, 0.07);
  --paper: #f6f7f3;
  --tray: #e8ebe6;
  --hairline: rgba(25, 29, 34, 0.12);
  --inner-highlight: rgba(255, 255, 255, 0.84);
}

body {
  background: linear-gradient(180deg, #f9faf7 0%, #f4f6f1 52%, #eef1ec 100%);
}

body::before {
  opacity: 0.24;
  background-image: repeating-linear-gradient(0deg, rgba(25, 29, 34, 0.024) 0 1px, transparent 1px 5px);
}

a {
  text-decoration-color: rgba(155, 72, 23, 0.36);
}

a:hover,
.text-link,
.card-links a,
.mini-link-list a,
.timeline time,
.context-line,
.path-number,
.activity-row time,
.panel-kicker {
  color: var(--mint);
}

code {
  background: #eef0ec;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline-color: rgba(155, 72, 23, 0.42);
}

.site-header {
  background: rgba(249, 250, 247, 0.93);
  box-shadow: inset 0 1px 0 var(--inner-highlight), 0 18px 44px rgba(25, 29, 34, 0.075);
}

body.is-scrolled .site-header {
  background: rgba(249, 250, 247, 0.98);
  box-shadow: inset 0 1px 0 var(--inner-highlight), 0 20px 48px rgba(25, 29, 34, 0.1);
}

.primary-nav {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(25, 29, 34, 0.09);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: #efe7df;
  color: var(--ink);
}

.primary-nav .nav-join,
.button.primary,
.filter-button.active,
.filter-button:hover {
  background: var(--mint);
  color: #ffffff;
}

.primary-nav .nav-join:hover,
.button.primary:hover {
  background: #7f3a12;
  color: #ffffff;
}

.button.secondary,
.filter-button {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line-strong);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.button.secondary .button-mark {
  background: #f1e7df;
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.86);
}

.theme-toggle-track {
  background: #e6e9e4;
}

.theme-toggle-orb {
  background: var(--mint);
}

.simplified-hero,
.hero-band,
.page-heading,
.path-band {
  background: transparent;
}

.simplified-hero .lede,
.lede {
  color: #424b54;
}

.card-topline span,
.chip {
  background: #f5eee7;
  border-color: #e6d6c8;
  color: #5e4b3f;
}

.next-event-panel,
.activity-primary,
.event-card,
.project-card,
.resource-card,
.track-card,
.team-card,
.partner-card,
.post-card,
.content-block,
.contact-form,
.verify-form,
.verify-result,
.empty-state,
.faq-list details,
.value-item {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--hairline);
  box-shadow: inset 0 1px 0 var(--inner-highlight), 0 18px 44px rgba(25, 29, 34, 0.06);
}

.next-event-panel::before,
.identity-board::before,
.activity-primary::before,
.builder-board::before,
.event-card::before,
.project-card::before,
.resource-card::before,
.track-card::before,
.team-card::before,
.partner-card::before,
.post-card::before,
.content-block::before,
.contact-form::before,
.verify-form::before,
.verify-result::before,
.empty-state::before {
  border-color: rgba(255, 255, 255, 0.68);
}

.feature-item {
  background: rgba(255, 255, 255, 0.54);
}

.event-ticket {
  border-left-color: var(--mint);
}

.proof-band {
  background: #e8ebe6;
  border-color: var(--hairline);
}

.proof-title,
.proof-band .stat-item strong {
  color: var(--ink);
}

.proof-band .stat-item span,
.next-step,
.track-name,
.role,
.terms-note,
.article-meta,
.field-help {
  color: #59636b;
}

.path-item:hover,
.path-item:focus-within,
.activity-row:hover,
.activity-row:focus-within {
  background: #f3eee9;
}

.identity-board,
.builder-board,
.final-cta,
.site-footer {
  background: #191d22;
  border-color: rgba(255, 255, 255, 0.1);
}

.identity-board,
.builder-board {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 24px 56px rgba(25, 29, 34, 0.16);
}

.identity-meta,
.builder-board p,
.final-cta p,
.site-footer p,
.site-footer a {
  color: #d6dbd2;
}

.builder-board .text-link,
.builder-board .mini-link-list a {
  color: #efb178;
}

input,
select,
textarea {
  background: #ffffff;
  border-color: #b9c2bb;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(155, 72, 23, 0.13);
}

.field-error {
  color: var(--magenta);
}

[aria-invalid="true"] {
  border-color: #9f4657;
  background: #fff8f6;
}

[aria-invalid="true"]:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(138, 47, 66, 0.12);
}

.skeleton-lines span {
  background: #e2e6df;
}

.skeleton-lines span::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), transparent);
}

.final-cta .button.primary {
  background: #ffffff;
  color: var(--graphite);
}

.final-cta .button.primary:hover {
  background: #f5eee7;
  color: var(--graphite);
}

.final-cta .button.secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
}

.final-cta .button.secondary:hover {
  border-color: #efb178;
  color: #efb178;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101214;
  --surface: #171a1d;
  --surface-alt: #1d2023;
  --ink: #f2f3ed;
  --muted: #bac0b8;
  --line: rgba(242, 243, 237, 0.13);
  --line-strong: rgba(242, 243, 237, 0.25);
  --mint: #e0a063;
  --blue: #c7cbc4;
  --amber: #e0a063;
  --magenta: #ef9aad;
  --purple: #c5bdca;
  --graphite: #101214;
  --focus: #e0a063;
  --shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
  --paper: #101214;
  --tray: #202426;
  --hairline: rgba(242, 243, 237, 0.13);
  --inner-highlight: rgba(255, 255, 255, 0.075);
}

html[data-theme="dark"] body {
  background: linear-gradient(180deg, #101214 0%, #151719 54%, #101214 100%);
}

html[data-theme="dark"] body::before {
  opacity: 0.32;
  background-image: repeating-linear-gradient(0deg, rgba(242, 243, 237, 0.028) 0 1px, transparent 1px 5px);
}

html[data-theme="dark"] .site-header {
  background: rgba(20, 23, 25, 0.94);
  box-shadow: inset 0 1px 0 var(--inner-highlight), 0 20px 52px rgba(0, 0, 0, 0.36);
}

html[data-theme="dark"] body.is-scrolled .site-header {
  background: rgba(20, 23, 25, 0.98);
  box-shadow: inset 0 1px 0 var(--inner-highlight), 0 22px 56px rgba(0, 0, 0, 0.46);
}

html[data-theme="dark"] .primary-nav,
html[data-theme="dark"] .theme-toggle {
  background: rgba(30, 33, 35, 0.82);
  border-color: var(--hairline);
}

html[data-theme="dark"] .primary-nav a:hover,
html[data-theme="dark"] .primary-nav a[aria-current="page"] {
  background: rgba(224, 160, 99, 0.12);
  color: var(--ink);
}

html[data-theme="dark"] .primary-nav .nav-join,
html[data-theme="dark"] .button.primary,
html[data-theme="dark"] .filter-button.active,
html[data-theme="dark"] .filter-button:hover {
  background: var(--mint);
  color: #18120d;
}

html[data-theme="dark"] .button.primary:hover,
html[data-theme="dark"] .primary-nav .nav-join:hover {
  background: #efb880;
  color: #18120d;
}

html[data-theme="dark"] .button.secondary,
html[data-theme="dark"] .filter-button {
  background: rgba(242, 243, 237, 0.055);
  border-color: var(--line-strong);
  color: var(--ink);
}

html[data-theme="dark"] .button.secondary:hover {
  color: var(--mint);
}

html[data-theme="dark"] .button-mark,
html[data-theme="dark"] .button.secondary .button-mark {
  background: rgba(16, 18, 20, 0.36);
}

html[data-theme="dark"] .theme-toggle-track {
  background: rgba(242, 243, 237, 0.065);
  border-color: var(--line-strong);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .theme-toggle-orb {
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(224, 160, 99, 0.15), 0 4px 14px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .lede,
html[data-theme="dark"] .simplified-hero .lede,
html[data-theme="dark"] .field-help,
html[data-theme="dark"] .next-step,
html[data-theme="dark"] .track-name,
html[data-theme="dark"] .role,
html[data-theme="dark"] .terms-note,
html[data-theme="dark"] .article-meta,
html[data-theme="dark"] .proof-band .stat-item span {
  color: #c3c9c0;
}

html[data-theme="dark"] .card-topline span,
html[data-theme="dark"] .chip {
  background: rgba(224, 160, 99, 0.11);
  color: #f0d0b0;
  border-color: rgba(224, 160, 99, 0.25);
}

html[data-theme="dark"] .next-event-panel,
html[data-theme="dark"] .activity-primary,
html[data-theme="dark"] .event-card,
html[data-theme="dark"] .project-card,
html[data-theme="dark"] .resource-card,
html[data-theme="dark"] .track-card,
html[data-theme="dark"] .team-card,
html[data-theme="dark"] .partner-card,
html[data-theme="dark"] .post-card,
html[data-theme="dark"] .content-block,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .verify-form,
html[data-theme="dark"] .verify-result,
html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .faq-list details,
html[data-theme="dark"] .value-item {
  background: rgba(23, 26, 29, 0.94);
  border-color: var(--hairline);
  box-shadow: inset 0 1px 0 var(--inner-highlight), 0 20px 48px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .next-event-panel::before,
html[data-theme="dark"] .identity-board::before,
html[data-theme="dark"] .activity-primary::before,
html[data-theme="dark"] .builder-board::before,
html[data-theme="dark"] .event-card::before,
html[data-theme="dark"] .project-card::before,
html[data-theme="dark"] .resource-card::before,
html[data-theme="dark"] .track-card::before,
html[data-theme="dark"] .team-card::before,
html[data-theme="dark"] .partner-card::before,
html[data-theme="dark"] .post-card::before,
html[data-theme="dark"] .content-block::before,
html[data-theme="dark"] .contact-form::before,
html[data-theme="dark"] .verify-form::before,
html[data-theme="dark"] .verify-result::before,
html[data-theme="dark"] .empty-state::before {
  border-color: rgba(255, 255, 255, 0.07);
}

html[data-theme="dark"] .feature-item {
  background: rgba(242, 243, 237, 0.045);
}

html[data-theme="dark"] .proof-band {
  background: #1c2022;
  border-color: var(--hairline);
}

html[data-theme="dark"] .proof-title,
html[data-theme="dark"] .proof-band .stat-item,
html[data-theme="dark"] .proof-band .stat-item strong {
  color: var(--ink);
}

html[data-theme="dark"] .path-band,
html[data-theme="dark"] .alt-band,
html[data-theme="dark"] .home-activity,
html[data-theme="dark"] .page-heading,
html[data-theme="dark"] .simplified-hero,
html[data-theme="dark"] .band {
  background: transparent;
}

html[data-theme="dark"] .path-item:hover,
html[data-theme="dark"] .path-item:focus-within,
html[data-theme="dark"] .activity-row:hover,
html[data-theme="dark"] .activity-row:focus-within {
  background: rgba(224, 160, 99, 0.085);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background: #111416;
  border-color: var(--line-strong);
  color: var(--ink);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: rgba(195, 201, 192, 0.58);
}

html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(224, 160, 99, 0.14);
}

html[data-theme="dark"] [aria-invalid="true"] {
  background: rgba(108, 31, 47, 0.22);
  border-color: #ef9aad;
}

html[data-theme="dark"] [aria-invalid="true"]:focus {
  border-color: #ffc2cf;
  box-shadow: 0 0 0 3px rgba(239, 154, 173, 0.16);
}

html[data-theme="dark"] .field-error {
  color: #ffc2cf;
}

html[data-theme="dark"] .skeleton-lines span {
  background: rgba(242, 243, 237, 0.085);
}

html[data-theme="dark"] .skeleton-lines span::after {
  background: linear-gradient(90deg, transparent, rgba(242, 243, 237, 0.18), transparent);
}

html[data-theme="dark"] .identity-board,
html[data-theme="dark"] .builder-board,
html[data-theme="dark"] .final-cta,
html[data-theme="dark"] .site-footer {
  background: #0f1113;
  border-color: var(--hairline);
}

html[data-theme="dark"] .identity-meta,
html[data-theme="dark"] .board-list article,
html[data-theme="dark"] .footer-note {
  border-color: rgba(242, 243, 237, 0.14);
}

html[data-theme="dark"] .final-cta p,
html[data-theme="dark"] .site-footer p,
html[data-theme="dark"] .site-footer a,
html[data-theme="dark"] .builder-board p,
html[data-theme="dark"] .identity-meta {
  color: #c8cec5;
}

html[data-theme="dark"] .builder-board .text-link,
html[data-theme="dark"] .builder-board .mini-link-list a {
  color: #efb880;
}

html[data-theme="dark"] .final-cta .button.primary {
  background: var(--mint);
  color: #18120d;
}

html[data-theme="dark"] .final-cta .button.primary:hover {
  background: #efb880;
  color: #18120d;
}

html[data-theme="dark"] .final-cta .button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(242, 243, 237, 0.28);
}

html[data-theme="dark"] .final-cta .button.secondary:hover {
  border-color: var(--mint);
  color: var(--mint);
}

@media (max-width: 980px) {
  .primary-nav {
    background: rgba(249, 250, 247, 0.97);
  }

  html[data-theme="dark"] .primary-nav {
    background: rgba(15, 17, 19, 0.98);
  }
}

/* Dark stat strip final override */
html[data-theme="dark"] .proof-band {
  background: #1c2022;
  border-color: var(--hairline);
}

.team-structure {
  display: grid;
  gap: clamp(2rem, 4vw, 3.2rem);
}

.team-section .section-intro {
  margin-bottom: 1rem;
}

.team-section .section-intro h2 {
  margin-bottom: 0;
}

.team-source-note {
  max-width: 760px;
}

/* Final hero background treatment */
.simplified-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(620px, 78vh, 820px);
  color: #ffffff;
  border-bottom: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.93) 0%, rgba(8, 11, 13, 0.82) 42%, rgba(8, 11, 13, 0.46) 72%, rgba(8, 11, 13, 0.64) 100%),
    linear-gradient(180deg, rgba(8, 11, 13, 0.46) 0%, rgba(8, 11, 13, 0.12) 44%, rgba(8, 11, 13, 0.78) 100%),
    url('/media/hero-community-conference.jpg') center / cover no-repeat !important;
}

html[data-theme="dark"] .simplified-hero {
  background:
    linear-gradient(90deg, rgba(6, 8, 10, 0.94) 0%, rgba(6, 8, 10, 0.85) 42%, rgba(6, 8, 10, 0.52) 72%, rgba(6, 8, 10, 0.68) 100%),
    linear-gradient(180deg, rgba(6, 8, 10, 0.52) 0%, rgba(6, 8, 10, 0.16) 44%, rgba(6, 8, 10, 0.84) 100%),
    url('/media/hero-community-conference.jpg') center / cover no-repeat !important;
}

.simplified-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 75% 22%, rgba(224, 160, 99, 0.26), transparent 26%),
    radial-gradient(circle at 18% 92%, rgba(15, 127, 104, 0.18), transparent 30%);
}

.simplified-hero .container,
.simplified-hero .hero-grid,
.simplified-hero .hero-copy,
.simplified-hero .hero-stack {
  position: relative;
  z-index: 2;
}

.hero-brand-overlay {
  position: absolute;
  z-index: 1;
  top: clamp(5.4rem, 7vw, 6rem);
  right: clamp(1.5rem, 7vw, 8rem);
  width: clamp(220px, 24vw, 390px);
  pointer-events: none;
  opacity: 0.96;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.42));
}

.hero-brand-overlay img {
  display: block;
  width: 100%;
  height: auto;
}

.simplified-hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.34);
}

.simplified-hero .lede,
html[data-theme="dark"] .simplified-hero .lede {
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.simplified-hero .hero-tertiary {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.58);
}

.simplified-hero .hero-tertiary:hover {
  color: #f0b17b;
  text-decoration-color: rgba(240, 177, 123, 0.82);
}

.simplified-hero .event-ticket {
  background: rgba(255, 255, 255, 0.91);
  border-color: rgba(224, 160, 99, 0.92);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(1.1);
}

html[data-theme="dark"] .simplified-hero .event-ticket {
  background: rgba(18, 22, 24, 0.78);
  border-color: rgba(224, 160, 99, 0.92);
  color: #f3f1eb;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .simplified-hero .event-ticket h2,
html[data-theme="dark"] .simplified-hero .event-ticket dt,
html[data-theme="dark"] .simplified-hero .event-ticket dd,
html[data-theme="dark"] .simplified-hero .event-ticket .text-link {
  color: inherit;
}

@media (max-width: 980px) {
  .simplified-hero {
    min-height: auto;
    background-position: 58% center !important;
  }

  .hero-brand-overlay {
    top: 6.2rem;
    right: -1rem;
    width: clamp(170px, 42vw, 260px);
    opacity: 0.45;
  }
}

@media (max-width: 640px) {
  .simplified-hero {
    padding-top: clamp(7.2rem, 24vw, 8.4rem);
    background-position: 62% center !important;
  }

  .hero-brand-overlay {
    top: 4.2rem;
    right: -1.5rem;
    width: 170px;
    opacity: 0.28;
  }
}


/* Homepage background image sections */
.path-band,
.home-activity {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff7e7;
  background-color: #101112;
  border-top: 1px solid rgba(255, 138, 0, 0.16);
  border-bottom: 1px solid rgba(255, 138, 0, 0.16);
}

.path-band {
  min-height: clamp(520px, 68vh, 760px);
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.92), rgba(8, 11, 13, 0.84) 47%, rgba(8, 11, 13, 0.68)),
    linear-gradient(180deg, rgba(8, 11, 13, 0.34), rgba(8, 11, 13, 0.78)),
    url('/media/home-workshop-builders.jpg') center / cover no-repeat !important;
}

.home-activity {
  min-height: clamp(540px, 70vh, 780px);
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.94), rgba(8, 11, 13, 0.84) 55%, rgba(8, 11, 13, 0.7)),
    linear-gradient(180deg, rgba(8, 11, 13, 0.42), rgba(8, 11, 13, 0.78)),
    url('/media/home-community-activity.jpg') center / cover no-repeat !important;
}

.path-band::before,
.home-activity::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 138, 0, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 0, 0.1) 1px, transparent 1px);
  background-size: 100% 160px, 220px 100%;
  opacity: 0.2;
}

.path-band > .container,
.home-activity > .container {
  position: relative;
  z-index: 1;
}

.path-band .path-layout,
.home-activity .activity-grid {
  align-items: center;
}

.path-band h2,
.home-activity h2,
.path-item h3,
.activity-row h3 {
  color: #fff4df;
}

.path-copy p,
.home-activity .section-intro p,
.path-item p,
.activity-row p {
  color: rgba(255, 247, 231, 0.74);
}

.path-list,
.activity-list {
  border-color: rgba(255, 247, 231, 0.16);
}

.path-item,
.activity-row {
  border-color: rgba(255, 247, 231, 0.14);
}

.path-number,
.activity-row time,
.path-item .text-link,
.activity-row a {
  color: #efb178;
}

.path-item:hover,
.path-item:focus-within,
.activity-row:hover,
.activity-row:focus-within {
  background: rgba(255, 154, 47, 0.1);
  border-color: rgba(255, 177, 90, 0.28);
}

.activity-primary,
.builder-board {
  background: rgba(14, 16, 17, 0.86) !important;
  border-color: rgba(255, 177, 90, 0.24) !important;
  color: #fff4df;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 44px rgba(0, 0, 0, 0.28);
}

.activity-primary::before,
.builder-board::before {
  border-color: rgba(255, 255, 255, 0.1);
}

.builder-board p {
  color: rgba(255, 247, 231, 0.74);
}

.builder-board .text-link,
.builder-board .mini-link-list a {
  color: #efb178;
}

@media (max-width: 980px) {
  .path-band,
  .home-activity {
    min-height: 0;
    background-position: center;
  }

  .path-band .path-layout,
  .home-activity .activity-grid {
    align-items: start;
  }
}

/* Homepage builder relay insert */
.handoff-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.1rem, 6vw, 5.4rem) 0;
  color: #fff7e7;
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.95), rgba(8, 11, 13, 0.88) 42%, rgba(8, 11, 13, 0.68)),
    linear-gradient(180deg, rgba(8, 11, 13, 0.56), rgba(8, 11, 13, 0.82)),
    url('/media/events-audience-showcase.jpg') center 42% / cover no-repeat;
  border-top: 1px solid rgba(255, 138, 0, 0.22);
  border-bottom: 1px solid rgba(255, 138, 0, 0.2);
}

.handoff-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 138, 0, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 0, 0.1) 1px, transparent 1px);
  background-size: 100% 136px, 196px 100%;
  opacity: 0.18;
}

.handoff-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 11, 13, 0.08), rgba(8, 11, 13, 0.36) 58%, rgba(8, 11, 13, 0.72));
}

.handoff-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: clamp(340px, 44vh, 520px);
}

.handoff-copy {
  padding-left: clamp(0rem, 4vw, 3.8rem);
}

.handoff-copy .panel-kicker {
  color: #efb178;
}

.handoff-copy h2 {
  max-width: 660px;
  margin-bottom: 1rem;
  color: #fff4df;
  font-size: clamp(1.9rem, 3.4vw, 3.35rem);
  line-height: 1;
  text-shadow: 0 18px 64px rgba(0, 0, 0, 0.42);
}

.handoff-copy > p {
  max-width: 430px;
  margin-bottom: 1.2rem;
  color: rgba(255, 247, 231, 0.76);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
}

.handoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  align-items: center;
}

.handoff-actions .text-link {
  color: #efb178;
  font-weight: 800;
}

.handoff-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 1.04fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 177, 90, 0.28);
  border-radius: var(--radius);
  background: rgba(13, 16, 17, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 72px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.handoff-feature {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 320px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 247, 231, 0.16);
  padding: clamp(1.25rem, 2.6vw, 2rem);
  background: linear-gradient(145deg, rgba(255, 177, 90, 0.14), rgba(255, 177, 90, 0.02) 54%, rgba(15, 17, 19, 0.2));
}

.handoff-feature::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: clamp(1rem, 2vw, 1.4rem);
  width: 68%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 177, 120, 0.78), transparent);
  opacity: 0;
  transform: translate3d(-55%, 0, 0);
  pointer-events: none;
}

.handoff-feature span,
.handoff-step {
  color: #efb178;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
}

.handoff-feature span {
  display: block;
  margin-bottom: 0.72rem;
  font-size: 0.86rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.handoff-feature h3,
.handoff-rail h3 {
  color: #fff4df;
}

.handoff-feature h3 {
  max-width: 360px;
  margin-bottom: 0.65rem;
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
}

.handoff-feature p,
.handoff-rail p {
  margin: 0;
  color: rgba(255, 247, 231, 0.74);
}

.handoff-rail {
  display: grid;
  min-width: 0;
}

.handoff-rail article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-width: 0;
  min-height: 106px;
  border-top: 1px solid rgba(255, 247, 231, 0.14);
  padding: 1.05rem clamp(1.05rem, 2vw, 1.35rem);
  transition: background-color 160ms var(--ease-standard), border-color 160ms var(--ease-standard);
}

.handoff-rail article:first-child {
  border-top: 0;
}

.handoff-rail article:hover,
.handoff-rail article:focus-within {
  background: rgba(255, 154, 47, 0.1);
  border-color: rgba(255, 177, 90, 0.26);
}

.handoff-rail h3 {
  margin: 0 0 0.18rem;
  font-size: 1.02rem;
}

.handoff-rail .text-link {
  justify-self: end;
  color: #efb178;
  font-weight: 850;
  white-space: nowrap;
}

html.motion-ok .handoff-feature::after {
  animation: handoff-scan 3.8s var(--ease-out-expo) 900ms infinite;
}

html.motion-ok .handoff-copy.reveal-item,
html.motion-ok .handoff-panel.reveal-item {
  transform: translate3d(0, 16px, 0);
}

html.motion-ok .handoff-copy.reveal-item.is-visible,
html.motion-ok .handoff-panel.reveal-item.is-visible {
  transform: translate3d(0, 0, 0);
}

html.motion-ok .handoff-feature.reveal-item,
html.motion-ok .handoff-rail article.reveal-item {
  transform: translate3d(10px, 0, 0);
}

html.motion-ok .handoff-feature.reveal-item.is-visible,
html.motion-ok .handoff-rail article.reveal-item.is-visible {
  transform: translate3d(0, 0, 0);
}

@keyframes handoff-scan {
  0%, 24% {
    opacity: 0;
    transform: translate3d(-55%, 0, 0);
  }

  42% {
    opacity: 0.68;
  }

  72%, 100% {
    opacity: 0;
    transform: translate3d(55%, 0, 0);
  }
}

@media (max-width: 980px) {
  .handoff-layout,
  .handoff-panel {
    grid-template-columns: 1fr;
  }

  .handoff-layout {
    min-height: 0;
  }

  .handoff-copy {
    padding-left: 0;
  }

  .handoff-feature {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 247, 231, 0.16);
  }
}

@media (max-width: 640px) {
  .handoff-band {
    padding: 2.5rem 0;
  }

  .handoff-copy h2 {
    font-size: clamp(2.05rem, 10vw, 2.85rem);
  }

  .handoff-feature {
    padding: 1.05rem;
  }

  .handoff-rail article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.75rem;
    min-height: 0;
    padding: 0.95rem 1rem;
  }

  .handoff-rail .text-link {
    grid-column: 2;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .handoff-feature::after,
  .handoff-rail article {
    animation: none;
    transition: none;
  }
}

/* Events page showcase */
.events-showcase-band {
  position: relative;
  overflow: hidden;
  padding: clamp(2.8rem, 5.5vw, 4.8rem) 0;
  color: #fff7e7;
  background:
    linear-gradient(90deg, rgba(14, 15, 16, 0.96), rgba(14, 15, 16, 0.9) 55%, rgba(14, 15, 16, 0.74)),
    #101112;
  border-bottom: 1px solid rgba(255, 138, 0, 0.26);
}

.events-showcase-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 138, 0, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 0, 0.2) 1px, transparent 1px);
  background-size: 100% 160px, 220px 100%;
  opacity: 0.36;
}

.events-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(330px, 0.42fr);
  gap: clamp(2rem, 5vw, 5.4rem);
  align-items: center;
  min-height: clamp(460px, 54vh, 600px);
}

.events-showcase-copy {
  position: relative;
  z-index: 2;
}

.events-showcase h1 {
  max-width: 720px;
  margin-bottom: 1rem;
  color: #fff4df;
  font-size: clamp(3.1rem, 7vw, 5.8rem);
  letter-spacing: 0;
  line-height: 0.9;
  text-shadow: 0 18px 64px rgba(0, 0, 0, 0.46);
}

.events-showcase-copy > p {
  max-width: 520px;
  margin-bottom: 1.45rem;
  color: rgba(255, 247, 231, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.42;
}

.events-ticket {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  max-width: 740px;
  overflow: hidden;
  border: 1px solid rgba(255, 138, 0, 0.42);
  border-radius: var(--radius);
  background: rgba(24, 25, 26, 0.88);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(1.08);
}

.events-date-tile {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.2rem;
  min-height: 188px;
  padding: 1.1rem;
  background: linear-gradient(180deg, #ff970e, #ff7900);
  color: #0f1111;
  text-align: center;
}

.events-date-tile span {
  font-weight: 900;
  letter-spacing: 0.08em;
}

.events-date-tile strong {
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.88;
}

.events-ticket-body {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 1.85rem);
}

.events-ticket-body .panel-kicker {
  margin-bottom: 0.7rem;
  color: #ff920f;
}

.events-ticket-body h2 {
  max-width: 520px;
  margin-bottom: 1.1rem;
  color: #fff4df;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.events-ticket-body dl {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.25rem;
}

.events-ticket-body dl div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  border-top: 1px solid rgba(255, 247, 231, 0.16);
  padding-top: 0.72rem;
}

.events-ticket-body dt,
.events-ticket-body dd {
  margin: 0;
}

.events-ticket-body dt {
  color: rgba(255, 247, 231, 0.62);
  font-weight: 800;
}

.events-ticket-body dd {
  color: #fff7e7;
  font-weight: 750;
}

.events-ticket .button.primary {
  background: #ff8500;
  color: #111;
}

.events-ticket .button.primary:hover {
  background: #ffb15a;
  color: #111;
}

.events-ticket .button-mark {
  background: rgba(17, 17, 17, 0.12);
}

.events-showcase-image {
  position: relative;
  z-index: 1;
  min-height: clamp(380px, 48vw, 540px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 138, 0, 0.42);
  border-radius: var(--radius);
  background: #191a1a;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
}

.events-showcase-image > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 58% 48%;
  filter: saturate(1.08) contrast(1.04);
}

.events-showcase-image::before,
.events-showcase-image::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.events-showcase-image::before {
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 133, 0, 0.18), rgba(12, 13, 14, 0.34));
  mix-blend-mode: multiply;
}

.events-showcase-image::after {
  right: -10%;
  bottom: -12%;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 138, 0, 0.82);
  background: rgba(255, 138, 0, 0.9);
}

@media (max-width: 980px) {
  .events-showcase {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .events-showcase-image {
    height: 320px;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .events-showcase-band {
    padding: 2.4rem 0 3rem;
  }

  .events-showcase h1 {
    font-size: clamp(3rem, 16vw, 4.2rem);
  }

  .events-ticket {
    grid-template-columns: 1fr;
  }

  .events-date-tile {
    grid-template-columns: auto auto auto;
    justify-content: start;
    min-height: 0;
    padding: 0.8rem 1rem;
    text-align: left;
  }

  .events-date-tile strong {
    font-size: 2.35rem;
  }

  .events-ticket-body {
    padding: 1rem;
  }

  .events-ticket-body h2 {
    font-size: 1.35rem;
  }

  .events-ticket-body dl div {
    grid-template-columns: 1fr;
    gap: 0.18rem;
  }

  .events-showcase-image {
    height: 260px;
    min-height: 0;
  }
}

/* Compact homepage activity */
.home-activity {
  min-height: clamp(470px, 62vh, 650px);
}

.home-activity > .container {
  width: min(100% - 32px, 980px);
}

.home-activity .activity-grid {
  grid-template-columns: minmax(0, 2.35fr) minmax(250px, 1fr);
  gap: clamp(1rem, 2.5vw, 1.85rem);
}

.home-activity .compact-intro {
  padding: 1.05rem 1.18rem 0.85rem;
}

.home-activity .compact-intro p {
  max-width: 42ch;
}

.home-activity .activity-row {
  min-height: 76px;
  padding: 0.9rem 1.18rem;
}

.builder-board-compact {
  align-self: center;
  display: grid;
  gap: 0.72rem;
  padding: 1rem 1.05rem !important;
}

.builder-board-compact .panel-kicker,
.builder-board-compact h2,
.builder-board-project {
  margin: 0;
}

.builder-board-compact .panel-kicker {
  color: #efb178;
  font-size: 0.78rem;
  font-weight: 850;
}

.builder-board-compact h2 {
  max-width: 11ch;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.builder-board-project {
  color: rgba(255, 247, 231, 0.74);
  line-height: 1.42;
}

.builder-board-project strong {
  display: block;
  margin-bottom: 0.22rem;
  color: #fff4df;
}

.builder-board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  border-top: 1px solid rgba(255, 247, 231, 0.16);
  padding-top: 0.65rem;
}

.builder-board-actions .text-link {
  min-height: 30px;
}

@media (max-width: 980px) {
  .home-activity > .container {
    width: min(100% - 32px, 680px);
  }

  .home-activity .activity-grid {
    grid-template-columns: 1fr;
  }

  .builder-board-compact {
    align-self: stretch;
  }
}

@media (max-width: 720px) {
  .home-activity {
    min-height: 0;
  }

  .home-activity .activity-row {
    min-height: 0;
    padding: 0.92rem 1rem;
  }

  .builder-board-compact h2 {
    max-width: none;
  }
}

/* Builder board row rail fix */
.builder-board .board-list article::before {
  content: none;
  display: none;
}


/* Generated page-heading image system */
.image-heading {
  --page-heading-image: url("/media/page-about-community-bg.png");
  --page-heading-position: 62% center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(360px, 42vh, 520px);
  display: grid;
  align-items: end;
  padding: clamp(6rem, 10vw, 9rem) 0 clamp(3.7rem, 7vw, 6rem);
  color: #fff7e7;
  border-bottom: 1px solid rgba(255, 154, 47, 0.22);
  background:
    linear-gradient(90deg, rgba(7, 9, 10, 0.94) 0%, rgba(7, 9, 10, 0.82) 42%, rgba(7, 9, 10, 0.54) 72%, rgba(7, 9, 10, 0.76) 100%),
    linear-gradient(180deg, rgba(7, 9, 10, 0.38) 0%, rgba(7, 9, 10, 0.12) 44%, rgba(7, 9, 10, 0.82) 100%),
    var(--page-heading-image) var(--page-heading-position) / cover no-repeat !important;
}

.image-heading::before,
.image-heading::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.image-heading::before {
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 154, 47, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 154, 47, 0.13) 1px, transparent 1px);
  background-size: 100% 168px, 224px 100%;
  opacity: 0.2;
}

.image-heading::after {
  z-index: 0;
  background:
    radial-gradient(circle at 74% 24%, rgba(224, 160, 99, 0.22), transparent 25%),
    radial-gradient(circle at 16% 86%, rgba(255, 247, 231, 0.08), transparent 28%);
  mix-blend-mode: screen;
}

.image-heading .container {
  position: relative;
  z-index: 1;
}

.image-heading h1 {
  max-width: 880px;
  margin-bottom: 0.9rem;
  color: #fff4df;
  font-size: clamp(2.75rem, 6.2vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-shadow: 0 18px 64px rgba(0, 0, 0, 0.5);
}

.image-heading p {
  max-width: 760px;
  color: rgba(255, 247, 231, 0.82);
  font-size: clamp(1.04rem, 1.7vw, 1.24rem);
  line-height: 1.45;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.42);
}

.about-heading {
  --page-heading-image: url("/media/page-about-community-bg.png");
  --page-heading-position: 63% center;
}

.team-heading {
  --page-heading-image: url("/media/page-about-community-bg.png");
  --page-heading-position: 68% center;
}

.community-heading {
  --page-heading-image: url("/media/page-about-community-bg.png");
  --page-heading-position: 58% center;
}

.learning-heading {
  --page-heading-image: url("/media/page-learning-lab-bg.png");
  --page-heading-position: 64% center;
}

.projects-heading {
  --page-heading-image: url("/media/page-projects-workbench-bg.png");
  --page-heading-position: 66% center;
}

.partners-heading,
.contact-heading {
  --page-heading-image: url("/media/page-contact-partners-bg.png");
  --page-heading-position: 64% center;
}

@media (max-width: 980px) {
  .image-heading {
    min-height: 0;
    padding: clamp(4.8rem, 13vw, 6.8rem) 0 clamp(3rem, 8vw, 4.4rem);
    background-position: 60% center !important;
  }

  .image-heading h1 {
    max-width: 720px;
    font-size: clamp(2.6rem, 10vw, 4.2rem);
  }

  .image-heading p {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .image-heading {
    padding: 3.9rem 0 3rem;
    background-position: 66% center !important;
  }

  .image-heading h1 {
    font-size: clamp(2.35rem, 14vw, 3.45rem);
    line-height: 0.96;
  }

  .image-heading p {
    font-size: 1rem;
  }
}

/* Header lockup refresh */
.site-header {
  top: 0;
  width: 100%;
  min-height: 112px;
  margin: 0;
  padding: 0 clamp(1.5rem, 3vw, 2.75rem);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: #05090a;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.is-scrolled .site-header,
html[data-theme="dark"] .site-header,
html[data-theme="dark"] body.is-scrolled .site-header {
  background: rgba(5, 9, 10, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.24);
}

.brand-lockup {
  min-width: 0;
  gap: clamp(0.72rem, 1.2vw, 0.95rem);
  color: #ffffff;
  text-decoration: none;
}

.brand-icon {
  width: clamp(48px, 4.6vw, 62px);
  height: clamp(48px, 4.6vw, 62px);
  flex: 0 0 clamp(48px, 4.6vw, 62px);
}

.brand-lockup .brand-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  line-height: 1.05;
}

.brand-name,
.brand-location {
  display: block;
  white-space: nowrap;
}

.brand-name {
  color: #f7f7f2;
  font-size: clamp(1rem, 1.6vw, 1.42rem);
  font-weight: 800;
}

.brand-location {
  color: #ff9a2f;
  font-size: clamp(0.94rem, 1.42vw, 1.22rem);
  font-weight: 700;
}

.primary-nav {
  margin-left: auto;
  padding: 0;
  gap: clamp(0.72rem, 2vw, 1.9rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[data-theme="dark"] .primary-nav {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.primary-nav a,
.primary-nav .nav-join {
  min-height: auto;
  margin: 0;
  padding: 0.35rem 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.92rem, 1vw, 1rem);
  font-weight: 500;
  line-height: 1.2;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"],
.primary-nav .nav-join:hover,
html[data-theme="dark"] .primary-nav a:hover,
html[data-theme="dark"] .primary-nav a[aria-current="page"],
html[data-theme="dark"] .primary-nav .nav-join:hover {
  background: transparent;
  color: #ffffff;
  transform: none;
}

.site-header .theme-toggle,
html[data-theme="dark"] .site-header .theme-toggle {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.site-header .theme-toggle:hover,
.site-header .theme-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.38);
  transform: none;
}

.site-header .theme-toggle-track {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.site-header .theme-toggle-orb {
  background: #f7f7f2;
}

.site-header .nav-toggle {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.site-header .nav-toggle span:not(.sr-only) {
  background: #ffffff;
}

@media (max-width: 1100px) {
  .site-header {
    min-height: 92px;
    padding-inline: clamp(1rem, 4vw, 1.5rem);
  }

  .nav-toggle {
    display: inline-block;
  }

  .brand-lockup,
  .header-actions {
    position: relative;
    z-index: 60;
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    align-items: stretch;
    gap: 0;
    padding: 7rem 1.25rem 1.5rem;
    background: #05090a;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -8px, 0);
    visibility: hidden;
    transition: opacity 170ms var(--ease-standard), transform 220ms var(--ease-out-quart), visibility 0s linear 220ms;
  }

  html[data-theme="dark"] .primary-nav {
    background: #05090a;
  }

  body.nav-open .primary-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    visibility: visible;
    transition-delay: 0s;
  }

  .primary-nav a,
  .primary-nav .nav-join {
    min-height: 50px;
    justify-content: flex-start;
    padding: 0.78rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 1.08rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 78px;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-name {
    font-size: clamp(0.8rem, 3.4vw, 0.95rem);
  }

  .brand-location {
    font-size: clamp(0.78rem, 3.2vw, 0.9rem);
  }

  .site-header .theme-toggle {
    display: none;
  }

  .primary-nav {
    padding-top: 5.8rem;
  }
}

@media (max-width: 360px) {
  .brand-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-name {
    font-size: 0.74rem;
  }

  .brand-location {
    font-size: 0.72rem;
  }
}


/* Join CTA refinement */
.primary-nav .nav-join {
  min-height: 40px;
  padding: 0.54rem 0.92rem;
  border: 1px solid rgba(255, 154, 47, 0.55);
  border-radius: 6px;
  background: rgba(255, 154, 47, 0.14);
  color: #ffb45f;
  font-weight: 750;
}

.primary-nav .nav-join:hover,
.primary-nav .nav-join:focus-visible,
html[data-theme="dark"] .primary-nav .nav-join:hover,
html[data-theme="dark"] .primary-nav .nav-join:focus-visible {
  border-color: #ffb45f;
  background: #ffb45f;
  color: #101112;
}

@media (max-width: 1100px) {
  .primary-nav .nav-join {
    width: fit-content;
    min-height: 44px;
    margin-top: 0.85rem;
    padding: 0.62rem 1rem;
    border-bottom: 1px solid rgba(255, 154, 47, 0.55);
    justify-content: center;
  }
}

/* Team member placeholder image */
.team-photo {
  overflow: hidden;
}

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

.team-photo.placeholder {
  padding: 0;
  background: #050706;
  color: transparent;
  font-size: 0;
}


/* Team page roster redesign */
.team-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4.8rem, 8vw, 7.5rem) 0 clamp(3.4rem, 6vw, 5.4rem);
  color: #fff7e7;
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.96), rgba(8, 11, 13, 0.88) 48%, rgba(8, 11, 13, 0.66)),
    linear-gradient(180deg, rgba(8, 11, 13, 0.28), rgba(8, 11, 13, 0.8)),
    url('/media/page-about-community-bg.png') 66% center / cover no-repeat;
  border-bottom: 1px solid rgba(255, 138, 0, 0.22);
}

.team-hero::before,
.team-directory-band::before,
.team-roster-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 138, 0, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 0, 0.1) 1px, transparent 1px);
  background-size: 100% 160px, 220px 100%;
  opacity: 0.2;
}

.team-hero > .container,
.team-directory-band > .container,
.team-roster-band > .container {
  position: relative;
  z-index: 1;
}

.team-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(360px, 0.38fr);
  gap: clamp(2rem, 5vw, 5.2rem);
  align-items: center;
}

.team-hero-copy {
  min-width: 0;
}

.team-page-mark,
.team-section-kicker {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 177, 90, 0.28);
  border-radius: var(--radius);
  padding: 0.22rem 0.58rem;
  color: #efb178;
  background: rgba(255, 154, 47, 0.08);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
}

.team-hero h1 {
  max-width: 8ch;
  margin-bottom: 1rem;
  color: #fff4df;
  font-size: clamp(4.4rem, 11vw, 8.2rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow: 0 18px 64px rgba(0, 0, 0, 0.42);
}

.team-hero p {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(255, 247, 231, 0.76);
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
}

.team-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.55rem;
}

.team-hero-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(255, 177, 90, 0.28);
  border-radius: var(--radius);
  padding: 0.35rem 0.42rem 0.35rem 1rem;
  color: #101112;
  background: #efb178;
  font-weight: 850;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 44px rgba(0, 0, 0, 0.26);
  transition: transform 260ms var(--ease-out-quart), background-color 180ms var(--ease-standard), color 180ms var(--ease-standard);
}

.team-hero-link:hover,
.team-hero-link:focus-visible {
  color: #101112;
  background: #f4c08c;
  transform: translate3d(0, -2px, 0);
}

.team-hero-link:active {
  transform: translate3d(0, 1px, 0) scale(0.985);
}

.team-hero-link-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(16, 17, 18, 0.12);
  transition: transform 260ms var(--ease-out-quart), background-color 180ms var(--ease-standard);
}

.team-hero-link:hover .team-hero-link-mark,
.team-hero-link:focus-visible .team-hero-link-mark {
  transform: translate3d(1px, 2px, 0);
}

.team-hero-link svg {
  width: 16px;
  height: 16px;
}

.team-hero-link path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-command-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 177, 90, 0.28);
  border-radius: var(--radius);
  padding: clamp(1rem, 2vw, 1.25rem);
  color: #fff7e7;
  background: rgba(13, 16, 17, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 24px 72px rgba(0, 0, 0, 0.34);
}

.team-command-panel::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius) - 2px);
  pointer-events: none;
}

.team-command-topline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: rgba(255, 247, 231, 0.62);
  font-size: 0.78rem;
  font-weight: 850;
}

.team-command-layout {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 1rem;
  align-items: end;
}

.team-command-portrait {
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 247, 231, 0.14);
  border-radius: var(--radius);
  background: #111415;
}

.team-command-portrait img,
.team-hero-avatar img,
.team-member-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-command-copy {
  min-width: 0;
  align-self: end;
}

.team-command-copy h2 {
  max-width: 11ch;
  margin-bottom: 0.3rem;
  color: #fff4df;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.team-command-copy p {
  margin-bottom: 0;
  color: rgba(255, 247, 231, 0.68);
  font-weight: 800;
}

.team-command-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 1.05rem;
  border: 1px solid rgba(255, 247, 231, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 247, 231, 0.12);
}

.team-command-metrics div {
  min-width: 0;
  display: grid;
  gap: 0.16rem;
  padding: 0.78rem;
  background: rgba(8, 11, 13, 0.62);
}

.team-command-metrics strong {
  color: #fff4df;
  font-size: 1.45rem;
  line-height: 1;
}

.team-command-metrics span {
  color: rgba(255, 247, 231, 0.58);
  font-weight: 750;
}

.team-avatar-ribbon {
  display: flex;
  align-items: center;
  padding-top: 1rem;
}

.team-hero-avatar {
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 2px solid #0d1011;
  border-radius: var(--radius);
  background: #151819;
}

.team-hero-avatar + .team-hero-avatar {
  margin-left: -0.55rem;
}

.team-directory-band,
.team-roster-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff7e7;
  background: linear-gradient(180deg, #101112, #141817 48%, #0f1211);
}

.team-directory-band {
  padding: clamp(2.7rem, 5vw, 4.4rem) 0;
  border-bottom: 1px solid rgba(255, 138, 0, 0.18);
}

.team-directory-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.32fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.team-directory-intro h2 {
  max-width: 10ch;
  margin-bottom: 0.75rem;
  color: #fff4df;
  font-size: clamp(1.9rem, 3.3vw, 3.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.team-directory-intro p {
  max-width: 34ch;
  margin-bottom: 0;
  color: rgba(255, 247, 231, 0.68);
  font-weight: 650;
}

.team-department-strip {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.78rem;
}

.team-department-chip {
  position: relative;
  grid-column: span 4;
  min-height: 126px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  overflow: hidden;
  border: 1px solid rgba(255, 247, 231, 0.12);
  border-radius: var(--radius);
  padding: 0.9rem;
  color: #fff7e7;
  background: rgba(247, 248, 242, 0.045);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transition: transform 220ms var(--ease-out-quart), background-color 180ms var(--ease-standard), border-color 180ms var(--ease-standard), color 180ms var(--ease-standard);
}

.team-department-chip:nth-child(1),
.team-department-chip:nth-child(5) {
  grid-column: span 5;
}

.team-department-chip:nth-child(2),
.team-department-chip:nth-child(6) {
  grid-column: span 3;
}

.team-department-chip::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: #efb178;
  transform: scaleX(0.16);
  transform-origin: left;
  opacity: 0.78;
  transition: transform 240ms var(--ease-out-quart), opacity 180ms var(--ease-standard);
}

.team-department-chip:hover,
.team-department-chip:focus-visible {
  color: #fff4df;
  border-color: rgba(255, 177, 90, 0.3);
  background: rgba(255, 154, 47, 0.1);
  transform: translate3d(0, -3px, 0);
}

.team-department-chip:hover::after,
.team-department-chip:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.team-department-chip span {
  color: #efb178;
  font-weight: 900;
}

.team-department-chip strong {
  align-self: end;
  max-width: 15ch;
  color: #fff4df;
  font-size: 1.02rem;
  line-height: 1.08;
}

.team-department-chip em {
  color: rgba(255, 247, 231, 0.58);
  font-style: normal;
  font-weight: 750;
}

.team-roster-band {
  padding: clamp(2.8rem, 5vw, 4.6rem) 0 clamp(4rem, 7vw, 6.5rem);
}

.team-structure {
  display: grid;
  gap: clamp(3.2rem, 6vw, 5rem);
}

.team-section {
  display: grid;
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.3rem);
  align-items: start;
  padding-top: clamp(3.1rem, 5vw, 4.8rem);
  border-top: 1px solid rgba(255, 247, 231, 0.12);
}

.team-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.team-section-rail {
  position: sticky;
  top: 124px;
  min-width: 0;
}

.team-section-rail h2 {
  max-width: 9.2ch;
  margin-bottom: 0.8rem;
  color: #fff4df;
  font-size: clamp(1.8rem, 3.3vw, 3.15rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.team-section-rail p {
  max-width: 31ch;
  margin-bottom: 0;
  color: rgba(255, 247, 231, 0.66);
  font-weight: 650;
}

.team-section-proof {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 0.58rem;
  margin-top: 1.2rem;
  border-top: 1px solid rgba(255, 247, 231, 0.13);
  padding-top: 0.78rem;
}

.team-section-proof strong {
  color: #efb178;
  font-size: 1.9rem;
  line-height: 0.95;
}

.team-section-proof span {
  color: rgba(255, 247, 231, 0.58);
  font-weight: 800;
}

.team-roster-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.72rem;
}

.team-member-card {
  --card-x: 50%;
  --card-y: 18%;
  position: relative;
  grid-column: span 4;
  min-height: 318px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 247, 231, 0.12);
  border-radius: var(--radius);
  padding: 0.78rem;
  color: #fff7e7;
  background:
    linear-gradient(180deg, rgba(255, 247, 231, 0.055), rgba(255, 247, 231, 0.025)),
    rgba(13, 16, 17, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  contain: layout paint;
  transition:
    transform 260ms var(--ease-out-quart),
    background-color 180ms var(--ease-standard),
    border-color 180ms var(--ease-standard),
    box-shadow 180ms var(--ease-standard);
}

.team-member-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--card-x) var(--card-y), rgba(239, 177, 120, 0.18), transparent 34%);
  opacity: 0;
  transition: opacity 180ms var(--ease-standard);
}

.team-member-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  height: 2px;
  background: #efb178;
  opacity: 0.68;
  transform: scaleX(0.12);
  transform-origin: left;
  transition: transform 280ms var(--ease-out-quart), opacity 180ms var(--ease-standard);
}

.team-member-card > * {
  position: relative;
  z-index: 1;
}

.team-member-card:hover,
.team-member-card:focus-within {
  border-color: rgba(255, 177, 90, 0.34);
  background-color: rgba(255, 154, 47, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.075), 0 18px 42px rgba(0, 0, 0, 0.24);
  transform: translate3d(0, -7px, 0);
}

.team-member-card:hover::before,
.team-member-card:focus-within::before {
  opacity: 1;
}

.team-member-card:hover::after,
.team-member-card:focus-within::after {
  opacity: 1;
  transform: scaleX(1);
}

.team-member-card:active {
  transform: translate3d(0, -3px, 0) scale(0.992);
}

.team-member-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.96;
  border: 1px solid rgba(255, 247, 231, 0.13);
  border-radius: calc(var(--radius) - 1px);
  background: #111415;
}

.team-member-photo {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #111415;
}

.team-member-photo img {
  transform: scale(1.001);
  transition: transform 420ms var(--ease-out-expo), filter 240ms var(--ease-standard);
}

.team-member-card:hover .team-member-photo img,
.team-member-card:focus-within .team-member-photo img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.team-member-number {
  position: absolute;
  right: 0.62rem;
  bottom: 0.62rem;
  min-width: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 177, 90, 0.24);
  border-radius: calc(var(--radius) - 2px);
  padding: 0.22rem 0.42rem;
  color: #efb178;
  background: rgba(8, 11, 13, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  transition: transform 240ms var(--ease-out-quart), background-color 180ms var(--ease-standard);
}

.team-member-card:hover .team-member-number,
.team-member-card:focus-within .team-member-number {
  background: rgba(16, 17, 18, 0.9);
  transform: translate3d(0, -2px, 0);
}

.team-member-card-body {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 0.42rem;
  padding-top: 0.78rem;
}

.team-member-meta {
  color: rgba(255, 247, 231, 0.55);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.15;
}

.team-member-card-body h3 {
  margin-bottom: 0;
  color: #fff4df;
  font-size: clamp(1.12rem, 1.4vw, 1.35rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.team-member-card-body p {
  margin-bottom: 0;
  color: rgba(255, 247, 231, 0.68);
  font-weight: 700;
  line-height: 1.36;
  overflow-wrap: anywhere;
}

.team-member-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  align-self: end;
  padding-top: 0.82rem;
}

.team-member-links a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(255, 177, 90, 0.24);
  border-radius: calc(var(--radius) - 2px);
  padding: 0.16rem 0.56rem;
  color: #efb178;
  background: rgba(255, 154, 47, 0.07);
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms var(--ease-out-quart), background-color 180ms var(--ease-standard), color 180ms var(--ease-standard), border-color 180ms var(--ease-standard);
}

.team-member-links a:hover,
.team-member-links a:focus-visible {
  color: #fff4df;
  border-color: rgba(255, 177, 90, 0.4);
  background: rgba(255, 154, 47, 0.13);
  transform: translate3d(0, -1px, 0);
}

html.motion-ok .team-hero-copy > * {
  animation: team-rise-in 620ms var(--ease-out-expo) both;
  animation-delay: calc(var(--team-hero-index, 0) * 82ms);
}

html.motion-ok .team-hero-copy .team-page-mark {
  --team-hero-index: 0;
}

html.motion-ok .team-hero-copy h1 {
  --team-hero-index: 1;
}

html.motion-ok .team-hero-copy p {
  --team-hero-index: 2;
}

html.motion-ok .team-hero-actions {
  --team-hero-index: 3;
}

html.motion-ok .team-command-panel {
  animation: team-rise-in 620ms var(--ease-out-expo) 180ms both;
}

html.motion-ok .team-hero-avatar {
  animation: team-avatar-breathe 4.8s var(--ease-out-expo) infinite;
  animation-delay: calc(var(--avatar-index, 0) * 160ms + 900ms);
}

html.motion-ok .team-department-chip.reveal-item {
  transition-delay: calc(var(--team-index, 0) * 50ms);
}

html.motion-ok .team-section-rail.reveal-item {
  transform: translate3d(-14px, 0, 0);
}

html.motion-ok .team-section-rail.reveal-item.is-visible {
  transform: translate3d(0, 0, 0);
}

html.motion-ok .team-member-card.reveal-item {
  transform: translate3d(0, 24px, 0) scale(0.975);
  transition-delay: calc(var(--member-index, 0) * 52ms);
  transition-duration: 560ms;
}

html.motion-ok .team-member-card.reveal-item.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

html.motion-ok .team-member-card.reveal-item.is-visible:hover,
html.motion-ok .team-member-card.reveal-item.is-visible:focus-within {
  transform: translate3d(0, -7px, 0) scale(1);
}

html.motion-ok .team-member-card.reveal-item.is-visible::after {
  animation: team-card-line-in 760ms var(--ease-out-expo) both;
  animation-delay: calc(var(--member-index, 0) * 42ms + 120ms);
}

html.motion-ok .team-member-card.reveal-item.is-visible:hover::after,
html.motion-ok .team-member-card.reveal-item.is-visible:focus-within::after {
  animation: none;
  opacity: 1;
  transform: scaleX(1);
}

@keyframes team-rise-in {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes team-avatar-breathe {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes team-card-line-in {
  0% {
    opacity: 0;
    transform: scaleX(0.08);
  }
  62% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.68;
    transform: scaleX(0.22);
  }
}

@media (max-width: 1100px) {
  .team-hero-grid,
  .team-directory-layout,
  .team-section {
    grid-template-columns: 1fr;
  }

  .team-command-panel {
    max-width: 680px;
  }

  .team-department-chip,
  .team-department-chip:nth-child(1),
  .team-department-chip:nth-child(2),
  .team-department-chip:nth-child(5),
  .team-department-chip:nth-child(6) {
    grid-column: span 6;
  }

  .team-section-rail {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
  }

  .team-section-proof {
    justify-self: end;
    margin-top: 0;
  }

  .team-member-card {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  .team-hero {
    padding: 3.4rem 0 2.8rem;
  }

  .team-hero-grid,
  .team-directory-layout,
  .team-section {
    gap: 1.6rem;
  }

  .team-hero h1 {
    font-size: clamp(3.4rem, 22vw, 5.2rem);
  }

  .team-hero p,
  .team-directory-intro p,
  .team-section-rail p {
    font-size: 1rem;
  }

  .team-command-layout {
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
  }

  .team-command-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-command-metrics div {
    padding: 0.6rem;
  }

  .team-command-metrics strong {
    font-size: 1.2rem;
  }

  .team-command-metrics span {
    font-size: 0.78rem;
  }

  .team-command-copy h2 {
    font-size: 1.46rem;
  }

  .team-avatar-ribbon {
    display: none;
  }

  .team-directory-band {
    padding: 3rem 0 2.6rem;
  }

  .team-directory-intro h2,
  .team-section-rail h2 {
    font-size: 2.25rem;
  }

  .team-department-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.35rem;
  }

  .team-department-chip,
  .team-department-chip:nth-child(1),
  .team-department-chip:nth-child(2),
  .team-department-chip:nth-child(5),
  .team-department-chip:nth-child(6) {
    min-width: min(78vw, 280px);
    scroll-snap-align: start;
  }

  .team-roster-band {
    padding: 3rem 0 4.8rem;
  }

  .team-structure {
    gap: 3.2rem;
  }

  .team-section {
    padding-top: 3.2rem;
  }

  .team-section-rail {
    grid-template-columns: 1fr;
  }

  .team-section-proof {
    justify-self: start;
  }

  .team-roster-list {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .team-member-card {
    grid-column: auto;
    min-height: 0;
  }

  .team-member-card-media {
    aspect-ratio: 16 / 11;
  }

  .team-member-card-body h3 {
    font-size: 1.14rem;
  }

  .team-member-links {
    justify-content: flex-start;
  }

  .team-member-card:hover,
  .team-member-card:focus-within,
  .team-member-card:active,
  html.motion-ok .team-member-card.reveal-item.is-visible:hover,
  html.motion-ok .team-member-card.reveal-item.is-visible:focus-within {
    transform: translate3d(0, -2px, 0);
  }
}

@media (max-width: 460px) {
  .team-command-panel {
    padding: 0.86rem;
  }

  .team-command-layout {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .team-command-copy h2 {
    font-size: 1.28rem;
  }

  .team-member-card {
    padding: 0.68rem;
  }

  .team-member-card-media {
    aspect-ratio: 16 / 10.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-member-card,
  .team-member-card::after,
  .team-member-number,
  .team-member-photo img,
  .team-member-links a {
    animation: none !important;
    transition: none !important;
  }

  .team-member-card,
  .team-member-card:hover,
  .team-member-card:focus-within,
  .team-member-card:active,
  .team-member-number,
  .team-member-photo img,
  .team-member-links a {
    transform: none !important;
  }

  .team-member-card::before {
    opacity: 0 !important;
  }
}
