/* =========================================================
   KOALA CAFF — Noble café design system
   Palette: cream · espresso · eucalyptus · brass
   ========================================================= */

:root {
  /* Colours */
  --cream:        #F4EEE2;
  --paper:        #FBF7EE;
  --espresso:     #201812;
  --espresso-2:   #2C2119;
  --bark:         #4A3B2E;
  --eucalyptus:   #5F6E54;
  --sage:         #8B9A7B;
  --brass:        #C29A54;
  --brass-deep:   #A67C33;
  --muted:        #7A6E5F;
  --line:         rgba(32, 24, 18, 0.14);
  --line-light:   rgba(244, 238, 226, 0.16);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(72px, 11vw, 168px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------- Reset ------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }

/* When JS is on we hide overflow until preloader completes */
body.is-loading { overflow: hidden; height: 100vh; }

/* ------------------- Layout helpers ------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--dark { background: var(--espresso); color: var(--cream); }

/* ------------------- Typography ------------------- */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--espresso);
}
.h2--light { color: var(--cream); }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brass-deep);
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--brass); }
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--bark);
  margin-block: 1.2rem;
  max-width: 46ch;
}
.section--dark .lead { color: var(--sage); }

.section-head { max-width: 42ch; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.section-head--center { max-width: none; text-align: center; }
.section-head__note { color: var(--sage); margin-top: 1rem; }

/* ------------------- Buttons ------------------- */
.btn {
  --bg: var(--espresso); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.95em 1.7em;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 100px;
  background: var(--bg); color: var(--fg);
  position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
  will-change: transform;
}
.btn--solid { --bg: var(--espresso); --fg: var(--cream); }
.btn--ghost { --bg: transparent; --fg: var(--espresso); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--light  { --bg: var(--cream); --fg: var(--espresso); }
.btn--pill  { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.header__cta { --fg: var(--espresso); }
.btn--full { width: 100%; }
.btn:hover { transform: translateY(-3px); }
.btn--solid:hover { background: var(--brass-deep); }
.btn--ghost:hover { background: var(--espresso); color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--espresso); }
.btn--light:hover { background: var(--brass); }

/* ------------------- Image placeholders ------------------- */
.ph { position: relative; overflow: hidden; background:
    linear-gradient(135deg, #e9e0cf 0%, #d7cbb2 45%, #cbbd9f 100%); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.is-missing img { opacity: 0; }
.ph.is-missing::after {
  content: "PHOTO · " attr(data-ph);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(74,59,46,0.55);
  padding: 1rem; text-align: center;
}
.ph.is-missing::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px dashed rgba(74,59,46,0.3); border-radius: 4px;
}

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--espresso); color: var(--cream);
  display: grid; place-items: center;
}
.preloader__inner { text-align: center; width: min(90vw, 420px); }
.preloader__logo { width: min(66vw, 230px); margin: 0 auto 1.6rem; opacity: 0; }
.preloader__count {
  font-family: var(--serif); font-size: clamp(3rem, 12vw, 5.5rem);
  line-height: 1; display: flex; justify-content: center; align-items: baseline; gap: 0.1em;
}
.preloader__count i { font-size: 0.3em; font-style: normal; color: var(--brass); }
.preloader__word {
  margin-top: 1rem; letter-spacing: 0.5em; text-transform: uppercase;
  font-size: 0.72rem; color: var(--sage); padding-left: 0.5em;
}

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 1500; pointer-events: none; border-radius: 50%; mix-blend-mode: difference; }
.cursor { width: 40px; height: 40px; border: 1.5px solid #fff; transform: translate(-50%, -50%); transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s var(--ease); }
.cursor-dot { width: 5px; height: 5px; background: #fff; transform: translate(-50%, -50%); }
.cursor.is-hover { width: 68px; height: 68px; background: rgba(255,255,255,0.12); }
body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button { cursor: none; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(16px, 2.4vw, 30px) var(--gutter);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease), padding 0.5s var(--ease);
}
.header.is-scrolled {
  background: rgba(244, 238, 226, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-block: 14px; box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-105%); }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; letter-spacing: 0.01em; color: var(--cream); transition: color 0.4s var(--ease); }
