:root {
  color-scheme: dark;
  --black: #080807;
  --charcoal: #11110f;
  --graphite: #191816;
  --iron: #26231f;
  --bone: #ebe5d7;
  --paper: #e9e1d1;
  --paper-ink: #211e19;
  --muted: #b9b0a0;
  --ash: #81796f;
  --copper: #b46d45;
  --copper-dark: #743d29;
  --crimson: #8a2b25;
  --line: rgba(235, 229, 215, 0.14);
  --line-strong: rgba(235, 229, 215, 0.28);
  --paper-line: rgba(33, 30, 25, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(235, 229, 215, 0.026) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(0deg, rgba(235, 229, 215, 0.018) 1px, transparent 1px) 0 0 / 84px 84px,
    radial-gradient(circle at 77% 16%, rgba(180, 109, 69, 0.14), transparent 28rem),
    linear-gradient(180deg, #090908 0%, #0c0c0a 54%, #11100d 100%);
  color: var(--bone);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.68), transparent 18%, transparent 82%, rgba(8, 8, 7, 0.72)),
    repeating-linear-gradient(
      0deg,
      rgba(235, 229, 215, 0.014) 0,
      rgba(235, 229, 215, 0.014) 1px,
      transparent 1px,
      transparent 8px
    );
}

body.drawer-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
  margin: 0;
  padding: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 7, 0.8);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.brand-wordmark {
  display: block;
  width: clamp(162px, 16vw, 218px);
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links button,
.header-action,
.button,
.drawer-close {
  appearance: none;
}

.nav-links button {
  border: 0;
  background: transparent;
  cursor: pointer;
  letter-spacing: inherit;
  text-transform: inherit;
}

.nav-links a,
.nav-links button,
.header-action,
.site-footer a {
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.nav-links a:hover,
.nav-links button:hover,
.site-footer a:hover {
  color: var(--bone);
}

.header-action {
  border: 1px solid rgba(180, 109, 69, 0.78);
  background: transparent;
  padding: 13px 16px;
  cursor: pointer;
  color: var(--copper);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-action:hover {
  border-color: var(--bone);
  color: var(--bone);
}

.header-action-mobile {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.12fr);
  gap: clamp(36px, 6vw, 86px);
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  padding: clamp(18px, 2.2vw, 32px) 0 clamp(18px, 2.8vw, 38px);
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
}

.hero-copy {
  align-self: start;
  max-width: 610px;
}

.system-label,
.section-label-text {
  color: var(--copper);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--bone);
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin-top: 32px;
  font-size: clamp(4.2rem, 7.2vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-subhead {
  max-width: 560px;
  margin-top: 24px;
  color: var(--bone);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(1rem, 1.6vw, 1.32rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1.55;
  text-transform: uppercase;
}

.hero-subhead::before {
  display: block;
  width: 76px;
  height: 2px;
  margin-bottom: 18px;
  content: "";
  background: var(--copper);
}

.hero-body {
  max-width: 500px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1rem, 1.28vw, 1.18rem);
  line-height: 1.68;
}

.cta-row,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid transparent;
  padding: 0 24px;
  cursor: pointer;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: rgba(180, 109, 69, 0.82);
  background: rgba(180, 109, 69, 0.16);
  color: var(--bone);
}

.button-primary::after {
  margin-left: 22px;
  content: "->";
  color: var(--copper);
}

.button-primary:hover {
  border-color: var(--bone);
  background: rgba(235, 229, 215, 0.08);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(235, 229, 215, 0.02);
  color: var(--bone);
}

.button-secondary:hover {
  border-color: rgba(180, 109, 69, 0.78);
  color: var(--copper);
}

.hero-footnote {
  margin-top: 52px;
  border-top: 1px solid rgba(180, 109, 69, 0.7);
  padding-top: 18px;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-transform: uppercase;
}

.gatehouse-stage {
  position: relative;
  align-self: stretch;
  min-height: 0;
  height: clamp(560px, calc(100svh - 132px), 680px);
  margin: 0;
  background: #090908;
  overflow: hidden;
}

.gatehouse-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: contrast(1.05) saturate(0.9);
}

.plan-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(235, 229, 215, 0.045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(0deg, rgba(235, 229, 215, 0.035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(180deg, rgba(8, 8, 7, 0.08), rgba(8, 8, 7, 0.24)),
    radial-gradient(circle at 50% 56%, transparent 0 18rem, rgba(8, 8, 7, 0.36) 34rem);
  z-index: 2;
  opacity: 0.78;
  pointer-events: none;
}

.plan-grid::before,
.plan-grid::after {
  position: absolute;
  content: "";
}

.plan-grid::before {
  left: 12%;
  right: 12%;
  top: 10%;
  bottom: 7%;
  border: 1px solid rgba(235, 229, 215, 0.08);
}

.plan-grid::after {
  left: 50%;
  top: 8%;
  bottom: 4%;
  width: 1px;
  background: rgba(180, 109, 69, 0.28);
}

.plan-band {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  min-height: 260px;
  margin: 0 auto clamp(30px, 3.6vw, 48px);
  padding: clamp(34px, 4vw, 48px) clamp(26px, 4.8vw, 64px);
  border: 1px solid rgba(235, 229, 215, 0.12);
  background: var(--paper);
  color: var(--paper-ink);
  scroll-margin-top: 96px;
  overflow: hidden;
}

.plan-band::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(233, 225, 209, 0.94) 0%, rgba(233, 225, 209, 0.84) 38%, rgba(233, 225, 209, 0.2) 66%, rgba(233, 225, 209, 0.34) 100%),
    linear-gradient(180deg, rgba(233, 225, 209, 0.18), rgba(233, 225, 209, 0.42));
  pointer-events: none;
}

.plan-band::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(90deg, var(--paper-line) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(0deg, var(--paper-line) 1px, transparent 1px) 0 0 / 72px 72px;
  opacity: 0.45;
  pointer-events: none;
}

.plan-band-image {
  position: absolute;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: 116%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: translateX(14%);
  filter: contrast(1.08) saturate(0.9);
}

.plan-band-copy {
  position: relative;
  z-index: 3;
  max-width: 540px;
}

.plan-band p {
  max-width: 540px;
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.2vw, 3.35rem);
  line-height: 1.04;
}

