/* Stay at 397 Angelus
   Colours are sampled from the house's own photos (see ../brand.md):
   vanity green, sofa orange, trim white, and a green-black ink.
   Shape rule: buttons are full pills, photo frames 28px outside / 20px inside. */

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-var.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-italic-var.woff2") format("woff2");
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/geist-var.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f4f1;
  --paper-2: #e9eae5;
  --ink: #161c15;
  --ink-2: #4b5449;
  --green: #3a4538;
  --orange: #ce6b3b;
  --line: rgba(22, 28, 21, 0.12);
  --shell: rgba(22, 28, 21, 0.045);
  --btn-bg: #161c15;
  --btn-fg: #f4f4f1;
  --nav-bg: rgba(244, 244, 241, 0.78);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans:
    "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --r-out: 28px;
  --r-in: 20px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 13vw, 176px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121712;
    --paper-2: #1a211a;
    --ink: #ecede8;
    --ink-2: #a8b0a5;
    --green: #9db097;
    --line: rgba(236, 237, 232, 0.14);
    --shell: rgba(236, 237, 232, 0.06);
    --btn-bg: #ecede8;
    --btn-fg: #121712;
    --nav-bg: rgba(18, 23, 18, 0.78);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
dl,
dd,
ul,
figure,
blockquote {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
a {
  color: inherit;
}
i {
  font-style: italic;
}
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 40;
}
.skip:focus {
  left: 12px;
}

/* ---------- type ---------- */
.display,
h1 {
  font-family: var(--serif);
  font-weight: 380;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-optical-sizing: auto;
}
.display i,
h1 i {
  font-weight: 360;
  padding-bottom: 0.08em;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  max-width: 18ch;
}
.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.25rem);
  color: var(--ink-2);
  max-width: 54ch;
  line-height: 1.55;
}
.fine {
  font-size: 0.82rem;
  color: var(--ink-2);
  margin-top: 28px;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow-light {
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  padding: 9px 9px 9px 24px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.6s var(--ease),
    background-color 0.6s var(--ease);
}
.btn:active {
  transform: scale(0.98);
}
.btn-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #161c15;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.6s var(--ease);
}
.btn:hover .btn-dot {
  transform: translate(2px, -2px) scale(1.06);
}
.btn-small {
  padding: 12px 20px;
  font-size: 0.9rem;
}
.btn-light {
  background: #f4f4f1;
  color: #161c15;
}
.text-link {
  font-size: 0.98rem;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--orange);
  transition: text-underline-offset 0.5s var(--ease);
}
.text-link:hover {
  text-underline-offset: 8px;
}
.text-link-light {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

/* ---------- nav: floating pill ---------- */
.nav {
  position: fixed;
  z-index: 30;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 44px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    inset 0 0 0 1px var(--line),
    0 18px 50px -28px rgba(22, 28, 21, 0.45);
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.wordmark i {
  font-weight: 360;
  margin-right: 0.12em;
}
.nav-links {
  display: none;
  gap: 28px;
  font-size: 0.9rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.5s var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
}
@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

/* ---------- 1. hero ---------- */
.hero {
  padding: 10px;
}
.hero-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100dvh - 20px);
  border-radius: var(--r-out);
  display: flex;
  align-items: flex-end;
  background: var(--green);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 62%;
  z-index: -2;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 20, 13, 0.42) 0%, rgba(14, 20, 13, 0) 62%),
    linear-gradient(180deg, rgba(14, 20, 13, 0.3) 0%, rgba(14, 20, 13, 0) 26%, rgba(14, 20, 13, 0.1) 44%, rgba(14, 20, 13, 0.86) 100%);
}
.hero-copy {
  padding: clamp(24px, 5vw, 64px);
  padding-top: 120px;
  color: #fff;
  max-width: 1040px;
}
.hero-copy h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  max-width: 13em;
  margin-top: 16px;
  text-wrap: balance;
}
.hero-sub {
  margin-top: 18px;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  max-width: 46ch;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

/* ---------- 2. statement ---------- */
.statement {
  padding-block: var(--section) calc(var(--section) * 0.6);
}
.statement .display {
  font-size: clamp(2.2rem, 5.6vw, 4.6rem);
  max-width: 15ch;
}
.statement .lede {
  margin-top: 30px;
}
.facts {
  margin-top: clamp(48px, 7vw, 88px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 24px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
.facts div {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
}
.facts dd {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 340;
}
.facts dt {
  font-size: 0.9rem;
  color: var(--ink-2);
}
@media (min-width: 760px) {
  .facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- 3. highlights bento (5 items, 5 cells) ---------- */
.highlights {
  padding-block: calc(var(--section) * 0.6) var(--section);
}
.bento {
  margin-top: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 4vw, 44px) 24px;
}
.shell {
  padding: 7px;
  border-radius: var(--r-out);
  background: var(--shell);
  box-shadow: inset 0 0 0 1px var(--line);
}
.shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-in);
  aspect-ratio: 3 / 2;
}
.cell h3 {
  font-family: var(--serif);
  font-weight: 420;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin-top: 20px;
  line-height: 1.2;
}
.cell p {
  color: var(--ink-2);
  margin-top: 6px;
  max-width: 40ch;
}
@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
  }
  .cell-a {
    grid-column: span 7;
  }
  .cell-b {
    grid-column: span 5;
  }
  .cell-a .shell img {
    aspect-ratio: 16 / 10;
  }
  .cell-b .shell img {
    aspect-ratio: 8 / 7.02;
  }
  .cell-c,
  .cell-d,
  .cell-e {
    grid-column: span 4;
  }
  .cell-c .shell img,
  .cell-d .shell img,
  .cell-e .shell img {
    aspect-ratio: 4 / 3.4;
  }
}

