/* FestiVall landing — Persuade mode, plan-sheet world */
.top {
  display: flex; align-items: center; gap: 28px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1.5px solid var(--ink);
  position: sticky; top: 0; z-index: 10; background: var(--paper);
}
.top-nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-variation-settings: 'wdth' 100; font-size: 15px; }
.top-nav a { text-decoration: none; padding: 4px 0; border-bottom: 1.5px solid transparent; }
.top-nav a:hover { border-color: var(--ink); }

main > section { padding-inline: clamp(20px, 4vw, 56px); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px);
  align-items: center; padding-block: clamp(28px, 4vw, 56px) clamp(36px, 5vw, 72px);
}
.hero h1 {
  font-family: var(--display); font-weight: 900; font-variation-settings: 'wdth' 68;
  font-size: clamp(46px, 6vw, 92px); line-height: .94; letter-spacing: -.015em; text-transform: uppercase;
  margin: 14px 0 22px;
}
.hero h1 span { display: block; color: var(--ink-2); }
.lede { font-size: clamp(17px, 1.35vw, 20px); max-width: 34em; margin: 0 0 28px; color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 38px 0 0; border-top: 1.5px solid var(--ink); }
.hero-facts div { padding: 12px 14px 0 0; }
.hero-facts div + div { padding-left: 14px; border-left: 1px solid var(--rule-strong); }
.hero-facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hero-facts dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; line-height: 1.3; }

.hero-sheet { margin: 0; }
.legend-note { margin-left: auto; color: var(--ink-3); }

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); align-items: baseline; gap: 24px; padding-block: 0 26px; border-bottom: 1.5px solid var(--ink); margin-bottom: 0; }
.section-head h2, .gate h2, .close h2 {
  font-weight: 900; font-variation-settings: 'wdth' 72; text-transform: uppercase;
  font-size: clamp(34px, 4.2vw, 64px); line-height: 1; letter-spacing: -.01em; margin: 0;
}
main > section[id] { scroll-margin-top: 72px; }

/* ---------- Steps: a ruled spec table ---------- */
.how { padding-block: clamp(56px, 8vw, 110px) clamp(40px, 6vw, 80px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps li { padding: 26px 26px 30px 0; display: flex; flex-direction: column; gap: 10px; }
.steps li + li { padding-left: 26px; border-left: 1px solid var(--rule-strong); }
.step-no { font-size: clamp(44px, 5vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.steps h3 { font-size: 22px; font-weight: 800; font-variation-settings: 'wdth' 90; margin: 6px 0 0; line-height: 1.15; }
.steps p { margin: 0; color: var(--ink-2); max-width: 30em; }
.steps .step-who { margin-top: auto; padding-top: 14px; font-size: 14px; color: var(--ink); border-top: 1px dashed var(--rule-strong); }

/* ---------- Gate ---------- */
.gate {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(56px, 8vw, 110px); background: var(--ink); color: var(--paper);
}
.gate .eyebrow { color: #a9a79e; }
.gate h2 { margin: 12px 0 18px; }
.gate p { color: #cfcdc4; max-width: 32em; margin: 0 0 26px; }
.gate .btn-ink { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.gate .btn-ink:hover { background: #fff; }
.gate-demo { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 14px; align-content: center; }
.gate-demo .verdict:first-child { grid-row: span 2; }

.verdict { border-radius: var(--radius); padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; color: #fff; min-height: 150px; justify-content: flex-end; }
.verdict strong { font-weight: 900; font-variation-settings: 'wdth' 70; text-transform: uppercase; font-size: clamp(54px, 6vw, 96px); line-height: .85; }
.verdict-k { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-bottom: auto; }
.verdict-ok { background: var(--ok); }
.verdict-deny { background: var(--deny); }
.verdict-deny strong { font-size: clamp(40px, 4vw, 60px); }
.verdict span:last-child { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(56px, 8vw, 110px) clamp(40px, 6vw, 80px); }
.faq-list { margin: 0; }
.faq-list div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule-strong); }
.faq-list dt { font-weight: 800; font-variation-settings: 'wdth' 90; font-size: 20px; line-height: 1.25; }
.faq-list dd { margin: 0; color: var(--ink-2); max-width: 38em; }

/* ---------- Close + footer ---------- */
.close { padding-block: clamp(48px, 7vw, 96px); border-top: 1.5px solid var(--ink); background: var(--band); color: var(--band-ink); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.close h2 { max-width: 16em; }
.close .btn:not(.btn-band) { border-color: var(--band-ink); }
.close .btn-band { background: var(--ink); color: var(--band); }
.foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding: 22px clamp(20px, 4vw, 56px); border-top: 1.5px solid var(--ink); font-size: 14px; color: var(--ink-2); }
.foot p { margin: 0; max-width: 60em; }
.wordmark.small { font-size: 16px; }
.wordmark.small .tab { width: 10px; height: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero, .gate { grid-template-columns: 1fr; }
  .hero-sheet { order: 2; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 22px 0; border-left: 0; border-top: 1px solid var(--rule-strong); }
  .steps li:first-child { border-top: 0; }
  .section-head, .faq-list div { grid-template-columns: 1fr; gap: 8px; }
  .top-nav { display: none; }
  .top .btn { margin-left: auto; }
}
@media (max-width: 560px) {
  .hero h1 { line-height: 1.02; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .hero-facts div { padding: 10px 0; }
  .gate-demo { grid-template-columns: 1fr; }
  .gate-demo .verdict:first-child { grid-row: auto; }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock > div:nth-child(3) { border-left: 0; }
  .titleblock > div:nth-child(n+3) { border-top: 1px solid var(--ink); }
  .legend-note { margin-left: 0; }
}

/* ---------- Office section ---------- */
.office { padding-block: clamp(56px, 8vw, 110px) 0; }
.office-intro { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px; padding: 26px 0; }
.office-intro p { grid-column: 2; margin: 0; max-width: 46em; font-size: clamp(17px, 1.3vw, 19px); }
.modules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.modules li { padding: 22px 22px 26px 0; display: flex; flex-direction: column; gap: 8px; }
.modules li + li { padding-left: 22px; border-left: 1px solid var(--rule-strong); }
.modules .mono { width: 30px; height: 30px; display: grid; place-items: center; background: var(--band); border: 1.5px solid var(--ink); font-weight: 600; }
.modules h3 { margin: 6px 0 0; font-size: 21px; font-weight: 800; font-variation-settings: 'wdth' 90; line-height: 1.15; }
.modules p { margin: 0; color: var(--ink-2); }
@media (max-width: 960px) {
  .office-intro { grid-template-columns: 1fr; }
  .office-intro p { grid-column: 1; }
  .modules { grid-template-columns: 1fr 1fr; }
  .modules li:nth-child(3) { padding-left: 0; border-left: 0; }
  .modules li:nth-child(n+3) { border-top: 1px solid var(--rule-strong); }
}
@media (max-width: 560px) {
  .modules { grid-template-columns: 1fr; }
  .modules li, .modules li + li { padding: 18px 0; border-left: 0; }
  .modules li + li { border-top: 1px solid var(--rule-strong); }
}
