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

:root {
  --bureau-black: #070b0a;
  --bureau-green: #101c17;
  --quarter-green: #17352a;
  --iron: #1c221d;
  --paper: #f4e8c9;
  --paper-soft: #ddcfa8;
  --paper-muted: rgba(244, 232, 201, 0.72);
  --brass: #c98f35;
  --brass-bright: #efc56f;
  --absinthe: #9eb45f;
  --river: #5e9298;
  --rouge: #a94a3d;
  --violet: #5d477a;
  --ink: #21170d;
  --line: rgba(244, 232, 201, 0.18);
  --line-strong: rgba(244, 232, 201, 0.42);
  --panel: rgba(9, 14, 12, 0.86);
  --panel-soft: rgba(244, 232, 201, 0.07);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --max: 1160px;
}

html {
  min-height: 100%;
  background: var(--bureau-black);
}

body.public-shell {
  min-height: 100svh;
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(150deg, rgba(7, 11, 10, 0.98) 0%, rgba(15, 34, 27, 0.98) 46%, rgba(41, 28, 19, 0.98) 100%);
  font-family: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  position: relative;
}

body.public-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    repeating-linear-gradient(0deg, transparent 0 35px, rgba(244, 232, 201, 0.1) 36px),
    repeating-linear-gradient(90deg, transparent 0 35px, rgba(244, 232, 201, 0.07) 36px),
    repeating-linear-gradient(135deg, transparent 0 110px, rgba(201, 143, 53, 0.12) 112px);
  mix-blend-mode: screen;
}

body.public-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 130px rgba(0, 0, 0, 0.62);
}

body.public-shell a {
  color: inherit;
}

body.public-library {
  --ink: #15211d;
  --muted: #6a7770;
  --muted-strong: #40504a;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(21, 33, 29, 0.12);
  --line-strong: rgba(21, 33, 29, 0.24);
  --pine: #29433d;
  --brass: #c88f48;
  --cream: #f8f6ef;
  --transition: 160ms ease;
  --shadow-soft: 0 18px 44px rgba(21, 33, 29, 0.09);
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(216, 237, 234, 0.72), transparent 42%),
    linear-gradient(180deg, #f7faf6 0%, #eef5ef 100%);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  position: relative;
}

body.public-library::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 121, 131, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20, 52, 47, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
}

body.public-library a {
  color: inherit;
}

.public-library .page-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 72px;
}

.public-library .site-nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.public-library .brand-lockup {
  display: grid;
  gap: 4px;
  max-width: 520px;
}

.public-library .brand-mark {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 8px;
  color: #fff;
  background: var(--pine);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.public-library .brand-name {
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.public-library .brand-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Shared page header lockup used by library + gift shop */
.brand-lockup--page .brand-name {
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: var(--muted-strong) !important;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.page-headline {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}

.page-count-line {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted-strong);
  font-variant-numeric: tabular-nums;
}
.page-count-line span { font-weight: 700; color: var(--ink); }

.nav-link--account { margin-left: auto; }

.mc-corner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.55;
  white-space: nowrap;
}
.mc-corner:hover,
.mc-corner:focus-visible { opacity: 1; outline: none; }

[data-account-link].nav-pill,
[data-account-link].nav-link {
  width: 42px;
  min-width: 42px;
  max-width: 42px;
  padding-inline: 0 !important;
  gap: 0;
  overflow: hidden;
  color: inherit;
  font-size: 0 !important;
  line-height: 0;
  position: relative;
  text-indent: 0;
}

.public-shell [data-account-link].nav-pill,
.public-library [data-account-link].nav-link.nav-link--account,
.public-gift [data-account-link].nav-link.nav-link--account {
  width: 42px;
  min-width: 42px;
  max-width: 42px;
  padding-inline: 0 !important;
  font-size: 0 !important;
}

[data-account-link].nav-pill::before,
[data-account-link].nav-link::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  flex: 0 0 auto;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='8' r='3.5' fill='none' stroke='black' stroke-width='1.8'/><path d='M5.5 19.5c1.2-3.4 3.8-5.1 6.5-5.1s5.3 1.7 6.5 5.1' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='8' r='3.5' fill='none' stroke='black' stroke-width='1.8'/><path d='M5.5 19.5c1.2-3.4 3.8-5.1 6.5-5.1s5.3 1.7 6.5 5.1' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/></svg>");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}

.nav-link--account[data-account-link] {
  margin-left: 0;
}

.public-library .nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.public-library .nav-link,
.public-library .utility-link,
.public-library .button,
.public-library .ghost-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.public-library .nav-link:hover,
.public-library .nav-link:focus-visible,
.public-library .utility-link:hover,
.public-library .utility-link:focus-visible,
.public-library .button:hover,
.public-library .button:focus-visible,
.public-library .ghost-button:hover,
.public-library .ghost-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: #fff;
  box-shadow: var(--shadow-soft);
  outline: none;
}

.public-library .nav-link--active,
.public-library .button {
  border-color: var(--pine);
  background: var(--pine);
  color: #fff;
}

.public-library .nav-link--active:hover,
.public-library .nav-link--active:focus-visible,
.public-library .button:hover,
.public-library .button:focus-visible {
  background: #1c342f;
  border-color: #1c342f;
  color: #fff;
}

.public-library main {
  padding-top: 18px;
}

.public-library .section-shell {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.public-library .section-shell--dark {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(8, 121, 131, 0.14), transparent 44%),
    #162622;
  color: #fffaf0;
}

.public-library .section-inner {
  padding: clamp(1.1rem, 3vw, 2rem);
}

.public-library .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.85fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

.public-library .eyebrow,
.public-library .info-label,
.public-library .metric-label,
.public-library .legend-label {
  margin: 0;
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.public-library .display-title,
.public-library .section-title,
.public-library .info-title {
  margin: 0;
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.45rem, 6vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-wrap: balance;
}

.public-library .library-title {
  max-width: 10ch;
}

.public-library .section-shell--dark .display-title,
.public-library .section-shell--dark .section-title,
.public-library .section-shell--dark .info-title {
  color: #fffaf0;
}

.public-library .lead,
.public-library .info-copy,
.public-library .muted-note {
  margin: 0;
  color: var(--muted-strong);
  font-size: 1rem;
  line-height: 1.65;
}

.public-library .section-shell--dark .lead,
.public-library .section-shell--dark .info-copy,
.public-library .section-shell--dark .muted-note {
  color: rgba(255, 250, 240, 0.78);
}

.public-library .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.public-library .pill,
.public-library .status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-library .section-shell--dark .pill,
.public-library .section-shell--dark .status-pill {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 250, 240, 0.86);
}

.public-library .metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.public-library .editorial-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
}

.public-library .metric-card {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
}

