/* =================================================================
   Trunkline — Pre-Construction Plumbing & Water Infrastructure
   Standalone demo. Brassline visual system, new section structure.
   ================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Dark surfaces */
  --bg: #0e0e0e;
  --bg-2: #161616;
  --bg-3: #1a1a1a;
  --bg-4: #222222;

  /* Paper surfaces */
  --paper: #f4f1ec;
  --paper-2: #ebe7e0;
  --paper-3: #ddd7cd;
  --ink: #161616;
  --ink-2: #2a2a2a;
  --ink-3: #4a4a48;
  --ink-4: #6b6b68;

  /* Text on dark */
  --text: #f5f5f5;
  --text-2: #d8d8d8;
  --text-3: #cfcfcf;
  --text-4: #888888;
  --text-5: #636363;

  /* Lines */
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --line-strong: rgba(255, 255, 255, 0.18);
  --line-paper: rgba(22, 22, 22, 0.1);
  --line-paper-strong: rgba(22, 22, 22, 0.22);

  /* Brand */
  --copper: #C8763A;
  --copper-2: #E29762;
  --copper-3: #A8612A;
  --copper-deep: #8a4f24;
  --water: #5aa5d0;

  /* Type */
  --ff-display: "Phudu", system-ui, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ff-body: "Inter", system-ui, sans-serif;

  /* Spacing */
  --max: 1280px;
  --pad-x: clamp(20px, 4vw, 64px);
  --section-y: clamp(80px, 9vw, 132px);

  /* Radii */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--copper); color: var(--bg);
  padding: 10px 16px; border-radius: 0 0 12px 0;
  z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- 3. Type ---------- */
.display {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(36px, 6.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}
.display em {
  font-style: normal;
  color: var(--copper);
  font-weight: 500;
}
.display--md {
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.05;
}
.lede {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--text-3);
  max-width: 58ch;
  margin: 24px 0 0;
}
.mono {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-4);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.02);
}
.eyebrow__dot {
  width: 6px; height: 6px;
  background: var(--copper);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--copper);
}
.eyebrow--copper {
  color: var(--copper-2);
  border-color: rgba(200, 118, 58, 0.4);
  background: rgba(200, 118, 58, 0.08);
}
.eyebrow--paper {
  color: var(--ink-3);
  border-color: var(--line-paper-strong);
  background: rgba(22, 22, 22, 0.03);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn--lg { height: 56px; padding: 0 26px; font-size: 15.5px; }
.btn--copper {
  background: var(--copper);
  color: var(--bg);
}
.btn--copper:hover { background: var(--copper-2); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--copper); color: var(--copper-2); }

/* Paper-context button overrides */
.section--paper .btn--ghost {
  color: var(--ink);
  border-color: var(--line-paper-strong);
}
.section--paper .btn--ghost:hover { border-color: var(--copper); color: var(--copper-3); }

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--copper);
}
.dot--pulse {
  box-shadow: 0 0 0 0 rgba(200, 118, 58, 0.6);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 118, 58, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(200, 118, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 118, 58, 0); }
}

/* ---------- 5. Status bar ---------- */
.status-bar {
  background: #060606;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.status-bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px var(--pad-x);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-3);
}
.status-bar__inner .dot--pulse { margin-right: 4px; vertical-align: middle; }
.status-bar__right { color: var(--copper-2); }
@media (max-width: 700px) {
  .status-bar__right { display: none; }
}

/* ---------- 6. Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 14, 14, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(14, 14, 14, 0.95);
  border-color: var(--line-strong);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand__mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--bg-3);
  color: var(--copper);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}
.brand--lg { font-size: 28px; gap: 14px; }
.brand--lg .brand__mark { width: 46px; height: 46px; }

.nav__links {
  justify-self: center;
  display: flex; gap: 0;
}
.nav__links a {
  font-size: 13.5px; font-weight: 500;
  color: var(--text-3);
  padding: 10px 16px;
  letter-spacing: 0.005em;
  transition: color 0.3s var(--ease);
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { display: flex; gap: 14px; align-items: center; }
.nav__phone {
  color: var(--text);
  font-size: 12.5px;
  letter-spacing: 0.05em;
}
.nav__phone:hover { color: var(--copper-2); }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav__inner { grid-template-columns: auto 1fr; gap: 12px; }
  .nav__cta .btn { padding: 0 14px; height: 42px; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  padding-top: 0;
  display: flex;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.62) contrast(1.05);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,14,0.7) 0%, rgba(14,14,14,0.2) 40%, rgba(14,14,14,0.95) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--pad-x) clamp(56px, 7vw, 96px);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(40px, 8vw, 80px);
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__coords {
  color: var(--text-3);
  font-size: 11px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(14, 14, 14, 0.4);
  backdrop-filter: blur(8px);
}
.hero__band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
@media (max-width: 900px) {
  .hero__band { grid-template-columns: 1fr; }
}
.hero__copy .display { margin-top: 0; }
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Readout panel (replaces split image) */
.readout {
  background: rgba(14, 14, 14, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 6px 22px;
  font-size: 14px;
}
.readout__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.readout__row--last { border-bottom: none; }
.readout__row .mono {
  font-size: 10.5px;
  color: var(--text-4);
}
.readout__row strong {
  color: var(--text);
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
}

/* ---------- 8. Sections base ---------- */
.section--paper {
  background: var(--paper);
  color: var(--ink-2);
}
.section--paper .display,
.section--paper h2,
.section--paper h3 {
  color: var(--ink);
}
.section--paper .section-head__lede {
  color: var(--ink-3);
}
.section--paper .mono {
  color: var(--ink-4);
}

.section-head {
  max-width: 64ch;
  padding-bottom: clamp(28px, 4vw, 56px);
}
.section-head .display { margin-top: 16px; }
.section-head__lede {
  margin-top: 18px;
  color: var(--text-3);
  font-size: 16.5px;
  max-width: 58ch;
}
.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding-bottom: clamp(28px, 4vw, 56px);
}
@media (max-width: 800px) {
  .section-head--row { flex-direction: column; align-items: flex-start; }
}

