/* =========================================================
   Bukovica Village: "mountain field journal"
   Watercolour art, taped prints and the hosts' handwriting.
   Greens from the meadow, honey from the bees, gold from the logo.
   ========================================================= */
:root {
  --forest: #24331f;
  --forest-2: #2f4228;
  --moss: #4a6b3a;
  --moss-dk: #3b5730;
  --sage: #a7b693;
  --sage-lt: #e4e8d6;
  --honey: #e0ad4f;
  --honey-lt: #f1d7a1;
  --gold: #b78f5e;
  --gold-ink: #7d5c2e;
  --thistle: #84577f;
  --paper: #f6f0e3;
  --paper-2: #efe6d3;
  --card: #fcf8ef;
  --ink: #2a2a20;
  --muted: #5f5a4c;
  --line: #ddd1ba;
  --night: #0f1a16;

  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --sans: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 1000ms;

  /* shadows tinted with forest green, never pure black */
  --shadow-1: 0 1px 2px rgba(36, 51, 31, .08), 0 10px 26px -14px rgba(36, 51, 31, .3);
  --shadow-2: 0 2px 6px rgba(36, 51, 31, .08), 0 28px 50px -26px rgba(36, 51, 31, .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.6; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--forest); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
figure { margin: 0; }
address { font-style: normal; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }
.ico--sm { width: .9em; height: .9em; }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 4px; }
.lead { font-size: 1.15rem; color: var(--ink); }

/* handwritten notes from the hosts */
.note { display: inline-block; font-family: var(--hand); font-size: 1.65rem; font-weight: 600; line-height: 1.1; color: var(--moss); transform: rotate(-2deg); margin: 0 0 .35em; }
.note::after { content: ""; display: block; height: 8px; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8'%3E%3Cpath d='M2 5c20-4 40-4 60-1s38 2 56-2' fill='none' stroke='%23e0ad4f' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") left / 100% 100% no-repeat; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); transition: top var(--t-med) var(--ease-out); }
.skip:focus { top: 16px; }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 130px) var(--gutter); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section__head--light h2 { color: var(--paper); }
.section__head--light .note { color: var(--honey-lt); }
.section__lead { color: var(--muted); font-size: 1.12rem; margin: 0; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  font: 700 1rem/1.1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transform: translate(var(--mx), var(--my));
  transition: background-color var(--t-med) var(--ease-out), color var(--t-med) var(--ease-out), border-color var(--t-med), box-shadow var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
.btn:hover { transform: translate(var(--mx), calc(var(--my) - 2px)); }
.btn:active { transform: translate(var(--mx), var(--my)) scale(.97); transition-duration: 90ms; }
.btn--moss { background: var(--moss); color: var(--paper); box-shadow: 0 10px 22px -12px rgba(59, 87, 48, .9); }
.btn--moss:hover { background: var(--moss-dk); box-shadow: 0 16px 30px -14px rgba(59, 87, 48, .95); }
.btn--honey { background: var(--honey); color: var(--forest); box-shadow: 0 10px 24px -12px rgba(224, 173, 79, .9); }
.btn--honey:hover { background: #ebbd63; }
.btn--line { border-color: currentColor; color: var(--moss-dk); background: transparent; }
.btn--line:hover { background: var(--moss); border-color: var(--moss); color: var(--paper); }
.btn--light { color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--forest); border-color: var(--paper); }
.btn--sm { padding: 10px 20px; font-size: .92rem; }
.btn--block { width: 100%; padding: 17px; font-size: 1.05rem; }
.btn:disabled { cursor: progress; }
.link { color: var(--moss-dk); font-weight: 700; text-underline-offset: 4px; text-decoration-color: var(--honey); text-decoration-thickness: 2px; }
.link:hover { color: var(--forest); }

/* =========================================================
   Progress + Nav
   ========================================================= */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--honey); transform-origin: 0 50%; transform: scaleX(0); }

