:root {
  --bg: #070807;
  --bg-2: #0d1110;
  --ink: #f7efe2;
  --muted: #c2c9c0;
  --soft: rgba(247, 239, 226, 0.76);
  --line: rgba(247, 239, 226, 0.14);
  --panel: rgba(12, 14, 13, 0.86);
  --panel-strong: rgba(7, 8, 7, 0.94);
  --gold: #f6c85a;
  --gold-2: #ffe6a8;
  --ton: #22b8ff;
  --cyan: #63ecff;
  --ember: #ff7a3d;
  --green: #72d887;
  --rose: #ff7da5;
  --platinum: #d9e6ef;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.52);
  --radius: 8px;
  --max: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(7, 8, 7, 0.92), rgba(7, 8, 7, 0.98)),
    #070807;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.52;
  letter-spacing: 0;
  overflow-x: hidden;
}

main,
section,
footer {
  max-width: 100vw;
  overflow-x: hidden;
}

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

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

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

.skip-link {
  position: fixed;
  left: 14px;
  top: 12px;
  z-index: 120;
  transform: translateY(-140%);
  padding: 9px 12px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #10100b;
  font-weight: 900;
  transition: transform 180ms ease;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(6, 8, 7, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  width: min(var(--max), calc(100vw - 34px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 950;
}

.mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(246, 200, 90, 0.62);
  background: #090b0a url("assets/brand/tcult-gold-medallion-mark.png") center / cover no-repeat;
  box-shadow: 0 0 28px rgba(246, 200, 90, 0.28);
  overflow: hidden;
}

.mark::before {
  content: "";
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(247, 239, 226, 0.78);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  background: rgba(246, 200, 90, 0.1);
  transform: translateY(-1px);
}

.nav a.nav-cta {
  border: 1px solid rgba(246, 200, 90, 0.44);
  color: var(--gold-2);
}

.shell {
  width: min(var(--max), calc(100vw - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero.compact {
  min-height: 62vh;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: #050605;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 7, 6, 0.88), rgba(6, 7, 6, 0.36) 48%, rgba(6, 7, 6, 0.92)),
    linear-gradient(180deg, rgba(6, 7, 6, 0.2), rgba(6, 7, 6, 0.88) 82%);
}

.hero-copy {
  width: 100%;
  max-width: 890px;
  padding: 138px 0 54px;
}

.hero-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.eyebrow,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 6px 9px;
  border: 1px solid rgba(246, 200, 90, 0.34);
  border-radius: 999px;
  background: rgba(246, 200, 90, 0.09);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 920;
  line-height: 1;
  text-transform: uppercase;
}

.tag.ton {
  border-color: rgba(34, 184, 255, 0.42);
  background: rgba(34, 184, 255, 0.1);
  color: #b9ecff;
}

.tag.green {
  border-color: rgba(114, 216, 135, 0.42);
  background: rgba(114, 216, 135, 0.1);
  color: #ccffd4;
}

.tag.ember {
  border-color: rgba(255, 122, 61, 0.42);
  background: rgba(255, 122, 61, 0.11);
  color: #ffd5c1;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 76px;
  line-height: 0.96;
  letter-spacing: 0;
  max-width: 980px;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 14px;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h3 {
  margin-bottom: 9px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.gold {
  color: var(--gold-2);
}

.ton {
  color: #9ee7ff;
}

.lead {
  max-width: 850px;
  margin-bottom: 0;
  color: rgba(247, 239, 226, 0.82);
  font-size: 20px;
  line-height: 1.62;
  overflow-wrap: break-word;
}

.copy {
  color: rgba(247, 239, 226, 0.78);
  font-size: 16px;
  line-height: 1.72;
  overflow-wrap: break-word;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.btn {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid rgba(247, 239, 226, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 200, 90, 0.6);
  background: rgba(246, 200, 90, 0.11);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.btn.primary {
  border-color: rgba(246, 200, 90, 0.72);
  background: linear-gradient(180deg, #ffe2a0, #d99124);
  color: #15100a;
  box-shadow: 0 14px 44px rgba(246, 200, 90, 0.2);
}

.btn.ton {
  border-color: rgba(34, 184, 255, 0.62);
  background: rgba(34, 184, 255, 0.12);
  color: #c6f3ff;
}

.section {
  position: relative;
  padding: 92px 0;
  background: #090a09;
}

.section.alt {
  background:
    linear-gradient(180deg, rgba(12, 16, 15, 0.96), rgba(9, 10, 9, 0.98)),
    #0d1110;
}

.section.ember-band {
  background:
    linear-gradient(180deg, rgba(27, 15, 10, 0.96), rgba(8, 9, 8, 0.98)),
    #120d09;
}

.section.ton-band {
  background:
    linear-gradient(180deg, rgba(7, 20, 24, 0.96), rgba(8, 9, 8, 0.98)),
    #071418;
}

.section.utility-band {
  background:
    linear-gradient(180deg, rgba(7, 21, 23, 0.96), rgba(11, 10, 7, 0.97)),
    #071519;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}

.note {
  border-left: 3px solid rgba(246, 200, 90, 0.72);
  padding: 14px 0 14px 18px;
  color: rgba(247, 239, 226, 0.76);
  font-size: 15px;
  line-height: 1.62;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.032));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body {
  padding: 21px;
}

.card p {
  color: rgba(247, 239, 226, 0.74);
  line-height: 1.62;
}

.paper-download {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(246, 200, 90, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 16% 12%, rgba(246, 200, 90, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(34, 184, 255, 0.08));
  box-shadow: var(--shadow);
}

.paper-download h3 {
  margin: 8px 0 8px;
  font-size: clamp(25px, 3vw, 40px);
}

.paper-download p {
  max-width: 900px;
  margin: 0;
  color: rgba(247, 239, 226, 0.78);
  line-height: 1.68;
}

.paper-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.image-card img,
.image-card video {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.game-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.game-window {
  min-height: 214px;
  display: grid;
  place-items: end start;
  padding: 16px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-window.tap {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72)),
    url("assets/optimized/artifact-cards/plush-tap-botfather.webp") center / cover no-repeat;
}

.game-window.run {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72)),
    url("assets/plush-run-botfather-640x360.png") center / cover no-repeat;
}

.game-window.hop {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72)),
    url("assets/plush-hop-botfather-640x360.png") center / cover no-repeat;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(114, 216, 135, 0.14);
  border: 1px solid rgba(114, 216, 135, 0.36);
  color: #d6ffdc;
  font-size: 12px;
  font-weight: 900;
}

.utility-grid {
  align-items: stretch;
}

.utility-card .card-body {
  display: flex;
  flex-direction: column;
  min-height: 268px;
}

.utility-card .actions {
  margin-top: auto;
}

.utility-card p {
  margin-bottom: 18px;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.utility-window {
  position: relative;
  overflow: hidden;
}

.utility-window.guard {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.34)),
    url("assets/utility/tcult-guard-title-card-640x360.png") center / cover no-repeat;
}

.utility-window.roadmap {
  align-items: end;
  background:
    radial-gradient(circle at 74% 22%, rgba(34, 184, 255, 0.3), transparent 28%),
    radial-gradient(circle at 18% 18%, rgba(246, 200, 90, 0.25), transparent 28%),
    linear-gradient(135deg, rgba(12, 18, 18, 0.98), rgba(8, 9, 8, 0.98));
}

.utility-window.roadmap::before,
.utility-window.roadmap::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(247, 239, 226, 0.12);
  border-radius: var(--radius);
}

.utility-window.roadmap::after {
  inset: auto 22px 22px auto;
  width: 86px;
  height: 86px;
  border-color: rgba(34, 184, 255, 0.36);
  transform: rotate(45deg);
}

.utility-window.gift-vault {
  background:
    radial-gradient(circle at 28% 28%, rgba(246, 200, 90, 0.34), transparent 27%),
    radial-gradient(circle at 82% 24%, rgba(255, 125, 165, 0.19), transparent 24%),
    linear-gradient(135deg, rgba(22, 13, 9, 0.98), rgba(8, 9, 8, 0.98));
}

.utility-window.route-compass {
  background:
    radial-gradient(circle at 76% 26%, rgba(34, 184, 255, 0.34), transparent 28%),
    radial-gradient(circle at 16% 70%, rgba(114, 216, 135, 0.22), transparent 26%),
    linear-gradient(135deg, rgba(7, 20, 24, 0.98), rgba(8, 9, 8, 0.98));
}

.utility-window.guard-registry {
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 125, 165, 0.24), transparent 26%),
    radial-gradient(circle at 20% 24%, rgba(246, 200, 90, 0.24), transparent 26%),
    linear-gradient(135deg, rgba(18, 11, 15, 0.98), rgba(8, 9, 8, 0.98));
}

.utility-window.ai-utility {
  background:
    radial-gradient(circle at 68% 22%, rgba(99, 236, 255, 0.26), transparent 30%),
    radial-gradient(circle at 24% 72%, rgba(246, 200, 90, 0.24), transparent 26%),
    linear-gradient(135deg, rgba(7, 16, 21, 0.98), rgba(8, 9, 8, 0.98));
}

.utility-window-label {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(6, 8, 7, 0.68);
  backdrop-filter: blur(10px);
}

.utility-window-label span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.utility-window-label strong {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 0.96;
}

.artifact-thumb {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #111;
}

.artifact-list {
  display: grid;
  gap: 12px;
}

.artifact-row {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.artifact-row img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: var(--radius);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
}

.media-frame {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-frame video,
.media-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.overlay-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(6, 8, 7, 0.72);
  backdrop-filter: blur(12px);
}

.overlay-caption p {
  margin: 7px 0 0;
  color: rgba(247, 239, 226, 0.76);
}

.council-strip {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  margin-top: 22px;
}

.portrait-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 16px;
}

.portrait {
  min-height: 250px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #151512;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.role {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: rgba(247, 239, 226, 0.74);
  font-size: 14px;
}

.role div {
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.lineup-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: 18px;
  margin-bottom: 20px;
}

.lineup-frame {
  position: relative;
  margin: 0;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0e100f;
}

.lineup-frame img {
  width: 100%;
  height: 100%;
  min-height: 258px;
  object-fit: cover;
}

.lineup-side {
  display: grid;
  gap: 18px;
}

.lineup-label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 3px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(6, 8, 7, 0.74);
  backdrop-filter: blur(12px);
}