.public-library .metric-value {
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: 2.65rem;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.public-library .metric-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.public-library .library-directory {
  display: grid;
  gap: 1rem;
}

.public-library .legend-value {
  display: block;
  margin-top: 0.24rem;
  color: inherit;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.public-library .card,
.public-library .card-visual,
.public-library .card-meta,
.public-library .card-footer,
.public-library .card-badges,
.public-library .library-spotlight-note {
  min-width: 0;
}

.public-library .card-visual,
.public-library .card-meta {
  width: 100%;
}

.public-library .card-city,
.public-library .card-featured,
.public-library .card-detail,
.public-library .card-link {
  max-width: 100%;
}

.public-library .card-city,
.public-library .card-featured {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-library .card-detail {
  overflow-wrap: anywhere;
}

@media (max-width: 960px) {
  .public-library .site-nav,
  .public-library .hero-grid,
  .public-library .editorial-band {
    grid-template-columns: 1fr;
  }

  .public-library .site-nav {
    display: grid;
  }

  .public-library .nav-links {
    justify-content: flex-start;
  }

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

@media (max-width: 620px) {
  .public-library .page-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 14px;
  }

  .public-library .brand-sub {
    display: none;
  }

  .public-library .nav-link,
  .public-library .utility-link,
  .public-library .button,
  .public-library .ghost-button {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.82rem;
  }

  .public-library .display-title,
  .public-library .section-title,
  .public-library .info-title {
    font-size: clamp(2.25rem, 12vw, 3.35rem);
  }

  .public-library .library-title {
    max-width: 9ch;
  }

  .public-library .library-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .public-library .library-actions .button,
  .public-library .library-actions .ghost-button {
    width: 100%;
  }

  .public-library .library-spotlight-notes {
    grid-template-columns: 1fr;
  }

  .public-library .metric-grid {
    grid-template-columns: 1fr;
  }
}

.site-bar,
.home-hero,
.home-brief,
.section-band,
.page-wrap,
.library,
.gate,
.account-layout,
.studio-link {
  position: relative;
  z-index: 2;
}

.site-bar {
  width: min(var(--max), calc(100% - 32px));
  min-height: 66px;
  margin: 0 auto;
  padding: 18px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
}

.brand-sigil {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--brass-bright);
  background:
    linear-gradient(135deg, rgba(201, 143, 53, 0.16), transparent 48%),
    rgba(7, 11, 10, 0.8);
  box-shadow: inset 0 0 0 4px rgba(244, 232, 201, 0.04);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  color: #fff8df;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-note {
  color: var(--paper-muted);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-row,
.hero-actions,
.cta-row,
.inline-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-pill,
.back-btn,
.btn,
.cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--paper);
  background: rgba(244, 232, 201, 0.07);
  font: 800 0.74rem/1 "IBM Plex Sans", Arial, sans-serif;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.nav-pill:hover,
.nav-pill:focus-visible,
.back-btn:hover,
.back-btn:focus-visible,
.btn:hover,
.btn:focus-visible,
.cta:hover,
.cta:focus-visible {
  border-color: rgba(239, 197, 111, 0.78);
  background: rgba(239, 197, 111, 0.15);
  color: #fff8df;
  outline: none;
}

.nav-pill[aria-current="page"] {
  border-color: rgba(158, 180, 95, 0.68);
  color: var(--absinthe);
}

.cta-primary,
.btn-primary {
  border-color: rgba(239, 197, 111, 0.86);
  background: linear-gradient(180deg, var(--brass-bright), var(--brass));
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(201, 143, 53, 0.24);
}

.cta-primary:hover,
.cta-primary:focus-visible,
.btn-primary:hover,
.btn-primary:focus-visible {
  color: #130d07;
  transform: translateY(-1px);
}

h1,
h2,
h3,
.card-title,
.gate h1 {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.02em;
}

.eyebrow,
.kicker,
.status,
.card-eyebrow,
.stamp,
.gate-error {
  font-family: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--brass-bright);
  font-size: 0.76rem;
}

.home-hero {
  width: min(var(--max), calc(100% - 32px));
  min-height: 74svh;
  margin: 8px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 11, 10, 0.94) 0%, rgba(7, 11, 10, 0.72) 46%, rgba(7, 11, 10, 0.34) 100%),
    repeating-linear-gradient(26deg, transparent 0 32px, rgba(158, 180, 95, 0.18) 33px 34px),
    repeating-linear-gradient(90deg, rgba(244, 232, 201, 0.08) 0 1px, transparent 1px 74px),
    linear-gradient(135deg, rgba(23, 53, 42, 0.9), rgba(93, 71, 122, 0.4), rgba(91, 50, 28, 0.66));
}

.home-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: 18%;
  z-index: -1;
  width: 68%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass-bright), transparent);
  transform: rotate(-13deg);
  opacity: 0.72;
}

.hero-content {
  max-width: 690px;
  padding: 76px 0;
}