/* ---------- 4. gallery rail ---------- */
.gallery {
  padding-block: var(--section);
  background: var(--paper-2);
}
.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.rail-buttons {
  display: none;
  gap: 10px;
}
.rail-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.6s var(--ease);
}
.rail-btn:hover {
  transform: scale(1.06);
}
.rail-btn:active {
  transform: scale(0.96);
}
@media (min-width: 900px) and (hover: hover) {
  .rail-buttons {
    display: flex;
  }
}
.rail {
  margin-top: clamp(30px, 4vw, 52px);
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-inline: max(
    var(--gutter),
    calc((100vw - 1280px) / 2 + var(--gutter))
  );
  padding-bottom: 14px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar {
  display: none;
}
.rail li {
  flex: 0 0 auto;
  width: min(84vw, 760px);
  scroll-snap-align: start;
}
.rail li[hidden] {
  display: none;
}
.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--r-in);
  overflow: hidden;
}
.shot img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
@media (hover: hover) {
  .shot:hover img {
    transform: scale(1.025);
  }
}
.rail figcaption {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--ink-2);
}

/* ---------- 5. nearby ---------- */
.nearby {
  padding-block: var(--section);
}
.nearby-head .lede {
  margin-top: 18px;
}
.nearby-groups {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px clamp(32px, 5vw, 72px);
}
@media (min-width: 900px) {
  .nearby-groups {
    grid-template-columns: repeat(3, 1fr);
  }
}
.group h3 {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-2);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.group-gap {
  margin-top: 40px;
}
.miles li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
}
.miles span {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.miles b {
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--ink-2);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------- 6. reviews ---------- */
.reviews {
  padding-block: var(--section);
  background: var(--paper-2);
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 900px) {
  .reviews-grid {
    grid-template-columns: 5fr 7fr;
    gap: clamp(48px, 7vw, 110px);
    align-items: start;
  }
  .score {
    position: sticky;
    top: 120px;
  }
}
.score-num {
  font-family: var(--serif);
  font-size: clamp(4.6rem, 11vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 340;
  display: flex;
  align-items: baseline;
  gap: 0.12em;
}
.star {
  color: var(--orange);
  font-size: 0.42em;
  transform: translateY(-0.5em);
}
.score-sub {
  color: var(--ink-2);
  margin-top: 14px;
}
.subscores {
  margin: 34px 0 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  max-width: 380px;
}
.subscores div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.94rem;
}
.subscores dt {
  color: var(--ink-2);
}
.subscores dd {
  font-variant-numeric: tabular-nums;
}
.quotes {
  display: grid;
  gap: 18px;
}
.quote {
  background: var(--paper);
  border-radius: var(--r-out);
  padding: clamp(26px, 3.4vw, 42px);
  box-shadow: inset 0 0 0 1px var(--line);
}
.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.62rem);
  line-height: 1.36;
  letter-spacing: -0.008em;
  font-weight: 380;
}
.quote figcaption {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--ink-2);
}
.quote figcaption b {
  color: var(--ink);
  font-weight: 500;
  margin-right: 6px;
}

