.static-page-main,
.main-grid {
  display: grid;
  grid-template-columns: var(--toc-column) minmax(0, var(--content));
  gap: var(--frame-gap);
  align-items: start;
  padding: 34px var(--content-pad) 80px;
}

.static-hero,
.site-shell > .hero:not(.hero-map) {
  position: relative;
  overflow: clip;
  min-height: min(760px, calc(100svh - 88px));
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at 18% 14%, rgba(212, 181, 122, 0.16), transparent 36%),
    radial-gradient(circle at 84% 30%, rgba(212, 181, 122, 0.24), transparent 25%),
    radial-gradient(circle at 74% 64%, rgba(212, 181, 122, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(16, 16, 17, 0.86), rgba(10, 10, 10, 0.96));
}

.static-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.94fr);
  gap: var(--frame-gap);
  align-items: center;
  padding: var(--content-pad);
}

.hero-inner {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: var(--frame-gap);
  align-items: stretch;
  padding: var(--content-pad);
}

.static-hero::before,
.site-shell > .hero:not(.hero-map)::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 14%, rgba(212, 181, 122, 0.13), transparent 30%),
    radial-gradient(circle at 78% 32%, rgba(212, 181, 122, 0.18), transparent 24%),
    radial-gradient(circle at 74% 78%, rgba(212, 181, 122, 0.12), transparent 22%);
}

.static-hero::after,
.site-shell > .hero:not(.hero-map)::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(7, 7, 7, 0.7));
}

.static-hero__copy,
.static-hero__visual,
.hero-copy,
.hero-graphic,
.hero-visual {
  position: relative;
  z-index: 1;
}

.static-hero__copy,
.hero-copy {
  max-width: 720px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.static-hero__visual,
.hero-visual {
  min-height: 340px;
  display: grid;
  place-items: center;
}

.eyebrow,
.card-eyebrow,
.toc-title,
.toc-heading,
.section-card__eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 18px;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
}

.card-eyebrow,
.toc-title,
.toc-heading,
.section-card__eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6.8vw, 6rem);
  line-height: 0.9;
  text-wrap: balance;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.96;
  text-wrap: balance;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.34rem;
  line-height: 1.04;
}

.lead,
.sublead,
.section p,
.card p,
.route-card p,
.action-card p,
.static-card p,
.section-card p,
.detail-card p,
.panel-card p,
.section li,
.section dd {
  color: var(--muted);
  line-height: 1.82;
}

.lead {
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.sublead {
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
}

.meta,
.meta-line,
.actions,
.hero-actions,
.pill-row,
.pill-list {
  display: flex;
  flex-wrap: wrap;
}

.meta,
.meta-line {
  gap: 10px 18px;
  margin-top: 24px;
  color: rgba(244, 239, 228, 0.84);
  font-size: 0.94rem;
}

.meta span + span,
.meta-line span + span {
  position: relative;
}

.meta span + span::before,
.meta-line span + span::before {
  content: "•";
  position: absolute;
  left: -11px;
  color: rgba(244, 239, 228, 0.34);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(244, 239, 228, 0.2);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #111;
}

.note,
.anchor-note {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  color: rgba(244, 239, 228, 0.82);
  font-size: 0.92rem;
}

.note::before,
.anchor-note::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(to right, rgba(212, 181, 122, 0.9), transparent);
}

.orb,
.hero-graphic {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
}

.orb-core,
.graphic-core {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 239, 228, 0.1) 0 14%, transparent 14% 100%),
    radial-gradient(circle at 50% 50%, rgba(212, 181, 122, 0.34) 0 38%, transparent 38% 100%);
}

.orb-core::before,
.orb-core::after,
.graphic-core::before,
.graphic-core::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.orb-core::before,
.graphic-core::before {
  inset: 8%;
  border: 1px solid rgba(244, 239, 228, 0.12);
}

