/* RT landing page styles — derived from Helius Partners architecture, adapted for covenant art economy */

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 960px;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 140px var(--gutter) 120px;
  overflow: hidden;
}
.hero-canvas {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.hero-canvas::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 25% 55%, rgba(10,10,15,0.55), transparent 72%),
    radial-gradient(ellipse 100% 30% at 50% 100%, rgba(10,10,15,0.85), transparent 65%),
    radial-gradient(ellipse 100% 20% at 50% 0%, rgba(10,10,15,0.7), transparent 65%);
  pointer-events: none;
}
.hero-canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-eyebrow { display: flex; gap: 10px; align-items: center; margin-bottom: 48px; flex-wrap: wrap; }
.hero-eyebrow .tag {
  border: 1px solid var(--ink-4); padding: 6px 12px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream-2);
}
.hero-eyebrow .tag.gold { border-color: var(--gold-2); color: var(--gold-0); }
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 104px);
  line-height: 1.02; letter-spacing: -0.025em; font-weight: 400;
  max-width: 18ch; margin-bottom: 48px;
}
.hero-h1 em { font-style: italic; color: var(--gold-0); }
.hero-sub { max-width: 62ch; font-size: 19px; line-height: 1.6; color: var(--cream-1); margin-bottom: 44px; }
.hero-sub strong { color: var(--gold-0); font-weight: 500; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 80px; }
.hero-glyph {
  position: absolute; font-family: var(--font-mono); font-size: 11px;
  color: var(--cream-3); letter-spacing: 0.2em; z-index: 2; max-width: 30%;
}
.hero-glyph.tl { top: 92px; left: var(--gutter); opacity: 0.6; }
.hero-glyph.tr { top: 92px; right: var(--gutter); text-align: right; opacity: 0.6; }
.hero-glyph.bl { bottom: 24px; left: var(--gutter); }
.hero-glyph.br { bottom: 24px; right: var(--gutter); text-align: right; }
.hero-formula {
  font-family: var(--font-display); font-size: 22px; font-style: italic;
  color: var(--gold-0); letter-spacing: 0;
}
@media (max-width: 1200px) { .hero-glyph.tl, .hero-glyph.tr { display: none; } }
@media (max-width: 900px) { .hero-glyph { display: none; } }

/* ——— Ticker ——— */
.ticker-wrap {
  overflow: hidden; position: relative;
  border-top: 1px solid var(--ink-4); border-bottom: 1px solid var(--ink-4);
  background: var(--ink-0);
}
.ticker {
  display: flex; gap: 48px; white-space: nowrap;
  animation: tick 60s linear infinite;
  padding: 14px 0;
  font-family: var(--font-mono); font-size: 12px; color: var(--cream-2);
}
.ticker span { display: inline-flex; align-items: center; gap: 10px; }
.ticker .t-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-1); }
.ticker .t-ok { color: var(--signal-green); }
.ticker .t-gold { color: var(--gold-0); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50% ); } }

/* ——— Metrics ——— */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--ink-4); border-bottom: 1px solid var(--ink-4);
}
.metric { padding: 40px 32px; border-right: 1px solid var(--ink-4); display: flex; flex-direction: column; gap: 12px; }
.metric:last-child { border-right: 0; }
.metric .k { font-size: 10px; color: var(--cream-3); letter-spacing: 0.18em; }
.metric .v { font-size: clamp(40px, 5vw, 72px); color: var(--cream-0); line-height: 1; }
@media (max-width: 900px) {
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--ink-4); }
}

/* ——— Receipts (covenant settlement stream) ——— */
.receipts-section {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start;
}
@media (max-width: 900px) { .receipts-section { grid-template-columns: 1fr; } }
.rs-left h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -0.02em; margin: 16px 0; }
.rs-left h2 em { color: var(--gold-0); font-style: italic; }
.rs-left p { color: var(--cream-1); margin-bottom: 28px; max-width: 44ch; }

.receipts {
  background: var(--ink-0); border: 1px solid var(--ink-4); padding: 0;
  font-family: var(--font-mono); font-size: 12px;
}
.receipts-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--ink-4);
  background: rgba(200,162,75,0.03);
}
.receipts-body { padding: 8px 0; min-height: 320px; }
.receipt {
  display: grid; grid-template-columns: 56px 160px 1fr 50px;
  gap: 14px; padding: 6px 18px; color: var(--cream-1); font-size: 12px;
  border-left: 2px solid transparent; transition: background .3s, border-color .3s;
}
.receipt:first-child {
  background: rgba(233, 200, 119, 0.05); border-left-color: var(--gold-1);
  animation: receipt-in .5s ease;
}
@keyframes receipt-in {
  from { opacity: 0; transform: translateY(-4px); background: rgba(233,200,119,0.15); }
  to   { opacity: 1; transform: none; background: rgba(233,200,119,0.05); }
}
.r-t { font-weight: 500; letter-spacing: 0.1em; }
.r-k { color: var(--cream-0); }
.r-n { color: var(--cream-2); }
.r-a { color: var(--cream-3); text-align: right; }

