/* Layout: fixed nav, hero, bands, chapter rhythm, responsive. */

/* Fixed top navigation (no logo: brand lockup lives only at the close) */
.topnav {
  position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--nav-h);
  background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--paper);
}
.topnav .rail { display: flex; align-items: center; gap: 18px; height: 100%; }
.brand-text { font-weight: 900; letter-spacing: 0.04em; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
.brand-text em { font-style: normal; color: var(--yellow); }
.nav-links { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 0.8rem; font-weight: 700;
  padding: 7px 11px; border-radius: 999px; white-space: nowrap; transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--paper); background: rgba(255, 255, 255, 0.1); }
.nav-links a.active { color: var(--black); background: var(--yellow); }
.nav-cta { margin-left: 6px; }
.nav-terms {
  border: 1.5px solid rgba(255, 255, 255, 0.4); background: transparent; color: var(--paper);
  border-radius: 999px; padding: 7px 14px; font-size: 0.8rem; font-weight: 700;
}
.nav-terms:hover { border-color: var(--yellow); color: var(--yellow); }
.nav-burger { display: none; margin-left: auto; background: none; border: none; width: 40px; height: 40px; position: relative; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 8px; right: 8px; height: 2px; background: var(--paper); border-radius: 2px;
}
.nav-burger span { top: 19px; }
.nav-burger span::before { top: -7px; left: 0; right: 0; }
.nav-burger span::after { top: 7px; left: 0; right: 0; }

/* Bands */
.band { padding: 92px 0; position: relative; }
.band.tight { padding: 64px 0; }
.band.dark { background: var(--ink); color: var(--paper); }
.band.black { background: var(--black); color: var(--paper); }
.band.paper2 { background: var(--paper2); }
.band + .band { border-top: 1px solid var(--line); }
.band.dark + .band.dark, .band.black + .band.black { border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* Chapter headers */
.ch-head { position: relative; margin-bottom: 44px; padding-top: 10px; }
.ch-no {
  position: absolute; top: -46px; right: -8px; z-index: 0;
  font-size: clamp(6rem, 12vw, 10rem); font-weight: 900; line-height: 1;
  color: var(--paper3); letter-spacing: -0.04em; user-select: none; pointer-events: none;
}
.dark .ch-no, .black .ch-no { color: rgba(255, 255, 255, 0.055); }
.ch-kicker {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gray);
}
.ch-kicker::before { content: ""; width: 34px; height: 3px; background: var(--yellow); }
.dark .ch-kicker, .black .ch-kicker { color: var(--gray-dark); }
.ch-title { position: relative; z-index: 1; font-size: clamp(2rem, 4.4vw, 3.3rem); margin-top: 12px; max-width: 820px; }
.ch-lede { position: relative; z-index: 1; margin-top: 16px; max-width: 700px; font-size: 1.06rem; color: var(--gray); }
.dark .ch-lede, .black .ch-lede { color: var(--gray-dark); }

/* Hero */
.hero { background: var(--black); color: var(--paper); padding: calc(var(--nav-h) + 56px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: end; }
.hero-copy { padding-bottom: 48px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--yellow); }
.hero-eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--yellow); }
.hero h1 { font-size: clamp(3rem, 7.2vw, 5.9rem); letter-spacing: -0.03em; margin: 18px 0 14px; text-transform: uppercase; }
.hero h1 .thin { display: block; font-size: 0.42em; font-weight: 700; letter-spacing: 0.02em; color: var(--gray-dark); text-transform: none; margin-top: 10px; }
.hero-address { font-size: 1.02rem; color: rgba(255, 255, 255, 0.82); max-width: 460px; }
.hero-spec { margin-top: 14px; font-size: 0.88rem; color: var(--gray-dark); max-width: 480px; }
.hero-photo { position: relative; align-self: stretch; min-height: 380px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; position: absolute; inset: 0; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 0%, rgba(0, 0, 0, 0) 26%), linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 40%); }
.hero-photo .photo-credit { position: absolute; right: 14px; bottom: 12px; z-index: 2; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.66); }

/* Verdict price strip inside hero */
.verdict-strip { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 8px; }
.verdict-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.vcard { padding: 30px 28px 34px; border-left: 1px solid rgba(255, 255, 255, 0.14); position: relative; }
.vcard:first-child { border-left: none; padding-left: 0; }
.vcard .v-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-dark); }
.vcard .v-price { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 900; letter-spacing: -0.02em; margin: 8px 0 6px; }
.vcard .v-sub { font-size: 0.84rem; color: var(--gray-dark); }
.vcard.hero-bottom .v-price { color: var(--paper); }
.vcard.hero-asp { background: var(--yellow); color: var(--black); border-left: none; }
.vcard.hero-asp .v-label { color: rgba(0, 0, 0, 0.66); }
.vcard.hero-asp .v-sub { color: rgba(0, 0, 0, 0.72); }
.vcard.hero-asp .v-tag { display: inline-block; margin-top: 12px; background: var(--black); color: var(--yellow); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.vcard .v-cap { display: inline-block; margin-top: 10px; font-size: 0.78rem; font-weight: 700; border: 1.5px solid currentColor; border-radius: 999px; padding: 3px 10px; opacity: 0.85; }

/* Yellow facts ticker band */
.facts-band { background: var(--yellow); color: var(--black); padding: 20px 0; }
.facts-row { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: baseline; justify-content: space-between; }
.fact { display: flex; align-items: baseline; gap: 9px; white-space: nowrap; }
.fact b { font-size: 1.35rem; font-weight: 900; letter-spacing: -0.01em; }
.fact span { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.72; }

/* Generic grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.paper2 .card { background: var(--paper); }
.dark .card { background: rgba(255, 255, 255, 0.035); border-color: rgba(255, 255, 255, 0.14); }
.card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.card .card-kicker { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.dark .card .card-kicker { color: var(--gray-dark); }

/* Closing */
.closing-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.closing-logo { display: flex; justify-content: flex-end; }
.closing-logo img { width: 170px; height: auto; }
.foot-note {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 56px; padding-top: 22px;
  font-size: 0.78rem; color: var(--gray-dark);
}
.foot-note button { background: none; border: none; color: var(--gray-dark); font-size: 0.78rem; text-decoration: underline; padding: 0; }
.foot-note button:hover, .foot-note a:hover { color: var(--yellow); }
.foot-note a { color: inherit; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-photo { min-height: 300px; position: relative; }
  .hero-photo img { position: absolute; }
  .hero-copy { padding-bottom: 8px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .closing-grid { grid-template-columns: 1fr; }
  .closing-logo { justify-content: flex-start; }
}
@media (max-width: 860px) {
  .band { padding: 64px 0; }
  .rail { padding: 0 18px; }
  .nav-links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; background: rgba(0, 0, 0, 0.97); padding: 14px 18px 20px; gap: 4px; border-bottom: 1px solid rgba(255,255,255,0.14); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 14px; font-size: 0.95rem; }
  .nav-burger { display: block; }
  .nav-cta { display: none; }
  .nav-terms { margin-left: auto; }
  .nav-burger { margin-left: 8px; }
  .verdict-grid { grid-template-columns: 1fr; }
  .vcard { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 22px 0; }
  .vcard:first-child { border-top: none; }
  .vcard.hero-asp { padding: 22px 18px; margin: 0 -18px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .ch-no { top: -30px; font-size: 5.4rem; }
  .facts-row { gap: 10px 24px; }
  .fact b { font-size: 1.1rem; }
}