/* ---------- 7. details ---------- */
.details {
  padding-block: var(--section) calc(var(--section) * 0.5);
}
.clusters {
  margin-top: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px clamp(32px, 6vw, 96px);
}
@media (min-width: 760px) {
  .clusters {
    grid-template-columns: repeat(2, 1fr);
  }
}
.cluster h3 {
  font-family: var(--serif);
  font-weight: 420;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}
.cluster p {
  margin-top: 8px;
  color: var(--ink-2);
  max-width: 52ch;
}

/* ---------- 8. faq ---------- */
.faq {
  padding-block: calc(var(--section) * 0.5) var(--section);
  max-width: 880px;
}
.faq-list {
  margin-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 2px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -0.008em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-2);
  transition: transform 0.6s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 2px 26px;
  color: var(--ink-2);
  max-width: 62ch;
}

/* ---------- 9. closing ---------- */
.closing {
  padding-bottom: var(--section);
}
.closing-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--r-out);
  overflow: hidden;
  background: #2b352a;
  color: #f4f4f1;
}
.closing-copy {
  padding: clamp(36px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
}
.closing-copy .display {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}
.closing-copy p {
  color: rgba(244, 244, 241, 0.78);
  margin-bottom: 14px;
}
.closing .btn {
  background: #f4f4f1;
  color: #161c15;
}
.closing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
@media (min-width: 900px) {
  .closing-card {
    grid-template-columns: 1fr 1fr;
  }
  .closing-photo img {
    aspect-ratio: auto;
    min-height: 520px;
  }
}

/* ---------- footer ---------- */
.footer {
  padding-block: 0 56px;
}
.wordmark-footer {
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
}
.footer-cols {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 48px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
@media (min-width: 760px) {
  .footer-cols {
    grid-template-columns: 1fr 1.4fr 1.2fr;
  }
}
.slot {
  border-bottom: 1px dashed var(--ink-2);
  padding-bottom: 1px;
}

/* ---------- preview tag + lightbox ---------- */
.preview-tag {
  position: fixed;
  z-index: 30;
  right: 14px;
  bottom: 14px;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  opacity: 0.86;
  pointer-events: none;
}
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(96vw, 1500px);
  max-height: 94dvh;
  color: #fff;
}
.lightbox::backdrop {
  background: rgba(10, 14, 10, 0.9);
}
.lightbox img {
  max-width: 100%;
  max-height: 80dvh;
  width: auto;
  margin-inline: auto;
  border-radius: 14px;
}
.lightbox-cap {
  text-align: center;
  margin-top: 14px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}
.lightbox-close {
  display: block;
  margin: 0 0 12px auto;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

/* ---------- motion: slow, small, once ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 1.1s var(--ease),
      transform 1.1s var(--ease);
    transition-delay: var(--d, 0ms);
  }
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
  .js .hero-img {
    animation: settle 2.4s var(--ease) both;
  }
  .js .hero-copy > * {
    animation: rise 1.2s var(--ease) both;
  }
  .js .hero-copy > :nth-child(1) {
    animation-delay: 0.25s;
  }
  .js .hero-copy > :nth-child(2) {
    animation-delay: 0.38s;
  }
  .js .hero-copy > :nth-child(3) {
    animation-delay: 0.52s;
  }
  .js .hero-copy > :nth-child(4) {
    animation-delay: 0.66s;
  }
  .js .nav {
    animation: fade 1.2s var(--ease) 0.2s both;
  }
  @keyframes settle {
    from {
      transform: scale(1.06);
    }
    to {
      transform: none;
    }
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes fade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .nav {
    background: var(--paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* preview only: keep the hero buttons clear of the preview tag on phones */
@media (max-width: 759px) { .is-preview .hero-copy { padding-bottom: 68px; } }

.nearby .section-title { max-width: 22ch; }

/* ---------- 3b/3c. hot tub and games ---------- */
.yard-feature {
  padding-block: calc(var(--section) * 0.5);
}
.yard-grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.yard-copy .section-title {
  margin-top: 12px;
}
.yard-copy .section-title em {
  font-style: italic;
}
.yard-copy .lede {
  margin-top: 16px;
}
.yard-pair {
  display: grid;
  gap: 24px;
  margin-top: clamp(28px, 4vw, 48px);
}
.yard-pair figcaption,
.yard-photo .fine {
  margin-top: 12px;
}
@media (min-width: 900px) {
  .yard-grid {
    grid-template-columns: 7fr 5fr;
  }
  .yard-pair {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ---------- 3. walkthrough chapters ---------- */
.walk { background: #0e140d; }
.chap { position: relative; }
.chap-stage { position: relative; }
.chap-slide { position: relative; margin: 0; height: 74svh; min-height: 420px; overflow: hidden; background: var(--green); }
.chap-slide img { width: 100%; height: 100%; object-fit: cover; }
.chap-scrim { display: none; }
.chap-copy { padding: clamp(40px, 9vw, 72px) var(--gutter) 28px; color: #fff; background: #0e140d; order: -1; }
.chap-stage { display: flex; flex-direction: column; }
.chap-title { font-family: var(--serif); font-weight: 380; letter-spacing: -0.02em; line-height: 1.08; font-size: clamp(2.2rem, 7vw, 3.4rem); margin-top: 14px; max-width: 16ch; text-wrap: balance; }
.chap-title i { font-weight: 360; }
.chap-line { margin-top: 16px; color: rgba(255,255,255,.88); max-width: 46ch; line-height: 1.5; }
.chap-nums { display: flex; gap: 36px; margin-top: 24px; }
.chap-nums div { display: flex; flex-direction: column-reverse; }
.chap-nums dd { font-family: var(--serif); font-size: 2.6rem; line-height: 1; font-weight: 340; }
.chap-nums dt { font-size: .85rem; color: rgba(255,255,255,.75); }
.chap-cap { display: none; }
.chap-dots { display: none; }
.chap-slide::after { content: attr(data-cap); position: absolute; left: var(--gutter); bottom: 16px; right: var(--gutter); color: #fff; font-size: .82rem; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.stickybar { position: fixed; z-index: 25; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.stickybar.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.stickybar .btn { box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); }

/* desktop + motion allowed: each chapter pins and the photo changes as you scroll */
.js.pin .chap { height: calc(var(--n) * 90svh + 40svh); }
.js.pin .chap-stage { position: sticky; top: 0; height: 100svh; display: block; overflow: hidden; }
.js.pin .chap-slide { position: absolute; inset: 0; height: 100%; min-height: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.js.pin .chap-slide.is-on { opacity: 1; }
.js.pin .chap-slide img { transform: scale(1.04); transition: transform 6s var(--ease); }
.js.pin .chap-slide.is-on img { transform: scale(1); }
.js.pin .chap-slide::after { display: none; }
.js.pin .chap-scrim { display: block; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,20,13,.62) 0%, rgba(14,20,13,0) 55%), linear-gradient(180deg, rgba(14,20,13,.25) 0%, rgba(14,20,13,0) 25%, rgba(14,20,13,.6) 100%); }
.js.pin .chap-copy { position: absolute; left: 0; bottom: 0; padding: 0 clamp(24px, 6vw, 88px) clamp(70px, 11vh, 120px); background: none; max-width: 760px; }
.js.pin .chap-title { font-size: clamp(2.8rem, 6vw, 5.4rem); max-width: 13ch; }
.js.pin .chap-cap { display: flex; position: absolute; right: clamp(24px, 6vw, 88px); bottom: clamp(28px, 5vh, 52px); flex-direction: column; align-items: flex-end; gap: 2px; color: #fff; font-size: .9rem; text-shadow: 0 1px 10px rgba(0,0,0,.55); transition: opacity .6s var(--ease); }
.js.pin .chap-tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.js.pin .chap-dots { display: flex; gap: 8px; position: absolute; right: clamp(24px, 6vw, 88px); top: 50%; flex-direction: column; transform: translateY(-50%); }
.js.pin .chap-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); transition: background .6s var(--ease), transform .6s var(--ease); }
.js.pin .chap-dots i.is-on { background: #fff; transform: scale(1.5); }
@media (max-width: 759px) { .stickybar { left: 16px; right: 16px; transform: translate(0, 24px); } .stickybar.is-on { transform: none; } .stickybar .btn { width: 100%; justify-content: space-between; } }
@media (prefers-reduced-motion: reduce) { .stickybar { transition: none; } }
