/* Cyber Champions — institutional preview
   Static visual system: black, gold and silver with an editorial rhythm. */

:root {
  --ink: #080909;
  --ink-soft: #0d0f0f;
  --surface: #111313;
  --surface-raised: #171919;
  --surface-deep: #070808;
  --line: rgba(224, 229, 224, 0.16);
  --line-strong: rgba(224, 229, 224, 0.3);
  --silver: #d9ddda;
  --silver-soft: #a9b0ad;
  --silver-muted: #7f8784;
  --gold: #d5b36c;
  --gold-bright: #e5c887;
  --gold-dark: #8f7135;
  --warning: #ead8a0;
  --max-width: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --serifless: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--silver);
  font-family: var(--serifless);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

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

button,
a,
select,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(213, 179, 108, 0.9);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.65rem 0.9rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--max-width));
  margin-inline: auto;
}

.preview-bar {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 2rem;
  padding: 0.38rem var(--gutter);
  border-bottom: 1px solid rgba(224, 229, 224, 0.13);
  background: #060707;
  color: var(--silver-muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.preview-label {
  color: var(--gold);
  font-weight: 700;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 2rem;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(224, 229, 224, 0.17);
  background: rgba(7, 8, 8, 0.84);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - (var(--gutter) * 2), var(--max-width));
  min-height: 6.9rem;
  margin-inline: auto;
  gap: 2rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand {
  width: 10rem;
}

.brand img {
  width: 10rem;
  height: auto;
  max-height: 6.65rem;
  object-fit: contain;
  /* The original emblem is deliberately kept unmodified and uncropped. */
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.1rem, 2.5vw, 2.8rem);
  min-width: 0;
  color: var(--silver-soft);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold-bright);
}

