@font-face {
  font-family: 'TwoPiggiesScript';
  src: url('../fonts/milkymatcha.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('../fonts/caveat.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #1d1d1f;
  --ink-soft: #5c5c61; /* darkened for WCAG 4.5:1 on the morning/golden chapter washes */
  --canvas: #fafaf8;
  --gold: #c77b3f;      /* bright gold — icons, borders, decorative accents only */
  --gold-text: #a0551a; /* warmer text gold; AA 4.5:1 on canvas/white/gold-soft. Chapter eyebrows keep #8d5524 (the only gold on the saturated golden-hour wash). */
  --gold-soft: #faf3ec;
  --night: #0b1622;
  --night-soft: #9fb3c8;
  --max: 1100px;
  --section-pad: clamp(28px, 4vh, 48px); /* lower utility sections: tightened to sit between the tight story spacing and the roomier booking panel */
  --font-brand: 'TwoPiggiesScript', cursive; /* the cottage's Milky Matcha script — wordmark only */
}

/* ---------- brand lockup (pig replaces the "o" in Two) ---------- */
:root { --pig-tilt: -12deg; } /* hand-lettered head tilt to match the original logo */
.lockup { font-family: var(--font-brand); font-weight: 700; line-height: 1.12; letter-spacing: 0; }
.lockup .pig-o { width: .94em; height: .94em; vertical-align: -0.13em; margin: 0 .02em; display: inline-block; transform: rotate(var(--pig-tilt)); }
* { margin: 0; padding: 0; box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } /* screen reader only text, e.g. "(opens in a new tab)" */
html { scroll-behavior: smooth; scroll-padding-top: 80px; } /* clears the fixed nav (up to ~72px on mobile with the Menu button) on anchor jumps */
body { font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; }

/* ---------- nav ---------- */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; background: rgba(250,250,248,.72); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); border-bottom: 1px solid rgba(0,0,0,.06); }
nav .wordmark { font-size: 28px; text-decoration: none; color: var(--ink); white-space: nowrap; }
nav .links { display: flex; gap: 26px; font-size: 13px; color: var(--ink-soft); }
nav .links a { text-decoration: none; }
nav .links a:hover { color: var(--ink); }
nav .cta { background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; padding: 8px 18px; border-radius: 99px; text-decoration: none; white-space: nowrap; }
@media (max-width: 880px) { nav .links { display: none; } }
nav .nav-cta { display: flex; align-items: center; gap: 10px; }
nav .cta-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(0,0,0,.22); padding: 6.5px 16.5px; } /* outline twin of .cta, same outer height */
nav .cta-ghost:hover { border-color: var(--ink); background: rgba(0,0,0,.04); }
@media (max-width: 560px) { nav .cta-ghost { display: none; } } /* phone: lead with Book direct; Airbnb is right below in the hero */
/* ---------- mobile menu (E6): restores the section links that hide under 880px ---------- */
.nav-toggle { display: none; align-items: center; min-height: 44px; background: none; border: 1.5px solid rgba(0,0,0,.22); color: var(--ink); font-size: 13px; font-weight: 500; padding: 0 16px; border-radius: 99px; cursor: pointer; font-family: inherit; white-space: nowrap; } /* 44px tap target: the sole in-page nav entry on phones */
.nav-toggle:hover { border-color: var(--ink); background: rgba(0,0,0,.04); }
@media (max-width: 880px) { .nav-toggle { display: inline-flex; } }
.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(250,250,248,.98); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); border-bottom: 1px solid rgba(0,0,0,.08); padding: 6px 28px 14px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu:not([hidden]) { display: flex; }
.mobile-menu a { display: flex; align-items: center; min-height: 44px; padding: 6px 2px; font-size: 15px; color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.06); }
.mobile-menu a:last-child { border-bottom: 0; }
@media (min-width: 881px) { .mobile-menu:not([hidden]) { display: none; } } /* the drawer never shows on desktop */

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero .veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,15,25,.55) 0%, rgba(10,15,25,.08) 45%, rgba(10,15,25,.15) 100%); }
.hero .content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding: 0 20px 11vh; color: #fff; }
.hero-lockup { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.4); margin-bottom: 20px; }
.hero-lockup .l1 { display: block; font-size: clamp(34px, 4.6vw, 54px); }
.hero-lockup .l2 { display: block; font-size: clamp(24px, 3.2vw, 38px); margin-top: 2px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero p { font-size: clamp(16px, 2vw, 21px); margin: 18px 0 30px; opacity: .94; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero .buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero p.hero-proof { font-size: clamp(13.5px, 1.7vw, 16px); margin: -16px 0 30px; opacity: .96; letter-spacing: .02em; font-weight: 500; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.hero .hero-proof b { font-weight: 700; }
.btn-glass { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.5); color: #fff; backdrop-filter: blur(8px); padding: 13px 28px; border-radius: 99px; font-size: 15px; font-weight: 500; text-decoration: none; }
.btn-solid { background: #fff; color: var(--ink); padding: 13px 28px; border-radius: 99px; font-size: 15px; font-weight: 600; text-decoration: none; }

/* ---------- shared ---------- */
.proof { display: flex; justify-content: center; gap: 12px 40px; flex-wrap: wrap; padding: 30px 24px; font-size: 14px; color: var(--ink-soft); border-bottom: 1px solid rgba(0,0,0,.06); }
.proof b { color: var(--ink); font-weight: 600; }
.editorial { max-width: 820px; margin: 0 auto; padding: 6vh 28px; text-align: center; }
.editorial p { font-family: 'Caveat', cursive; font-size: clamp(32px, 5vw, 54px); font-weight: 700; letter-spacing: 0; line-height: 1.2; }
.editorial .gold { color: var(--gold-text); }
section.block { max-width: var(--max); margin: 0 auto; padding: var(--section-pad) 28px; background: var(--canvas); } /* opaque canvas so the gallery never inherits the dark night --wash mid scroll transition */
.kicker { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-text); margin-bottom: 14px; }
h2.title { font-size: clamp(30px, 4.4vw, 48px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.lede { font-size: 18px; color: var(--ink-soft); line-height: 1.65; margin-top: 18px; max-width: 640px; }

.full-photo { position: relative; height: 86vh; min-height: 480px; overflow: hidden; }
.full-photo img { width: 100%; height: 100%; object-fit: cover; }
.full-photo .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 44px; background: linear-gradient(to top, rgba(10,15,25,.6), transparent); color: #fff; text-align: center; }
.full-photo .caption h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -0.02em; }
.full-photo .caption p { font-size: 16px; opacity: .92; margin-top: 8px; }

.space-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: 48px; }
.space-grid picture { display: block; overflow: hidden; border-radius: 18px; }
.space-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.space-grid picture:hover img { transform: scale(1.03); }
.space-grid .a { grid-column: span 7; height: 380px; }
.space-grid .b { grid-column: span 5; height: 380px; }
.space-grid .c, .space-grid .d, .space-grid .e { grid-column: span 4; height: 260px; }
@media (max-width: 760px) { .space-grid .a, .space-grid .b, .space-grid .c, .space-grid .d, .space-grid .e { grid-column: span 12; height: 240px; } }

/* "At a glance" headliner — capacity-first, directly under the hero so guests can
   judge suitability before reading the story. "Sleeps" is the headline question. */
.glance { padding: 40px 28px 10px; text-align: center; }
.glance-kicker { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-text); margin-bottom: 12px; }
.glance-headline { font-size: clamp(38px, 5.4vw, 60px); font-weight: 700; letter-spacing: -0.025em; color: var(--ink); line-height: 1.02; }
.glance-sub { font-size: 15px; color: var(--ink-soft); margin-top: 10px; }
.stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px 56px; margin-top: 26px; }
.stats div { font-size: 14px; color: var(--ink-soft); text-align: center; }
.stats b { display: block; font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }

/* FAQ — long-tail SEO content + guest reassurance; native <details> accordion */
.faq-list { margin-top: 30px; max-width: 760px; border-top: 1px solid rgba(0,0,0,.08); }
.faq-list details { border-bottom: 1px solid rgba(0,0,0,.08); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-size: 18px; font-weight: 600; color: var(--ink); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font-size: 26px; font-weight: 400; line-height: 1; color: var(--gold-text); transition: transform .25s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > p { margin: 0; padding: 2px 0 22px; font-size: 16px; color: var(--ink-soft); line-height: 1.65; }
.faq-list a { color: var(--gold-text); text-decoration: underline; }

.split { display: grid; grid-template-columns: 1fr 1fr; max-width: var(--max); margin: 0 auto; padding: 0 28px 12vh; gap: 60px; align-items: center; }
.split picture img { width: 100%; border-radius: 22px; }
.split .text h2 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; }
.split .text p { font-size: 17px; color: var(--ink-soft); line-height: 1.65; margin-top: 16px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 30px; } }