/* ---------- 9. Phases (white) ---------- */
.phases {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--paper-3);
  border-bottom: 1px solid var(--paper-3);
}
.phases__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.phases__rail {
  list-style: none;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}
.phases__rail::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--copper) 8%,
    var(--copper) 92%,
    transparent 100%);
}
.phase {
  position: relative;
  padding: 0 18px;
  text-align: center;
  display: grid;
  gap: 10px;
  align-content: start;
  border-right: 1px dashed var(--line-paper);
}
.phase:last-child { border-right: none; }
.phase__node {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--copper);
  color: var(--copper-3);
  display: grid; place-items: center;
  font-size: 13px;
  margin: 0 auto 18px;
  position: relative;
  z-index: 2;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.phase__node--final {
  background: var(--copper);
  color: var(--paper);
}
.phase:hover .phase__node {
  background: var(--copper);
  color: var(--paper);
  transform: scale(1.06);
}
.phase__node .mono {
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: 12px;
  color: inherit !important;
  letter-spacing: 0.06em;
}
.phase h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.015em;
  margin: 0;
}
.phase p {
  margin: 0;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.5;
}
.phase p.mono {
  color: var(--copper-3) !important;
  font-size: 10.5px;
  margin-bottom: 4px;
}
@media (max-width: 900px) {
  .phases__rail { grid-template-columns: repeat(3, 1fr); padding-top: 36px; }
  .phases__rail::before { display: none; }
  .phase:nth-child(3n) { border-right: none; }
  .phase { padding-bottom: 32px; }
}
@media (max-width: 560px) {
  .phases__rail { grid-template-columns: repeat(2, 1fr); }
  .phase { border-right: 1px dashed var(--line-paper); }
  .phase:nth-child(3n) { border-right: 1px dashed var(--line-paper); }
  .phase:nth-child(2n) { border-right: none; }
}

/* ---------- 10. Schematic ---------- */
.schematic {
  padding: var(--section-y) 0;
}
.schematic__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.schematic__caption {
  color: var(--text-4);
  font-size: 11px;
  align-self: end;
  text-align: right;
  max-width: 36ch;
}
.schematic__figure {
  margin: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 36px);
  overflow: hidden;
}
.schematic__svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 320px;
}
.schematic__legend {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 11px;
}
.schematic__legend .mono {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
}
.legend-swatch {
  width: 12px; height: 12px;
  border-radius: 2px;
  display: inline-block;
}

/* ---------- 11. Materials / spec sheet ---------- */
.materials {
  background: var(--bg-2);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.materials__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.spec {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-3);
}
.spec__row {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 0.7fr 1.4fr 1.2fr 0.7fr;
  gap: 24px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 14px;
  color: var(--text-3);
  transition: background 0.25s var(--ease);
}
.spec__row:hover:not(.spec__row--head) {
  background: var(--bg-4);
}
.spec__row--head {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--text-5);
  background: rgba(0, 0, 0, 0.25);
  border-bottom-color: var(--line-strong);
  padding: 16px 28px;
}
.spec__row--last { border-bottom: none; }
.spec__name {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--copper-2);
  letter-spacing: -0.005em;
}
.materials__note {
  margin: 28px 0 0;
  padding: 14px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  color: var(--text-4);
  font-size: 10.5px;
}
@media (max-width: 900px) {
  .spec__row {
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
    padding: 20px 22px;
  }
  .spec__row--head { display: none; }
  .spec__row span { display: block; }
  .spec__row span:not(.spec__name)::before {
    content: attr(data-label);
    display: block;
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--text-5);
    text-transform: uppercase;
    margin-bottom: 2px;
  }
  .spec__row .spec__name { grid-column: 1 / -1; margin-bottom: 6px; }
}