.lineup-label span {
  color: rgba(247, 239, 226, 0.74);
  font-size: 14px;
}

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

.cinema-card {
  position: relative;
  min-height: 310px;
}

.cinema-card video {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.cinema-card .card-body {
  min-height: 170px;
}

.story-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.beat {
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.beat strong {
  display: block;
  margin: 12px 0 7px;
  color: var(--ink);
  font-size: 17px;
}

.beat p {
  margin: 0;
  color: rgba(247, 239, 226, 0.72);
  font-size: 14px;
}

.architecture-stage {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.025)),
    #080b0c;
  box-shadow: var(--shadow);
}

.architecture-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: stretch;
}

.solution-map {
  width: 100%;
  min-height: 560px;
  border-radius: var(--radius);
  background: #070b0c;
}

.map-node {
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.32));
}

.map-label {
  fill: #fff5de;
  font-size: 19px;
  font-weight: 900;
}

.map-small {
  fill: rgba(247, 239, 226, 0.76);
  font-size: 12px;
  font-weight: 760;
}

.flow {
  fill: none;
  stroke-linecap: round;
  stroke-width: 5;
  stroke-dasharray: 10 14;
  animation: dash 16s linear infinite;
}

.flow.data {
  stroke: rgba(99, 236, 255, 0.86);
}