.plan-band p + p {
  color: var(--copper-dark);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(82px, 10vw, 136px) 0;
  border-bottom: 1px solid var(--line);
}

.split-section,
.rails-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
}

.rails-section {
  grid-template-columns: minmax(500px, 0.9fr) minmax(0, 1fr);
}

.section h2,
.final-cta h2,
.brief-drawer h2 {
  max-width: 840px;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.98;
}

.section-copy {
  display: grid;
  align-content: start;
  gap: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.68;
}

.section-heading {
  max-width: 860px;
}

.section-heading > p:last-child {
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.42vw, 1.18rem);
  line-height: 1.64;
}

.authority-chain {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 56px;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.authority-chain li {
  min-height: 206px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(235, 229, 215, 0.045), rgba(235, 229, 215, 0.012)),
    rgba(17, 17, 15, 0.92);
}

.authority-chain li:nth-child(4),
.authority-chain li:nth-child(5) {
  background:
    linear-gradient(180deg, rgba(138, 43, 37, 0.12), rgba(17, 17, 15, 0.94)),
    rgba(17, 17, 15, 0.92);
}

.authority-chain span {
  color: var(--copper);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.authority-chain strong {
  display: block;
  margin-top: 30px;
  color: var(--bone);
  font-size: 1rem;
  line-height: 1.25;
}

.authority-chain p {
  margin-top: 12px;
  color: var(--ash);
  font-size: 0.9rem;
  line-height: 1.5;
}

.mechanism-plate {
  position: relative;
  min-height: clamp(520px, 48vw, 640px);
  margin: 0;
  border: 1px solid rgba(235, 229, 215, 0.14);
  background: var(--paper);
  color: var(--paper-ink);
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(33, 30, 25, 0.1),
    0 24px 70px rgba(0, 0, 0, 0.22);
}

.mechanism-plate::before,
.mechanism-plate::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.mechanism-plate::before {
  bottom: 108px;
  background:
    linear-gradient(90deg, rgba(33, 30, 25, 0.1) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(0deg, rgba(33, 30, 25, 0.08) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(90deg, rgba(233, 225, 209, 0.72) 0%, transparent 16%, transparent 84%, rgba(233, 225, 209, 0.76) 100%);
  opacity: 0.64;
}

.mechanism-plate::after {
  bottom: 108px;
  background:
    radial-gradient(circle at 48% 50%, transparent 0 17rem, rgba(33, 30, 25, 0.08) 26rem),
    linear-gradient(180deg, rgba(233, 225, 209, 0.08), rgba(233, 225, 209, 0.28));
}

.mechanism-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  z-index: 1;
  width: 100%;
  height: calc(100% - 108px);
  object-fit: cover;
  object-position: 50% 44%;
  filter: contrast(1.04) saturate(0.82);
}

.mechanism-pin {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(116, 61, 41, 0.76);
  background: rgba(233, 225, 209, 0.86);
  color: var(--copper-dark);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(233, 225, 209, 0.6),
    0 10px 28px rgba(33, 30, 25, 0.18);
}

.mechanism-pin::after {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 46px;
  height: 1px;
  content: "";
  background: rgba(116, 61, 41, 0.48);
}

.pin-load {
  top: 25%;
  left: 14%;
}

.pin-policy {
  top: 13%;
  left: 51%;
}

.pin-lock {
  top: 43%;
  right: 14%;
}

.pin-lock::after,
.pin-threshold::after {
  right: 100%;
  left: auto;
}

.pin-boundary {
  bottom: 31%;
  left: 18%;
}

.pin-threshold {
  right: 31%;
  bottom: 21%;
}

.mechanism-legend {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 108px;
  border-top: 1px solid rgba(33, 30, 25, 0.18);
  background:
    linear-gradient(90deg, rgba(33, 30, 25, 0.08) 1px, transparent 1px) 0 0 / 20% 100%,
    rgba(226, 216, 199, 0.96);
}

.mechanism-legend span {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  border-right: 1px solid rgba(33, 30, 25, 0.16);
  padding: 18px 12px 16px;
  color: rgba(33, 30, 25, 0.78);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.32;
  text-transform: uppercase;
}

.mechanism-legend span:last-child {
  border-right: 0;
}

.mechanism-legend strong {
  color: var(--copper-dark);
  font-size: 0.62rem;
}

.origin-block {
  max-width: 920px;
  margin-left: auto;
  border-left: 1px solid rgba(180, 109, 69, 0.58);
  padding-left: clamp(28px, 5vw, 64px);
}

.origin-block p:not(.section-label-text) {
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.64;
}

.origin-block .status-line {
  color: var(--bone);
  font-weight: 700;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 8vw, 110px) 0;
  border-bottom: 1px solid var(--line);
}

.final-cta p:not(.section-label-text) {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  color: var(--ash);
  font-size: 0.82rem;
}

.footer-brand .brand-wordmark {
  width: 148px;
}

.footer-unit {
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: right;
  text-transform: uppercase;
}

.brief-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  visibility: hidden;
  background: rgba(4, 4, 3, 0.72);
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.brief-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.brief-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(610px, 100vw);
  height: 100svh;
  padding: clamp(24px, 4vw, 42px);
  border-left: 1px solid rgba(180, 109, 69, 0.48);
  background:
    linear-gradient(90deg, rgba(180, 109, 69, 0.07), transparent 34%),
    linear-gradient(180deg, #12110f, #090908);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.48);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.brief-drawer.is-open {
  transform: translateX(0);
}

.brief-drawer-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.brief-drawer h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.drawer-close {
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: rgba(235, 229, 215, 0.03);
  cursor: pointer;
}

.drawer-close span,
.drawer-close::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1px;
  content: "";
  background: var(--bone);
}

