/* =========================================================
   CRAFT — Koi landing page
   ========================================================= */
:root {
  --red-900: #3d0408;
  --red-800: #5c070d;
  --red-700: #7d0a12;
  --red-600: #a10f19;
  --red-500: #c4161f;
  --gold-300: #f6dcaa;
  --gold-400: #ecc78a;
  --gold-500: #d9a75c;
  --gold-600: #b8863d;
  --cream: #fbeee0;
  --cream-dim: rgba(251, 238, 224, .72);
  --line: rgba(236, 199, 138, .28);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: clamp(20px, 6vw, 96px);
  --seigaiha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%23ecc78a' stroke-width='1'%3E%3Cpath d='M0 40a40 40 0 0 1 80 0M8 40a32 32 0 0 1 64 0M16 40a24 24 0 0 1 48 0M24 40a16 16 0 0 1 32 0'/%3E%3Cpath d='M-40 20a40 40 0 0 1 80 0M-32 20a32 32 0 0 1 64 0M-24 20a24 24 0 0 1 48 0M-16 20a16 16 0 0 1 32 0M40 20a40 40 0 0 1 80 0M48 20a32 32 0 0 1 64 0M56 20a24 24 0 0 1 48 0M64 20a16 16 0 0 1 32 0'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--cream);
  background: var(--red-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--gold-400); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; gap: 22px; justify-items: center;
  background: radial-gradient(circle at 50% 45%, var(--red-700), var(--red-900) 70%);
  transition: opacity .9s var(--ease), visibility .9s;
}
.loader__logo { width: min(320px, 70vw); animation: breathe 2s ease-in-out infinite; }
.loader__bar { width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--gold-400); transition: width .4s var(--ease); }
.loader.is-done { opacity: 0; visibility: hidden; }
@keyframes breathe { 50% { opacity: .55; transform: scale(.98); } }

/* ---------- Petal canvas ---------- */
#petals { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: padding .4s var(--ease), background .4s, backdrop-filter .4s;
}
.header.is-scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(61, 4, 8, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__logo { display: block; height: 38px; overflow: hidden; }
.header__logo img { height: 74px; width: auto; margin-top: -17px; margin-left: -10px; }
.nav { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav__link {
  position: relative; font-size: 15.5px; font-weight: 400; color: var(--cream-dim);
  padding: 6px 0; transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--cream); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--cream); }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 22px; }
.icon-btn { background: none; border: 0; color: var(--cream); cursor: pointer; display: grid; place-items: center; transition: color .3s, transform .3s; }
.icon-btn:hover { color: var(--gold-300); transform: scale(1.08); }
.burger { display: none; width: 32px; height: 22px; background: none; border: 0; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 6px; }
.burger span:last-child { top: 15px; }
.burger.is-open span:first-child { top: 10px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 10px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 15.5px; font-weight: 400;
  padding: 15px 32px; border-radius: 999px; cursor: pointer; border: 0;
  transition: transform .35s var(--ease), box-shadow .35s, background .35s, color .35s;
  position: relative; overflow: hidden;
}
.btn--outline { border: 1px solid rgba(251, 238, 224, .8); color: var(--cream); padding: 13px 34px; }
.btn--outline:hover { background: var(--cream); color: var(--red-700); }
.btn--gold { background: linear-gradient(135deg, var(--gold-300), var(--gold-400)); color: #3b1f0c; font-weight: 500; }
.btn--gold::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(246, 220, 170, .55); }
.btn--gold:hover::before { transform: translateX(120%); }
.btn--gold svg { transition: transform .35s var(--ease); }
.btn--gold:hover svg { transform: translateX(4px); }