.brand__mark { width: 36px; height: 36px; background: url("../assets/images/koala-mark-light.png") center/contain no-repeat; }
.header.is-scrolled .brand { color: var(--espresso); }
.header.is-scrolled .brand__mark { background-image: url("../assets/images/koala-mark.png"); }

.nav { display: flex; gap: clamp(1.4rem, 3vw, 2.8rem); color: var(--cream); transition: color 0.4s var(--ease); }
.header.is-scrolled .nav { color: var(--espresso); }
.nav__link { position: relative; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em; padding-block: 4px; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.header__cta { --fg: var(--cream); }
.header.is-scrolled .header__cta { --fg: var(--espresso); }

.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--cream); transition: transform 0.4s var(--ease), opacity 0.3s, background 0.4s; }
.header.is-scrolled .burger span { background: var(--espresso); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 24px; }
.burger.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobile overlay */
.menu-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: var(--espresso); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  clip-path: inset(0 0 100% 0); pointer-events: none;
  transition: clip-path 0.7s var(--ease);
}
.menu-overlay.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu-overlay__nav { display: flex; flex-direction: column; gap: 0.4rem; }
.menu-overlay__link { font-family: var(--serif); font-size: clamp(2.4rem, 12vw, 4rem); line-height: 1.1; display: flex; align-items: baseline; gap: 1rem; }
.menu-overlay__link i { font-size: 0.85rem; font-style: normal; color: var(--brass); font-family: var(--sans); letter-spacing: 0.1em; }
.menu-overlay__foot { margin-top: 3rem; display: flex; justify-content: space-between; color: var(--sage); font-size: 0.85rem; border-top: 1px solid var(--line-light); padding-top: 1.4rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: -12% 0 -12% 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background:
    linear-gradient(180deg, rgba(32,24,18,0.58) 0%, rgba(32,24,18,0.22) 38%, rgba(32,24,18,0.78) 100%); }
.hero__content { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin-inline: auto; padding: 0 var(--gutter) clamp(70px, 12vh, 130px); color: var(--cream); }
.hero__eyebrow { text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.72rem; font-weight: 600; color: var(--brass); margin-bottom: 1.4rem; }
.hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.9rem, 9vw, 7.5rem); line-height: 0.98; letter-spacing: -0.02em; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word { display: inline-block; }
.hero__title .italic { font-style: italic; color: var(--brass); }
.hero__sub { margin-top: 1.6rem; max-width: 40ch; font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(244,238,226,0.86); }
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__actions .btn--ghost { --fg: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(244,238,226,0.5); }
.hero__actions .btn--ghost:hover { background: var(--cream); color: var(--espresso); box-shadow: inset 0 0 0 1.5px var(--cream); }

/* =========================================================
   STORY
   ========================================================= */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.story__media { aspect-ratio: 4 / 5; border-radius: 6px; }
.story__stats { display: flex; gap: clamp(1.6rem, 4vw, 3.4rem); margin-top: 2.6rem; }
.stat { display: flex; flex-direction: column; }
.stat__num, .stat__suffix { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--brass-deep); }
.stat__suffix { display: inline; }
.stat__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-top: 0.5rem; }

/* =========================================================
   MENU (single, tabbed, "book" style)
   ========================================================= */
.menu { background: var(--paper); }
.menu .section-head__note { color: var(--muted); }

.menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.menu-tab {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--bark); padding: 0.85em 1.45em; border-radius: 100px; white-space: nowrap;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.menu-tab:hover { color: var(--espresso); box-shadow: inset 0 0 0 1.5px var(--brass); }
.menu-tab.is-active { background: var(--espresso); color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--espresso); }

.menu-panels { max-width: 760px; margin-inline: auto; }
.menu-panel { display: none; }
.menu-panel.is-active { display: block; }