.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 16px var(--gutter); color: #fff;
  transition: background-color .4s var(--ease-out), padding .4s var(--ease-out), box-shadow .4s, transform .5s var(--ease-out), color .4s;
}
.nav.is-scrolled { background: rgba(246, 240, 227, .93); color: var(--ink); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); padding-block: 9px; box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-105%); }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-size: 1.45rem; font-weight: 700; white-space: nowrap; }
.nav__mark { height: 40px; width: auto; transition: transform .6s var(--ease-out); }
.nav__brand:hover .nav__mark { transform: rotate(-6deg) scale(1.05); }
.nav__mark--dark, .nav.is-scrolled .nav__mark--light { display: none; }
.nav.is-scrolled .nav__mark--dark { display: block; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); }
.nav__links a { position: relative; text-decoration: none; font-size: 1rem; font-weight: 500; white-space: nowrap; padding: 6px 0; opacity: .9; }
.nav__links a::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 0; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 6'%3E%3Cpath d='M2 4c12-3 26-3 40-1s12 1 16-1' fill='none' stroke='%23e0ad4f' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; clip-path: inset(0 100% 0 0); transition: clip-path .5s var(--ease-out); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { clip-path: inset(0 0 0 0); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease-out); }
.nav__burger span:first-child { top: 15px; } .nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* language menu with flags */
.langs { position: relative; }
.langs__btn { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; border: 1px solid currentColor; background: transparent; cursor: pointer; opacity: .92; transition: background-color var(--t-fast); }
.langs__btn:hover { background: rgba(224, 173, 79, .22); }
.flag { width: 24px; height: 18px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.langs__btn .ico { transition: transform .3s var(--ease-out); }
.langs.is-open .langs__btn .ico { transform: rotate(180deg); }
.langs__menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 196px; margin: 0; padding: 8px; list-style: none;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .25s, transform .35s var(--ease-out), visibility .25s;
}
.langs.is-open .langs__menu { opacity: 1; visibility: visible; transform: none; }
.langs__menu a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-size: 1rem; transition: background-color var(--t-fast); }
.langs__menu a:hover, .langs__menu a:focus-visible { background: var(--sage-lt); }
.langs__menu a[aria-current="page"] { font-weight: 700; }
.langs__menu a[aria-current="page"]::after { content: ""; width: 14px; height: 14px; margin-left: auto; background: var(--moss); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; color: #fff; text-align: center; padding: 120px var(--gutter) 160px; background: var(--forest); }
.hero__bg { --py: 0px; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transform: translateY(var(--py)) scale(1.12); filter: blur(8px) brightness(.85) saturate(.9); transition: transform 2.6s var(--ease-out), filter 1.8s ease; will-change: transform; }
.hero.is-loaded .hero__bg { transform: translateY(var(--py)) scale(1.02); filter: saturate(1.05); }
.hero.is-settled .hero__bg { transition: filter 1.8s ease; }
.hero__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 42%, rgba(36, 51, 31, .2), rgba(28, 38, 24, .55) 72%), linear-gradient(180deg, rgba(28, 38, 24, .5) 0%, transparent 28%, transparent 55%, rgba(28, 38, 24, .72) 100%); }
.hero__content { position: relative; max-width: 820px; }
.hero__logo { width: clamp(190px, 25vw, 290px); margin: 0 auto 24px; filter: drop-shadow(0 6px 26px rgba(0, 0, 0, .35)); }
.hero__title { font-size: clamp(1.75rem, 3.6vw, 2.8rem); font-weight: 500; font-style: italic; line-height: 1.18; margin-bottom: 26px; color: #fff; text-shadow: 0 2px 22px rgba(0, 0, 0, .35); }
.hero__title .w { display: inline-block; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0; }
.hero__badges li { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 12px; border-radius: 999px; font-size: .95rem; font-weight: 500; background: rgba(36, 51, 31, .45); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero__badges .stars, .hero__badges .ico { color: var(--honey); letter-spacing: .1em; }
.hero__mq { height: 24px; width: auto; padding: 2px 4px; background: #fff; border-radius: 6px; }

/* flock of birds */
.flock { position: absolute; inset: 8% 0 auto; height: 30%; pointer-events: none; }
.bird { position: absolute; left: 0; width: 34px; height: 14px; fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 2.2; stroke-linecap: round; animation: fly var(--d, 40s) linear var(--delay, 0s) infinite; }
.bird use { transform-origin: 20px 9px; animation: flap .55s ease-in-out infinite alternate; }
.b1 { top: 18%; --d: 46s; --delay: -6s; }
.b2 { top: 30%; width: 26px; --d: 46s; --delay: -7.4s; }
.b3 { top: 8%; width: 22px; --d: 46s; --delay: -8.2s; }
.b4 { top: 46%; width: 18px; --d: 58s; --delay: -30s; opacity: .7; }
.b5 { top: 40%; width: 14px; --d: 58s; --delay: -31.5s; opacity: .7; }
.b2 use { animation-delay: -.2s; } .b3 use { animation-delay: -.35s; } .b5 use { animation-delay: -.1s; }
@keyframes fly { 0% { transform: translate(-8vw, 0); } 25% { transform: translate(22vw, -16px); } 50% { transform: translate(52vw, 8px); } 75% { transform: translate(82vw, -10px); } 100% { transform: translate(112vw, 0); } }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.3); } }

.quick {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  width: min(900px, calc(100% - 2 * var(--gutter)));
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .7fr) auto; gap: 4px; align-items: stretch;
  padding: 8px; border-radius: 22px; text-align: left; color: var(--ink);
  background: rgba(246, 240, 227, .95); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55);
}
.quick__field { display: grid; gap: 2px; padding: 10px 16px; border-radius: 16px; cursor: pointer; transition: background-color var(--t-fast); }
.quick__field:hover, .quick__field:focus-within { background: var(--sage-lt); }
.quick__field > span { font-size: .85rem; font-weight: 700; color: var(--moss); display: flex; align-items: center; gap: 6px; }
.quick input, .quick select { background: transparent; border: 0; color: var(--ink); font: 500 1.05rem var(--sans); padding: 0; width: 100%; min-width: 0; cursor: pointer; }
.quick input:focus, .quick select:focus { outline: none; }
.quick__btn { border-radius: 16px; padding-inline: 28px; }