.hero-content h1 {
  max-width: 9ch;
  margin: 0;
  color: #fff9df;
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.hero-lede {
  max-width: 42rem;
  margin: 22px 0 0;
  color: var(--paper);
  font-size: clamp(1.04rem, 2.2vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 28px;
}

.bureau-docket {
  align-self: stretch;
  min-height: 430px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(18px, 3vw, 26px);
  border-left: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(244, 232, 201, 0.08), rgba(244, 232, 201, 0.03)),
    rgba(7, 11, 10, 0.42);
  position: relative;
}

.bureau-docket::before {
  content: "OPEN CASE";
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 8px 10px;
  border: 1px solid rgba(239, 197, 111, 0.66);
  border-radius: 8px;
  color: rgba(239, 197, 111, 0.9);
  background: rgba(7, 11, 10, 0.58);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  transform: rotate(4deg);
}

.docket-line {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 70px;
  padding: 14px;
  border: 1px solid rgba(244, 232, 201, 0.16);
  border-radius: 8px;
  background: rgba(244, 232, 201, 0.05);
}

.docket-code {
  color: var(--absinthe);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.docket-line strong {
  display: block;
  color: #fff8df;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1rem;
  line-height: 1.12;
  text-transform: uppercase;
}

.docket-line span:last-child {
  color: var(--paper-muted);
  font-size: 0.88rem;
  line-height: 1.36;
}

/* Clean, editorial home treatment. Scoped so the legacy briefing/account pages keep their field-file styling. */
body.public-shell.home-page {
  --home-paper: #f7faf6;
  --home-surface: #ffffff;
  --home-ink: #111918;
  --home-muted: #4d5d5a;
  --home-line: rgba(17, 25, 24, 0.14);
  --home-pine: #14342f;
  --home-teal: #087983;
  --home-coral: #c84f3a;
  color: var(--home-ink);
  background:
    linear-gradient(180deg, #f7faf6 0%, #edf6f3 58%, #f4f7f1 100%);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
}

body.public-shell.home-page::before {
  opacity: 0.78;
  background:
    linear-gradient(90deg, rgba(8, 121, 131, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20, 52, 47, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(8, 121, 131, 0.12) 0%, transparent 36%, rgba(200, 79, 58, 0.08) 100%);
  background-size: 44px 44px, 44px 44px, auto;
  mix-blend-mode: normal;
}

body.public-shell.home-page::after {
  display: none;
}

.home-page .site-bar {
  min-height: 72px;
  padding: 20px 0 14px;
  border-bottom: 1px solid var(--home-line);
}

.home-page .brand-link,
.home-page .nav-pill,
.home-page .cta,
.home-page a {
  color: var(--home-ink);
}

.home-page .brand-sigil {
  border: 0;
  border-radius: 8px;
  color: var(--home-paper);
  background: var(--home-pine);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.home-page .brand-name {
  color: var(--home-ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.home-page .brand-note {
  color: var(--home-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.home-page .nav-pill,
.home-page .cta {
  border-color: var(--home-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--home-ink);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.home-page .nav-pill:hover,
.home-page .nav-pill:focus-visible,
.home-page .cta:hover,
.home-page .cta:focus-visible {
  border-color: rgba(24, 53, 47, 0.34);
  background: var(--home-surface);
  color: var(--home-pine);
  box-shadow: 0 14px 32px rgba(23, 33, 29, 0.08);
}

.home-page .cta-primary {
  border-color: var(--home-teal);
  background: var(--home-teal);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(8, 121, 131, 0.18);
}

.home-page .cta-primary:hover,
.home-page .cta-primary:focus-visible {
  border-color: var(--home-pine);
  background: var(--home-pine);
  color: #ffffff;
}

.home-main {
  position: relative;
  z-index: 2;
  overflow-x: hidden;
}

.home-page .home-hero {
  min-height: calc(100svh - 72px);
  margin-top: 0;
  padding: 42px 0 36px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 56px);
  border: 0;
  overflow: visible;
}

.home-page .home-hero::before,
.home-page .home-hero::after {
  display: none;
}

.home-page .hero-content {
  max-width: 630px;
  padding: 0;
}

.home-page .hero-content h1 {
  max-width: 10ch;
  color: var(--home-ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: 5.8rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.9;
  text-shadow: none;
  text-transform: none;
}

.home-page .hero-lede {
  max-width: 34rem;
  color: var(--home-muted);
  font-size: 1.22rem;
  line-height: 1.58;
}

.home-page .hero-actions {
  margin-top: 26px;
}

.home-visual {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  gap: 10px;
  min-height: 0;
  margin: 0;
}

.home-visual::before {
  content: "";
  position: absolute;
  inset: 18px -12px -12px 18px;
  z-index: -1;
  border: 1px solid rgba(8, 121, 131, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 121, 131, 0.16), rgba(200, 79, 58, 0.1));
}

.home-visual img {
  width: 100%;
  height: min(56svh, 560px);
  min-height: 420px;
  display: block;
  object-fit: contain;
  border: 1px solid rgba(8, 121, 131, 0.24);
  border-radius: 8px;
  background: #edf6f3;
  box-shadow: 0 28px 70px rgba(17, 25, 24, 0.16);
}

.home-brief,
.section-band {
  width: min(var(--max), calc(100% - 32px));
  margin: 18px auto 0;
}

.home-brief {
  padding-bottom: 22px;
}

.brief-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.brief-card,
.feature-card,
.step-card,
.evidence-panel,
.gate,
.card,
.empty,
.callout-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 232, 201, 0.08), rgba(244, 232, 201, 0.03)),
    var(--panel);
  box-shadow: var(--shadow);
}

.brief-card,
.feature-card {
  min-height: 176px;
  padding: 18px;
  display: grid;
  align-content: space-between;
  color: var(--paper);
  text-decoration: none;
}

.brief-card h2,
.feature-card h2 {
  margin: 0;
  color: #fff8df;
  font-size: 1.12rem;
  line-height: 1.14;
  text-transform: uppercase;
}

.brief-card p,
.feature-card p {
  margin: 15px 0 0;
  color: var(--paper-muted);
  font-size: 0.95rem;
  line-height: 1.46;
}

.stamp {
  color: var(--absinthe);
  font-size: 0.66rem;
}

.section-band {
  padding: 54px 0 8px;
}

.page-wrap .section-band {
  width: 100%;
}

.section-head {
  max-width: 680px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  color: #fff8df;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--paper-muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.process-item {
  min-height: 182px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(244, 232, 201, 0.08), rgba(244, 232, 201, 0.03)),
    rgba(9, 14, 12, 0.9);
}

.process-item b {
  display: block;
  color: var(--brass-bright);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.process-item h3 {
  margin: 32px 0 8px;
  color: #fff8df;
  font-size: 1.06rem;
  line-height: 1.12;
  text-transform: uppercase;
}

.process-item p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.92rem;
  line-height: 1.46;
}

.callout-band {
  margin: 56px 0 72px;
  padding: clamp(22px, 4vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  background:
    linear-gradient(110deg, rgba(158, 180, 95, 0.12), rgba(94, 146, 152, 0.12) 48%, rgba(169, 74, 61, 0.12)),
    rgba(9, 14, 12, 0.9);
}

.callout-band h2 {
  margin: 0;
  color: #fff8df;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
}

.callout-band p {
  max-width: 48rem;
  margin: 10px 0 0;
  color: var(--paper-muted);
  line-height: 1.52;
}

.page-wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 22px auto 76px;
}

.page-hero {
  min-height: 330px;
  padding: clamp(30px, 5vw, 48px);
  display: grid;
  align-content: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(7, 11, 10, 0.92), rgba(7, 11, 10, 0.58)),
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(244, 232, 201, 0.08) 26px),
    repeating-linear-gradient(90deg, transparent 0 25px, rgba(244, 232, 201, 0.06) 26px),
    linear-gradient(135deg, rgba(23, 53, 42, 0.78), rgba(93, 71, 122, 0.28), rgba(91, 50, 28, 0.64));
  overflow: hidden;
  position: relative;
}

.page-hero::after {
  content: "FIELD BRIEFING";
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 8px 10px;
  border: 1px solid rgba(239, 197, 111, 0.62);
  border-radius: 8px;
  color: rgba(239, 197, 111, 0.9);
  background: rgba(7, 11, 10, 0.48);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  transform: rotate(4deg);
}

.page-hero h1 {
  max-width: 11ch;
  margin: 0;
  color: #fff9df;
  font-size: clamp(2.8rem, 7vw, 4.7rem);
  font-weight: 800;
  line-height: 0.96;
  text-transform: uppercase;
}

.page-hero .lede {
  max-width: 48rem;
  margin: 18px 0 0;
  color: var(--paper);
  font-size: 1.12rem;
  line-height: 1.6;
}

.field-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 326px;
  gap: 16px;
  align-items: start;
}

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.step-card {
  counter-increment: step;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
}

.step-card::before {
  content: counter(step, decimal-leading-zero);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 197, 111, 0.72);
  border-radius: 50%;
  color: var(--ink);
  background: linear-gradient(180deg, var(--brass-bright), var(--brass));
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.step-card h2 {
  margin: 0 0 6px;
  color: #fff8df;
  font-size: 1.08rem;
  line-height: 1.16;
  text-transform: uppercase;
}

.step-card p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.evidence-panel {
  padding: 18px;
  display: grid;
  gap: 14px;
  overflow: hidden;
}

.evidence-panel h2 {
  margin: 0;
  color: #fff8df;
  font-size: 1rem;
  text-transform: uppercase;
}

.evidence-panel p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.stamp-grid {
  display: grid;
  gap: 8px;
}

.stamp-line {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 10px;
  border: 1px solid rgba(244, 232, 201, 0.16);
  border-radius: 8px;
  color: var(--paper);
  background: rgba(244, 232, 201, 0.05);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.stamp-line span:last-child {
  color: var(--absinthe);
}

.library-page {
  padding: 0 0 72px;
}

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

.gate {
  width: min(430px, calc(100% - 32px));
  margin-top: 10svh;
  padding: 22px;
}

.gate h1 {
  margin: 0 0 8px;
  color: #fff9df;
  font-size: 2.55rem;
  font-weight: 800;
  line-height: 0.98;
  text-transform: uppercase;
}

.gate p {
  margin: 0 0 18px;
  color: var(--paper-muted);
  font-size: 0.95rem;
  line-height: 1.48;
}

.gate form {
  display: grid;
  gap: 9px;
}

.gate input {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 232, 201, 0.08);
  color: var(--paper);
  font: inherit;
}

.gate input::placeholder {
  color: rgba(244, 232, 201, 0.42);
}

.gate input:focus {
  border-color: rgba(239, 197, 111, 0.74);
  outline: 2px solid rgba(239, 197, 111, 0.16);
  outline-offset: 2px;
}

.gate-error {
  min-height: 1.2em;
  color: #f2a092;
  font-size: 0.72rem;
}

.gate-alt {
  margin-top: 14px !important;
  margin-bottom: 0 !important;
}

.gate-alt a {
  color: var(--brass-bright);
  font-weight: 800;
}

.account-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: 16px;
  align-items: start;
}

.account-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 232, 201, 0.08), rgba(244, 232, 201, 0.03)),
    var(--panel);
  box-shadow: var(--shadow);
}