.mcat { margin-bottom: clamp(2.2rem, 4vw, 3rem); }
.mcat:last-child { margin-bottom: 0; }
.mcat__title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.55rem, 3.4vw, 2.05rem);
  color: var(--espresso); display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.6rem;
  padding-bottom: 0.85rem; border-bottom: 1.5px solid var(--brass);
}
.mcat__sub { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.64rem; font-weight: 700; color: var(--brass-deep); margin: 1.2rem 0 0.2rem; }
.mcat__list { display: flex; flex-direction: column; }
.mcat__list li { display: flex; align-items: baseline; padding: 0.9rem 0; }
.mcat__list .i { flex: 1 1 auto; display: flex; align-items: baseline; min-width: 0; color: var(--bark); font-size: 1.02rem; }
.mcat__list .i::before {
  content: ""; flex: 0 0 auto; width: 11px; height: 11px; margin-right: 12px; transform: translateY(1px);
  border: 1.6px solid #5f7d3e; border-radius: 3px;
  background: radial-gradient(circle, #5f7d3e 42%, transparent 46%);
}
.mcat__list .i::after {
  content: ""; flex: 1 1 auto; align-self: flex-end; margin: 0 0.7em 0.28em;
  border-bottom: 1.5px dotted rgba(122,110,95,0.5);
}
.mcat__list .p { flex: 0 0 auto; font-family: var(--serif); color: var(--brass-deep); white-space: nowrap; font-size: 1.02rem; }
.mcat__list--flavours li { padding: 0.7rem 0 0; }
.mcat__list--flavours .i { display: block; font-size: 0.92rem; color: var(--muted); line-height: 1.65; }
.mcat__list--flavours .i::before, .mcat__list--flavours .i::after { display: none; }

.reserve__msg { font-size: 0.8rem; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: clamp(10px, 1.4vw, 20px);
  padding-inline: var(--gutter);
  max-width: 1500px; margin-inline: auto;
}
.gallery__item { border-radius: 5px; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }

/* Parallaxed media: oversize so scroll movement never reveals a gap */
.story__media img, .gallery__item img { position: absolute; inset: -15% 0; width: 100%; height: 130%; object-fit: cover; }

/* =========================================================
   FEATURES
   ========================================================= */
.feats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
.feat { padding-top: 1.6rem; border-top: 1.5px solid var(--line); }
.feat__no { font-family: var(--serif); font-size: 0.95rem; color: var(--brass-deep); }
.feat__title { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin: 0.8rem 0 0.6rem; }
.feat__text { font-size: 0.92rem; color: var(--muted); }

/* =========================================================
   QUOTE
   ========================================================= */
.quote { text-align: center; }
.quote__body { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.6rem, 4.4vw, 3.2rem); line-height: 1.28; max-width: 20ch; margin-inline: auto; color: var(--cream); }
.quote__cite { display: block; margin-top: 2rem; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.78rem; color: var(--brass); }

/* =========================================================
   VISIT / RESERVE
   ========================================================= */
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.visit__rows { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 1.6rem; }
.visit__row { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.visit__label { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; color: var(--brass-deep); padding-top: 3px; }
.visit__val { color: var(--bark); }
.visit__val a { border-bottom: 1px solid var(--line); transition: color 0.3s; }
.visit__val a:hover { color: var(--brass-deep); }

.visit__map { aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; position: sticky; top: 120px; }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) contrast(1.02); }