.drawer-close span {
  transform: translate(-50%, -50%) rotate(45deg);
}

.drawer-close::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.brief-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 26px;
  background: var(--line);
  border: 1px solid var(--line);
}

.brief-meta div {
  padding: 18px;
  background: rgba(17, 17, 15, 0.84);
}

.brief-meta dt {
  color: var(--ash);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brief-meta dd {
  margin-top: 6px;
  color: var(--bone);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.brief-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.brief-section h3 {
  font-size: 1.24rem;
}

.brief-section p,
.brief-section li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.brief-section p {
  margin-top: 12px;
}

.brief-section ul,
.brief-section ol {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  list-style: none;
}

.brief-section li {
  position: relative;
  padding-left: 20px;
}

.brief-section li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 1px;
  content: "";
  background: var(--copper);
}

.drawer-action {
  width: 100%;
  margin-top: 30px;
}

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

  .rails-section {
    grid-template-columns: 1fr;
  }

  .gatehouse-stage {
    min-height: 520px;
  }

  .authority-chain {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-unit {
    text-align: left;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    width: calc(100% - 28px);
  }

  .brand-wordmark {
    width: 172px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section,
  .final-cta,
  .site-footer {
    width: calc(100% - 28px);
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
    overflow: hidden;
  }

  .hero-copy {
    position: relative;
    z-index: 4;
  }

  .hero .gatehouse-stage {
    position: absolute;
    inset: 0;
    z-index: 1;
    min-height: 0;
    border-left: 0;
    opacity: 0.46;
  }

  .hero .gatehouse-stage::after {
    position: absolute;
    inset: 0;
    z-index: 3;
    content: "";
    background:
      linear-gradient(180deg, rgba(8, 8, 7, 0.72), rgba(8, 8, 7, 0.5) 34%, rgba(8, 8, 7, 0.86) 100%),
      linear-gradient(90deg, rgba(8, 8, 7, 0.95), rgba(8, 8, 7, 0.52) 56%, rgba(8, 8, 7, 0.88));
    pointer-events: none;
  }

  .split-section,
  .rails-section {
    grid-template-columns: 1fr;
  }

  .plan-band {
    width: calc(100% - 28px);
    min-height: 300px;
    padding: 38px 20px;
  }

  .plan-band::before {
    background:
      linear-gradient(90deg, rgba(233, 225, 209, 0.9) 0%, rgba(233, 225, 209, 0.72) 47%, rgba(233, 225, 209, 0.26) 78%, rgba(233, 225, 209, 0.5) 100%),
      linear-gradient(180deg, rgba(233, 225, 209, 0.28), rgba(233, 225, 209, 0.48));
  }

  .plan-band-image {
    width: 126%;
    transform: translateX(10%);
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .header-action-desktop {
    display: none;
  }

  .header-action-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.62rem;
    letter-spacing: 0.13em;
  }

  .brand-wordmark {
    width: 168px;
  }

  h1 {
    font-size: clamp(3rem, 13.2vw, 4rem);
    letter-spacing: 0.015em;
  }

  .hero-subhead {
    letter-spacing: 0.18em;
  }

  .button {
    width: 100%;
  }

  .hero-footnote {
    margin-top: 58px;
  }

  .gatehouse-stage {
    min-height: 430px;
  }

  .gatehouse-image {
    object-position: 50% 46%;
  }

  .authority-chain,
  .brief-meta {
    grid-template-columns: 1fr;
  }

  .authority-chain li {
    min-height: 138px;
  }

  .mechanism-plate {
    min-height: 620px;
  }

  .mechanism-plate::before,
  .mechanism-plate::after {
    bottom: 178px;
  }

  .mechanism-image {
    height: calc(100% - 178px);
    object-position: 48% 43%;
  }

  .mechanism-pin {
    width: 28px;
    height: 28px;
    font-size: 0.54rem;
  }

  .mechanism-pin::after {
    width: 28px;
  }

  .pin-load {
    top: 18%;
    left: 8%;
  }

  .pin-policy {
    top: 10%;
    left: 56%;
  }

  .pin-lock {
    top: 39%;
    right: 7%;
  }

  .pin-boundary {
    bottom: 38%;
    left: 8%;
  }

  .pin-threshold {
    right: 22%;
    bottom: 31%;
  }

  .mechanism-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 178px;
  }

  .mechanism-legend span {
    min-height: 56px;
    border-bottom: 1px solid rgba(33, 30, 25, 0.14);
    padding: 11px 12px;
    font-size: 0.54rem;
  }

  .mechanism-legend span:nth-child(2n) {
    border-right: 0;
  }

  .mechanism-legend span:nth-last-child(-n + 1) {
    border-bottom: 0;
  }

  .brief-drawer {
    padding: 22px 18px 30px;
  }
}

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