.account-panel h2 {
  margin: 0;
  color: #fff8df;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1;
  text-transform: uppercase;
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 16px;
}

.account-tab,
.text-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 232, 201, 0.06);
  color: var(--paper-muted);
  font: 800 0.72rem/1 "IBM Plex Sans", Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.account-tab:hover,
.account-tab:focus-visible,
.text-button:hover,
.text-button:focus-visible,
.account-tab.is-active {
  border-color: rgba(239, 197, 111, 0.72);
  color: #fff8df;
  background: rgba(239, 197, 111, 0.14);
  outline: none;
}

.account-form {
  display: grid;
  gap: 12px;
}

.account-form label {
  display: grid;
  gap: 6px;
  color: var(--paper-muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-form input {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 232, 201, 0.08);
  color: var(--paper);
  font: 500 1rem/1.2 "IBM Plex Sans", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.account-form input:focus {
  border-color: rgba(239, 197, 111, 0.74);
  outline: 2px solid rgba(239, 197, 111, 0.16);
  outline-offset: 2px;
}

.account-status {
  min-height: 1.2em;
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.account-status.is-error {
  color: #f2a092;
  font-weight: 800;
}

.account-status.is-success {
  color: var(--absinthe);
  font-weight: 800;
}

.account-email {
  margin: 8px 0 18px;
  color: var(--paper-muted);
  font-size: 1rem;
  line-height: 1.45;
}

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

.library-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.library h1 {
  margin: 0;
  color: #fff9df;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 0.96;
  text-transform: uppercase;
}

.library .lead {
  max-width: 44rem;
  margin: 12px 0 0;
  color: var(--paper-muted);
  font-size: 1.04rem;
  line-height: 1.55;
}

.status {
  min-height: 1.2em;
  margin: 0;
  color: var(--absinthe);
  font-size: 0.72rem;
  text-align: right;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 14px;
}

.card {
  --game-primary: var(--brass);
  --game-secondary: var(--quarter-green);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(239, 197, 111, 0.62);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42);
  outline: none;
}

.card-media {
  min-height: 138px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 11, 10, 0.18), rgba(7, 11, 10, 0.72)),
    linear-gradient(135deg, var(--game-secondary), var(--game-primary));
}

.card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    repeating-linear-gradient(0deg, transparent 0 17px, rgba(244, 232, 201, 0.1) 18px),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(244, 232, 201, 0.08) 43px),
    linear-gradient(180deg, rgba(7, 11, 10, 0.02), rgba(7, 11, 10, 0.42));
  pointer-events: none;
}

.card-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06) brightness(0.82);
}