/* ---------- 12. Builds (alternating) ---------- */
.builds {
  padding: var(--section-y) 0;
}
.builds__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.build {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.build:last-child { border-bottom: 1px solid var(--line); }
.build--flip { grid-template-columns: 1fr 1.2fr; }
.build--flip .build__media { order: 2; }
.build--flip .build__body { order: 1; }
.build__media {
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-3);
}
.build__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.build:hover .build__media img { transform: scale(1.03); }
.build__body { display: grid; gap: 22px; align-content: start; }
.build__body h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--text);
}
.build__body p {
  margin: 0;
  font-size: 15px;
  color: var(--text-3);
  max-width: 52ch;
}
.build__spec {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.build__spec li {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  border-right: 1px dashed var(--line);
  padding-right: 18px;
}
.build__spec li:nth-child(2n) { border-right: none; padding-right: 0; padding-left: 18px; }
.build__spec li span {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-5);
}
.build__spec li strong {
  font-family: var(--ff-display);
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
  text-align: right;
}
.tag {
  display: inline-block;
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  color: var(--copper-2);
  font-size: 10px;
  letter-spacing: 0.12em;
  width: max-content;
}
@media (max-width: 800px) {
  .build, .build--flip { grid-template-columns: 1fr; }
  .build--flip .build__media { order: 0; }
  .build--flip .build__body { order: 0; }
  .build__spec li, .build__spec li:nth-child(2n) {
    padding-left: 0;
    padding-right: 0;
    border-right: none;
  }
  .build__spec { grid-template-columns: 1fr; }
}

/* ---------- 13. Numbers (white) ---------- */
.numbers {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--paper-3);
  border-bottom: 1px solid var(--paper-3);
}
.numbers__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) {
  .numbers__inner { grid-template-columns: 1fr; }
}
.numbers__head .display { margin-top: 16px; }
.numbers__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--paper-3);
  border: 1px solid var(--paper-3);
  border-radius: var(--r-md);
  overflow: hidden;
}
.numbers__grid li {
  background: var(--paper);
  padding: 32px 28px 28px;
  display: grid;
  gap: 14px;
  align-content: start;
  position: relative;
}
.numbers__grid li::before {
  content: "";
  position: absolute;
  top: 0; left: 28px;
  width: 32px; height: 2px;
  background: var(--copper);
}
.numbers__grid li strong {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.numbers__grid li strong span {
  font-size: 0.32em;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.numbers__grid li > span.mono {
  color: var(--ink-4);
  font-size: 10.5px;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .numbers__grid { grid-template-columns: 1fr; }
}

/* ---------- 14. Compliance strip ---------- */
.compliance {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.compliance__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
}
.compliance__label {
  color: var(--text-5);
  font-size: 10.5px;
  letter-spacing: 0.18em;
}
.compliance__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.compliance__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.compliance__code {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.015em;
}
.compliance__list .mono {
  color: var(--text-5);
  font-size: 10px;
  letter-spacing: 0.08em;
}
@media (max-width: 800px) {
  .compliance__inner { grid-template-columns: 1fr; gap: 18px; }
  .compliance__list { gap: 24px; }
}

/* ---------- 15. Booking ---------- */
.book {
  padding: var(--section-y) 0;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(200, 118, 58, 0.08) 0%, transparent 60%),
    var(--bg);
}
.book__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) {
  .book__grid { grid-template-columns: 1fr; }
}
.book__copy .display { margin-top: 16px; }
.book__copy > p {
  margin: 24px 0 0;
  color: var(--text-3);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 56ch;
}
.book__list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.book__list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 24px;
  align-items: baseline;
}
.book__list strong {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
}
.book__list span {
  color: var(--text-3);
  font-size: 14.5px;
}
.book__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.book__card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
}
.book__media {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--bg-3);
  overflow: hidden;
}
.book__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.book__tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 10px;
  background: rgba(14, 14, 14, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--copper-2);
  font-size: 10px;
}
.book__slots {
  list-style: none;
  margin: 0;
  padding: 0;
}
.book__slots li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.book__slots .mono { color: var(--text-2); font-size: 11px; }
.book__slot-state {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
}
.book__slot-state--open {
  color: var(--copper-2);
  background: rgba(200, 118, 58, 0.1);
  border-color: rgba(200, 118, 58, 0.35);
}
.book__slot-state--full {
  color: var(--text-5);
  background: rgba(255, 255, 255, 0.03);
}
.book__slot-state--hold {
  color: var(--water);
  background: rgba(90, 165, 208, 0.08);
  border-color: rgba(90, 165, 208, 0.3);
}

/* ---------- 16. Footer ---------- */
.footer {
  background: #060606;
  color: var(--text-4);
  padding: clamp(56px, 7vw, 96px) 0 24px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(28px, 5vw, 72px);
}
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr; } }
.footer__brand .brand { color: var(--text); }
.footer__brand p {
  margin-top: 16px;
  max-width: 36ch;
  color: var(--text-4);
  font-size: 15px;
}
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 600px) { .footer__cols { grid-template-columns: 1fr; } }
.footer__cols h4 { margin: 0 0 14px; color: var(--text-5); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__cols a {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 15.5px;
  color: var(--text-2);
  letter-spacing: -0.005em;
}
.footer__cols a:hover { color: var(--copper-2); }
.footer__bar {
  max-width: var(--max);
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: 24px var(--pad-x) 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11.5px;
  color: var(--text-5);
}
@media (max-width: 700px) { .footer__bar { flex-direction: column; } }

/* ---------- 17. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot--pulse { animation: none; }
}