.night { background: var(--night); color: #fff; padding: var(--section-pad) 28px; }
.night .inner { max-width: var(--max); margin: 0 auto; }
.night .kicker { color: #7fa8d9; }
.night h2.title { color: #fff; }
.night .lede { color: var(--night-soft); }
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.seasons figure { position: relative; border-radius: 16px; overflow: hidden; height: 360px; }
.seasons img { width: 100%; height: 100%; object-fit: cover; }
.seasons figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: 14px; font-weight: 500; background: linear-gradient(to top, rgba(0,0,0,.65), transparent); }
@media (max-width: 880px) { .seasons { grid-template-columns: repeat(2, 1fr); } .seasons figure { height: 260px; } }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 44px; }
.gallery-grid button { border: 0; padding: 0; cursor: pointer; background: #eee; border-radius: 14px; overflow: hidden; height: 200px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid button:hover img { transform: scale(1.04); }
@media (max-width: 880px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .gallery-grid button { height: 150px; } }
.gallery-more { text-align: center; margin-top: 28px; }
.gallery-more button { background: none; border: 1.5px solid var(--ink); border-radius: 99px; font-size: 15px; font-weight: 500; padding: 12px 28px; cursor: pointer; font-family: inherit; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,10,14,.96); display: none; flex-direction: column; }
.lightbox.open { display: flex; }
.lightbox .bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; color: #cfd4da; font-size: 14px; }
.lightbox .bar button { background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; line-height: 1; padding: 4px 10px; }
.lightbox .stage { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 64px; position: relative; }
.lightbox .stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.08); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 20px; cursor: pointer; }
.lightbox .nav-btn:hover { background: rgba(255,255,255,.18); }
.lightbox .prev { left: 12px; } .lightbox .next { right: 12px; }
.lightbox .cap { text-align: center; color: #cfd4da; font-size: 14px; padding: 14px 24px 22px; min-height: 50px; }
@media (max-width: 700px) { .lightbox .stage { padding: 0 8px; } .lightbox .nav-btn { width: 38px; height: 38px; } }

/* ---------- quotes ---------- */
.quotes { background: #fff; padding: var(--section-pad) 28px; text-align: center; }
.quotes .q { max-width: 760px; margin: 0 auto 9vh; }
.quotes .q:last-child { margin-bottom: 0; }
.quotes blockquote { font-size: clamp(22px, 3vw, 32px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.4; }
.quotes cite { display: block; font-style: normal; font-size: 14px; color: var(--ink-soft); margin-top: 16px; }
.quotes .stars { color: var(--gold); font-size: 14px; letter-spacing: 3px; margin-bottom: 18px; }
.rating-link { font-size: 14px; color: var(--ink-soft); }
.rating-link a { color: var(--gold-text); font-weight: 500; }

/* ---------- area ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 48px; }
.area-card { background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 18px; overflow: hidden; }
.area-card picture img { width: 100%; height: 150px; object-fit: cover; }
.area-card .pad { padding: 16px 18px 18px; }
.area-card h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.area-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; margin-top: 5px; }
.area-card .chip { display: inline-block; font-size: 12px; font-weight: 500; color: var(--gold-text); background: var(--gold-soft); padding: 3px 10px; border-radius: 99px; margin-top: 10px; }

/* ---------- calendar ---------- */
.cal-section { background: #fff; border-top: 1px solid rgba(0,0,0,.06); padding: var(--section-pad) 28px; text-align: center; }
.cal-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 40px; }
.cal-controls button { background: none; border: 1px solid rgba(0,0,0,.15); border-radius: 50%; width: 38px; height: 38px; font-size: 16px; cursor: pointer; }
.cal-controls button:disabled { opacity: .3; cursor: default; }
.cal-wrap { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.cal { width: 300px; }
.cal h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.cal .grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-size: 13px; }
.cal .dow { color: var(--ink-soft); font-size: 11px; padding: 4px 0; }
.cal .day { padding: 8px 0; border-radius: 8px; }
.cal .booked { color: #6e6e73; text-decoration: line-through; background: #f0f0f2; } /* 4.5:1 + strikethrough as 2nd cue */
.cal .past { color: #a0a0a5; }
.cal .day.avail { cursor: pointer; user-select: none; }
.cal .day.avail:hover { background: var(--gold-soft); }
.cal .day.avail:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.cal .day.in-range { background: var(--gold-soft); }
.cal .day.sel { background: var(--ink); color: #fff; font-weight: 600; }
.cal-note { font-size: 13px; color: var(--ink-soft); margin-top: 30px; }
.big-cta { display: inline-block; background: var(--ink); color: #fff; font-size: 16px; font-weight: 600; padding: 15px 34px; border-radius: 99px; text-decoration: none; margin-top: 26px; }
.cal-scarcity { display: inline-block; margin-top: 16px; background: var(--gold-soft); color: var(--gold-text); font-size: 15px; font-weight: 600; line-height: 1.45; padding: 9px 18px; border-radius: 14px; } /* rounded card (not a 99px stadium) so it reads cleanly at one OR two lines; shrink-to-fit width keeps the short count on one line */
.cal-scarcity[hidden] { display: none; } /* explicit: outranks the inline-block rule so the hidden attribute truly hides it */
.cal-scarcity a { color: var(--gold-text); text-decoration: underline; }

/* ---------- book direct: inquiry form ---------- */
.book-section { background: var(--gold-soft); padding: clamp(40px, 5.5vh, 64px) 28px; } /* warm panel + a little more room than its peers: this is the conversion climax */
.book-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.book-section h2.title { font-size: clamp(38px, 5.4vw, 60px); } /* lead the conversion section at the headline tier */
.book-intro { font-size: 17px; color: var(--ink-soft); line-height: 1.65; max-width: 580px; margin: 18px auto 0; }
.book-intro a { color: var(--gold-text); font-weight: 600; }
.book-proof { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.book-proof b { color: var(--gold-text); font-weight: 700; }
.book-quote { margin: 16px auto 0; max-width: 520px; font-size: 16px; font-style: italic; color: var(--ink); line-height: 1.5; }
.book-quote span { display: block; font-style: normal; font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.inquiry { margin-top: 40px; text-align: left; }
.inquiry .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inquiry label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 18px; }
.inquiry label span { color: var(--gold-text); }
.inquiry .field-help { display: block; margin-top: 5px; font-weight: 400; font-size: 12.5px; color: var(--ink-soft); }
.inquiry input, .inquiry textarea {
  display: block; width: 100%; margin-top: 7px; padding: 12px 14px; box-sizing: border-box;
  font-family: inherit; font-size: 15px; font-weight: 400; color: var(--ink);
  background: #fff; border: 1px solid rgba(0,0,0,.16); border-radius: 12px;
  -webkit-appearance: none; appearance: none;
}
.inquiry textarea { resize: vertical; min-height: 96px; }
.inquiry input:focus, .inquiry textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,123,63,.18); }
.inquiry .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry .cf-turnstile { display: flex; justify-content: center; margin: 14px 0 2px; min-height: 65px; } /* reserve the widget's height so it never shifts the Send button */
.inquiry-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 6px; }
.inquiry button.big-cta { border: none; cursor: pointer; font-family: inherit; margin-top: 0; }
.inquiry button.big-cta:disabled { opacity: .6; cursor: default; }
.inquiry-status { font-size: 14.5px; line-height: 1.5; margin: 0; min-height: 1.2em; }
.inquiry-status.ok { color: #2e7d32; }
.inquiry-status.err { color: #c0392b; }
.book-direct-contact { margin-top: 32px; font-size: 14px; color: var(--ink-soft); }
.book-direct-contact a { color: var(--gold-text); font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 560px) {
  .inquiry .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- footer ---------- */
footer { background: var(--canvas); padding: 50px 28px; }
footer .inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--ink-soft); }
footer a { color: var(--ink); text-decoration: none; font-weight: 500; }
footer .footer-mark { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
footer .footer-mark .lockup { color: var(--ink); font-size: 20px; }
footer .footer-contact { display: inline-flex; gap: 6px; flex-wrap: wrap; }
footer .footer-copy { max-width: var(--max); margin: 18px auto 0; font-size: 12px; color: var(--ink-soft); text-align: center; }
footer .trots { display: inline-flex; gap: 4px; }
footer .trots img { width: 13px; height: 14px; opacity: .85; }
footer .trots img + img { transform: translateY(2px); }

/* ---------- motion ---------- */
/* Only hide reveal sections when JS is present to un-hide them (main.js adds html.js).
   Without JS, content stays fully visible instead of being permanently blank. */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- time-of-day color journey ---------- */
/* --wash is the chapter wash exposed as an ANIMATABLE custom property, so the
   chapter content block (.ch-body) can paint the exact same fading colour as the
   page background — instead of a fixed colour that hard-edges against it mid-fade. */
@property --wash { syntax: '<color>'; inherits: true; initial-value: #fafaf8; }
body { --wash: var(--canvas); transition: background-color 1.1s ease, --wash 1.1s ease; }
body[data-chapter="morning"] { background: #f6eddc; --wash: #f6eddc; }
body[data-chapter="day"] { background: #eef4f9; --wash: #eef4f9; }
body[data-chapter="golden"] { background: #f3ddbd; --wash: #f3ddbd; }
body[data-chapter="night"] { background: #0b1622; --wash: #0b1622; }
@media (prefers-reduced-motion: reduce) { body { transition: none; } }

section.chapter { background: transparent; max-width: none; padding: 0 0 20px; }
.chapter .inner { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* chapter title: pinned mid-viewport, photos scroll up over it */
.ch-head { position: sticky; top: 23svh; text-align: center; z-index: 0; padding: 0 24px; }
.ch-head .ch-kicker { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: #8d5524; margin-bottom: 12px; } /* explicit #8d5524: only gold on the saturated golden-hour wash, keeps AA */
.ch-head h2 { font-size: clamp(44px, 7vw, 84px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; color: var(--ink); }
.ch-head .ch-sub { font-size: clamp(16px, 2vw, 20px); color: var(--ink-soft); margin-top: 14px; }
.chapter .ch-spacer { height: 28px; }
.chapter.dark .ch-head h2 { color: #fff; }
.chapter.dark .ch-head .ch-sub { color: var(--night-soft); }
.chapter.dark .ch-head .ch-kicker { color: #7fa8d9; }
.chapter.dark { color: #fff; }
.chapter.dark .ph-cap, .chapter.dark .ch-copy { color: var(--night-soft); }

/* sits above the pinned title (z-index) and paints the live wash colour, so it
   occludes the title cleanly without ever seaming against the page background. */
.ch-body { position: relative; z-index: 1; background: var(--wash); }
.ch-copy { font-size: 17px; color: var(--ink-soft); line-height: 1.65; max-width: 560px; margin: 0 auto 16px; text-align: center; }

/* photo frames inside chapters */
.ph { border-radius: 20px; overflow: hidden; position: relative; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-cap { font-size: 13.5px; color: var(--ink-soft); text-align: center; margin-top: 10px; }
.ph-row { display: grid; gap: 14px; margin-bottom: 18px; }
.ph-row.two { grid-template-columns: 3fr 2fr; align-items: stretch; }
.ph-row.three { grid-template-columns: repeat(3, 1fr); }
.ph-row.two .ph, .ph-row.three .ph { height: 420px; }
.ph-row.three .ph { height: 300px; }
.ph.tall { height: 540px; }
.ph.wide { height: 70vh; min-height: 380px; border-radius: 24px; }
@media (max-width: 820px) {
  .ph-row.two, .ph-row.three { grid-template-columns: 1fr; }
  .ph-row.two .ph, .ph-row.three .ph, .ph.tall { height: 280px; }
  .ph.wide { height: 48vh; }
}

/* scroll-scrubbed photo reveals — progressive enhancement, motion-gated */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .ph { animation: ph-in linear both; animation-timeline: view(); animation-range: entry 5% entry 65%; }
    @keyframes ph-in {
      from { opacity: .25; transform: translateY(36px) scale(1.035); }
      to { opacity: 1; transform: none; }
    }
  }
}

/* interleaved review quotes */
.story-quote { text-align: center; padding: 16px 28px; max-width: 640px; margin: 0 auto; }
.story-quote blockquote { font-size: clamp(18px, 2.4vw, 24px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.5; color: var(--ink); }
.story-quote cite { display: block; font-style: normal; font-size: 13.5px; color: var(--ink-soft); margin-top: 12px; }
.story-quote.dark blockquote { color: #fff; }
.story-quote.dark cite { color: var(--night-soft); }

/* sunset crossfade sequence */
.sunset-seq { height: 230vh; position: relative; view-timeline: --sunset block; }
.sunset-seq .stick { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.sunset-seq .stick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sunset-seq .f2, .sunset-seq .f3 { opacity: 0; }
.sunset-seq .seq-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 70px 28px 50px; text-align: center; color: #fff; background: linear-gradient(to top, rgba(10,15,25,.55), transparent); }
.sunset-seq .seq-cap h2 { font-size: clamp(26px, 3.8vw, 42px); font-weight: 700; letter-spacing: -0.02em; }
.sunset-seq .seq-cap p { font-size: 15px; opacity: .92; margin-top: 6px; }
@supports (animation-timeline: view()) {
  /* longer, overlapping fades — the sun "melts" rather than cutting between frames */
  .sunset-seq .f2 { animation: seq-fade linear both; animation-timeline: --sunset; animation-range: 22% 50%; }
  .sunset-seq .f3 { animation: seq-fade linear both; animation-timeline: --sunset; animation-range: 55% 82%; }
  @keyframes seq-fade { to { opacity: 1; } }
}
@supports not (animation-timeline: view()) {
  .sunset-seq { height: auto; }
  .sunset-seq .stick { position: relative; height: 86vh; }
  .sunset-seq .f2, .sunset-seq .f3 { display: none; }
}
@media (max-width: 820px) { .sunset-seq { height: 190vh; } }

/* floating mobile CTA */
.float-cta { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 60; background: var(--ink); color: #fff; padding: 12px 24px; border-radius: 99px; font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: 0 6px 24px rgba(0,0,0,.28); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .4s ease, visibility .4s ease; white-space: nowrap; }
.float-cta.show { opacity: 1; visibility: visible; pointer-events: auto; } /* visibility:hidden also removes it from tab order when off-screen */
@media (min-width: 881px) { .float-cta { display: none; } }