.card-monogram {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  color: rgba(244, 232, 201, 0.82);
  font-family: "Cinzel", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-media[data-has-image="true"] .card-monogram {
  opacity: 0.18;
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 5px 8px;
  border: 1px solid rgba(244, 232, 201, 0.72);
  border-radius: 8px;
  background: rgba(7, 11, 10, 0.78);
  color: var(--brass-bright);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.card-body {
  display: grid;
  gap: 6px;
  padding: 13px 14px 14px;
}

.card-eyebrow {
  margin: 0;
  color: var(--absinthe);
  font-size: 0.62rem;
}

.card-title {
  margin: 0;
  color: #fff8df;
  font-size: 1.15rem;
  line-height: 1.15;
}

.card-caption {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.86rem;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.card-tag {
  max-width: 100%;
  padding: 4px 6px;
  border: 1px solid rgba(244, 232, 201, 0.18);
  border-radius: 8px;
  color: rgba(244, 232, 201, 0.76);
  background: rgba(244, 232, 201, 0.05);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.empty {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 22px;
  color: var(--paper-muted);
  text-align: center;
}

.hidden {
  display: none !important;
}

.studio-link {
  position: fixed;
  right: 18px;
  bottom: 16px;
  z-index: 8;
  color: rgba(244, 232, 201, 0.38);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.studio-link:hover,
.studio-link:focus-visible {
  color: var(--paper);
  outline: none;
}

@media (max-width: 940px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .bureau-docket {
    min-height: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-bottom: 24px;
  }

  .brief-grid,
  .feature-grid,
  .process-strip,
  .field-layout,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .process-strip {
    gap: 0;
  }

  .evidence-panel {
    order: -1;
  }
}

@media (max-width: 680px) {
  .site-bar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .nav-pill,
  .back-btn,
  .btn,
  .cta {
    min-height: 40px;
    padding: 0 11px;
    font-size: 0.68rem;
  }

  .hero-content {
    padding: 56px 0 32px;
  }

  .bureau-docket::before,
  .page-hero::after {
    display: none;
  }

  .docket-line {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .page-hero {
    min-height: 280px;
    padding: 28px 20px;
  }

  .step-card {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 15px;
  }

  .step-card::before {
    width: 38px;
    height: 38px;
    font-size: 0.78rem;
  }

  .library-head,
  .callout-band {
    grid-template-columns: 1fr;
  }

  .status {
    text-align: left;
  }

  .studio-link {
    position: static;
    display: inline-flex;
    margin: 10px 16px 22px;
  }
}

@media (max-width: 430px) {
  .brand-name {
    white-space: normal;
  }

  .brand-note {
    display: none;
  }

  .hero-actions,
  .cta-row,
  .inline-actions {
    display: grid;
  }
}

@media (max-width: 940px) {
  .home-page .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 34px 0 24px;
  }

  .home-visual {
    min-height: 0;
  }

  .home-visual img {
    aspect-ratio: 16 / 9;
    height: 100%;
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .home-page .site-bar {
    min-height: 0;
    gap: 10px;
    padding-top: 14px;
  }

  .home-page .nav-pill,
  .home-page .cta {
    min-height: 38px;
  }

  .home-page .hero-content h1 {
    font-size: 4.35rem;
  }

  .home-page .hero-lede {
    font-size: 1.08rem;
  }

}

@media (max-width: 520px) {
  .home-page .home-hero {
    gap: 20px;
    padding: 26px 0 20px;
  }

  .home-page .hero-content h1 {
    font-size: 3.45rem;
  }

  .home-page .hero-actions {
    margin-top: 20px;
  }
}

@media (max-width: 430px) {
  .home-page .hero-content h1 {
    font-size: 3.15rem;
  }

  .home-page .cta {
    width: 100%;
  }

  .home-visual::before {
    inset: 12px -7px -7px 12px;
  }
}

/* Executive home refresh */
body.public-shell.home-page {
  --home-bg: #f5f7f3;
  --home-surface: #ffffff;
  --home-ink: #101516;
  --home-muted: #536160;
  --home-soft: #e8eee9;
  --home-line: rgba(16, 21, 22, 0.12);
  --home-line-strong: rgba(16, 21, 22, 0.22);
  --home-pine: #123d38;
  --home-cobalt: #1f64d1;
  --home-cyan: #55d6cf;
  --home-ember: #d9613f;
  --home-brass: #b98a3d;
  --home-shadow: 0 22px 54px rgba(16, 21, 22, 0.1);
  color: var(--home-ink);
  background:
    radial-gradient(circle at 72% 22%, rgba(85, 214, 207, 0.12), transparent 28%),
    linear-gradient(180deg, #05090a 0%, #081112 62%, #030606 100%);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.home-page,
.home-page * {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

body.public-shell.home-page::before {
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(18, 61, 56, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(31, 100, 209, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mix-blend-mode: normal;
}

body.public-shell.home-page::after {
  display: none;
}

.home-page .site-bar {
  min-height: 76px;
  padding: 18px 0 14px;
  border-bottom: 1px solid rgba(16, 21, 22, 0.08);
}

.home-page .brand-link,
.home-page .nav-pill,
.home-page .cta,
.home-page a {
  color: var(--home-ink);
}

.home-page .brand-sigil {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, var(--home-cobalt), var(--home-pine));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-size: 0.76rem;
  letter-spacing: 0;
}

.home-page .brand-name {
  color: var(--home-ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.home-page .brand-note {
  color: var(--home-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.home-page .nav-row {
  gap: 8px;
}

.home-page .nav-pill {
  min-height: 42px;
  border-color: var(--home-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--home-ink);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.home-page .cta {
  min-height: 42px;
  border-color: rgba(85, 214, 207, 0.5);
  border-radius: 8px;
  background: rgba(3, 8, 9, 0.76);
  color: #ffffff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.home-page .nav-pill:hover,
.home-page .nav-pill:focus-visible {
  border-color: var(--home-line-strong);
  background: #ffffff;
  color: var(--home-pine);
  box-shadow: 0 14px 32px rgba(16, 21, 22, 0.08);
  transform: translateY(-1px);
}

.home-page .cta:hover,
.home-page .cta:focus-visible {
  border-color: rgba(85, 214, 207, 0.78);
  background: rgba(10, 37, 39, 0.78);
  color: #ffffff;
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.26),
    0 0 28px rgba(85, 214, 207, 0.2);
  transform: translateY(-1px);
}

.home-page .cta-primary {
  border-color: rgba(120, 255, 245, 0.9);
  background: linear-gradient(135deg, #78fff5, var(--home-cyan));
  color: #081112;
  box-shadow:
    0 18px 42px rgba(85, 214, 207, 0.24),
    0 0 28px rgba(85, 214, 207, 0.18);
}

.home-page .cta-primary:hover,
.home-page .cta-primary:focus-visible {
  border-color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, #ffffff, #cafffa);
  color: #05090a;
}

.home-main {
  position: relative;
  z-index: 2;
  overflow-x: hidden;
}

.home-page .home-hero {
  width: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0;
  padding: 64px 0 52px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(16, 21, 22, 0.1);
  overflow: hidden;
  background: #05090a;
  isolation: isolate;
}

.home-page .home-hero::before,
.home-page .home-hero::after {
  display: none;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 9, 10, 0.99) 0%, rgba(8, 17, 18, 0.9) 42%, rgba(8, 17, 18, 0.42) 100%),
    linear-gradient(135deg, #05090a 0%, #0d2427 52%, #111827 100%);
}

.hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(8, 17, 18, 0.12), rgba(8, 17, 18, 0.7)),
    linear-gradient(90deg, rgba(8, 17, 18, 0.94), rgba(8, 17, 18, 0.24) 58%, rgba(8, 17, 18, 0.44));
}

.scene-depth {
  position: absolute;
  inset: -18% -12% -22%;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(85, 214, 207, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(85, 214, 207, 0.055) 1px, transparent 1px);
  background-size: 86px 86px;
  transform: rotate(-8deg);
  opacity: 0.8;
}

.tron-map {
  position: absolute;
  right: -4%;
  top: 5%;
  z-index: 1;
  width: min(920px, 72vw);
  height: min(660px, 76svh);
  min-height: 480px;
  border: 1px solid rgba(85, 214, 207, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 62% 44%, rgba(85, 214, 207, 0.1), transparent 26%),
    linear-gradient(135deg, rgba(85, 214, 207, 0.1), transparent 34%),
    linear-gradient(315deg, rgba(31, 100, 209, 0.11), transparent 44%),
    rgba(4, 16, 18, 0.72);
  box-shadow:
    0 48px 120px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 80px rgba(85, 214, 207, 0.08);
  transform: perspective(1000px) rotateX(58deg) rotateZ(-17deg) translate3d(120px, -50px, 0);
  transform-origin: 58% 52%;
  transform-style: preserve-3d;
}

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

.tron-map::before {
  inset: -1px;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(85, 214, 207, 0.55), transparent) 0 0 / 100% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(31, 100, 209, 0.36), transparent) 100% 0 / 1px 100% no-repeat;
  filter: drop-shadow(0 0 16px rgba(85, 214, 207, 0.5));
}

.tron-map::after {
  left: 8%;
  right: 8%;
  bottom: -34px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  filter: blur(20px);
  transform: translateZ(-18px);
}

.map-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent 0 19%, rgba(244, 232, 201, 0.13) 19% 20%, transparent 20% 100%),
    linear-gradient(90deg, transparent 0 61%, rgba(85, 214, 207, 0.14) 61% 62%, transparent 62% 100%),
    linear-gradient(0deg, transparent 0 27%, rgba(244, 232, 201, 0.12) 27% 28%, transparent 28% 100%),
    linear-gradient(0deg, transparent 0 72%, rgba(85, 214, 207, 0.12) 72% 73%, transparent 73% 100%),
    repeating-linear-gradient(90deg, rgba(244, 232, 201, 0.055) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(244, 232, 201, 0.05) 0 1px, transparent 1px 31px),
    repeating-linear-gradient(28deg, transparent 0 76px, rgba(85, 214, 207, 0.065) 77px 79px, transparent 80px 152px);
}

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

.map-grid::before {
  left: 63%;
  top: -12%;
  width: 18%;
  height: 122%;
  border-left: 1px solid rgba(85, 214, 207, 0.24);
  border-right: 1px solid rgba(85, 214, 207, 0.18);
  background:
    linear-gradient(90deg, rgba(85, 214, 207, 0.18), rgba(85, 214, 207, 0.04), transparent);
  transform: rotate(13deg);
  opacity: 0.62;
}

.map-grid::after {
  inset: 8% 8%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 1px rgba(85, 214, 207, 0.08),
    inset 0 0 48px rgba(85, 214, 207, 0.04);
}

.map-water,
.map-park,
.map-block,
.map-parcel,
.map-road,
.map-street,
.map-plaza,
.map-intersection {
  position: absolute;
  pointer-events: none;
}

.map-water {
  z-index: 1;
  left: -9%;
  top: 57%;
  width: 58%;
  height: 23%;
  border: 1px solid rgba(85, 214, 207, 0.18);
  border-radius: 48% 52% 45% 55%;
  background:
    linear-gradient(135deg, rgba(85, 214, 207, 0.12), rgba(31, 100, 209, 0.06)),
    repeating-linear-gradient(105deg, transparent 0 18px, rgba(255, 255, 255, 0.05) 19px 21px);
  clip-path: polygon(0 34%, 17% 16%, 36% 28%, 56% 18%, 79% 32%, 100% 20%, 100% 100%, 0 100%);
  opacity: 0.72;
}

.map-park {
  z-index: 1;
  border: 1px solid rgba(158, 180, 95, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(158, 180, 95, 0.16), rgba(85, 214, 207, 0.03)),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(158, 180, 95, 0.06) 15px 16px);
  box-shadow: inset 0 0 24px rgba(158, 180, 95, 0.06);
}

.park-one { left: 8%; top: 34%; width: 18%; height: 13%; transform: rotate(-8deg); }
.park-two { left: 75%; top: 18%; width: 16%; height: 12%; transform: rotate(11deg); }

.map-block {
  z-index: 1;
  border: 1px solid rgba(244, 232, 201, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(85, 214, 207, 0.02));
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.16);
}

.block-one { left: 12%; top: 12%; width: 19%; height: 17%; transform: rotate(8deg); }
.block-two { left: 36%; top: 15%; width: 15%; height: 20%; transform: rotate(-12deg); }
.block-three { left: 57%; top: 19%; width: 13%; height: 18%; transform: rotate(9deg); }
.block-four { left: 16%; top: 46%; width: 18%; height: 19%; transform: rotate(-8deg); }
.block-five { left: 42%; top: 48%; width: 16%; height: 17%; transform: rotate(15deg); }
.block-six { left: 68%; top: 53%; width: 17%; height: 20%; transform: rotate(-10deg); }

.map-parcel {
  z-index: 2;
  border: 1px solid rgba(244, 232, 201, 0.09);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.026);
}

.parcel-one { left: 11%; top: 8%; width: 8%; height: 9%; transform: rotate(7deg); }
.parcel-two { left: 22%; top: 10%; width: 9%; height: 12%; transform: rotate(7deg); }
.parcel-three { left: 34%; top: 31%; width: 10%; height: 10%; transform: rotate(-12deg); }
.parcel-four { left: 49%; top: 27%; width: 8%; height: 13%; transform: rotate(9deg); }
.parcel-five { left: 61%; top: 35%; width: 9%; height: 11%; transform: rotate(-8deg); }
.parcel-six { left: 76%; top: 37%; width: 12%; height: 10%; transform: rotate(10deg); }
.parcel-seven { left: 9%; top: 66%; width: 11%; height: 10%; transform: rotate(12deg); }
.parcel-eight { left: 27%; top: 71%; width: 12%; height: 9%; transform: rotate(-6deg); }
.parcel-nine { left: 50%; top: 70%; width: 10%; height: 10%; transform: rotate(12deg); }
.parcel-ten { left: 73%; top: 73%; width: 13%; height: 11%; transform: rotate(-10deg); }

.map-road {
  z-index: 3;
  height: 4px;
  border-radius: 999px;
  background: rgba(244, 232, 201, 0.16);
  box-shadow:
    0 0 10px rgba(244, 232, 201, 0.08),
    0 0 18px rgba(85, 214, 207, 0.05);
  transform-origin: left center;
}

.road-one { left: 7%; top: 12%; width: 56%; transform: rotate(22deg); }
.road-two { left: 20%; top: 24%; width: 68%; transform: rotate(-4deg); }
.road-three { left: 14%; top: 44%; width: 62%; transform: rotate(18deg); }
.road-four { left: 37%; top: 12%; width: 56%; transform: rotate(88deg); }
.road-five { left: 58%; top: 6%; width: 70%; transform: rotate(117deg); }
.road-six { left: 10%; top: 82%; width: 77%; transform: rotate(-14deg); }
.road-seven { left: 4%; top: 51%; width: 38%; transform: rotate(-43deg); }
.road-eight { left: 48%; top: 84%; width: 48%; transform: rotate(-48deg); }

.map-street {
  z-index: 4;
  height: 12px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(244, 232, 201, 0.22), rgba(85, 214, 207, 0.1), transparent);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.12),
    0 0 18px rgba(85, 214, 207, 0.08);
  transform-origin: left center;
}

.street-one { left: 4%; top: 18%; width: 78%; transform: rotate(7deg); }
.street-two { left: 8%; top: 38%; width: 86%; transform: rotate(-9deg); }
.street-three { left: 2%; top: 69%; width: 72%; transform: rotate(12deg); }
.street-four { left: 22%; top: 4%; width: 68%; transform: rotate(61deg); }
.street-five { left: 51%; top: 8%; width: 62%; transform: rotate(102deg); }
.street-six { left: 16%; top: 79%; width: 58%; transform: rotate(-24deg); }

.map-plaza {
  z-index: 5;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(185, 138, 61, 0.48);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(185, 138, 61, 0.18) 0 18%, transparent 19% 52%, rgba(185, 138, 61, 0.1) 53% 55%, transparent 56%);
  box-shadow:
    inset 0 0 24px rgba(185, 138, 61, 0.08),
    0 0 22px rgba(185, 138, 61, 0.12);
}

.plaza-one { left: 27%; top: 25%; transform: rotateX(0deg) rotateZ(-12deg); }
.plaza-two { left: 70%; top: 35%; width: 58px; height: 58px; border-color: rgba(85, 214, 207, 0.42); }

.map-intersection {
  z-index: 5;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(85, 214, 207, 0.32);
  box-shadow: 0 0 16px rgba(85, 214, 207, 0.26);
  transform: translate(-50%, -50%);
}

.intersection-one { left: 22%; top: 22%; }
.intersection-two { left: 42%; top: 35%; }
.intersection-three { left: 57%; top: 43%; }
.intersection-four { left: 68%; top: 59%; }
.intersection-five { left: 31%; top: 64%; }
.intersection-six { left: 82%; top: 43%; }

.map-corridor {
  position: absolute;
  z-index: 4;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(85, 214, 207, 0), rgba(85, 214, 207, 0.08), rgba(85, 214, 207, 0));
  transform-origin: left center;
}

.corridor-one { left: 9%; top: 20%; width: 78%; transform: rotate(16deg); }
.corridor-two { left: 5%; top: 56%; width: 86%; transform: rotate(-13deg); }
.corridor-three { left: 25%; top: 5%; width: 62%; transform: rotate(74deg); }
.corridor-four { left: 18%; top: 76%; width: 64%; transform: rotate(8deg); }

.map-path {
  position: absolute;
  z-index: 6;
  height: 7px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(85, 214, 207, 0.98) 0 22px, rgba(255, 255, 255, 0.82) 23px 30px),
    linear-gradient(90deg, rgba(85, 214, 207, 0), rgba(85, 214, 207, 0.96), rgba(255, 255, 255, 0.86));
  box-shadow:
    0 0 18px rgba(85, 214, 207, 0.65),
    0 0 42px rgba(31, 100, 209, 0.38);
  transform-origin: left center;
}

.map-path::after {
  content: "";
  position: absolute;
  inset: -7px 18% -7px 42%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.28);
  filter: blur(8px);
}

