@font-face {
  font-family: "Cormorant";
  src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}

:root {
  --cream: #f4ede3;
  --paper: #fbf7f1;
  --espresso: #1d1510;
  --ink: #2a1f17;
  --muted: #85725f;
  --copper: #a8703f;
  --copper-soft: #ead9c5;
  --rule: #e2d4c3;
  --display: "Cormorant", "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --wide: 1080px;
  --text: 680px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #17110d;
    --paper: #1f1813;
    --ink: #ece2d6;
    --muted: #a8968a;
    --copper: #d0956a;
    --copper-soft: #33261d;
    --rule: #33281f;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--copper); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--text); margin: 0 auto; }

.eyebrow {
  font-family: var(--display); font-style: italic; font-size: 17px;
  letter-spacing: .14em; color: var(--copper);
}

/* ---------- header ---------- */
.site-header { position: relative; z-index: 10; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 26px; padding-bottom: 26px;
}
.brand { color: var(--ink); display: inline-flex; align-items: baseline; gap: 10px; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--display); font-size: 27px; font-weight: 600; letter-spacing: .04em; }
.brand-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--copper); display: inline-block; transform: translateY(-3px); }
.nav { display: flex; gap: 30px; }
.nav a {
  font-family: var(--display); font-size: 16px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transition: transform .3s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

/* header sitting on top of the home hero */
.site-header.on-hero { position: absolute; left: 0; right: 0; top: 0; }
.on-hero .brand, .on-hero .brand:hover, .on-hero .nav a:hover, .on-hero .nav a[aria-current="page"] { color: #fbf4ea; }
.on-hero .nav a { color: rgba(251, 244, 234, .72); }

/* ---------- home hero ---------- */
.hero-full {
  position: relative; min-height: 88vh; min-height: 88svh;
  display: flex; align-items: flex-end; overflow: hidden;
  background: #120c08 url("/media/pour-over.jpg") center / cover no-repeat;
  color: #fbf4ea;
}
.hero-full video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-full::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,12,8,.55) 0%, rgba(18,12,8,.05) 35%, rgba(18,12,8,.25) 60%, rgba(18,12,8,.88) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 9vh; }
.hero-inner .eyebrow { color: #e3bf98; }
.hero-title {
  font-family: var(--display); font-weight: 500; font-size: clamp(54px, 9vw, 120px);
  line-height: .95; letter-spacing: .01em; margin: 10px 0 22px;
}
.hero-title em { font-style: italic; color: #e3bf98; }
.hero-sub { font-family: var(--serif); font-size: clamp(18px, 2.2vw, 23px); max-width: 30em; margin: 0; color: rgba(251,244,234,.88); letter-spacing: .04em; }
.scroll-hint {
  position: absolute; z-index: 2; right: 28px; bottom: 9vh;
  font-family: var(--display); font-style: italic; letter-spacing: .2em; font-size: 15px;
  color: rgba(251,244,234,.75); writing-mode: vertical-rl;
}
.scroll-hint::after { content: ""; display: block; width: 1px; height: 54px; margin: 12px auto 0; background: rgba(251,244,234,.5); }

/* ---------- sections ---------- */
.section { padding: 96px 0 32px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; border-bottom: 1px solid var(--rule); padding-bottom: 18px; }
.section-head h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin: 4px 0 0; letter-spacing: .04em; }
.section-head .count { font-family: var(--display); font-style: italic; color: var(--muted); font-size: 18px; }

/* ---------- post cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 40px; }
.card { display: block; color: var(--ink); }
.card:hover { color: var(--ink); }
.card-media { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: var(--copper-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img { transform: scale(1.05); }
.card-meta { display: flex; gap: 14px; align-items: center; margin-top: 22px; font-size: 13px; color: var(--muted); letter-spacing: .08em; }
.card-meta .cat { font-family: var(--display); font-style: italic; font-size: 16px; color: var(--copper); letter-spacing: .1em; }
.card h3 { font-family: var(--serif); font-size: 24px; line-height: 1.45; font-weight: 600; margin: 8px 0 10px; letter-spacing: .02em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.card .more { display: inline-block; margin-top: 14px; font-family: var(--display); font-style: italic; font-size: 17px; color: var(--copper); letter-spacing: .06em; }
.card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.card.featured .card-media { aspect-ratio: 16 / 10; }
.card.featured h3 { font-size: 32px; }

/* ---------- quote band ---------- */
.band {
  position: relative; margin-top: 110px; padding: 120px 0; overflow: hidden; color: #fbf4ea; text-align: center;
  background: #120c08 url("/media/beans.jpg") center / cover no-repeat;
}
.band::after { content: ""; position: absolute; inset: 0; background: rgba(18,12,8,.68); }
.band .wrap { position: relative; z-index: 2; }
.band blockquote { margin: 0 auto; max-width: 18em; font-family: var(--serif); font-size: clamp(24px, 3.4vw, 36px); line-height: 1.6; letter-spacing: .06em; }
.band cite { display: block; margin-top: 22px; font-family: var(--display); font-style: italic; font-size: 18px; color: #e3bf98; letter-spacing: .14em; }

/* ---------- article ---------- */
.article-head { padding: 56px 0 36px; text-align: center; }
.article-head h1 { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 44px); line-height: 1.35; font-weight: 600; margin: 14px auto 18px; max-width: 18em; letter-spacing: .03em; }
.article-head .meta { font-size: 13px; color: var(--muted); letter-spacing: .14em; }
.article-media { margin: 0 auto 64px; max-width: var(--wide); padding: 0 28px; }
.article-media video, .article-media img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 4px; background: var(--copper-soft); }
.article-media figcaption { margin-top: 12px; text-align: center; font-family: var(--serif); font-size: 14px; color: var(--muted); letter-spacing: .04em; }