.play { display: inline-flex; align-items: center; gap: 18px; font-size: 15.5px; font-weight: 400; }
.play__icon {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(251,238,224,.7);
  display: grid; place-items: center; padding-left: 3px; position: relative;
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.play__icon::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--gold-300);
  animation: pulse 2.4s var(--ease) infinite;
}
.play:hover .play__icon { background: var(--cream); color: var(--red-700); transform: scale(1.05); }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 13px; letter-spacing: .38em; text-transform: uppercase;
  font-weight: 400; color: var(--cream-dim); margin-bottom: 20px;
}
.section__title {
  font-family: var(--serif); font-weight: 400; line-height: 1.02;
  font-size: clamp(40px, 5.4vw, 76px); color: var(--gold-300);
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  padding: 120px var(--pad) 80px;
}
.hero__bg {
  position: absolute; inset: -4%;
  background: url("../assets/คลื่นไหมแดงทองกับดอกเหมยโปรยปราย.png") center / cover no-repeat;
  will-change: transform;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 25% 45%, rgba(92, 7, 13, .45), transparent 60%);
}
.hero__content { position: relative; z-index: 3; max-width: 620px; padding-left: clamp(0px, 4vw, 60px); will-change: transform, opacity; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(64px, 9.4vw, 148px); line-height: .9; letter-spacing: -.01em;
  margin: 6px 0 34px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .word {
  display: inline-block;
  background: linear-gradient(180deg, #fff1d6 0%, var(--gold-300) 45%, var(--gold-500) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(110%); transition: transform 1.3s var(--ease) var(--d, 0s);
}
.is-ready .hero__title .word { transform: none; }
.hero__sub { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; color: var(--cream); margin-bottom: 42px; }
.hero__cta { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }

.reveal-load { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.is-ready .reveal-load { opacity: 1; transform: none; }

.koi-hero {
  position: absolute; z-index: 2;
  right: clamp(-40px, 12vw, 260px); top: 50%;
  height: min(86vh, 860px); aspect-ratio: 1024 / 1536;
  transform: translateY(-44%);
  will-change: transform;
  pointer-events: none;
}
.koi-hero__parallax { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.koi-hero__img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(40, 0, 4, .45)) drop-shadow(0 0 30px rgba(255, 170, 170, .18));
  transform-origin: 70% 75%;
  opacity: 0; scale: .92;
  transition: opacity 1.6s var(--ease) .4s, scale 1.6s var(--ease) .4s;
  animation: swim 7s ease-in-out infinite;
}
.is-ready .koi-hero__img { opacity: 1; scale: 1; }
@keyframes swim {
  0%, 100% { transform: translate(0, 0) rotate(0deg) skewX(0deg); }
  25% { transform: translate(-6px, -12px) rotate(-1.6deg) skewX(.8deg); }
  50% { transform: translate(4px, -20px) rotate(.8deg) skewX(-.6deg); }
  75% { transform: translate(8px, -8px) rotate(1.8deg) skewX(.4deg); }
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; z-index: 3; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-dim);
}
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--gold-300), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.ripple {
  position: absolute; z-index: 1; pointer-events: none; border-radius: 50%;
  border: 1px solid rgba(246, 220, 170, .55);
  width: 20px; height: 20px; margin: -10px 0 0 -10px;
  animation: ripple 1.8s var(--ease) forwards;
}
@keyframes ripple { to { transform: scale(14); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 4; overflow: hidden;
  background: linear-gradient(90deg, var(--red-800), var(--red-700), var(--red-800));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.marquee__track { display: flex; width: max-content; gap: 40px; align-items: center; will-change: transform; }
.marquee__track span { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); font-style: italic; color: var(--gold-300); white-space: nowrap; }
.marquee__track b { color: var(--gold-500); font-weight: 400; font-size: 18px; }

/* ---------- LEGEND (pinned) ---------- */
.legend { position: relative; height: 380vh; background: var(--red-900); }
.legend::before {
  content: ""; position: absolute; inset: 0;
  background: var(--seigaiha); background-size: 80px 40px; opacity: .05;
}
.legend__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 4vw;
  padding: 90px var(--pad) 40px;
  background: radial-gradient(circle at 72% 50%, rgba(196, 22, 31, .35), transparent 55%);
}
.legend__text { position: relative; z-index: 2; max-width: 500px; }
.legend__panels { position: relative; height: 330px; }
.legend__panel {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(40px); filter: blur(6px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}
.legend__panel.is-active { opacity: 1; transform: none; filter: none; }
.legend__panel.is-past { transform: translateY(-40px); }
.legend__num { font-family: var(--serif); font-size: 22px; color: var(--gold-500); letter-spacing: .1em; }
.legend__panel h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6vw, 92px); line-height: 1; color: var(--gold-300); margin: 8px 0 22px; }
.legend__panel p { font-size: 18px; line-height: 1.7; color: var(--cream-dim); }
.legend__progress { width: 100%; max-width: 260px; height: 1px; background: var(--line); margin-top: 20px; }
.legend__progress span { display: block; height: 100%; width: 0; background: var(--gold-400); }