/* ——— Doctrine (not X / an X pattern) ——— */
.doctrine {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--ink-4); border-left: 1px solid var(--ink-4);
}
.doctrine-card {
  padding: 56px 48px; border-right: 1px solid var(--ink-4); border-bottom: 1px solid var(--ink-4);
  background: var(--ink-1); position: relative; transition: background .4s;
}
.doctrine-card:hover { background: var(--ink-2); }
.doctrine-tag { font-size: 10px; letter-spacing: 0.3em; color: var(--gold-1); margin-bottom: 32px; }
.doctrine-not { color: var(--cream-3); font-size: 13px; font-style: italic; margin-bottom: 12px; letter-spacing: 0; text-transform: none; }
.doctrine-is { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; color: var(--cream-0); margin-bottom: 20px; max-width: 22ch; }
.doctrine-body { color: var(--cream-1); max-width: 44ch; }
@media (max-width: 900px) { .doctrine { grid-template-columns: 1fr; } }

/* ——— Phases (4-phase build, replaces H.E.L.I.U.S.) ——— */
.phases {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start;
}
@media (max-width: 900px) { .phases { grid-template-columns: 1fr; } }
.phase-stages { border-top: 1px solid var(--ink-4); }
.phase-stage {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center;
  width: 100%; padding: 20px 0; border-bottom: 1px solid var(--ink-4);
  text-align: left; position: relative; transition: background .25s;
}
.phase-stage:hover { background: rgba(200,162,75,0.03); }
.phase-stage.active { background: rgba(200,162,75,0.05); }
.phase-stage.active::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold-1);
}
.phase-num { font-size: 48px; color: var(--cream-3); transition: color .25s; display: block; }
.phase-stage.active .phase-num, .phase-stage:hover .phase-num { color: var(--gold-0); }
.stage-meta { display: flex; flex-direction: column; gap: 4px; }
.stage-name { font-size: 12px; color: var(--cream-0); letter-spacing: 0.14em; text-transform: uppercase; }
.stage-sub { font-size: 13px; }
.stage-idx { color: var(--cream-3); font-size: 10px; }

.phase-detail {
  padding: 32px; border: 1px solid var(--ink-4); background: var(--ink-2);
  min-height: 480px; display: flex; flex-direction: column; gap: 24px;
}
.phase-tag { font-size: 10px; }
.phase-title { font-size: clamp(44px, 5vw, 72px); line-height: 0.95; }
.phase-body { color: var(--cream-1); max-width: 54ch; font-size: 17px; }
.phase-mini { margin-top: auto; border-top: 1px solid var(--ink-4); padding-top: 20px; }
.mini-row {
  display: flex; justify-content: space-between; padding: 8px 0;
  font-family: var(--font-mono); font-size: 12px;
  border-bottom: 1px dashed rgba(36,36,48,0.6);
}
.mini-row:last-child { border-bottom: 0; }

/* ——— Artists grid (replaces Surfaces) ——— */
.artists {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--ink-4);
}
.artist {
  padding: 48px 36px; border-right: 1px solid var(--ink-4); border-bottom: 1px solid var(--ink-4);
  display: flex; flex-direction: column; gap: 18px; min-height: 420px;
  background: var(--ink-1); transition: background .3s;
}
.artist:last-child { border-right: 0; }
.artist:hover { background: var(--ink-2); }
.artist-head { display: flex; justify-content: space-between; align-items: center; }
.artist-title { font-size: clamp(28px, 2.4vw, 38px); line-height: 1.05; }
.artist-sub { font-size: 11px; color: var(--gold-0); letter-spacing: 0.18em; text-transform: uppercase; }
.artist p { color: var(--cream-1); }
.artist-more {
  margin-top: auto; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-0); border-bottom: 1px solid var(--gold-2); padding-bottom: 2px;
  align-self: flex-start;
}
@media (max-width: 900px) { .artists { grid-template-columns: 1fr; } .artist { border-right: 0; } }