.path-one { left: 14%; top: 28%; width: 36%; transform: rotate(14deg); }
.path-two { left: 44%; top: 37%; width: 34%; transform: rotate(-22deg); }
.path-three { left: 32%; top: 55%; width: 30%; transform: rotate(28deg); }
.path-four {
  left: 58%;
  top: 62%;
  width: 22%;
  background: linear-gradient(90deg, rgba(217, 97, 63, 0), rgba(217, 97, 63, 0.92), rgba(185, 138, 61, 0.86));
  transform: rotate(10deg);
}

.waypoint {
  --waypoint-color: var(--home-cyan);
  --waypoint-halo: rgba(85, 214, 207, 0.22);
  --waypoint-glow: rgba(85, 214, 207, 0.58);
  --waypoint-ring: rgba(85, 214, 207, 0.58);
  position: absolute;
  z-index: 6;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0 16%, var(--waypoint-color) 17% 54%, rgba(8, 17, 18, 0.9) 55%);
  box-shadow:
    0 0 0 10px var(--waypoint-halo),
    0 0 34px var(--waypoint-glow);
  transform: translate(-50%, -50%) translateZ(34px);
  transform-style: preserve-3d;
}

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

.waypoint::before {
  inset: 50% auto auto 50%;
  width: 54px;
  height: 54px;
  border: 1px solid var(--waypoint-ring);
  border-radius: 50%;
  transform: translate(-50%, -50%) translateZ(-6px);
  box-shadow: inset 0 0 18px var(--waypoint-halo);
}