.prose { padding: 0 28px; }
.prose > .narrow > p:first-child::first-letter {
  float: left; font-family: var(--serif); font-size: 3.4em; line-height: 1; margin: 6px 12px 0 0; color: var(--copper);
}
.prose h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 56px 0 10px; letter-spacing: .03em; }
.prose h2::before { content: ""; display: block; width: 28px; height: 2px; background: var(--copper); margin-bottom: 18px; }
.prose p { margin: 16px 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--copper); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose blockquote {
  margin: 44px 0; padding: 0; border: 0; text-align: center;
  font-family: var(--serif); font-size: 21px; line-height: 1.7; color: var(--ink); letter-spacing: .04em;
}
.prose blockquote::before { content: "“"; display: block; font-family: var(--display); font-size: 64px; line-height: .6; color: var(--copper); margin-bottom: 8px; }
.lead { font-family: var(--serif); font-size: 19px; line-height: 1.9; color: var(--muted); }
.table-scroll { overflow-x: auto; margin: 22px 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 11px 12px; text-align: left; vertical-align: top; }
.prose th { color: var(--muted); font-weight: 500; font-size: 13px; letter-spacing: .1em; }
.back { display: inline-block; margin: 56px 0 0; font-family: var(--display); font-style: italic; font-size: 18px; letter-spacing: .06em; }

/* about / 404 simple hero */
.page-hero { padding: 72px 0 24px; text-align: center; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 46px); font-weight: 600; margin: 14px 0 0; letter-spacing: .06em; }