.pond { position: relative; width: min(42vw, 72vh); aspect-ratio: 1; justify-self: center; }
.pond__rings { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--gold-400); stroke-width: .8; opacity: .55; animation: spin 80s linear infinite; }
.pond__rings .dash { stroke-dasharray: 2 10; }
@keyframes spin { to { transform: rotate(360deg); } }
.pond__center {
  position: absolute; inset: 30%; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, rgba(196, 22, 31, .6), rgba(92, 7, 13, .2) 70%);
  box-shadow: inset 0 0 60px rgba(0,0,0,.35);
}
.pond__center span { font-family: "Noto Serif SC", var(--serif); font-size: clamp(56px, 7vw, 110px); color: var(--gold-300); transition: opacity .5s, transform .5s var(--ease); }
.pond__center span.swap { opacity: 0; transform: scale(.85); }
.pond__koi {
  position: absolute; left: 50%; top: 50%;
  width: 34%; aspect-ratio: 1024/1536; height: auto;
  margin: -25.5% 0 0 -17%;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.45));
  will-change: transform;
}

/* ---------- Generic sections ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 160px) var(--pad); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(48px, 6vw, 80px); flex-wrap: wrap; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__lead { max-width: 420px; font-size: 17px; line-height: 1.7; color: var(--cream-dim); }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Collection ---------- */
.collection { background: linear-gradient(180deg, var(--red-900), var(--red-800)); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.card {
  position: relative; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, rgba(196, 22, 31, .5), rgba(61, 4, 8, .9));
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: border-color .4s, box-shadow .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--seigaiha); background-size: 60px 30px; opacity: .07;
}
.card:hover { border-color: rgba(246, 220, 170, .7); box-shadow: 0 30px 60px -25px rgba(0,0,0,.7), 0 0 40px -10px rgba(246, 220, 170, .25); }
.card__art { position: relative; height: 340px; display: grid; place-items: center; overflow: hidden; }
.card__art::after {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 220, 170, .25), transparent 70%);
}
.card__art img {
  position: absolute; z-index: 1; left: 50%; top: 50%; height: 112%; width: auto; max-width: none;
  transform: translate(-50%, -48%) rotate(-18deg);
  transition: transform 1s var(--ease);
  filter: drop-shadow(0 16px 20px rgba(0,0,0,.4));
}
.card:hover .card__art img { transform: translate(-50%, -52%) rotate(-4deg) scale(1.06); }
.card--gold .card__art img { filter: hue-rotate(28deg) saturate(1.35) brightness(1.06) drop-shadow(0 16px 20px rgba(0,0,0,.4)); }
.card--crimson .card__art img { filter: hue-rotate(-12deg) saturate(1.9) contrast(1.08) drop-shadow(0 16px 20px rgba(0,0,0,.4)); }
.card--moon .card__art img { filter: grayscale(.9) brightness(1.12) contrast(1.05) drop-shadow(0 16px 20px rgba(0,0,0,.4)); }
.card__body { position: relative; padding: 4px 26px 28px; }
.card__tag { font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-500); }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--gold-300); margin: 6px 0 6px; }
.card p { font-size: 15px; color: var(--cream-dim); }

/* ---------- About ---------- */
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center;
  background: var(--red-800);
}
.about__visual { position: relative; }
.about__frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px 22px 22px; overflow: hidden;
  border: 1px solid var(--line);
}
.about__bg { position: absolute; inset: -10%; background: url("../assets/คลื่นไหมแดงทองกับดอกเหมยโปรยปราย.png") 75% 40% / cover; will-change: transform; }
.about__koi { position: absolute; left: 18%; top: 4%; width: 68%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.45)); will-change: transform; }
.about__seal {
  position: absolute; right: -18px; bottom: 40px; width: 92px; height: 92px; border-radius: 16px;
  display: grid; place-items: center; font-size: 46px; color: var(--cream);
  background: linear-gradient(145deg, var(--red-500), var(--red-700));
  border: 1px solid var(--gold-400); box-shadow: 0 20px 40px -15px rgba(0,0,0,.7);
  transform: rotate(-6deg);
}
.about__text > p:not(.eyebrow) { font-size: 18px; line-height: 1.8; color: var(--cream-dim); margin: 30px 0 46px; max-width: 520px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 34px; }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4vw, 58px); color: var(--gold-300); line-height: 1; }
.stat span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-dim); }

/* ---------- Process ---------- */
.process { background: linear-gradient(180deg, var(--red-800), var(--red-900)); overflow: hidden; }
.process::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%;
  background: var(--seigaiha); background-size: 90px 45px; opacity: .08;
  mask-image: linear-gradient(transparent, #000 60%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 60%, transparent);
}
.process__line { position: relative; height: 1px; background: var(--line); margin: 0 6% 0; top: 9px; }
.process__line span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); box-shadow: 0 0 12px var(--gold-400); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.step { text-align: center; padding: 0 10px; }
.step__dot { display: block; width: 18px; height: 18px; border-radius: 50%; margin: 0 auto 30px; background: var(--red-900); border: 1px solid var(--gold-400); box-shadow: 0 0 0 6px rgba(236, 199, 138, .08); }
.step b { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 20px; color: var(--gold-500); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 34px; color: var(--gold-300); margin: 4px 0 12px; }
.step p { font-size: 16px; line-height: 1.65; color: var(--cream-dim); }