.main-nav a:not(.nav-cta):hover::after,
.main-nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav .nav-cta {
  gap: 0.7rem;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(213, 179, 108, 0.72);
  color: var(--gold-bright);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible {
  border-color: var(--gold-bright);
  background: rgba(213, 179, 108, 0.12);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-width: 7rem;
  min-height: 44px;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(213, 179, 108, 0.66);
  background: transparent;
  color: var(--gold-bright);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.menu-toggle:hover {
  background: rgba(213, 179, 108, 0.12);
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 1rem;
  height: 1px;
  background: currentColor;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-lines::before {
  top: -0.28rem;
}

.menu-lines::after {
  top: 0.28rem;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 51rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.hero-art,
.hero-art img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-art {
  z-index: -3;
  left: 38%;
  width: 67%;
  overflow: hidden;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
  opacity: 0.74;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 1) 0%, rgba(7, 8, 8, 0.98) 26%, rgba(7, 8, 8, 0.82) 45%, rgba(7, 8, 8, 0.2) 75%, rgba(7, 8, 8, 0.54) 100%),
    linear-gradient(180deg, rgba(7, 8, 8, 0.36) 0%, transparent 29%, rgba(7, 8, 8, 0.88) 100%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 6rem;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(213, 179, 108, 0.35) 48%, transparent 100%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 13.5rem;
  padding-bottom: 8.5rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.55rem;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.gold-line {
  display: inline-block;
  flex: 0 0 2.65rem;
  height: 1px;
  background: var(--gold);
}

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

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.045em;
}

h1,
h2 {
  text-wrap: balance;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 1.7rem;
  color: #f0f2ef;
  font-size: clamp(3.6rem, 5.3vw, 4.8rem);
  font-weight: 720;
  letter-spacing: -0.075em;
  line-height: 0.96;
  text-transform: uppercase;
}

.gold-text {
  color: var(--gold-bright);
}

.hero-copy {
  max-width: 35rem;
  margin-bottom: 2.1rem;
  color: var(--silver-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 4.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 48px;
  padding: 0.78rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.button-gold:hover,
.button-gold:focus-visible {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
}

.button-outline {
  border-color: rgba(224, 229, 224, 0.48);
  background: transparent;
  color: var(--silver);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--gold);
  background: rgba(213, 179, 108, 0.1);
  color: var(--gold-bright);
}

.hero-status {
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
  max-width: 35rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(224, 229, 224, 0.26);
  color: var(--silver-muted);
  font-size: 0.76rem;
  line-height: 1.52;
}

.hero-status p {
  margin: 0;
}

.hero-status strong {
  color: var(--silver);
  font-weight: 700;
}

.status-marker {
  display: block;
  flex: 0 0 0.44rem;
  width: 0.44rem;
  height: 0.44rem;
  margin-top: 0.42rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(213, 179, 108, 0.13);
}

.hero-bottom {
  position: absolute;
  right: 0;
  bottom: 1.55rem;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--silver-muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold);
  text-decoration: none;
}

.hero-bottom a:hover,
.hero-bottom a:focus-visible {
  color: var(--gold-bright);
}

.section {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
}

.section-label > :last-child {
  color: var(--silver-muted);
  text-align: right;
}

.small-orbit {
  color: var(--gold) !important;
  font-family: var(--serifless);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1;
}

.mission-section {
  padding-top: clamp(5.5rem, 10vw, 9rem);
  padding-bottom: clamp(5rem, 9vw, 8.5rem);
  background: var(--ink);
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(17rem, 0.92fr);
  gap: clamp(3rem, 10vw, 10rem);
  align-items: start;
}

.editorial-grid > h2,
.editorial-grid > div > h2 {
  margin: 3rem 0 0;
  color: #edf0ec;
  font-size: clamp(2.45rem, 5vw, 4.9rem);
  line-height: 0.99;
}

.section-copy {
  max-width: 31rem;
  margin-top: 3.4rem;
  color: var(--silver-soft);
}

.section-copy p {
  margin-bottom: 1.35rem;
}

.muted-heading {
  color: var(--silver-muted);
}

.vision-section {
  padding-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
  background: var(--surface);
}

.vision-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(22rem, 1.15fr);
  gap: clamp(3rem, 9vw, 9rem);
  padding-top: 3.8rem;
}

.vision-heading h2 {
  max-width: 11ch;
  margin-bottom: 1.6rem;
  color: #edf0ec;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: 0.98;
}

.vision-heading p {
  max-width: 28rem;
  margin-bottom: 1.7rem;
  color: var(--silver-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  border-bottom: 1px solid rgba(213, 179, 108, 0.66);
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  border-bottom-color: var(--gold-bright);
  color: #f0d69b;
}

.vision-list,
.governance-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vision-list li {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: 1.25rem;
  padding: 1.45rem 0 1.55rem;
  border-bottom: 1px solid var(--line);
}

.vision-list li:first-child {
  padding-top: 0;
}

.item-number,
.principle-icon,
.governance-list li > span {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.vision-list h3,
.principle-list h3,
.governance-list h3,
.form-title-row h3,
.invitation-note h3 {
  margin: 0 0 0.45rem;
  color: var(--silver);
  font-size: 1.1rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.vision-list p,
.principle-list p {
  max-width: 34rem;
  margin: 0;
  color: var(--silver-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.context-note {
  max-width: 52rem;
  margin: 3.3rem 0 0;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(213, 179, 108, 0.38);
  color: var(--silver-muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.015em;
  line-height: 1.65;
}

.principles-section {
  padding-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(5.5rem, 10vw, 9rem);
  background: var(--ink);
}

.principle-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(14rem, 0.8fr);
  gap: 3rem;
  align-items: end;
  padding: 3.8rem 0 4rem;
}

.principle-intro h2 {
  max-width: 12ch;
  margin: 0;
  color: #edf0ec;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.principle-intro > p {
  max-width: 22rem;
  margin: 0 0 0.45rem;
  color: var(--gold-bright);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  line-height: 1.45;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.principle-list article {
  min-height: 13.5rem;
  padding: 1.5rem 1.4rem 1.4rem 0;
  border-right: 1px solid var(--line);
}

.principle-list article:not(:first-child) {
  padding-left: 1.4rem;
}

.principle-list article:last-child {
  border-right: 0;
}

.principle-icon {
  display: block;
  margin-bottom: 2.55rem;
}

.governance-section {
  padding-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(5rem, 9vw, 7.5rem);
  background: var(--surface);
}

.governance-section .editorial-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(18rem, 1.18fr);
  gap: clamp(3rem, 10vw, 10rem);
}

.governance-intro {
  max-width: 26rem;
  margin: 1.8rem 0 0;
  color: var(--silver-soft);
}

.governance-list {
  margin-top: 3rem;
  border-top: 1px solid var(--line-strong);
}

.governance-list li {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.governance-list h3 {
  margin: 0;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 500;
}

.founding-section {
  padding-top: clamp(5.5rem, 10vw, 9rem);
  padding-bottom: clamp(5.5rem, 10vw, 9rem);
  background: var(--surface-deep);
}

.founding-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(24rem, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
  padding-top: 3.8rem;
}

.founding-copy h2 {
  max-width: 10ch;
  margin: 0 0 1.65rem;
  color: #edf0ec;
  font-size: clamp(2.8rem, 5vw, 4.85rem);
  line-height: 0.96;
}

.founding-copy > p:not(.eyebrow) {
  max-width: 31rem;
  margin-bottom: 1.2rem;
  color: var(--silver-soft);
}

.founding-copy .text-link {
  margin-top: 1.3rem;
}

.invitation-note {
  max-width: 31rem;
  margin-top: 2.25rem;
  padding: 1.2rem 1.25rem;
  border-left: 2px solid var(--gold-dark);
  background: rgba(213, 179, 108, 0.055);
}

.invitation-note h3 {
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.invitation-note p {
  margin: 0;
  color: var(--silver-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.form-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
  border-top: 1px solid var(--gold-dark);
  border-bottom: 1px solid var(--line-strong);
  background: #121414;
}

.form-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.form-title-row h3 {
  margin: 0;
  color: #eff1ee;
  font-size: 1.45rem;
}

.test-pill,
.field-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.28rem 0.48rem;
  border: 1px solid rgba(213, 179, 108, 0.55);
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.field-tag {
  min-height: 1.2rem;
  padding: 0.2rem 0.34rem;
  border-color: rgba(224, 229, 224, 0.22);
  color: var(--silver-muted);
  font-size: 0.52rem;
  letter-spacing: 0.07em;
}

.form-description {
  margin: 0.85rem 0 1rem;
  color: var(--silver-muted);
  font-size: 0.84rem;
}

.test-notice {
  margin: 1rem 0 1.25rem;
  padding: 0.85rem 0.95rem;
  border-left: 2px solid var(--gold);
  background: rgba(213, 179, 108, 0.08);
  color: var(--silver-soft);
  font-size: 0.74rem;
  line-height: 1.55;
}

.test-notice strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--warning);
}

.test-notice p {
  margin: 0;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

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

.field {
  min-width: 0;
  margin-bottom: 1rem;
}

.field label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
  color: var(--silver);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(224, 229, 224, 0.27);
  border-radius: 0;
  outline: 0;
  background: #0b0d0d;
  color: var(--silver);
  font-size: 0.82rem;
  line-height: 1.35;
}

.field textarea {
  min-height: 6rem;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 2.3rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 1rem) 1.3rem, calc(100% - 0.7rem) 1.3rem;
  background-repeat: no-repeat;
  background-size: 0.32rem 0.32rem, 0.32rem 0.32rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #747c79;
  opacity: 1;
}

.field input[readonly],
.field textarea[readonly] {
  border-color: rgba(213, 179, 108, 0.48);
  background: #191b1a;
  color: #e0c98f;
  box-shadow: inset 3px 0 0 rgba(213, 179, 108, 0.6);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 1px var(--gold-bright);
}

.form-panel fieldset:disabled .field input,
.form-panel fieldset:disabled .field select,
.form-panel fieldset:disabled .field textarea {
  cursor: not-allowed;
  opacity: 0.9;
}

.demo-privacy {
  margin: 0.7rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--silver-muted);
  font-size: 0.69rem;
  line-height: 1.55;
}

.demo-privacy strong {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--silver);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-privacy p {
  margin: 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.62rem;
  color: var(--silver-soft);
  cursor: pointer;
  font-size: 0.72rem;
  line-height: 1.45;
}

.checkbox-label input {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.05rem 0 0;
  accent-color: var(--gold);
}

.form-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.form-buttons .button {
  flex: 1 1 12rem;
}

.form-feedback {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: var(--gold-bright);
  font-size: 0.76rem;
  line-height: 1.45;
}

.transparency-section {
  padding-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
  background: var(--surface);
}

.transparency-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.82fr);
  gap: clamp(3rem, 10vw, 10rem);
  align-items: start;
}

.transparency-layout h2 {
  max-width: 10ch;
  margin: 1.8rem 0 0;
  color: #edf0ec;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.97;
}

.transparency-card {
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--gold-dark);
  color: var(--silver-soft);
}

.transparency-card .test-pill {
  margin-bottom: 1.35rem;
}

.transparency-card p {
  max-width: 30rem;
  margin: 0 0 1.15rem;
  font-size: 1rem;
  line-height: 1.6;
}

.transparency-card .subtle {
  color: var(--silver-muted);
  font-size: 0.78rem;
}

.closing-section {
  padding-top: clamp(6rem, 11vw, 10rem);
  padding-bottom: clamp(6rem, 11vw, 10rem);
  background: var(--ink);
  text-align: center;
}

.closing-section .eyebrow {
  justify-content: center;
}

.closing-section h2 {
  max-width: 17ch;
  margin: 0 auto 2.2rem;
  color: #edf0ec;
  font-size: clamp(2.7rem, 5.7vw, 5.25rem);
  line-height: 0.98;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) minmax(16rem, 2fr) auto;
  gap: 1.5rem 3rem;
  align-items: center;
  padding-top: 2.6rem;
  padding-bottom: 2.6rem;
  background: var(--ink);
  color: var(--silver-muted);
  font-size: 0.68rem;
}

.footer-brand {
  width: 7.5rem;
}

.footer-brand img {
  width: 7.5rem;
  height: auto;
  object-fit: contain;
}

.site-footer p {
  margin: 0 0 0.35rem;
  color: var(--silver);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.site-footer span {
  line-height: 1.45;
}

.site-footer > a:not(.footer-brand) {
  min-height: 44px;
  padding-top: 0.65rem;
  color: var(--gold);
  text-decoration: none;
}

.site-footer > a:not(.footer-brand):hover,
.site-footer > a:not(.footer-brand):focus-visible {
  color: var(--gold-bright);
}

.site-footer .copyright {
  grid-column: 2 / -1;
  justify-self: end;
  color: var(--silver-muted);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 2rem var(--gutter);
  background:
    linear-gradient(135deg, transparent 0 49.8%, rgba(213, 179, 108, 0.08) 50%, transparent 50.2%),
    var(--ink);
  color: var(--silver);
}

.error-page > * {
  width: min(100%, 42rem);
}

.error-page h1 {
  margin: 0 0 1rem;
  color: #edf0ec;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
}

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

@media (max-width: 1080px) {
  :root {
    --gutter: clamp(1.25rem, 5vw, 2.5rem);
  }

  .main-nav {
    gap: 1rem;
    font-size: 0.66rem;
  }

  .hero-art {
    left: 34%;
    width: 73%;
  }

  .editorial-grid,
  .vision-layout,
  .founding-layout {
    gap: 3.5rem;
  }

  .principle-list article {
    min-height: 15rem;
  }
}

@media (max-width: 800px) {
  :root {
    --gutter: 1.25rem;
  }

  .site-header {
    top: 2rem;
  }

  .header-inner {
    min-height: 5.65rem;
    gap: 1rem;
  }

  .brand,
  .brand img {
    width: 7.75rem;
  }

  .brand img {
    max-height: 5.2rem;
  }

  .menu-toggle:not([hidden]) {
    display: inline-flex;
  }

  /* JS hides the navigation only after it exposes the menu button. */
  .site-header:has(.menu-toggle:not([hidden])) .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 0.55rem var(--gutter) 0.75rem;
    border-bottom: 1px solid rgba(213, 179, 108, 0.45);
    background: rgba(7, 8, 8, 0.98);
  }

  .site-header:has(.menu-toggle:not([hidden])) .main-nav.is-open {
    display: flex;
  }

  .site-header:has(.menu-toggle:not([hidden])) .main-nav a {
    min-height: 46px;
  }

  .site-header:has(.menu-toggle:not([hidden])) .main-nav a:not(.nav-cta)::after {
    right: auto;
    bottom: 0;
    width: 2.5rem;
  }

  .site-header:has(.menu-toggle:not([hidden])) .main-nav .nav-cta {
    justify-content: center;
    margin-top: 0.45rem;
  }

  /* With no JS, the hidden control leaves the full navigation visible. */
  .site-header:has(.menu-toggle[hidden]) .main-nav {
    display: flex;
  }

  .hero {
    min-height: 52rem;
  }

  .hero-art {
    top: 24%;
    right: 0;
    bottom: 0;
    left: 16%;
    width: 84%;
    height: 76%;
  }

  .hero-art img {
    object-position: 62% center;
    opacity: 0.55;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 8, 8, 0.98) 0%, rgba(7, 8, 8, 0.92) 29%, rgba(7, 8, 8, 0.5) 66%, rgba(7, 8, 8, 0.96) 100%),
      linear-gradient(90deg, rgba(7, 8, 8, 0.95) 0%, rgba(7, 8, 8, 0.14) 100%);
  }

  .hero-inner {
    padding-top: 11.5rem;
    padding-bottom: 11rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.45rem, 9.8vw, 4rem);
  }

  .hero-copy {
    max-width: 32rem;
  }

  .hero-actions {
    max-width: 31rem;
    margin-bottom: 3.2rem;
  }

  .hero-actions .button {
    flex: 1 1 15rem;
  }

  .hero-bottom {
    right: var(--gutter);
    bottom: 1.35rem;
    left: var(--gutter);
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .hero-bottom a {
    min-height: 40px;
  }

  .editorial-grid,
  .vision-layout,
  .founding-layout,
  .transparency-layout {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .editorial-grid > h2,
  .editorial-grid > div > h2,
  .vision-heading h2,
  .principle-intro h2,
  .founding-copy h2,
  .transparency-layout h2 {
    margin-top: 2.4rem;
  }

  .section-copy,
  .governance-list {
    margin-top: 0;
  }

  .principle-intro {
    grid-template-columns: 1fr;
    gap: 1.7rem;
    padding-top: 2.8rem;
    padding-bottom: 3rem;
  }

  .principle-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principle-list article {
    min-height: 0;
    padding: 1.3rem 1rem 2rem 0;
  }

  .principle-list article:nth-child(2n) {
    padding-left: 1rem;
    border-right: 0;
  }

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

  .principle-icon {
    margin-bottom: 1.8rem;
  }

  .governance-section .editorial-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.6rem;
  }

  .founding-layout {
    padding-top: 2.8rem;
  }

  .transparency-layout h2 {
    margin-top: 0;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .site-footer > div {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .site-footer .footer-brand {
    grid-column: 1;
    grid-row: 2;
  }

  .site-footer > a:not(.footer-brand) {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

  .site-footer .copyright {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .preview-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.18rem;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    text-align: left;
  }

  .site-header {
    top: 3.2rem;
  }

  .hero {
    min-height: 55rem;
  }

  .hero-inner {
    padding-top: 10.5rem;
  }

  .hero h1 {
    font-size: clamp(2.22rem, 10.25vw, 2.55rem);
    letter-spacing: -0.07em;
  }

  .hero-copy {
    font-size: 1rem;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 2.55rem;
  }

  .hero-actions .button {
    flex-basis: auto;
  }

  .hero-status {
    font-size: 0.72rem;
  }

  .section-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .section-label > :last-child {
    text-align: left;
  }

  .mission-section,
  .vision-section,
  .principles-section,
  .governance-section,
  .founding-section,
  .transparency-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .editorial-grid > h2,
  .editorial-grid > div > h2,
  .vision-heading h2,
  .principle-intro h2,
  .founding-copy h2,
  .transparency-layout h2 {
    margin-top: 2rem;
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .vision-layout {
    padding-top: 2.6rem;
  }

  .vision-list li {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.8rem;
  }

  .principle-list article {
    padding-right: 0.75rem;
  }

  .principle-list article:nth-child(2n) {
    padding-left: 0.75rem;
  }

  .principle-list h3 {
    font-size: 0.98rem;
  }

  .principle-list p,
  .vision-list p {
    font-size: 0.82rem;
  }

  .form-panel {
    padding: 1rem;
  }

  .form-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-buttons,
  .form-buttons .button {
    width: 100%;
  }

  .form-buttons {
    flex-direction: column;
  }

  .form-buttons .button {
    flex-basis: auto;
  }

  .closing-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .closing-section h2 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }
}

@media (max-width: 360px) {
  :root {
    --gutter: 1rem;
  }

  .brand,
  .brand img {
    width: 7.2rem;
  }

  .menu-toggle {
    min-width: 6.35rem;
    padding-inline: 0.55rem;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .hero {
    min-height: 56rem;
  }

  .hero-bottom {
    font-size: 0.56rem;
  }

  .principle-list {
    grid-template-columns: 1fr;
  }

  .principle-list article,
  .principle-list article:nth-child(2n) {
    padding: 1.3rem 0 1.6rem;
    border-right: 0;
  }

  .principle-list article:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Preview readability refinements: notices must not disappear into the art. */
:root { --silver-muted: #a0a8a5; }
.site-header { background: #000; }
.field input, .field select, .field textarea { font-size: 1rem; }
.field input::placeholder, .field textarea::placeholder { color: #9ca5a0; }
.context-note, .demo-privacy { font-size: 0.78rem; }
.field label, .checkbox-label, .test-notice { font-size: 0.82rem; }
.field-tag { font-size: 0.65rem; }

@media (max-width: 800px) {
  .site-header:has(.menu-toggle[hidden]) { position: relative; top: auto; }
  .site-header:has(.menu-toggle[hidden]) .header-inner { flex-wrap: wrap; padding-bottom: 1rem; }
  .site-header:has(.menu-toggle[hidden]) .main-nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; }
  body:has(.menu-toggle[hidden]) .hero-inner { padding-top: 3rem; }
}