.orb-core::after,
.graphic-core::after {
  inset: 22%;
  border: 1px solid rgba(244, 239, 228, 0.08);
}

.orb-labels,
.graphic-labels,
.graphic-stack {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 15px;
}

.orb-labels span,
.graphic-labels span,
.graphic-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(244, 239, 228, 0.84);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.graphic-chip {
  padding: 10px 14px;
  border: 1px solid rgba(244, 239, 228, 0.12);
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.48);
}

.orb-labels span::before,
.graphic-labels span::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 181, 122, 0.9));
}

.hero-fade-word {
  position: absolute;
  right: -12px;
  bottom: -8px;
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 11rem);
  line-height: 0.82;
  letter-spacing: -0.08em;
  color: rgba(212, 181, 122, 0.08);
  user-select: none;
  pointer-events: none;
}

.toc {
  position: sticky;
  top: 18px;
  align-self: start;
}

.toc nav,
.toc-links {
  display: grid;
  gap: 2px;
}

.toc a,
.toc-links a {
  padding: 10px 0;
  color: var(--muted);
  border-bottom: 1px solid rgba(244, 239, 228, 0.08);
}

.static-article,
article {
  display: grid;
  gap: 26px;
  min-width: 0;
}

.section {
  padding: 0 0 28px;
  border-bottom: 1px solid rgba(244, 239, 228, 0.09);
  scroll-margin-top: 24px;
}

.section:first-of-type {
  padding-top: 6px;
}

.cards,
.routes,
.card-grid,
.list-grid,
.action-rail,
.section-card-grid,
.detail-grid,
.trust-links,
.rights-grid,
.policy-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.cards,
.routes,
.card-grid,
.list-grid,
.section-card-grid,
.detail-grid,
.trust-links,
.rights-grid,
.policy-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.card,
.route-card,
.action-card,
.static-card,
.detail-card,
.panel-card,
.section-card,
.faq-item {
  padding: 20px;
  border: 1px solid rgba(244, 239, 228, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.pill-row,
.pill-list {
  gap: 10px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(244, 239, 228, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(244, 239, 228, 0.86);
  font-size: 0.86rem;
}

.body-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

.body-link:hover {
  color: var(--accent);
}

form,
.profile-form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 180px;
  resize: vertical;
}

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

.hidden-trap {
  position: absolute;
  left: -10000px;
  opacity: 0;
  pointer-events: none;
}

.feedback {
  display: none;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.feedback.show {
  display: block;
}

.feedback.error {
  border-color: rgba(255, 176, 170, 0.45);
  background: rgba(255, 176, 170, 0.08);
  color: #ffb0aa;
}

.feedback.ok {
  border-color: rgba(182, 239, 194, 0.4);
  background: rgba(182, 239, 194, 0.08);
  color: #b6efc2;
}

@media (max-width: 1080px) {
  .static-hero,
  .hero-inner,
  .static-page-main,
  .main-grid {
    grid-template-columns: 1fr;
  }

  .static-hero,
  .site-shell > .hero:not(.hero-map) {
    min-height: auto;
  }

  .toc {
    position: relative;
    top: 0;
    order: -1;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(244, 239, 228, 0.08);
  }

  .toc nav,
  .toc-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }
}

@media (max-width: 720px) {
  .static-hero,
  .hero-inner {
    gap: 20px;
  }

  .static-page-main,
  .main-grid {
    padding: 24px var(--content-pad) 80px;
    gap: 26px;
  }

  .cards,
  .routes,
  .card-grid,
  .list-grid,
  .action-rail,
  .section-card-grid,
  .detail-grid,
  .trust-links,
  .rights-grid,
  .policy-list,
  .toc nav,
  .toc-links,
  .two-col {
    grid-template-columns: 1fr;
  }

  .orb,
  .hero-graphic,
  .static-hero__visual,
  .hero-visual {
    min-height: 280px;
  }

  .section h2 {
    font-size: 1.72rem;
  }
}