/* hero entrance (only when JS runs) */
.js .hero__logo, .js .hero__badges li, .js .quick { opacity: 0; }
.js .hero__title .w { opacity: 0; transform: translateY(.55em) rotate(3deg); }
.hero.is-loaded .hero__logo { animation: rise 1.2s var(--ease-out) .25s both; }
.hero.is-loaded .hero__title .w { animation: word 1s var(--ease-out) both; animation-delay: calc(.55s + var(--i) * 55ms); }
.hero.is-loaded .hero__badges li { animation: rise .9s var(--ease-out) both; animation-delay: calc(1.15s + var(--i, 0) * 90ms); }
.hero.is-loaded .quick { animation: rise-q 1s var(--ease-out) 1.45s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes word { from { opacity: 0; transform: translateY(.55em) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes rise-q { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* =========================================================
   Facts
   ========================================================= */
.facts { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--forest); color: var(--paper); }
.facts__item { padding: 34px 14px; text-align: center; border-right: 1px dashed rgba(246, 240, 227, .14); }
.facts__item:last-child { border-right: 0; }
.facts__item strong { display: block; font-family: var(--serif); font-size: clamp(2.3rem, 3.6vw, 3rem); font-weight: 500; color: var(--honey-lt); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.facts__item small { font-size: .45em; margin-left: 4px; color: var(--honey); font-family: var(--sans); font-weight: 700; }
.facts__item > span { font-size: .98rem; opacity: .78; }

/* =========================================================
   Story: text + a board of taped prints
   ========================================================= */
.story { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.story__fern { position: absolute; left: -40px; top: 40px; width: 200px; height: 200px; fill: none; stroke: var(--sage); stroke-width: .9; opacity: .55; pointer-events: none; transform-origin: 50% 100%; animation: sway 7s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-4deg); } to { transform: rotate(3deg); } }
.story__text { position: relative; }
.story__text > p:not(.note):not(.lead) { color: var(--muted); }
.hosts { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--line); }
.hosts img { width: 46px; }
.hosts p { margin: 0; display: grid; line-height: 1.25; }
.hosts strong { font-family: var(--hand); font-size: 2rem; font-weight: 600; color: var(--moss-dk); }
.hosts span { font-size: 1rem; color: var(--muted); }

.story__board { position: relative; padding: 18px 10px 40px; }
.print { position: relative; background: #fffdf8; padding: 10px; box-shadow: var(--shadow-2); }
.print img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.print--a { --rot: -1.6deg; transform: rotate(var(--rot)); }
.print--b { --rot: 3deg; width: 58%; margin: -70px 0 0 -4%; padding-bottom: 12px; transform: rotate(var(--rot)); }
.print--b figcaption { display: block; margin: 8px 6px 0; color: var(--ink); font-size: 1.45rem; line-height: 1.05; transform: rotate(-1.5deg); }
.print--b figcaption::after { display: none; }
.tape { position: absolute; top: -13px; left: 50%; width: 96px; height: 28px; margin-left: -48px; background: rgba(224, 173, 79, .5); transform: rotate(-3deg); clip-path: polygon(2% 10%, 6% 0, 12% 8%, 18% 0, 24% 9%, 30% 1%, 36% 8%, 42% 0, 48% 9%, 54% 1%, 60% 8%, 66% 0, 72% 9%, 78% 1%, 84% 8%, 90% 0, 96% 9%, 100% 3%, 98% 90%, 94% 100%, 88% 92%, 82% 100%, 76% 91%, 70% 100%, 64% 92%, 58% 100%, 52% 91%, 46% 100%, 40% 92%, 34% 100%, 28% 91%, 22% 100%, 16% 92%, 10% 100%, 4% 91%, 0 97%); }
.tape--l { left: 8%; margin: 0; transform: rotate(-24deg); background: rgba(167, 182, 147, .65); }
.tape--r { left: auto; right: 8%; margin: 0; transform: rotate(20deg); background: rgba(167, 182, 147, .65); }
.stamp { position: absolute; right: 2%; bottom: 0; width: 140px; height: 140px; display: grid; place-items: center; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-1); }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 50s linear infinite; }
.stamp text { font: 700 13px var(--sans); letter-spacing: .14em; fill: var(--gold-ink); }
.stamp img { width: 52px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Recognition
   ========================================================= */
.awards { position: relative; background: var(--forest); color: var(--paper); margin-top: 90px; }
.awards::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 110px; background: url("../img/ridge.svg") bottom / 100% 100% no-repeat; pointer-events: none; }
.awards__inner { padding-top: clamp(40px, 6vw, 70px); }
.marks { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mark { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: center; padding: 28px; border-radius: var(--r-lg); background: var(--card); color: var(--ink); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .7); transition: transform .5s var(--ease-out); }
.mark:hover { transform: translateY(-5px) rotate(-.4deg); }
.mark h3 { margin-bottom: .3em; }
.mark p { color: var(--muted); font-size: 1.02rem; margin-bottom: .7em; }
.mark__art { width: 150px; height: 150px; display: grid; place-items: center; }
.mark__art--mq { background: #fff; border-radius: 50%; padding: 22px; box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -14px rgba(36, 51, 31, .5); }
.mark__art--mq img { width: 100%; height: auto; }
.emblem { width: 150px; height: 150px; }
.emblem__ring { fill: var(--gold); }
.emblem__inner { fill: var(--forest); stroke: var(--honey-lt); stroke-width: 1.2; stroke-dasharray: 2 4; }
.emblem__laurel, .emblem__laurel-leaf { fill: none; stroke: var(--honey); stroke-width: 2.4; stroke-linecap: round; }
.emblem__stars path { fill: var(--honey); }
.emblem__txt { font: 700 10.5px var(--sans); letter-spacing: .16em; fill: var(--paper); }
.mark.is-in .emblem__stars path { animation: twinkle 1s var(--ease-out) both; }
.mark.is-in .emblem__stars path:nth-child(2) { animation-delay: .15s; }
.mark.is-in .emblem__stars path:nth-child(3) { animation-delay: .3s; }
@keyframes twinkle { 0% { opacity: 0; transform: scale(.4); transform-origin: center; transform-box: fill-box; } 70% { transform: scale(1.15); transform-box: fill-box; } 100% { opacity: 1; transform: none; } }

.rated { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 18px; margin-top: 40px; }
.rated__label { font-family: var(--hand); font-size: 1.6rem; color: var(--honey-lt); }
.rated__item { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med); }
.rated__item:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .6); }
.rated__logo--booking { width: 118px; height: auto; }
.rated__logo--airbnb { width: 92px; height: auto; }
.rated__item b { font-family: var(--serif); font-size: 1.6rem; line-height: 1; }
.rated__item small { color: var(--muted); margin-left: -8px; }