.flow.auto {
  stroke: rgba(246, 200, 90, 0.86);
  animation-duration: 19s;
}

.flow.auth {
  stroke: rgba(255, 125, 165, 0.82);
  animation-duration: 22s;
}

.flow.ton {
  stroke: rgba(114, 216, 135, 0.84);
  animation-duration: 18s;
}

@keyframes dash {
  to {
    stroke-dashoffset: -180;
  }
}

.legend-panel {
  display: grid;
  gap: 12px;
}

.legend-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.legend-swatch {
  height: 5px;
  margin-top: 10px;
  border-radius: 999px;
}

.legend-swatch.data {
  background: var(--cyan);
}

.legend-swatch.auto {
  background: var(--gold);
}

.legend-swatch.auth {
  background: var(--rose);
}

.legend-swatch.ton {
  background: var(--green);
}

.thesis-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: start;
}

.thesis-panel {
  padding: 24px;
}

.thesis-panel p,
.thesis-panel li {
  color: rgba(247, 239, 226, 0.77);
  line-height: 1.76;
}

.thesis-panel ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.proposition {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.prop-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(246, 200, 90, 0.14);
  border: 1px solid rgba(246, 200, 90, 0.42);
  color: var(--gold-2);
  font-weight: 950;
}

.layer-list {
  display: grid;
  gap: 12px;
}