/* ---------- footer ---------- */
.site-footer { margin-top: 120px; background: var(--espresso); color: rgba(251,244,234,.7); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; }
.footer-brand { font-family: var(--display); font-size: 34px; font-weight: 600; color: #fbf4ea; letter-spacing: .04em; }
.footer-tag { font-family: var(--serif); margin-top: 6px; letter-spacing: .08em; }
.footer-meta { text-align: right; font-size: 13px; line-height: 2; letter-spacing: .06em; }
.site-footer a { color: #e3bf98; }
.site-footer a:hover { color: #fbf4ea; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card-media img { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .site-header .wrap { padding-top: 18px; padding-bottom: 18px; gap: 10px; }
  .nav { gap: 12px; }
  .nav a { font-size: 12px; letter-spacing: .05em; }
  .brand-name { font-size: 19px; white-space: nowrap; }
  .brand-dot { display: none; }
  .hero-full { min-height: 78vh; min-height: 78svh; }
  .scroll-hint { display: none; }
  .section { padding-top: 64px; }
  .cards { grid-template-columns: 1fr; gap: 44px; }
  .card.featured { grid-template-columns: 1fr; gap: 0; }
  .card.featured h3 { font-size: 26px; }
  .article-media { padding: 0; }
  .article-media video, .article-media img { border-radius: 0; aspect-ratio: 16 / 10; }
  .prose { padding: 0 20px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}

/* ---------- guestbook ---------- */
.page-hero .lead { max-width: 30em; margin: 18px auto 0; }
.gb { max-width: 760px; }
.gb-form {
  margin: 36px 0 80px; padding: 36px 38px 28px; background: var(--paper);
  border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 30px 60px -40px rgba(42,31,23,.35);
}
.gb-field { display: block; margin-bottom: 22px; }
.gb-field span { display: block; font-family: var(--serif); font-size: 14px; letter-spacing: .14em; color: var(--muted); margin-bottom: 8px; }
.gb-field input, .gb-field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--rule); padding: 8px 2px; border-radius: 0; resize: vertical;
  transition: border-color .3s;
}
.gb-field textarea { line-height: 1.8; }
.gb-field input:focus, .gb-field textarea:focus { outline: none; border-bottom-color: var(--copper); }
.gb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gb-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gb-count { font-family: var(--display); font-size: 16px; color: var(--muted); letter-spacing: .1em; }
.gb-submit {
  font-family: var(--serif); font-size: 15px; letter-spacing: .2em; color: #fbf4ea; background: var(--espresso);
  border: 0; border-radius: 99px; padding: 13px 30px; cursor: pointer; transition: background .3s, transform .3s;
}
.gb-submit:hover { background: var(--copper); }
.gb-submit:disabled { opacity: .6; cursor: default; }
.gb-status { min-height: 1.6em; margin: 14px 0 0; font-family: var(--serif); font-size: 14px; color: var(--copper); }
.gb-list { list-style: none; margin: 0; padding: 0; }
.gb-item { padding: 28px 0; border-bottom: 1px solid var(--rule); animation: gbIn .8s cubic-bezier(.16,.8,.24,1); }
.gb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.gb-name { font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: .06em; }
.gb-time { font-family: var(--display); font-size: 15px; color: var(--muted); letter-spacing: .1em; white-space: nowrap; }
.gb-text { margin: 10px 0 0; white-space: pre-wrap; word-break: break-word; color: var(--ink); }
.gb-empty { font-family: var(--serif); color: var(--muted); text-align: center; padding: 40px 0; }
.gb-more {
  display: block; margin: 36px auto 0; font-family: var(--display); font-style: italic; font-size: 18px; letter-spacing: .1em;
  color: var(--copper); background: none; border: 1px solid var(--rule); border-radius: 99px; padding: 10px 28px; cursor: pointer;
}
@keyframes gbIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .gb-form { padding: 26px 20px 20px; margin-bottom: 56px; }
  .gb-head { flex-direction: column; gap: 2px; }
}

/* =====================================================================
   Deck: full-screen scroll-snapped "slides" on the home page
   ===================================================================== */