.waypoint::after {
  left: 50%;
  bottom: 50%;
  width: 2px;
  height: 64px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), var(--waypoint-ring), transparent);
  transform: translateX(-50%) rotateX(-90deg);
  transform-origin: bottom center;
  filter: drop-shadow(0 0 10px var(--waypoint-glow));
}

.waypoint span {
  position: absolute;
  left: 30px;
  top: -3px;
  min-width: 58px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 20, 23, 0.78);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.waypoint-one { left: 14%; top: 28%; --waypoint-color: var(--home-cyan); }
.waypoint-two { left: 47%; top: 36%; --waypoint-color: #78fff5; --waypoint-halo: rgba(120, 255, 245, 0.18); --waypoint-glow: rgba(120, 255, 245, 0.58); --waypoint-ring: rgba(120, 255, 245, 0.62); }
.waypoint-three { left: 62%; top: 52%; --waypoint-color: var(--home-brass); --waypoint-halo: rgba(185, 138, 61, 0.22); --waypoint-glow: rgba(185, 138, 61, 0.58); --waypoint-ring: rgba(185, 138, 61, 0.62); }
.waypoint-four { left: 80%; top: 66%; --waypoint-color: var(--home-ember); --waypoint-halo: rgba(217, 97, 63, 0.22); --waypoint-glow: rgba(217, 97, 63, 0.58); --waypoint-ring: rgba(217, 97, 63, 0.62); }
.waypoint-five { left: 34%; top: 68%; --waypoint-color: #ffffff; --waypoint-halo: rgba(255, 255, 255, 0.16); --waypoint-glow: rgba(255, 255, 255, 0.44); --waypoint-ring: rgba(255, 255, 255, 0.58); }

.ops-panel {
  position: absolute;
  z-index: 4;
  width: 210px;
  min-height: 122px;
  display: grid;
  gap: 7px;
  align-content: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 17, 18, 0.72);
  color: #ffffff;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.ops-panel span,
.ops-panel em {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ops-panel strong {
  color: #ffffff;
  font-size: 1.32rem;
  line-height: 1.1;
}

.ops-panel-primary {
  right: 9%;
  top: 18%;
}

.ops-panel-secondary {
  right: 26%;
  bottom: 16%;
}

.home-page .hero-content {
  position: relative;
  z-index: 5;
  width: calc(100vw - 32px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  color: #ffffff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.home-page .hero-proof {
  width: fit-content;
  margin: 0 0 16px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(85, 214, 207, 0.38);
  border-radius: 999px;
  background: rgba(85, 214, 207, 0.08);
  color: #78fff5;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 24px rgba(85, 214, 207, 0.08);
}

.home-page .eyebrow,
.home-page .kicker,
.home-page .stamp {
  color: var(--home-cyan);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-page .hero-content h1 {
  max-width: 10.4ch;
  margin: 0;
  color: #ffffff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 5.05rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.88;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.62),
    0 0 24px rgba(85, 214, 207, 0.42),
    0 0 54px rgba(85, 214, 207, 0.22),
    0 24px 64px rgba(0, 0, 0, 0.58);
  text-transform: uppercase;
}

.home-page .hero-lede {
  max-width: 33rem;
  margin: 22px 0 0;
  color: rgba(247, 251, 247, 0.76);
  font-size: 1.12rem;
  line-height: 1.52;
}

.home-page .hero-actions {
  margin-top: 28px;
}

.home-page .hero-counts {
  width: 100%;
  max-width: 28rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
}

.home-page .hero-count-card {
  min-width: 0;
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 13px 15px;
  border: 1px solid rgba(85, 214, 207, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(85, 214, 207, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(3, 8, 9, 0.68);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.home-page .hero-count-card dt,
.home-page .hero-count-card dd {
  margin: 0;
}

.home-page .hero-count-card dt {
  color: rgba(247, 251, 247, 0.62);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.home-page .hero-count-card dd {
  color: #f7fbf7;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero-metrics {
  width: 100%;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 34px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-metrics div {
  min-width: 0;
  padding-right: 20px;
}

.hero-metrics dt {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.hero-metrics dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  line-height: 1.38;
}

.home-page .home-brief,
.home-page .section-band,
.home-page .callout-band {
  width: calc(100vw - 32px);
  max-width: var(--max);
}

.home-page .home-brief {
  margin: 0 auto;
  padding: 46px 0 22px;
}

.home-page .section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.home-page .section-head h2,
.home-page .platform-copy h2,
.home-page .home-callout h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.home-page .section-head p,
.home-page .platform-list p,
.home-page .home-callout p {
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.62;
}

.home-page .brief-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-page .brief-card {
  min-height: 218px;
  padding: 22px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--home-ink);
  box-shadow: var(--home-shadow);
}

.home-page .brief-card h2 {
  color: var(--home-ink);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.16;
  text-transform: none;
}

.home-page .brief-card p {
  color: var(--home-muted);
  font-size: 0.96rem;
}

.home-page .platform-band {
  margin: 56px auto 0;
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 52px;
  align-items: start;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.platform-copy {
  position: sticky;
  top: 24px;
}

.platform-list {
  display: grid;
  gap: 0;
}

.platform-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--home-line);
}

.platform-list article:first-child {
  border-top: 0;
  padding-top: 0;
}

.platform-list span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--home-pine);
  font-size: 0.78rem;
  font-weight: 800;
}

.platform-list h3 {
  margin: 0;
  color: var(--home-ink);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0;
}

.platform-list p {
  margin: 8px 0 0;
}

.home-page .home-callout {
  margin: 56px auto 72px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(31, 100, 209, 0.2), rgba(18, 61, 56, 0.64)),
    #081112;
  box-shadow: var(--home-shadow);
}

.home-page .home-callout h2 {
  color: #ffffff;
  font-size: 2.35rem;
}

.home-page .home-callout p {
  color: rgba(255, 255, 255, 0.7);
}

.home-page .home-callout .cta:not(.cta-primary) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 940px) {
  .home-page .home-hero {
    min-height: auto;
    padding: 54px 0 46px;
  }

  .hero-scene {
    opacity: 0.96;
  }

  .tron-map {
    right: -24%;
    width: 760px;
    transform: perspective(940px) rotateX(59deg) rotateZ(-17deg) translate3d(80px, -32px, 0);
  }

  .ops-panel-primary {
    right: 4%;
    top: 12%;
  }

  .ops-panel-secondary {
    right: 10%;
    bottom: 10%;
  }

  .home-page .hero-content h1 {
    font-size: 4.7rem;
  }

  .home-page .brief-grid,
  .home-page .platform-band {
    grid-template-columns: 1fr;
  }

  .platform-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .home-page .site-bar {
    min-height: 0;
    gap: 12px;
    padding-top: 14px;
  }

  .home-page .nav-row {
    width: 100%;
  }

  .home-page .nav-pill,
  .home-page .cta {
    min-height: 44px;
    font-size: 0.88rem;
  }

  .home-page .home-hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding: 36px 0;
    align-items: stretch;
  }

  .ops-panel {
    display: none;
  }

  .hero-scene::after {
    background:
      linear-gradient(180deg, rgba(8, 17, 18, 0.38), rgba(8, 17, 18, 0.72)),
      linear-gradient(90deg, rgba(8, 17, 18, 0.9), rgba(8, 17, 18, 0.42) 64%, rgba(8, 17, 18, 0.66));
  }

  .tron-map {
    left: 50%;
    right: auto;
    top: 16%;
    width: min(720px, 168vw);
    height: min(560px, 74svh);
    min-height: 0;
    opacity: 0.72;
    transform: translateX(-42%) perspective(900px) rotateX(55deg) rotateZ(-16deg) translate3d(0, 0, 0);
  }

  .map-block {
    opacity: 0.72;
  }

  .map-street {
    height: 11px;
  }

  .waypoint {
    width: 22px;
    height: 22px;
    box-shadow:
      0 0 0 8px var(--waypoint-halo),
      0 0 28px var(--waypoint-glow);
  }

  .waypoint::before {
    width: 44px;
    height: 44px;
  }

  .waypoint::after {
    height: 48px;
  }

  .home-page .hero-content h1 {
    max-width: 9.8ch;
    font-size: 2.86rem;
  }

  .home-page .eyebrow {
    max-width: 21rem;
    line-height: 1.25;
  }

  .home-page .hero-lede {
    max-width: 21rem;
    font-size: 0.98rem;
    line-height: 1.52;
  }

  .home-page .hero-content {
    min-height: calc(100dvh - 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .home-page .hero-actions {
    display: grid;
    width: 100%;
    max-width: 21rem;
    gap: 10px;
  }

  .home-page .hero-counts {
    max-width: 21rem;
  }

  .home-page .cta {
    width: 100%;
    padding-inline: 12px;
  }

  .hero-metrics {
    margin-top: 26px;
    padding-top: 14px;
  }

  .hero-metrics div {
    padding-right: 12px;
  }

  .hero-metrics dt {
    font-size: 0.8rem;
  }

  .hero-metrics dd {
    font-size: 0.74rem;
  }

  .home-page .home-brief {
    padding-top: 48px;
  }

  .home-page .section-head h2,
  .home-page .platform-copy h2 {
    font-size: 2.2rem;
    line-height: 1.04;
  }

  .home-page .home-callout {
    grid-template-columns: 1fr;
    margin-bottom: 52px;
    padding: 24px;
  }

  .home-page .home-callout h2 {
    font-size: 2rem;
  }
}

@media (max-width: 520px) {
  .home-page .hero-content {
    min-height: calc(100dvh - 72px);
  }

  .home-page .hero-content h1 {
    font-size: 2.42rem;
  }

  .home-page .hero-lede,
  .home-page .eyebrow,
  .home-page .hero-actions,
  .home-page .hero-counts {
    max-width: 18rem;
  }

  .tron-map {
    top: 18%;
    width: 178vw;
    height: 68svh;
    opacity: 0.64;
    transform: translateX(-39%) perspective(760px) rotateX(54deg) rotateZ(-17deg);
  }
}

@media (max-width: 430px) {
  .home-page .brand-note {
    display: none;
  }

  .home-page .hero-content,
  .home-page .home-brief,
  .home-page .section-band,
  .home-page .callout-band {
    width: calc(100vw - 48px);
  }

  .home-page .hero-actions {
    display: grid;
    width: 100%;
    max-width: 18rem;
    gap: 10px;
  }

  .home-page .hero-content h1 {
    font-size: 2.34rem;
  }

  .home-page .hero-lede,
  .home-page .section-head p {
    max-width: 18rem;
  }

  .home-page .section-head h2,
  .home-page .platform-copy h2 {
    font-size: 2.02rem;
    max-width: 12ch;
  }

  .home-page .cta {
    width: 100%;
    padding-inline: 12px;
  }

  .tron-map {
    top: 19%;
    width: 184vw;
    height: 66svh;
    opacity: 0.62;
    transform: translateX(-38%) perspective(760px) rotateX(54deg) rotateZ(-17deg);
  }

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

  .platform-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

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