.thesis-architecture-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.45fr) minmax(0, 0.55fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 24px;
}

.layer-architecture-map {
  width: 100%;
  min-height: 640px;
  border-radius: var(--radius);
  background: #070b0c;
}

.layer-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.layer-row strong {
  color: var(--gold-2);
}

.footer {
  padding: 38px 0 48px;
  background: #050605;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-stack {
  display: grid;
  gap: 8px;
}

.footer p {
  margin: 0;
  color: rgba(247, 239, 226, 0.68);
}

.footer-credit {
  margin-top: 6px;
  color: rgba(247, 239, 226, 0.56);
  font-size: 12px;
  line-height: 1.55;
}

.footer-credit a {
  color: var(--gold-2);
  font-weight: 850;
}

.headline-line {
  display: block;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 58px;
  }

  .grid.four,
  .story-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture-layout,
  .thesis-layout,
  .thesis-architecture-grid,
  .lineup-showcase,
  .paper-download,
  .split,
  .council-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body,
  .topbar,
  .shell,
  .hero-copy,
  .card,
  .section-head,
  .split,
  .thesis-layout {
    max-width: 100%;
    min-width: 0;
  }

  .topbar-inner {
    width: calc(100vw - 22px);
    min-height: 64px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding: 11px 0;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .shell {
    width: calc(100vw - 24px);
  }

  .hero {
    min-height: 82vh;
  }

  .hero-copy {
    padding: 96px 0 38px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.06;
  }

  h2 {
    font-size: 31px;
  }

  .lead {
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head,
  .grid.two,
  .grid.three,
  .grid.four,
  .paper-download,
  .cinema-grid {
    grid-template-columns: 1fr;
  }

  .paper-actions {
    justify-content: flex-start;
  }

  .portrait-card,
  .artifact-row,
  .proposition,
  .layer-row {
    grid-template-columns: 1fr;
  }

  .portrait {
    min-height: 320px;
  }

  .artifact-row img {
    width: 100%;
    height: 170px;
  }

  .solution-map {
    min-height: 420px;
  }

  .layer-architecture-map {
    min-height: 520px;
  }
}

@media (max-width: 520px) {
  .hero-copy,
  .section-head,
  .split,
  .thesis-layout,
  .grid,
  .artifact-list,
  .layer-list,
  .thesis-architecture-grid,
  .architecture-stage,
  .paper-download,
  .media-frame,
  .card {
    max-width: 360px;
  }

  .actions,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-kicker-row {
    gap: 7px;
  }

  .eyebrow,
  .tag {
    font-size: 11px;
  }

  h1 {
    font-size: 31px;
  }

  h2 {
    font-size: 27px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