.reserve { margin-top: 2.6rem; display: flex; flex-direction: column; gap: 1.3rem; max-width: 460px; }
.reserve__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.reserve__field { position: relative; }
.reserve__field input {
  width: 100%; padding: 1.05rem 0 0.55rem; font: inherit; font-size: 0.98rem;
  color: var(--espresso); background: transparent;
  border: none; border-bottom: 1.5px solid var(--line);
  border-radius: 0; transition: border-color 0.4s var(--ease);
}
.reserve__field input:focus { outline: none; border-color: var(--brass-deep); }
.reserve__field label {
  position: absolute; left: 0; top: 1.05rem; color: var(--muted); font-size: 0.98rem;
  pointer-events: none; transition: transform 0.35s var(--ease), font-size 0.35s var(--ease), color 0.35s var(--ease);
  transform-origin: left;
}
.reserve__field input:focus + label,
.reserve__field input:not(:placeholder-shown) + label,
.reserve__field label.reserve__label--static {
  transform: translateY(-1.1rem) scale(0.78); color: var(--brass-deep);
}
.reserve__msg { min-height: 1.2em; color: var(--eucalyptus); font-weight: 600; letter-spacing: 0.02em; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--espresso); color: var(--cream); padding-top: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2.6rem; border-bottom: 1px solid var(--line-light); position: relative; z-index: 2; }
.footer__brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--serif); font-size: 1.4rem; }
.footer__brand .brand__mark { width: 40px; height: 40px; background: url("../assets/images/koala-mark-light.png") center/contain no-repeat; }
.footer__nav, .footer__social { display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: center; }
.footer__nav a, .footer__social a { font-size: 0.9rem; color: var(--sage); transition: color 0.3s; }
.footer__nav a:hover, .footer__social a:hover { color: var(--brass); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.8rem; font-size: 0.8rem; color: rgba(139,154,123,0.7); position: relative; z-index: 2; }
.footer__big { font-family: var(--serif); font-weight: 300; text-align: center; font-size: clamp(3rem, 20vw, 16rem); line-height: 0.8; color: rgba(244,238,226,0.05); letter-spacing: 0.02em; user-select: none; padding-bottom: 0.1em; }

/* =========================================================
   REVEAL STATES (JS toggles .is-in)
   ========================================================= */
.reveal-up { opacity: 0; transform: translateY(28px); }
.reveal-mask .word, .reveal-mask { will-change: transform; }
[data-reveal-group] > * { opacity: 0; transform: translateY(34px); }
.no-js .reveal-up, .no-js [data-reveal-group] > * { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .feats__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item--wide { grid-column: span 2; }
}

@media (max-width: 760px) {
  :root { --section-y: clamp(60px, 15vw, 100px); }
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .header { padding-inline: var(--gutter); }
  .story__grid, .visit__grid { grid-template-columns: 1fr; }
  .story__media { aspect-ratio: 4 / 3; }
  .story__stats { flex-wrap: wrap; gap: 1.4rem 2.2rem; }
  .visit__map { position: relative; top: 0; aspect-ratio: 4 / 3; order: -1; }
  .feats__grid { grid-template-columns: 1fr; }
  .hero { align-items: flex-end; min-height: 100svh; }
  .hero__content { padding-bottom: clamp(48px, 12vh, 90px); }
  .hero__title { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero__actions .btn { flex: 1 1 auto; text-align: center; }
  .scroll-progress { display: none; }
  .visit__row { grid-template-columns: 1fr; gap: 0.3rem; }
  .footer__grid { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  /* Menu tabs become a horizontal scroller */
  .menu-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 0.6rem; scrollbar-width: none; }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .menu-tab { flex: 0 0 auto; scroll-snap-align: start; }
}

@media (max-width: 460px) {
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery__item--wide, .gallery__item--tall { grid-column: auto; grid-row: auto; }
  .reserve__row { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; }
  .mcat__list .i { font-size: 0.96rem; }
}

/* =========================================================
   CAFÉ SCROLLBAR + SCROLL PROGRESS
   ========================================================= */
html { scrollbar-color: var(--brass) var(--cream); scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
  border-radius: 100px;
  border: 3px solid var(--cream);
  background: linear-gradient(180deg, var(--brass) 0%, var(--brass-deep) 50%, var(--brass) 100%);
  background-size: 100% 200%;
  animation: sheen 5s linear infinite;
}
::-webkit-scrollbar-thumb:hover { background-image: linear-gradient(180deg, var(--brass-deep), var(--bark)); }
@keyframes sheen { 0% { background-position: 0 0; } 100% { background-position: 0 -200%; } }

/* Left-edge brass progress bar (grows with scroll) */
.scroll-progress { position: fixed; top: 0; left: 0; width: 3px; height: 100vh; background: rgba(32,24,18,0.06); z-index: 1400; }
.scroll-progress i { display: block; width: 100%; height: 0; background: linear-gradient(180deg, var(--brass), var(--brass-deep)); box-shadow: 0 0 14px rgba(194,154,84,0.55); }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal-up, [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
  ::-webkit-scrollbar-thumb { animation: none; }
}