/* ——— Roster (replaces Team) ——— */
.roster {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--ink-4); border-left: 1px solid var(--ink-4);
}
.roster-card {
  padding: 32px 28px; border-right: 1px solid var(--ink-4); border-bottom: 1px solid var(--ink-4);
  display: flex; flex-direction: column; gap: 14px;
  transition: background .3s; position: relative;
}
.roster-card:hover { background: var(--ink-2); }
.roster-head { display: flex; justify-content: space-between; align-items: center; }
.roster-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal-green); box-shadow: 0 0 6px var(--signal-green); }
.roster-portrait {
  width: 100%; aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 30%, rgba(233,200,119,0.14), transparent 60%),
    linear-gradient(135deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--ink-4);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px; position: relative; overflow: hidden;
}
.roster-portrait::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 6px, rgba(233,200,119,0.04) 6px 7px),
    repeating-linear-gradient(90deg, transparent 0 6px, rgba(233,200,119,0.04) 6px 7px);
}
.portrait-mark { font-size: 64px; color: var(--gold-0); letter-spacing: -0.02em; opacity: 0.9; position: relative; z-index: 1; }
.roster-name { font-size: 22px; line-height: 1.1; }
.roster-role { font-size: 11px; color: var(--cream-1); letter-spacing: 0.1em; text-transform: uppercase; }
.roster-cred { font-size: 13px; color: var(--cream-2); line-height: 1.4; }
.roster-score { font-family: var(--font-mono); font-size: 11px; color: var(--gold-0); }
@media (max-width: 1100px) { .roster { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .roster { grid-template-columns: 1fr; } }

/* ——— FAQ ——— */
.faq { border-top: 1px solid var(--ink-4); }
.faq-item { border-bottom: 1px solid var(--ink-4); cursor: pointer; transition: background .3s; }
.faq-item:hover { background: var(--ink-2); }
.faq-q {
  display: grid; grid-template-columns: 50px 1fr 40px; gap: 24px; align-items: center;
  padding: 28px var(--gutter);
}
.faq-q-text { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2; }
.faq-toggle { font-family: var(--font-display); font-size: 32px; color: var(--gold-0); }
.faq-a {
  max-height: 0; overflow: hidden;
  padding: 0 var(--gutter) 0 calc(var(--gutter) + 74px);
  color: var(--cream-1); max-width: 70ch;
  transition: max-height .5s, padding .5s; font-size: 17px;
}
.faq-item.open .faq-a {
  max-height: 400px; padding: 0 var(--gutter) 28px calc(var(--gutter) + 74px);
}

/* ——— Wallet CTA (replaces Booking form) ——— */
.wallet-cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  padding: 100px var(--gutter); align-items: start;
  border-top: 1px solid var(--gold-2);
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(200,162,75,0.05), transparent 60%),
    var(--ink-0);
}
@media (max-width: 900px) { .wallet-cta { grid-template-columns: 1fr; gap: 40px; } }
.wallet-title { font-size: clamp(44px, 5.5vw, 80px); line-height: 0.95; margin: 32px 0 28px; }
.wallet-sub { max-width: 50ch; font-size: 17px; margin-bottom: 40px; }
.wallet-assurances { display: flex; flex-direction: column; gap: 8px; font-size: 11px; }

.connect-frame {
  border: 1px solid var(--gold-2); background: var(--ink-1); overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6), inset 0 1px 0 rgba(233,200,119,0.1);
}
.cf-head {
  display: flex; justify-content: space-between; padding: 14px 20px;
  border-bottom: 1px solid var(--ink-4);
  background: rgba(200,162,75,0.04); font-size: 11px;
}
.cf-body { padding: 32px; display: flex; flex-direction: column; gap: 24px; }

.wallet-options { display: flex; flex-direction: column; gap: 12px; }
.wallet-btn {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border: 1px solid var(--ink-4);
  background: var(--ink-2); color: var(--cream-0);
  font-family: var(--font-mono); font-size: 13px;
  transition: all .25s; cursor: pointer; width: 100%;
}
.wallet-btn:hover { border-color: var(--gold-1); background: rgba(200,162,75,0.05); }
.wallet-btn .wallet-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.wallet-btn .wallet-name { flex: 1; }
.wallet-btn .wallet-tag { font-size: 10px; color: var(--cream-3); }

.cf-scanning {
  display: flex; flex-direction: column; gap: 16px;
}
.cf-scan { height: 2px; background: var(--ink-3); overflow: hidden; position: relative; }
.cf-scan-bar { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--gold-0), transparent); animation: scan 1.4s infinite linear; width: 30%; }
@keyframes scan { 0% { left: -30%; } 100% { left: 100%; } }

.cf-connected { display: flex; flex-direction: column; gap: 16px; }
.cf-connected h4 { font-size: 32px; line-height: 1.1; }
.cf-receipt { border: 1px solid var(--ink-4); padding: 16px; background: var(--ink-0); }
.cf-receipt-row {
  display: flex; justify-content: space-between; padding: 6px 0;
  font-family: var(--font-mono); font-size: 12px;
  border-bottom: 1px dashed rgba(36,36,48,0.6);
}
.cf-receipt-row:last-child { border-bottom: 0; }

/* ——— Section head ——— */
.section-head {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 60px; max-width: 60ch;
}
.section-head .eyebrow { color: var(--gold-0); }
.section-head h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 5vw, 72px); line-height: 0.98; letter-spacing: -0.02em;
}
.section-head h2 em { color: var(--gold-0); font-style: italic; }
.section-head p { color: var(--cream-1); max-width: 52ch; font-size: 17px; }