/* =========================================================
   House tour
   ========================================================= */
.tour__tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.tour__tabs button { padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; font-size: 1rem; font-weight: 500; transition: background-color var(--t-med) var(--ease-out), color var(--t-med), border-color var(--t-med), transform var(--t-fast); }
.tour__tabs button:hover { border-color: var(--sage); }
.tour__tabs button:active { transform: scale(.96); }
.tour__tabs button[aria-selected="true"] { background: var(--moss); border-color: var(--moss); color: var(--paper); }
.tour__stage { display: grid; border-radius: var(--r-lg); overflow: hidden; background: var(--forest); box-shadow: var(--shadow-2); }
.tour__panel { grid-area: 1 / 1; position: relative; }
.tour__panel[hidden] { display: none; }
.tour__panel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tour__panel.is-entering img { animation: tour-img 1.1s var(--ease-out) both; }
.tour__panel.is-entering .tour__text { animation: rise .8s var(--ease-out) .15s both; }
@keyframes tour-img { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.tour__text { position: absolute; left: 24px; bottom: 24px; max-width: 440px; padding: 22px 26px; border-radius: var(--r-md); background: rgba(252, 248, 239, .95); box-shadow: var(--shadow-1); }
.tour__text h3 { margin-bottom: .25em; }
.tour__text p { margin: 0; color: var(--muted); }

.amenities { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-top: 26px; }
.amenities__col { padding: clamp(28px, 4vw, 42px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.amenities__col--moss { background: var(--moss); color: var(--paper); border-color: var(--moss); }
.amenities__col--moss h3 { color: var(--paper); }
.leaves { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.amenities__col--moss .leaves { grid-template-columns: 1fr; }
.leaves li { position: relative; padding-left: 30px; }
.leaves li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; background: var(--moss); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 19.5C4 11 9 5 19.5 4.5 20 14 14 19.8 5.6 19.4'/%3E%3Cpath d='M4.5 19.5c3.6-4.8 7-7.6 10.6-9.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 19.5C4 11 9 5 19.5 4.5 20 14 14 19.8 5.6 19.4'/%3E%3Cpath d='M4.5 19.5c3.6-4.8 7-7.6 10.6-9.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.amenities__col--moss .leaves li::before { background: var(--honey-lt); }
.amenities__times { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.amenities__times span { padding: 6px 14px; border-radius: 999px; border: 1px dashed rgba(246, 240, 227, .5); font-size: .95rem; }

/* =========================================================
   Eco + food
   ========================================================= */
.eco { background: var(--sage-lt); position: relative; overflow: hidden; }
.eco__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; padding-bottom: 40px; }
.eco__art { position: relative; }
.eco__art img { width: 100%; mix-blend-mode: multiply; }
.practices { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.practices li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.practices .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--card); color: var(--moss); stroke-width: 1.5; box-shadow: var(--shadow-1); }
.practices__next { grid-column: 1 / -1; padding: 10px 14px; border: 1.5px dashed var(--sage); border-radius: var(--r-md); color: var(--moss-dk); }
.practices__next .ico { color: var(--gold-ink); background: var(--honey-lt); }

.bee { position: absolute; width: 42px; height: 32px; left: 54%; top: 34%; offset-path: path("M0,0 C40,-50 110,-40 140,-6 S210,40 250,-20 S180,-90 90,-60 S-20,-30 0,0"); offset-rotate: 0deg; animation: bee-path 14s ease-in-out infinite; }
.bee__body { fill: var(--honey); stroke: var(--forest); stroke-width: 1.4; }
.bee__stripe { stroke: var(--forest); stroke-width: 2.6; }
.bee__eye { fill: var(--forest); }
.bee__wing { fill: rgba(255, 255, 255, .8); stroke: var(--forest); stroke-width: 1; transform-origin: 20px 13px; animation: buzz .09s linear infinite alternate; }
.bee__wing--b { animation-delay: -.045s; }
@keyframes bee-path { to { offset-distance: 100%; } }
@keyframes buzz { to { transform: scaleY(.45); } }
.butterfly { position: absolute; width: 46px; height: 36px; fill: rgba(132, 87, 127, .82); stroke: var(--forest); stroke-width: 1; animation: drift 11s ease-in-out infinite alternate; }
.bf1 { right: 6%; top: 8%; }
.bf__w { transform-origin: 20px 16px; animation: wing .35s ease-in-out infinite alternate; }
.bf__w--r { animation-delay: -.02s; }
.bf__body { stroke: var(--forest); stroke-width: 2.4; stroke-linecap: round; }
@keyframes wing { to { transform: scaleX(.2); } }
@keyframes drift { 0% { transform: translate(0, 0) rotate(-8deg); } 50% { transform: translate(-60px, 30px) rotate(6deg); } 100% { transform: translate(-20px, 70px) rotate(-4deg); } }

.table { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-top: 40px; }
.table__text p:not(.note) { color: var(--muted); }
.polaroids { display: flex; justify-content: center; align-items: flex-start; padding: 20px 0; }
.polaroid { --rot: -4deg; width: 34%; background: #fffdf8; padding: 10px 10px 12px; box-shadow: var(--shadow-2); transform: rotate(var(--rot)); transition: transform .5s var(--ease-out), box-shadow .5s; position: relative; }
.polaroid:nth-child(2) { --rot: 3deg; margin: 34px -14px 0; z-index: 1; }
.polaroid:nth-child(3) { --rot: -1.5deg; }
.polaroid:hover { transform: rotate(0) translateY(-8px) scale(1.04); z-index: 2; }
.polaroid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.polaroid figcaption { display: block; margin: 8px 0 0; text-align: center; color: var(--ink); font-size: 1.3rem; line-height: 1.05; transform: rotate(-1deg); }
.polaroid figcaption::after { display: none; }

/* =========================================================
   Gallery
   ========================================================= */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.filter { padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; cursor: pointer; font-size: 1rem; font-weight: 500; transition: background-color var(--t-med) var(--ease-out), color var(--t-med), border-color var(--t-med), transform var(--t-fast); }
.filter:hover { border-color: var(--sage); }
.filter:active { transform: scale(.96); }
.filter.is-active { background: var(--moss); border-color: var(--moss); color: var(--paper); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 220px); grid-auto-flow: dense; gap: 12px; }
.g { position: relative; padding: 0; border: 0; overflow: hidden; border-radius: var(--r-md); background: var(--line); cursor: zoom-in; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.g--wide { grid-column: span 2; }
.g--tall { grid-row: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(36, 51, 31, .45)); opacity: 0; transition: opacity .4s; }
.g::before { content: "+"; position: absolute; right: 14px; bottom: 12px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; line-height: 1; color: var(--forest); background: var(--card); opacity: 0; transform: scale(.6); transition: opacity .35s, transform .45s var(--ease-out); }
.g:hover img, .g:focus-visible img { transform: scale(1.06); }
.g:hover::after, .g:focus-visible::after { opacity: 1; }
.g:hover::before, .g:focus-visible::before { opacity: 1; transform: none; }
.g.is-out { opacity: 0; transform: scale(.94); }
.g.is-gone { display: none; }
.g.is-back { animation: rise .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }

/* =========================================================
   Reviews
   ========================================================= */
.reviews { background: var(--paper-2); overflow: hidden; }
.reviews .section { padding-bottom: 30px; }
.scores { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.score { display: flex; gap: 28px; align-items: center; padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.score:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.score__logo { height: 22px; width: auto; margin-bottom: 6px; }
.score__logo--airbnb { height: 30px; }
.score p { margin: 0 0 14px; color: var(--muted); font-size: .98rem; }
.score__body { flex: 1; min-width: 0; }
.ring { position: relative; width: 112px; height: 112px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--line); stroke-width: 7; }
.ring .ring__fill { stroke: var(--moss); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.8s var(--ease-out) .2s; }
.score.is-in .ring__fill { stroke-dashoffset: calc(326.7 * (1 - var(--val))); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; color: var(--forest); }
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 12px; font-size: .95rem; }
.bars i { display: block; height: 5px; border-radius: 5px; background: var(--line); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--honey); border-radius: 5px; transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out) .4s; }
.score.is-in .bars i::after { transform: scaleX(1); }
.bars b { font-variant-numeric: tabular-nums; color: var(--gold-ink); }
.loved__label { display: table; margin: 52px auto 0; }
.marquee { padding: 18px 0 64px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: marquee 64s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: flex; align-items: center; white-space: nowrap; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--forest); }
.marquee__track li::after { content: ""; width: 22px; height: 22px; margin: 0 clamp(18px, 3vw, 36px); background: var(--sage); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4.5 19.5C4 11 9 5 19.5 4.5 20 14 14 19.8 5.6 19.4'/%3E%3Cpath d='M4.5 19.5c3.6-4.8 7-7.6 10.6-9.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4.5 19.5C4 11 9 5 19.5 4.5 20 14 14 19.8 5.6 19.4'/%3E%3Cpath d='M4.5 19.5c3.6-4.8 7-7.6 10.6-9.6'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Location + wild neighbours
   ========================================================= */
.location { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.location__text > p:not(.note) { color: var(--muted); }
.dist { list-style: none; padding: 0; margin: 24px 0 28px; }
.dist li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.dist b { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--moss-dk); white-space: nowrap; }
.location__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.location__map { --rot: 1.2deg; aspect-ratio: 4 / 3.3; background: #fffdf8; padding: 10px; box-shadow: var(--shadow-2); transform: rotate(var(--rot)); }
.location__map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.18) saturate(.9); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding-top: 0; }
.faq__list { max-width: 840px; margin: 0 auto; border-top: 1px dashed var(--line); }
.faq__item { border-bottom: 1px dashed var(--line); }
.faq__item h3 { margin: 0; font-size: inherit; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; color: var(--forest); transition: color var(--t-fast); }
.faq__q:hover { color: var(--moss); }
.faq__q .ico { width: 32px; height: 32px; padding: 7px; border-radius: 50%; border: 1.5px solid var(--line); transition: transform .45s var(--ease-out), background-color .3s, border-color .3s, color .3s; }
.faq__q[aria-expanded="true"] .ico { transform: rotate(135deg); background: var(--moss); border-color: var(--moss); color: var(--paper); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 56px 24px 4px; color: var(--muted); opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: .1s; }