html.deck { scroll-snap-type: y mandatory; scroll-behavior: smooth; }
html.deck body { background: #120c08; }

.deck .site-header { position: fixed; left: 0; right: 0; top: 0; transition: background .5s, backdrop-filter .5s; }
.deck .site-header .brand, .deck .site-header .brand:hover,
.deck .site-header .nav a:hover, .deck .site-header .nav a[aria-current="page"] { color: #fbf4ea; }
.deck .site-header .nav a { color: rgba(251,244,234,.7); }
.deck .site-header.light { background: rgba(244,237,227,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.deck .site-header.light .brand, .deck .site-header.light .nav a:hover,
.deck .site-header.light .nav a[aria-current="page"] { color: var(--ink); }
.deck .site-header.light .nav a { color: var(--muted); }

.scene {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  scroll-snap-align: start; scroll-snap-stop: always;
  display: flex; align-items: center; background: #120c08; color: #fbf4ea;
}
.scene-bg { position: absolute; inset: 0; }
.scene-bg video, .scene-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.14); opacity: .35;
  transition: transform 3.2s cubic-bezier(.16,.8,.24,1), opacity 1.6s ease;
}
.scene.active .scene-bg video, .scene.active .scene-bg img { transform: scale(1); opacity: 1; }
.scene-bg::after { content: ""; position: absolute; inset: 0; }
.shade-bottom .scene-bg::after { background: linear-gradient(180deg, rgba(18,12,8,.55) 0%, rgba(18,12,8,.1) 35%, rgba(18,12,8,.35) 62%, rgba(18,12,8,.92) 100%); }
.shade-left .scene-bg::after   { background: linear-gradient(90deg, rgba(18,12,8,.9) 0%, rgba(18,12,8,.6) 38%, rgba(18,12,8,.05) 75%); }
.shade-right .scene-bg::after  { background: linear-gradient(270deg, rgba(18,12,8,.9) 0%, rgba(18,12,8,.6) 38%, rgba(18,12,8,.05) 75%); }
.shade-heavy .scene-bg::after  { background: rgba(18,12,8,.78); }

.scene-content { position: relative; z-index: 2; width: 100%; }
.scene .eyebrow { color: #e3bf98; }
.scene-num { font-family: var(--display); font-style: italic; font-size: 18px; letter-spacing: .2em; color: #e3bf98; }
.scene h2 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5vw, 64px);
  line-height: 1.25; letter-spacing: .04em; margin: 18px 0 22px;
}
.scene p.body { font-family: var(--serif); font-size: clamp(16px, 1.6vw, 19px); line-height: 2; max-width: 26em; color: rgba(251,244,234,.82); letter-spacing: .03em; margin: 0; }
.scene .cta {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 34px;
  font-family: var(--display); font-style: italic; font-size: 20px; letter-spacing: .08em; color: #fbf4ea;
  padding-bottom: 6px; border-bottom: 1px solid rgba(251,244,234,.4);
}
.scene .cta:hover { color: #e3bf98; border-color: #e3bf98; }
.align-right { margin-left: auto; text-align: right; }
.align-right p.body { margin-left: auto; }

/* text entrance (only when JS runs, so no-JS visitors still see everything) */
.js .fx {
  opacity: 0; transform: translateY(42px); filter: blur(8px);
  transition: opacity 1.2s ease, transform 1.3s cubic-bezier(.16,.8,.24,1), filter 1.2s ease;
  transition-delay: var(--d, 0s);
}
.js .fx.from-left  { transform: translateX(-70px); }
.js .fx.from-right { transform: translateX(70px); }
.js .fx.zoom       { transform: scale(.92); }
.js .scene.active .fx { opacity: 1; transform: none; filter: none; }

/* scene 1: opening */
.scene-hero { align-items: flex-end; }
.scene-hero .scene-content { padding-bottom: 12vh; }
.scene-hero .hero-title { margin: 14px 0 22px; }
.scene-hero .scroll-hint { bottom: 12vh; }

/* keep slide content clear of the fixed header */
.scene { padding-top: 84px; }
.scene-hero { padding-top: 0; }

/* light slide: three ways to brew */
.scene-light { background: var(--cream); color: var(--ink); }
.scene-light .scene-num { color: var(--copper); }
.scene-light p.body { color: var(--muted); }
.methods-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
.methods-head h2 { margin: 12px 0 0; font-size: clamp(30px, 3.6vw, 46px); }
.methods-head p.body { max-width: 22em; font-size: 16px; }
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.method { display: block; color: var(--ink); }
.method:hover { color: var(--ink); }
.method-img { overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: var(--copper-soft); }
.method-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.method:hover .method-img img { transform: scale(1.05); }
.method-meta { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13px; color: var(--muted); letter-spacing: .08em; }
.method-meta .cat { font-family: var(--display); font-style: italic; font-size: 16px; color: var(--copper); }
.method h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 6px 0 8px; letter-spacing: .06em; }
.method p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--muted); }