/* ---------- Stories ---------- */
.stories { background: var(--red-900); }
.link-arrow { color: var(--gold-300); border-bottom: 1px solid var(--line); padding-bottom: 6px; transition: border-color .3s, letter-spacing .4s var(--ease); }
.link-arrow:hover { border-color: var(--gold-300); letter-spacing: .04em; }
.story-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(18px, 2.4vw, 34px); }
.story { display: block; }
.story__img {
  aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; position: relative; margin-bottom: 22px;
  border: 1px solid var(--line);
}
.story__img::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/คลื่นไหมแดงทองกับดอกเหมยโปรยปราย.png") var(--pos) / 260% no-repeat;
  transition: transform 1.2s var(--ease);
}
.story:hover .story__img::before { transform: scale(1.08); }
.story__meta { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-500); }
.story h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; color: var(--cream); margin-top: 8px; transition: color .3s; }
.story:hover h3 { color: var(--gold-300); }

/* ---------- CTA ---------- */
.cta {
  position: relative; min-height: 92vh; display: grid; place-items: center; text-align: center;
  padding: 140px var(--pad); overflow: hidden;
}
.cta__bg { position: absolute; inset: -8%; background: url("../assets/คลื่นไหมแดงทองกับดอกเหมยโปรยปราย.png") center / cover; transform: scaleX(-1); will-change: transform; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(61, 4, 8, .55), rgba(61, 4, 8, .15) 70%); }
.cta__koi {
  position: absolute; width: clamp(160px, 17vw, 300px); left: 3%; top: 26%;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.45)); will-change: transform; z-index: 1;
}
.cta__inner { position: relative; z-index: 2; max-width: 900px; }
.cta__title { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6.4vw, 96px); line-height: 1; color: var(--gold-300); margin-bottom: 26px; }
.cta__inner > p:not(.eyebrow):not(.subscribe__msg) { font-size: 18px; line-height: 1.7; color: var(--cream); margin-bottom: 40px; }
.subscribe {
  display: flex; gap: 8px; padding: 7px; max-width: 520px; margin: 0 auto;
  border: 1px solid rgba(251,238,224,.5); border-radius: 999px;
  background: rgba(61, 4, 8, .4); backdrop-filter: blur(8px);
}
.subscribe input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--cream); font: inherit; font-size: 16px; padding: 0 20px; }
.subscribe input::placeholder { color: var(--cream-dim); }
.subscribe__msg { margin-top: 18px; min-height: 24px; color: var(--gold-300); font-size: 15px; }

/* ---------- Footer ---------- */
.footer {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 34px var(--pad); background: #2a0205; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--cream-dim);
}
.footer__logo { height: 60px; width: auto; margin: -12px 0; }
.footer__nav { display: flex; gap: 28px; }
.footer__nav a:hover { color: var(--gold-300); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-grid .story:first-child { grid-column: span 2; }
}
@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    background: rgba(61, 4, 8, .96); backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__link { font-family: var(--serif); font-size: 38px; }
  .burger { display: block; }
  .header__actions .btn--outline { display: none; }

  .hero { align-items: flex-end; padding-bottom: 110px; }
  .koi-hero { right: -14%; top: 3%; height: 54vh; transform: none; opacity: .92; }
  .scroll-hint { display: none; }
  .hero__content { padding-left: 0; }
  .hero__content::before { content: ""; position: absolute; inset: -60px -40px; z-index: -1; background: radial-gradient(ellipse at 40% 55%, rgba(61, 4, 8, .85), rgba(61, 4, 8, .4) 55%, transparent 75%); }

  .legend__sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding-top: 100px; gap: 10px; }
  .legend__text { order: 2; }
  .legend__panels { height: 260px; }
  .legend__panel p { font-size: 16px; }
  .pond { width: min(78vw, 42vh); }

  .about { grid-template-columns: 1fr; }
  .about__visual { max-width: 460px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .process__line { display: none; }
}
@media (max-width: 600px) {
  .header__logo { height: 30px; }
  .header__logo img { height: 58px; margin-top: -13px; }
  .cards, .story-grid { grid-template-columns: 1fr; }
  .story-grid .story:first-child { grid-column: auto; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .stat span { font-size: 11px; letter-spacing: .08em; }
  .steps { grid-template-columns: 1fr; }
  .hero__cta { gap: 22px; }
  .cta__koi { opacity: .45; }
  .footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