/* =========================================================
   Inquiry
   ========================================================= */
.inquiry { display: grid; grid-template-columns: 1fr 1fr; background: var(--forest); color: var(--paper); }
.inquiry__media { position: relative; min-height: 420px; overflow: hidden; }
.inquiry__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inquiry__promise { position: absolute; left: 28px; right: 28px; bottom: 28px; max-width: 420px; padding: 22px 26px 16px; border-radius: var(--r-md); background: rgba(252, 248, 239, .95); color: var(--ink); transform: rotate(-1deg); box-shadow: var(--shadow-2); }
.inquiry__promise p { margin: 0 0 4px; font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.4; }
.inquiry__promise .note { font-size: 1.6rem; color: var(--moss-dk); margin: 0; }
.inquiry__promise .note::after { display: none; }
.inquiry__panel { padding: clamp(56px, 7vw, 96px) clamp(24px, 6vw, 84px); }
.inquiry__panel h2 { color: var(--paper); }
.inquiry__panel > .note { color: var(--honey-lt); }
.inquiry__lead { color: rgba(246, 240, 227, .78); margin-bottom: 30px; }
.inquiry__alt { margin: 24px 0 0; font-size: 1rem; color: rgba(246, 240, 227, .7); text-align: center; }
.inquiry__alt a { color: var(--honey-lt); text-underline-offset: 3px; }