/* scene 3: the formula */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 46px 0 10px; border-top: 1px solid rgba(251,244,234,.22); }
.stat { padding-top: 26px; }
.stat-num { font-family: var(--display); font-weight: 500; font-size: clamp(46px, 6.4vw, 92px); line-height: 1; color: #fbf4ea; }
.stat-num small { font-size: .45em; color: #e3bf98; }
.stat-label { margin-top: 14px; font-family: var(--serif); font-size: 15px; letter-spacing: .14em; color: rgba(251,244,234,.7); }

/* scene 6: quote, revealed character by character */
.quote-scene { text-align: center; background: radial-gradient(ellipse at center, #2a1d14 0%, #120c08 70%); }
.quote-scene blockquote {
  margin: 0 auto; max-width: 15em; font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 4.6vw, 58px); line-height: 1.6; letter-spacing: .08em;
}
.js .quote-scene .ch { opacity: 0; filter: blur(6px); transition: opacity .9s ease, filter .9s ease; transition-delay: var(--d, 0s); }
.js .quote-scene.active .ch { opacity: 1; filter: none; }
.quote-scene cite { display: block; margin-top: 34px; font-family: var(--display); font-style: italic; font-size: 20px; letter-spacing: .2em; color: #e3bf98; }

/* last section: the journal (normal scrolling, light background) */
.deck-end { scroll-snap-align: start; background: var(--cream); color: var(--ink); padding-top: 90px; }
.deck-end .section { padding-top: 40px; }

/* slide dots */
.deck-dots { position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; gap: 14px; }
.deck-dots button {
  position: relative; width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; cursor: pointer;
  background: rgba(251,244,234,.4); transition: height .4s cubic-bezier(.16,.8,.24,1), background .4s;
}
.deck-dots button.on { height: 30px; background: #e3bf98; }
.deck-dots.light button { background: rgba(42,31,23,.25); }
.deck-dots.light button.on { background: var(--copper); }
.deck-dots button::after {
  content: attr(data-label); position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; font-family: var(--display); font-style: italic; font-size: 15px; letter-spacing: .12em;
  color: #fbf4ea; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.deck-dots.light button::after { color: var(--ink); }
.deck-dots button:hover::after, .deck-dots button:focus-visible::after { opacity: 1; }

.slide-count {
  position: fixed; left: 28px; bottom: 26px; z-index: 20; font-family: var(--display); font-size: 16px;
  letter-spacing: .2em; color: rgba(251,244,234,.7); transition: color .4s, opacity .4s;
}
.slide-count b { color: #fbf4ea; font-weight: 600; }
.slide-count.light { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html.deck { scroll-snap-type: y proximity; scroll-behavior: auto; }
  .js .fx, .js .quote-scene .ch { opacity: 1; transform: none; filter: none; transition: none; }
  .scene-bg video, .scene-bg img { transform: none; opacity: 1; transition: none; }
}

@media (max-width: 760px) {
  .deck-dots { right: 12px; gap: 10px; }
  .deck-dots button { width: 7px; height: 7px; }
  .deck-dots button.on { height: 22px; }
  .deck-dots button::after { display: none; }
  .slide-count { left: 20px; bottom: 18px; font-size: 14px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 4px 16px; margin-top: 30px; }
  .stat { padding-top: 18px; }
  .stat-label { margin-top: 8px; font-size: 13px; }
  .shade-left .scene-bg::after, .shade-right .scene-bg::after { background: linear-gradient(180deg, rgba(18,12,8,.2) 0%, rgba(18,12,8,.55) 45%, rgba(18,12,8,.92) 100%); }
  .scene-side { align-items: flex-end; }
  .scene-side .scene-content { padding-bottom: 10vh; }
  .align-right { text-align: left; margin-left: 0; }
  .align-right p.body { margin-left: 0; }
  .js .fx.from-left, .js .fx.from-right { transform: translateY(42px); }
  .scene { padding-top: 64px; }
  .scene-hero { padding-top: 0; }
  .methods-head { display: block; margin-bottom: 20px; }
  .methods-head p.body { margin-top: 10px; font-size: 14px; }
  .methods { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .methods::-webkit-scrollbar { display: none; }
  .method { flex: 0 0 72%; scroll-snap-align: start; }
  .method h3 { font-size: 20px; }
  .method p { font-size: 14px; }
}
