:root {
  --mint: #b5d6c5;
  --mint-deep: #8fb8a3;
  --cream: #faf6ef;
  --ink: #22302a;
  --gold: #c98f4e;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  mix-blend-mode: normal;
}
.logo-chip {
  width: 118px; height: 46px; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(34,48,42,.14);
}
.logo-chip img { object-fit: cover; }
.site-nav { display: flex; gap: 26px; }
.site-nav a {
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; padding: 10px 14px; border-radius: 999px; white-space: nowrap;
  background: rgba(250,246,239,.82); backdrop-filter: blur(6px);
}
.site-nav a:hover { background: var(--mint); }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none; letter-spacing: .02em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--ink); color: var(--cream); box-shadow: 0 8px 22px rgba(34,48,42,.22); }
.btn-solid:hover { background: #33463d; }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: rgba(34,48,42,.06); }
.btn-ghost-dark { border: 1.5px solid var(--cream); color: var(--cream); }
.btn-ghost-dark:hover { background: rgba(250,246,239,.12); }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: #5a7267; margin-bottom: 18px;
}
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.05; }

/* Hero */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; padding: 120px 6vw 60px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 6vw; align-items: center; max-width: 1280px; margin: 0 auto; width: 100%; }
.hero-text h1 { font-size: clamp(44px, 5.6vw, 78px); letter-spacing: -.01em; }
.hero-text h1 em { font-style: italic; color: #4c7a63; }
.hero-sub { margin-top: 24px; font-size: 17px; color: #41544b; max-width: 42ch; }
.hero-ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo { border-radius: 260px 260px 28px 28px; overflow: hidden; aspect-ratio: 4/4.6; box-shadow: 0 30px 60px rgba(34,48,42,.18); }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 24px; height: 38px; border: 1.5px solid #5a7267; border-radius: 14px; }
.hero-scroll span { position: absolute; top: 7px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: #5a7267; animation: scrollhint 1.8s ease-in-out infinite; }
@keyframes scrollhint { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(12px); opacity: .25; } }

/* Fold (lamination) */
.fold { height: 420vh; position: relative; background: var(--ink); }
.fold-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.fold-kicker {
  position: absolute; top: 40px; left: 50%; transform: translateX(-50%);
  color: rgba(250,246,239,.55); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
}
.fold-words { position: absolute; left: 7vw; top: 50%; transform: translateY(calc(-3.3 * clamp(40px, 5vw, 72px))); z-index: 4; width: 40vw; }
.fold-word {
  position: absolute; left: 0; top: 0; transform: translateX(24px);
  font-family: var(--serif); font-size: clamp(40px, 5vw, 72px); line-height: 1.15; color: var(--cream);
  opacity: 0; white-space: nowrap; transition: opacity .5s ease, transform .5s ease, color .5s ease;
}
.fold-word:nth-child(1) { top: 0em; } .fold-word:nth-child(2) { top: 1.15em; }
.fold-word:nth-child(3) { top: 2.3em; } .fold-word:nth-child(4) { top: 3.45em; }
.fold-word:nth-child(5) { top: 4.6em; }
.fold-word.on { opacity: 1; transform: translateX(0); color: var(--mint); }
.fold-word.past { opacity: .45; transform: translateX(0); color: var(--cream); }
.fold-layers { position: absolute; left: 0; right: 0; bottom: 7vh; height: 60px; z-index: 3; }
.fold-layers i {
  position: absolute; left: 15vw; right: 15vw; height: 2px; border-radius: 2px;
  background: rgba(181,214,197,.55); opacity: 0; transform: scaleX(.2); transform-origin: center;
  transition: opacity .5s ease, transform .6s ease;
}
.fold-layers i.on { opacity: 1; transform: scaleX(1); }
.fold-layers i:nth-child(1){ bottom: 0px; } .fold-layers i:nth-child(2){ bottom: 8px; }
.fold-layers i:nth-child(3){ bottom: 16px; } .fold-layers i:nth-child(4){ bottom: 24px; }
.fold-layers i:nth-child(5){ bottom: 32px; } .fold-layers i:nth-child(6){ bottom: 40px; }
.fold-layers i:nth-child(7){ bottom: 48px; } .fold-layers i:nth-child(8){ bottom: 56px; }
.fold-photo {
  position: absolute; right: 7vw; top: 50%; transform: translateY(-46%);
  width: min(34vw, 460px); aspect-ratio: 4/5; border-radius: 200px 200px 24px 24px;
  overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.45);
  opacity: 0; clip-path: inset(100% 0 0 0);
  transition: opacity .8s ease, clip-path .9s cubic-bezier(.6,.05,.2,1);
}
.fold-photo.on { opacity: 1; clip-path: inset(0 0 0 0); }
.fold-caption {
  position: absolute; right: 7vw; top: calc(50% + min(20vw, 270px)); width: min(34vw, 460px);
  font-family: var(--serif); font-style: italic; font-size: 20px; text-align: center;
  color: var(--cream);
  opacity: 0; transition: opacity .8s ease .3s;
}
.fold-caption::before {
  content: ""; position: absolute; inset: -10px -18px; z-index: -1;
  background: rgba(34,48,42,.72); border-radius: 999px;
}
.fold-caption { padding: 0 18px; }
.fold-caption.on { opacity: 1; }

/* Chapters */
.chapters { padding: 14vh 6vw; max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 14vh; }
.chapter { display: grid; grid-template-columns: .95fr 1.05fr; gap: 6vw; align-items: center; }
.chapter-flip { grid-template-columns: 1.05fr .95fr; }
.chapter-flip figure { order: 2; }
.chapter figure { border-radius: 24px; overflow: hidden; aspect-ratio: 4/4.4; box-shadow: 0 24px 50px rgba(34,48,42,.14); }
.chapter-no { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: .3em; margin-bottom: 16px; }
.chapter h2 { font-size: clamp(34px, 3.6vw, 52px); }
.chapter-text > p:last-child { margin-top: 20px; color: #41544b; max-width: 44ch; }
.chapter { opacity: 0; transform: translateY(46px); transition: opacity .8s ease, transform .8s ease; }
.chapter.in { opacity: 1; transform: none; }

/* Counter */
.counter { background: var(--mint); padding: 14vh 6vw; }
.counter-head { max-width: 1280px; margin: 0 auto 8vh; }
.counter-head .eyebrow { color: #3d5c4d; }
.counter-head h2 { font-size: clamp(34px, 3.8vw, 54px); }
.counter-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.counter-item { border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; position: relative; box-shadow: 0 18px 40px rgba(34,48,42,.16); }
.counter-item figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px;
  background: rgba(250,246,239,.92); border-radius: 12px;
  font-family: var(--serif); font-size: 16px; color: var(--ink); text-align: center;
}
.counter-item { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.counter-item.in { opacity: 1; transform: none; }
.counter-item:nth-child(2){ transition-delay: .1s; }
.counter-item:nth-child(3){ transition-delay: .2s; }
.counter-item:nth-child(4){ transition-delay: .3s; }

/* Mint box CTA */
.mint-box { background: var(--ink); color: var(--cream); padding: 16vh 6vw; text-align: center; }
.mint-box-inner { max-width: 640px; margin: 0 auto; }
.mint-box h2 { font-size: clamp(34px, 3.8vw, 54px); }
.mint-box p { margin-top: 18px; color: rgba(250,246,239,.75); }
.mint-box-ctas { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.mint-box .btn-solid { background: var(--mint); color: var(--ink); }
.mint-box .btn-solid:hover { background: #c7e3d4; }

/* Visit */
.visit { padding: 14vh 6vw; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 6vw; align-items: center; }
.visit-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4/4.6; box-shadow: 0 24px 50px rgba(34,48,42,.14); }
.visit-text h2 { font-size: clamp(38px, 4.2vw, 60px); }
.visit-line { margin-top: 14px; font-size: 17px; color: #41544b; }
.visit-ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(250,246,239,.6); padding: 40px 6vw; text-align: center; font-size: 13px; }
.site-footer a { color: rgba(250,246,239,.85); }

/* Reveal-on-scroll defaults handled per component */

@media (max-width: 900px) {
  .site-header { padding: 14px 16px; }
  .logo-chip { width: 96px; height: 38px; }
  .site-nav { gap: 6px; }
  .site-nav a { padding: 8px 9px; font-size: 10px; letter-spacing: .05em; }
  .hero { padding: 110px 6vw 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { aspect-ratio: 4/4.2; border-radius: 180px 180px 22px 22px; max-width: 440px; margin: 0 auto; width: 100%; }
  .fold-kicker { display: none; }
  .fold-words { left: 6vw; width: 88vw; top: 24%; transform: none; }
  .fold-word { transform: translateX(24px); }
  .fold-word.on { transform: none; }
  .fold-word.past { transform: none; }
  .fold-photo { right: 6vw; left: 6vw; width: auto; top: 38%; transform: none; aspect-ratio: 4/4.4; }
  .fold-caption { right: 6vw; left: 6vw; width: auto; top: auto; bottom: 12vh; }
  .fold-layers { bottom: 5vh; }
  .fold-layers i { left: 10vw; right: 10vw; }
  .chapter, .chapter-flip { grid-template-columns: 1fr; gap: 34px; }
  .chapter-flip figure { order: 0; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .visit { grid-template-columns: 1fr; gap: 40px; }
}