.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form__row--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(84px, .6fr); }
.form label { display: grid; gap: 6px; font-size: .95rem; font-weight: 700; color: var(--honey-lt); }
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%; min-width: 0; font: 400 1.05rem var(--sans); color: var(--paper);
  background: rgba(246, 240, 227, .07); border: 1.5px solid rgba(246, 240, 227, .2); border-radius: 12px;
  padding: 12px 14px; transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-med);
}
.form input:hover, .form select:hover, .form textarea:hover { border-color: rgba(246, 240, 227, .35); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--honey); background: rgba(246, 240, 227, .11); box-shadow: 0 0 0 4px rgba(224, 173, 79, .2); }
.form input[type="date"] { color-scheme: dark; }
.form select option { color: var(--ink); }
.form textarea { resize: vertical; min-height: 96px; }
.form textarea::placeholder { color: rgba(246, 240, 227, .42); }
.form .is-invalid { border-color: #e9937f !important; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.form__summary { margin: -4px 0 0; min-height: 1.4em; color: var(--honey-lt); }
.form__summary b { color: #fff; }
.form__check { display: flex !important; align-items: center; gap: 10px !important; font-weight: 400 !important; color: var(--paper) !important; cursor: pointer; }
.form__check input { width: 18px; height: 18px; accent-color: var(--honey); }
.form__hp { display: none; }
.form__status { min-height: 1.4em; margin: 0; text-align: center; color: #f3a896; }
.btn__spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(36, 51, 31, .3); border-top-color: var(--forest); border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .btn__spinner { display: block; }

.success { text-align: center; padding: 30px 10px; }
.success:focus { outline: none; }
.success__check { width: 84px; height: 84px; margin: 0 auto 20px; fill: none; stroke: var(--honey); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.success__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: dash .9s var(--ease-out) forwards; }
.success__check path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: dash .5s var(--ease-out) .7s forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.success h3 { color: var(--paper); font-size: 1.9rem; animation: rise .8s var(--ease-out) .5s both; }
.success p { color: rgba(246, 240, 227, .78); max-width: 420px; margin: 0 auto 24px; animation: rise .8s var(--ease-out) .65s both; }
.success .btn { animation: rise .8s var(--ease-out) .8s both; }

/* =========================================================
   Night footer
   ========================================================= */
.night { position: relative; background: var(--night); color: var(--paper); margin-top: 110px; padding: 0 var(--gutter) 30px; overflow-x: clip; }
.night::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 120px; background: url("../img/treeline.svg") left bottom / 1440px 120px repeat-x; pointer-events: none; }
.night__sky { position: absolute; inset: 0 0 auto; height: min(640px, 80vw); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.night__sky img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .7; }
.fireflies i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #ffe7a3; box-shadow: 0 0 10px 3px rgba(255, 220, 130, .7); opacity: 0; animation: glow 4s ease-in-out infinite, float 9s ease-in-out infinite alternate; }
.fireflies i:nth-child(1) { left: 8%; top: 62%; animation-delay: 0s, -2s; }
.fireflies i:nth-child(2) { left: 16%; top: 48%; animation-delay: 1.2s, -5s; }
.fireflies i:nth-child(3) { left: 27%; top: 70%; animation-delay: 2.1s, -1s; }
.fireflies i:nth-child(4) { left: 36%; top: 56%; animation-delay: .6s, -7s; }
.fireflies i:nth-child(5) { left: 47%; top: 74%; animation-delay: 3s, -3s; }
.fireflies i:nth-child(6) { left: 58%; top: 52%; animation-delay: 1.8s, -6s; }
.fireflies i:nth-child(7) { left: 66%; top: 66%; animation-delay: 2.6s, -4s; }
.fireflies i:nth-child(8) { left: 74%; top: 44%; animation-delay: .3s, -8s; }
.fireflies i:nth-child(9) { left: 82%; top: 70%; animation-delay: 3.4s, -2.5s; }
.fireflies i:nth-child(10) { left: 90%; top: 58%; animation-delay: 1.4s, -5.5s; }
.fireflies i:nth-child(11) { left: 41%; top: 40%; animation-delay: 2.4s, -3.5s; }
.fireflies i:nth-child(12) { left: 63%; top: 80%; animation-delay: .9s, -6.5s; }
@keyframes glow { 0%, 100% { opacity: 0; } 40%, 60% { opacity: 1; } }
@keyframes float { from { transform: translate(0, 0); } to { transform: translate(24px, -30px); } }
.night__intro { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: clamp(110px, 16vw, 220px) 0 clamp(60px, 8vw, 90px); text-align: center; }
/* soft dark halo so the text stays readable over the moonlit painting */
.night__intro::before { content: ""; position: absolute; inset: 22% -8% 4%; z-index: -1; background: radial-gradient(closest-side, rgba(15, 26, 22, .82), rgba(15, 26, 22, .55) 60%, transparent); }
.night__intro h2 { color: var(--paper); }
.night__intro .note { color: var(--honey-lt); }
.night__intro > p:not(.note) { color: rgba(246, 240, 227, .8); margin-bottom: 26px; }
.footer__inner { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; align-items: start; padding-top: 44px; border-top: 1px dashed rgba(246, 240, 227, .18); }
.footer__logo { width: 160px; }
.footer__col h3 { font-family: var(--hand); font-size: 1.6rem; font-weight: 600; color: var(--honey-lt); margin-bottom: 8px; }
.footer__col p { margin: 0; color: rgba(246, 240, 227, .75); }
.footer__links { display: grid; gap: 4px; }
.footer__links a { text-decoration: none; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out), color .2s; }
.footer__links a:hover { color: #fff; background-size: 100% 1px; }
.footer__copy { position: relative; max-width: var(--max); margin: 44px auto 0; padding-top: 20px; border-top: 1px dashed rgba(246, 240, 227, .18); font-size: .9rem; color: rgba(246, 240, 227, .55); }

/* =========================================================
   Mobile booking bar + lightbox
   ========================================================= */
.mbar { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 64px; background: rgba(15, 26, 22, .95); opacity: 0; transition: opacity .35s var(--ease-out); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__fig { max-width: 100%; display: grid; gap: 14px; justify-items: center; transform: scale(.96); transition: transform .45s var(--ease-out); }
.lightbox.is-open .lightbox__fig { transform: none; }
.lightbox__fig img { max-width: 100%; max-height: 80vh; width: auto; background: #fffdf8; padding: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transition: opacity .25s, transform .35s var(--ease-out); }
.lightbox__fig img.is-swapping { opacity: 0; transform: scale(.985); }
.lightbox__fig figcaption { color: rgba(246, 240, 227, .85); text-align: center; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(246, 240, 227, .08); border: 1px solid rgba(246, 240, 227, .2); color: #fff; cursor: pointer; transition: background-color var(--t-fast), transform var(--t-fast); }
.lightbox__btn:hover { background: var(--honey); color: var(--forest); border-color: var(--honey); }
.lightbox__btn:active { transform: scale(.94); }
.lightbox__btn .ico { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 16px; top: 50%; margin-top: -24px; }

/* =========================================================
   Scroll reveal (only when JS runs)
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* prints "develop" like a photo: sepia and soft, then sharp */
.js [data-reveal="print"] { opacity: 0; transform: translateY(30px) rotate(calc(var(--rot, 0deg) * 3)); filter: sepia(.9) blur(3px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), filter 1.6s ease .2s; transition-delay: calc(var(--i, 0) * 120ms); }
.js [data-reveal="print"].is-in { opacity: 1; transform: rotate(var(--rot, 0deg)); filter: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) { .nav__links { gap: 14px; } .nav__links a { font-size: .95rem; } }

@media (max-width: 1080px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1; background: var(--forest); color: var(--paper);
    flex-direction: column; justify-content: center; gap: 20px;
    clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease-io);
  }
  .nav__links a { font-family: var(--serif); font-size: 2rem; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease-out); }
  .nav.is-open .nav__links { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .nav.is-open .nav__links a { opacity: 1; transform: none; transition-delay: calc(.2s + var(--i, 0) * 50ms); }
  .nav.is-open { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.is-open .nav__mark--light { display: block; } .nav.is-open .nav__mark--dark { display: none; }
  .marks { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .scores { grid-template-columns: 1fr; max-width: 560px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .story, .location, .inquiry, .eco__inner, .table { grid-template-columns: 1fr; }
  .story__board { max-width: 560px; margin: 0 auto; width: 100%; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts__item:nth-child(n+4) { border-top: 1px dashed rgba(246, 240, 227, .14); }
  .amenities { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .tour__panel img { aspect-ratio: 4 / 3; }
  .tour__text { position: static; max-width: none; border-radius: 0; background: var(--card); box-shadow: none; }

  .hero { padding-bottom: 40px; justify-content: flex-end; }
  .hero__content { margin-top: auto; }
  .quick { position: relative; left: auto; bottom: auto; transform: none; margin-top: 26px; width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .quick__field--sm { grid-column: 1 / -1; }
  .quick__btn { grid-column: 1 / -1; padding-block: 16px; }
  .hero.is-loaded .quick { animation-name: rise; }

  .mbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90;
    padding: 8px 8px 8px 18px; border-radius: 999px; color: var(--paper);
    background: rgba(36, 51, 31, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .55);
    transform: translateY(160%); transition: transform .6s var(--ease-out);
  }
  .mbar.is-visible { transform: none; }
  .mbar__info b { color: var(--honey); }
  .night { padding-bottom: 100px; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .nav__brand span { display: none; }
  .nav__cta { display: none; }
  .hero__badges li { font-size: .85rem; padding: 6px 12px 6px 10px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts__item:last-child { grid-column: 1 / -1; }
  .facts__item:nth-child(n+3) { border-top: 1px dashed rgba(246, 240, 227, .14); }
  .story__fern { width: 130px; height: 130px; left: -30px; top: 10px; }
  .print--b { width: 64%; margin-top: -48px; }
  .stamp { width: 108px; height: 108px; }
  .stamp text { font-size: 16px; }
  .stamp img { width: 40px; }
  .mark { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 26px 22px; }
  .mark__art { width: 128px; height: 128px; }
  .emblem { width: 128px; height: 128px; }
  .rated__label { width: 100%; text-align: center; }
  .practices, .leaves, .form__row, .form__row--3 { grid-template-columns: 1fr; }
  .polaroid { width: 33%; padding: 6px 6px 8px; }
  .polaroid:nth-child(2) { margin: 22px -6px 0; }
  .polaroid figcaption { font-size: 1.05rem; margin-top: 5px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 8px; }
  .g--tall { grid-row: span 1; }
  .tour__tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; }
  .tour__tabs::-webkit-scrollbar { display: none; }
  .tour__tabs button { flex: none; }
  .score { flex-direction: column; text-align: center; padding: 24px 20px; }
  .bars li { text-align: left; }
  .faq__a p { padding-right: 4px; }
  .footer__inner { grid-template-columns: 1fr; }
  .lightbox { padding: 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; margin: 0; }
  .lightbox__prev { left: calc(50% - 60px); } .lightbox__next { right: calc(50% - 60px); }
  .inquiry__promise { left: 16px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .flock, .bee, .butterfly, .fireflies { display: none; }
}
