/* layout.css — page scaffolding: topbar, hero grid, section bands, footer */

/* ---- top bar ---- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad-x);
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark {
  font-size: 1.4rem; line-height: 1;
  background: var(--plasma); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.brand-text { font-weight: 700; letter-spacing: .12em; font-size: .82rem; }
.brand-dim { color: var(--faint); }
.topnav { display: flex; gap: 1.6rem; }
.topnav a {
  font-size: .8rem; letter-spacing: .04em; color: var(--muted);
  padding: .3rem 0; position: relative; transition: color .18s;
}
.topnav a:hover { color: var(--text); }
.topnav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--plasma); transition: right .22s ease;
}
.topnav a:hover::after { right: 0; }
@media (max-width: 720px) { .topnav { display: none; } }

/* ---- hero ---- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3rem, 7vw, 6.5rem) var(--pad-x) var(--band-y);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 940px) { .hero { grid-template-columns: 1fr; } }

.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.4rem; }
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-lit); box-shadow: 0 0 0 4px rgba(255,77,141,.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255,77,141,0); } }

.hero-title {
  font-size: var(--t-hero); font-weight: 600; letter-spacing: -0.035em;
}
.hero-title em {
  font-family: var(--font-body); font-style: italic; font-weight: 400;
  background: var(--plasma); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede {
  margin: 1.6rem 0 2.2rem; max-width: 46ch; color: var(--text-dim);
  font-size: var(--t-lg); line-height: 1.55;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- section bands ---- */
.band {
  max-width: var(--maxw); margin: 0 auto;
  padding: var(--band-y) var(--pad-x);
  border-top: 1px solid var(--border);
}
.band-head { max-width: 56ch; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.kicker { display: block; margin-bottom: .9rem; }
.band-title { font-size: var(--t-2xl); margin-bottom: 1rem; }
.band-sub { color: var(--text-dim); font-size: var(--t-lg); }

/* ---- quote band ---- */
.quote-band {
  border-top: 1px solid var(--border);
  background:
    linear-gradient(var(--ink-2), var(--ink-2)) padding-box,
    var(--plasma) border-box;
}
.pullquote {
  max-width: 1000px; margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) var(--pad-x);
}
.pullquote p {
  font-family: var(--font-body); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 1rem + 2.6vw, 2.7rem); line-height: 1.25;
  letter-spacing: -0.01em; text-wrap: balance;
}
.pullquote p::before { content: "“"; color: var(--accent-lit); }
.pullquote p::after  { content: "”"; color: var(--accent-lit); }

/* ---- footer ---- */
.footer {
  max-width: var(--maxw); margin: 0 auto;
  padding: var(--band-y) var(--pad-x) 4rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 1rem;
}
.footer-main { display: flex; align-items: center; gap: .9rem; }
.footer-main p { color: var(--text-dim); max-width: 50ch; }
.footer-main .brand-mark { font-size: 1.6rem; }
.footer-meta { color: var(--faint); font-size: var(--t-sm); }
.footer-meta .mono { color: var(--muted); }
