/* ==========================================================================
   Kindertagespflege Kükenbande — main stylesheet
   No framework, no build step. Sections are in page order.
   ========================================================================== */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-var-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #f1eee8;
  --bg-2: #e9e5dd;
  --card: #fbfaf7;
  --ink: #161513;
  --ink-2: #4d4a43;
  --ink-3: #6e695f;
  --line: rgba(22, 21, 19, 0.1);
  --line-2: rgba(22, 21, 19, 0.16);
  --yolk: #f4c430;
  --yolk-2: #f9dc7a;
  --yolk-soft: #fbefc6;
  --beak: #e8782e;
  --sage: #7d9768;
  --sage-2: #a9bb95;
  --moss: #232f1f;
  --moss-2: #2e3c29;
  --cream: #f6f1e6;

  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(0.2, 0.75, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1280px;
  --section-y: clamp(96px, 13vw, 190px);

  color-scheme: light;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  transition: background-color 0.9s var(--ease);
  scroll-padding-top: 96px;
}
html[data-theme="moss"] { background: var(--moss); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: clip;
}

main { overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--yolk); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
[data-theme-scope="moss"] :focus-visible,
.on-dark :focus-visible { outline-color: var(--yolk); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  left: 16px; top: 16px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
.display,
.h2 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 0.94;
  text-wrap: balance;
}
.display { font-size: clamp(3.1rem, 9.2vw, 8.6rem); }
.h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
.h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
  font-weight: 700;
}
.display em,
.h2 em,
.h3 em,
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.display em, .h2 em { padding-right: 0.04em; }

.lead {
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: -0.012em;
  max-width: 38em;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink-2);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 10px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--yolk);
  box-shadow: 0 0 0 4px rgba(244, 196, 48, 0.22);
}
.eyebrow--pill {
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.eyebrow--pill::before { display: none; }
.eyebrow__chick { width: 26px; height: 26px; object-fit: contain; }

.section-head { text-align: center; display: grid; justify-items: center; gap: 0; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head .lead { margin: 26px auto 0; }
.section-head--left { text-align: left; justify-items: start; }
.section-head--left .lead { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), background-color 0.3s;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 10px 30px -12px rgba(22, 21, 19, 0.45);
  will-change: transform;
}
.btn:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 18px 40px -14px rgba(22, 21, 19, 0.55); }
.btn:active { transform: scale(0.97); }
.btn--light { --btn-bg: var(--card); --btn-fg: var(--ink); box-shadow: 0 0 0 1px var(--line) inset, 0 10px 30px -16px rgba(22, 21, 19, 0.3); }
.btn--yolk { --btn-bg: var(--yolk); --btn-fg: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }

/* label wrapper (kept for markup compatibility) */
.btn__roll { display: inline-block; line-height: 1.3; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn__icon {
  width: 18px; height: 18px;
  flex: none;
  transition: transform 0.55s var(--ease-out);
}
.btn:hover .btn__icon { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  padding: 14px 6px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 10px);
  transition: background-size 0.5s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease-out); }
.link-arrow:hover svg { transform: translate(2px, 2px); }

/* ---------- Tags ---------- */
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: transform 0.45s var(--ease-spring), background-color 0.3s, border-color 0.3s;
}
.tag:hover { transform: translateY(-2px) rotate(-1.5deg); border-color: var(--line-2); }
.tag__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.tag__dot--yolk { background: var(--yolk); }
.tag__dot--beak { background: var(--beak); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-inline: 12px;
  pointer-events: none;
  transition: transform 0.6s var(--ease-out), opacity 0.4s;
}
.nav.is-hidden { transform: translateY(-140%); }
.nav__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  width: max-content;
  max-width: 100%;
  padding: 7px 7px 7px 10px;
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.74);
  border: 1px solid rgba(22, 21, 19, 0.06);
  box-shadow: 0 10px 40px -12px rgba(22, 21, 19, 0.18), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.045em;
  font-size: 1.12rem;
  padding: 2px 6px 2px 2px;
  border-radius: 999px;
}
.nav__logo { width: 62px; height: 31px; object-fit: contain; transition: transform 0.6s var(--ease-spring); }
.nav__brand:hover .nav__logo { transform: rotate(-6deg) scale(1.06); }
.nav__links {
  position: relative;
  display: flex;
  list-style: none;
  gap: 2px;
}
.nav__links a {
  position: relative;
  z-index: 1;
  display: block;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--ink-2);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.nav__links a:hover,
.nav__links a[aria-current="true"] { color: var(--ink); }
.nav__indicator {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: rgba(22, 21, 19, 0.065);
  opacity: 0;
  transition: transform 0.55s var(--ease-out), width 0.55s var(--ease-out), opacity 0.3s;
  pointer-events: none;
}
.nav__menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}
.nav__burger { position: relative; width: 16px; height: 10px; }
.nav__burger::before,
.nav__burger::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1.6px; border-radius: 2px;
  background: currentColor;
  transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}
.nav__burger::before { top: 1px; }
.nav__burger::after { top: 7px; }
.nav__menu-btn[aria-expanded="true"] .nav__burger::before { top: 4px; transform: rotate(45deg); }
.nav__menu-btn[aria-expanded="true"] .nav__burger::after { top: 4px; transform: rotate(-45deg); }

/* Mobile menu: compact card dropping down from the nav */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: 84px 12px 12px;
  background: rgba(22, 21, 19, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0s linear 0.35s;
}
.sheet.is-open { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease-out), visibility 0s; }
.sheet__panel {
  max-width: 480px;
  margin: 0 auto;
  max-height: calc(100vh - 96px);
  max-height: calc(100svh - 96px);
  overflow-y: auto;
  padding: 10px 10px 18px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(22, 21, 19, 0.45);
  transform: translateY(-12px) scale(0.98);
  transform-origin: 50% 0;
  transition: transform 0.45s var(--ease-out);
}
.sheet.is-open .sheet__panel { transform: none; }
.sheet__links { list-style: none; display: grid; margin-bottom: 14px; }
.sheet__links li + li { border-top: 1px solid var(--line); }
.sheet__links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  border-radius: 14px;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-decoration: none;
  transition: background-color 0.2s;
}
.sheet__links a:hover, .sheet__links a:focus-visible { background: var(--bg); }
.sheet__links a span {
  order: -1;
  width: 26px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.sheet__links a::after {
  content: "";
  margin-left: auto;
  width: 8px; height: 8px;
  border-top: 1.6px solid var(--ink-3);
  border-right: 1.6px solid var(--ink-3);
  transform: rotate(45deg);
}
.sheet__foot { display: grid; gap: 12px; padding: 0 8px; color: var(--ink-2); font-size: 0.9rem; }
.sheet__foot p { margin: 0; text-align: center; }
.sheet__foot .btn { width: 100%; }

@media (max-width: 1180px) {
  .nav__bar { gap: 8px; }
  .nav__links a { padding: 8px 10px; font-size: 0.88rem; }
}
@media (max-width: 1000px) {
  .nav__cta { display: none; }
}
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__menu-btn { display: inline-flex; }
  .nav__bar { width: 100%; justify-content: space-between; max-width: 480px; padding: 5px 5px 5px 8px; }
  .nav__brand { font-size: 1rem; }
  .nav__logo { width: 52px; height: 26px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(128px, 17vh, 190px);
  overflow: clip;
  --hp: 0;
}
.hero__content {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translate3d(0, calc(var(--hp) * -70px), 0);
  opacity: calc(1 - var(--hp) * 1.1);
}
.hero__h1 { display: grid; justify-items: center; margin: 0; font-weight: inherit; }
.hero__h1 .eyebrow { margin-bottom: 22px; }
.hero__title { display: block; max-width: 11ch; }
.hero__lead { margin: 28px auto 0; text-align: center; max-width: 34em; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
  margin-top: 34px;
}
.hero__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin-top: 30px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-3);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 560px) {
  .hero__meta { gap: 8px; }
  .hero__meta li { padding: 6px 12px; border-radius: 999px; background: rgba(251, 250, 247, 0.6); border: 1px solid var(--line); }
  .hero__meta li + li::before { display: none; }
}
.hero__meta li + li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  margin-right: 14px;
}

/* --- scenery --- */
.scene {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: clamp(240px, 36vh, 380px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.scene__glow {
  position: absolute;
  left: 50%; top: 4%;
  width: min(1200px, 120vw);
  aspect-ratio: 1.8;
  transform: translateX(-50%);
  background:
    radial-gradient(40% 46% at 62% 40%, rgba(255, 214, 140, 0.62), rgba(255, 214, 140, 0) 70%),
    radial-gradient(50% 60% at 30% 50%, rgba(255, 239, 205, 0.7), rgba(255, 239, 205, 0) 70%);
  filter: blur(10px);
}
.scene__layer {
  position: absolute;
  left: -4%; right: -4%;
  bottom: 0;
  height: 100%;
  will-change: transform;
}
.scene__layer svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__layer--1 { transform: translate3d(0, calc(var(--hp) * 40px), 0); }
.scene__layer--2 { transform: translate3d(0, calc(var(--hp) * 90px), 0); }
.scene__layer--3 { transform: translate3d(0, calc(var(--hp) * 150px), 0); }
.scene__layer--4 { transform: translate3d(0, calc(var(--hp) * 220px), 0); }
.scene__mist {
  position: absolute;
  width: 60%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  filter: blur(8px);
  animation: mist 38s ease-in-out infinite alternate;
}
.scene__mist--a { left: -10%; top: 30%; }
.scene__mist--b { right: -14%; top: 40%; animation-duration: 46s; animation-delay: -12s; }
.scene__mist--c { left: 24%; top: 52%; width: 50%; animation-duration: 52s; animation-delay: -24s; opacity: 0.8; }
@keyframes mist {
  from { transform: translate3d(-6%, 0, 0) scale(1); }
  to { transform: translate3d(8%, -4%, 0) scale(1.12); }
}
.scene__fade {
  position: absolute;
  left: 0; right: 0;
  pointer-events: none;
}
.scene__fade--top { top: -1px; height: 38%; background: linear-gradient(var(--bg), rgba(241, 238, 232, 0)); }
.scene__fade--bottom { bottom: -1px; height: 42%; background: linear-gradient(rgba(241, 238, 232, 0), var(--bg) 82%); }

.feather {
  position: absolute;
  width: 26px;
  opacity: 0;
  color: #fffaf0;
  filter: drop-shadow(0 6px 8px rgba(80, 70, 40, 0.16));
  animation: feather 18s linear infinite;
}
.feather--1 { left: 18%; animation-delay: -2s; }
.feather--2 { left: 72%; width: 20px; animation-delay: -9s; animation-duration: 22s; }
.feather--3 { left: 46%; width: 16px; animation-delay: -15s; animation-duration: 26s; }
@keyframes feather {
  0% { transform: translate3d(0, -10vh, 0) rotate(-20deg); opacity: 0; }
  10% { opacity: 0.95; }
  25% { transform: translate3d(40px, 12vh, 0) rotate(25deg); }
  50% { transform: translate3d(-30px, 32vh, 0) rotate(-15deg); }
  75% { transform: translate3d(36px, 52vh, 0) rotate(30deg); }
  90% { opacity: 0.85; }
  100% { transform: translate3d(-10px, 70vh, 0) rotate(-10deg); opacity: 0; }
}

/* --- porcelain eggs (the reference's floating rocks, reimagined) --- */
.eggs { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.egg-wrap {
  position: absolute;
  --s: clamp(120px, 17vw, 270px);
  width: var(--s);
  will-change: transform;
}
.egg-wrap--left {
  left: calc(var(--s) * -0.18);
  top: clamp(520px, 74vh, 760px);
  transform: translate3d(calc(var(--hp) * -90px), calc(var(--hp) * -160px), 0) rotate(calc(-14deg - var(--hp) * 16deg));
}
.egg-wrap--right {
  --s: clamp(140px, 21vw, 330px);
  right: calc(var(--s) * -0.16);
  top: clamp(440px, 64vh, 660px);
  transform: translate3d(calc(var(--hp) * 100px), calc(var(--hp) * -220px), 0) rotate(calc(12deg + var(--hp) * 14deg));
}
.egg {
  position: relative;
  width: 100%;
  aspect-ratio: 0.78;
  animation: bob 7s ease-in-out infinite;
}
.egg-wrap--right .egg { animation-duration: 8.5s; animation-delay: -3s; }
@keyframes bob {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -14px, 0) rotate(2.5deg); }
}
.egg__body {
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background:
    radial-gradient(120% 90% at 32% 22%, #ffffff 0%, #fbf8f2 20%, #efe8dc 50%, #ddd1bd 78%, #c9bba2 100%);
  box-shadow:
    inset calc(var(--s) * -0.08) calc(var(--s) * -0.1) calc(var(--s) * 0.18) rgba(140, 112, 72, 0.3),
    inset calc(var(--s) * 0.04) calc(var(--s) * 0.04) calc(var(--s) * 0.1) rgba(255, 255, 255, 0.95),
    0 calc(var(--s) * 0.18) calc(var(--s) * 0.24) calc(var(--s) * -0.1) rgba(70, 60, 35, 0.32);
  overflow: hidden;
}
.egg__body::before {
  content: "";
  position: absolute;
  left: 22%; top: 12%;
  width: 26%; height: 18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  transform: rotate(-24deg);
}
.egg__body::after {
  /* faint speckles for a natural shell */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 70% 60%, rgba(150, 120, 80, 0.12) 0 1.5px, transparent 2px),
    radial-gradient(circle at 40% 75%, rgba(150, 120, 80, 0.1) 0 1px, transparent 1.5px),
    radial-gradient(circle at 60% 30%, rgba(150, 120, 80, 0.08) 0 1px, transparent 1.5px);
  background-size: 37px 41px, 29px 23px, 43px 31px;
  opacity: 0.8;
}
.egg__crack { position: absolute; inset: 0; width: 100%; height: 100%; }
.egg__glow {
  position: absolute;
  left: 8%; right: 8%; top: 38%;
  height: 14%;
  background: radial-gradient(closest-side, rgba(244, 196, 48, 0.45), rgba(244, 196, 48, 0));
  filter: blur(6px);
  animation: glow 3.6s ease-in-out infinite;
}
@keyframes glow { 50% { opacity: 0.4; } }

/* --- frame (the reference's rising device, as a window into our courtyard) --- */
.frame-wrap {
  position: relative;
  z-index: 2;
  margin-top: clamp(64px, 10vh, 120px);
  padding-inline: var(--gutter);
  perspective: 1600px;
  --fp: 0;
}
.frame {
  position: relative;
  width: min(1240px, 100%);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: clamp(22px, 3vw, 38px);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(22, 21, 19, 0.06),
    0 0 0 clamp(6px, 0.8vw, 10px) rgba(251, 250, 247, 0.7),
    0 60px 120px -40px rgba(40, 36, 24, 0.45),
    0 30px 60px -30px rgba(40, 36, 24, 0.3);
  transform-origin: 50% 0%;
  transform: translate3d(0, calc((1 - var(--fp)) * 60px), 0) rotateX(calc((1 - var(--fp)) * 16deg)) scale(calc(0.88 + var(--fp) * 0.12));
  will-change: transform;
}
.yard { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame { background: #f6efdf; }

/* illustrated courtyard – gentle, looping life */
.yard-cloud { animation: yard-drift 70s linear infinite; }
.yard-cloud--b { animation-duration: 90s; animation-delay: -40s; }
@keyframes yard-drift { from { transform: translateX(-220px); } to { transform: translateX(1700px); } }
.yard-sun { transform-box: fill-box; transform-origin: center; animation: pulse 5s ease-in-out infinite; }
.yard-canopy { transform-box: view-box; transform-origin: 808px 330px; animation: yard-sway 6s ease-in-out infinite; }
@keyframes yard-sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
.yard-swing { transform-box: view-box; transform-origin: 283px 478px; animation: yard-swing 3.4s ease-in-out infinite; }
@keyframes yard-swing { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
.yard-walk { animation: yard-walk 34s linear infinite; }
.yard-walk--2 { animation-delay: -1.3s; }
.yard-walk--3 { animation-delay: -2.4s; }
@keyframes yard-walk { from { transform: translateX(-140px); } to { transform: translateX(1760px); } }
.yard-hop { animation: yard-hop 0.45s ease-in-out infinite alternate; }
.yard-walk--2 .yard-hop { animation-delay: -0.15s; }
.yard-walk--3 .yard-hop { animation-delay: -0.3s; animation-duration: 0.38s; }
@keyframes yard-hop { from { transform: translateY(0); } to { transform: translateY(-9px); } }
.yard-peck { transform-box: fill-box; transform-origin: 50% 100%; animation: yard-peck 3.2s ease-in-out infinite; }
@keyframes yard-peck { 0%, 40%, 100% { transform: rotate(0); } 48%, 56% { transform: rotate(24deg); } 52% { transform: rotate(18deg); } 64% { transform: rotate(0); } }
.yard-wobble { transform-box: fill-box; transform-origin: 50% 100%; animation: yard-wobble 4s ease-in-out infinite; }
@keyframes yard-wobble { 0%, 60%, 100% { transform: rotate(0); } 66% { transform: rotate(-9deg); } 72% { transform: rotate(8deg); } 78% { transform: rotate(-5deg); } 84% { transform: rotate(3deg); } }
.yard-hatch { animation: yard-hatch 7s var(--ease-spring) infinite; }
@keyframes yard-hatch { 0%, 12% { transform: translateY(34px); } 24%, 78% { transform: translateY(0); } 90%, 100% { transform: translateY(34px); } }
.yard-peek { animation: yard-peek 9s var(--ease-spring) infinite; animation-delay: -3s; }
@keyframes yard-peek { 0%, 20% { transform: translateY(56px); } 30%, 62% { transform: translateY(0); } 72%, 100% { transform: translateY(56px); } }
.yard-fly { animation: yard-fly 16s ease-in-out infinite; }
@keyframes yard-fly {
  0% { transform: translate(0, 0); } 20% { transform: translate(120px, -90px); } 40% { transform: translate(300px, -30px); }
  60% { transform: translate(420px, -140px); } 80% { transform: translate(180px, -60px); } 100% { transform: translate(0, 0); }
}
.yard-wing { transform-box: fill-box; transform-origin: 100% 50%; animation: yard-flap 0.22s ease-in-out infinite alternate; }
.yard-wing--r { transform-origin: 0% 50%; }
@keyframes yard-flap { to { transform: scaleX(0.25); } }

@media (max-width: 900px) {
  .frame { aspect-ratio: 4 / 3.3; }
}

/* ==========================================================================
   Intro statement (word-by-word light-up)
   ========================================================================== */
.intro { padding-block: var(--section-y) calc(var(--section-y) * 0.8); }
.intro__inner { display: grid; justify-items: center; text-align: center; }
.statement {
  max-width: 21em;
  margin: 0 auto 56px;
  font-size: clamp(1.9rem, 4.3vw, 3.85rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.1;
  text-wrap: balance;
}
.statement .w { transition: opacity 0.35s linear, color 0.35s; }
.js-motion .statement .w { opacity: 0.16; }
.js-motion .statement .w.is-lit { opacity: 1; }
.statement em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.inline-img {
  display: inline-block;
  width: 1.9em; height: 0.92em;
  margin: 0 0.08em;
  vertical-align: -0.08em;
  border-radius: 999px;
  overflow: hidden;
  transform: rotate(-3deg);
  box-shadow: 0 8px 20px -10px rgba(22, 21, 19, 0.5);
  transition: transform 0.6s var(--ease-spring);
}
.inline-img:nth-of-type(2n) { transform: rotate(3deg); }
.inline-img img { width: 100%; height: 100%; object-fit: cover; }
.inline-img:hover { transform: rotate(0) scale(1.12); }

/* ==========================================================================
   About
   ========================================================================== */
.about { padding-block: calc(var(--section-y) * 0.5) var(--section-y); }
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.about__text .h2 { margin-bottom: 34px; }
.about__text p { color: var(--ink-2); font-size: 1.12rem; max-width: 33em; }
.about__text p strong { color: var(--ink); font-weight: 650; }
.about__visual { position: relative; aspect-ratio: 1 / 1.08; }
.about__photo {
  position: absolute;
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: 0 40px 80px -40px rgba(40, 36, 24, 0.5);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--a { left: 0; top: 0; width: 74%; aspect-ratio: 4 / 4.6; }
.about__photo--b { right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 4.4; border: 8px solid var(--bg); border-radius: calc(var(--r-xl) + 8px); }
.badge {
  position: absolute;
  left: 50%; top: 56%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -20px rgba(40, 36, 24, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translate(-62%, -50%) rotate(-4deg);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.2;
  white-space: nowrap;
}
.badge img { width: 40px; height: 40px; object-fit: contain; }
.badge small { display: block; font-weight: 500; color: var(--ink-3); font-size: 0.78rem; }

.creds {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: clamp(56px, 7vw, 96px);
}
.cred {
  padding: 28px 28px 30px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.cred:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(40, 36, 24, 0.4); }
.cred__big {
  display: block;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
  margin-bottom: 18px;
}
.cred__big em { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
.cred__icon { width: 44px; height: 44px; margin-bottom: 22px; color: var(--ink); }
.cred h3 { font-size: 1.08rem; letter-spacing: -0.025em; margin-bottom: 4px; }
.cred p { margin: 0; color: var(--ink-3); font-size: 0.95rem; }

@media (max-width: 560px) {
  .badge { left: 0; top: auto; bottom: 8%; transform: rotate(-4deg); }
}
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .creds { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Concept bento
   ========================================================================== */
.concept { padding-block: var(--section-y); }
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 30px;
  border-radius: var(--r-xl);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 40px 80px -48px rgba(40, 36, 24, 0.45); }
.card--wide { grid-column: span 2; }
.card--full { grid-column: 1 / -1; }
.card__art {
  position: relative;
  height: clamp(190px, 18vw, 240px);
  border-radius: calc(var(--r-xl) - 10px);
  background: var(--bg);
  overflow: hidden;
  margin-bottom: 26px;
}
.card__body { padding-inline: 16px; }
.card__kicker { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ink-3); margin-bottom: 10px; letter-spacing: 0; }
.card h3 { margin-bottom: 12px; }
.card p { margin: 0; color: var(--ink-2); max-width: 34em; }

/* art: topics */
.art-topics {
  position: absolute; inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 12px 10px;
  padding: 18px clamp(16px, 5%, 60px);
}
.chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px -14px rgba(40, 36, 24, 0.35);
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip:nth-child(1) { animation-delay: -1s; }
.chip:nth-child(2) { animation-delay: -3s; background: var(--yolk); border-color: transparent; }
.chip:nth-child(3) { animation-delay: -2s; }
.chip:nth-child(4) { animation-delay: -4s; background: var(--ink); color: var(--cream); }
.chip:nth-child(5) { animation-delay: -5s; }
.chip:nth-child(6) { animation-delay: -2.5s; background: var(--sage-2); border-color: transparent; }
@keyframes float {
  0%, 100% { translate: 0 0; rotate: -3deg; }
  50% { translate: 0 -10px; rotate: 3deg; }
}

/* art: equalizer */
.art-eq { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; }
.art-eq i {
  width: 14px;
  height: 90px;
  border-radius: 999px;
  background: var(--ink);
  transform-origin: 50% 100%;
  animation: eq 1.4s ease-in-out infinite;
}
.art-eq i:nth-child(2) { animation-delay: -0.3s; background: var(--yolk); }
.art-eq i:nth-child(3) { animation-delay: -0.6s; }
.art-eq i:nth-child(4) { animation-delay: -0.9s; background: var(--sage); }
.art-eq i:nth-child(5) { animation-delay: -1.2s; }
.art-eq i:nth-child(6) { animation-delay: -0.45s; background: var(--beak); }
.art-eq i:nth-child(7) { animation-delay: -0.75s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.25); }
  50% { transform: scaleY(1); }
}
.art-eq__note { position: absolute; width: 30px; color: var(--ink); animation: note 3.2s ease-in-out infinite; }
.art-eq__note--a { left: 18%; top: 22%; }
.art-eq__note--b { right: 16%; top: 30%; width: 24px; animation-delay: -1.6s; color: var(--beak); }
@keyframes note {
  0%, 100% { transform: translateY(6px) rotate(-8deg); opacity: 0.4; }
  50% { transform: translateY(-10px) rotate(8deg); opacity: 1; }
}

/* art: drawing strokes */
.art-draw { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-draw path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 7s var(--ease) infinite;
}
.art-draw path:nth-child(2) { animation-delay: 0.6s; }
.art-draw path:nth-child(3) { animation-delay: 1.2s; }
.art-draw path:nth-child(4) { animation-delay: 1.8s; }
@keyframes draw {
  0% { stroke-dashoffset: 1; }
  40%, 75% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1; }
}

/* art: bowl + steam */
.art-bowl { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-bowl .steam {
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
  animation: steam 2.4s linear infinite;
  opacity: 0.55;
}
.art-bowl .steam:nth-of-type(2) { animation-delay: -0.8s; }
.art-bowl .steam:nth-of-type(3) { animation-delay: -1.6s; }
@keyframes steam { to { stroke-dashoffset: -32; } }
.art-bowl .leaf { transform-box: fill-box; transform-origin: 0% 100%; animation: sway 3s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(-12deg); } }

/* art: morning circle */
.art-circle { position: absolute; inset: 0; display: grid; place-items: center; }
.art-circle__ring {
  position: relative;
  width: 168px; height: 168px;
  border-radius: 50%;
  border: 1.5px dashed var(--line-2);
  animation: spin 28s linear infinite;
}
.art-circle__ring i {
  position: absolute;
  left: 50%; top: 50%;
  width: 26px; height: 32px;
  margin: -16px 0 0 -13px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--yolk);
  box-shadow: inset -4px -5px 8px rgba(160, 110, 0, 0.25);
  transform: rotate(calc(var(--i) * 72deg)) translateY(-84px) rotate(calc(var(--i) * -72deg));
}
.art-circle__ring i:nth-child(1) { --i: 0; }
.art-circle__ring i:nth-child(2) { --i: 1; }
.art-circle__ring i:nth-child(3) { --i: 2; }
.art-circle__ring i:nth-child(4) { --i: 3; }
.art-circle__ring i:nth-child(5) { --i: 4; }
.art-circle__sun {
  position: absolute;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe7a3, var(--beak));
  box-shadow: 0 0 0 10px rgba(244, 196, 48, 0.18), 0 0 0 22px rgba(244, 196, 48, 0.08);
  animation: pulse 3.6s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.08); } }

/* art: settling-in path */
.art-steps {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  padding: 0 clamp(18px, 4vw, 60px);
}
.art-steps__line {
  position: absolute;
  left: clamp(40px, 9vw, 140px); right: clamp(40px, 9vw, 140px);
  top: 50%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px);
}
.art-steps__line::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 27px;
  margin-top: -14px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--yolk);
  box-shadow: inset -4px -5px 8px rgba(160, 110, 0, 0.25), 0 6px 14px -6px rgba(160, 110, 0, 0.6);
  animation: travel 7s var(--ease) infinite;
}
@keyframes travel {
  0%, 8% { left: 0; }
  38%, 46% { left: calc(50% - 11px); }
  80%, 100% { left: calc(100% - 22px); }
}
.art-step {
  position: relative;
  z-index: 1;
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  margin-top: 90px;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.art-step b {
  position: absolute;
  top: -82px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line-2);
  font-size: 0.85rem;
}

@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card--wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .art-step { font-size: 0.74rem; }
}

/* ==========================================================================
   Marquee band
   ========================================================================== */
.band {
  padding-block: clamp(24px, 4vw, 48px);
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.marquee { display: flex; width: max-content; }
.marquee__track {
  display: flex;
  align-items: center;
  flex: none;
  gap: clamp(28px, 4vw, 56px);
  padding-right: clamp(28px, 4vw, 56px);
  animation: marquee 48s linear infinite;
}
.band .marquee__track span {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.1;
  white-space: nowrap;
}
.band .marquee__track span:nth-child(4n + 3) { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.band .marquee__track .egg-glyph {
  width: clamp(26px, 3vw, 42px);
  height: auto;
  aspect-ratio: 0.78;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 34% 28%, #fff7d6, var(--yolk) 55%, #e2a910);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   Rooms (sticky scrollytelling)
   ========================================================================== */
.rooms { padding-block: var(--section-y) calc(var(--section-y) * 0.6); }
.rooms__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 100px);
}
.rooms__media {
  position: sticky;
  top: max(96px, 12vh);
  height: min(76vh, 720px);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-2);
}
.room-shot {
  position: absolute; inset: 0;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s var(--ease-out);
}
.room-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  transition: transform 1.6s var(--ease-out);
}
.room-shot.is-active,
.room-shot.is-past { clip-path: inset(0 0 0 0); }
.room-shot.is-active img { transform: scale(1); }
.room-shot.is-past img { transform: scale(1.04); }
.rooms__counter {
  position: absolute;
  left: 18px; bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: rgba(24, 22, 18, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-variant-numeric: tabular-nums;
}
.rooms__counter b {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--yolk);
  color: var(--ink);
  font-size: 0.8rem;
}
.rooms__bar { width: 64px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.rooms__bar i { display: block; height: 100%; width: 25%; background: #fff; border-radius: inherit; transition: width 0.8s var(--ease-out); }

.rooms__chapters { list-style: none; }
.chapter {
  min-height: 78vh;
  display: grid;
  align-content: center;
  padding-block: 40px;
}
.chapter:first-child { min-height: 64vh; align-content: start; padding-top: 12vh; }
.chapter__num {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.chapter h3 { font-size: clamp(2rem, 3.6vw, 3.1rem); letter-spacing: -0.05em; line-height: 1; margin-bottom: 22px; }
.chapter p { color: var(--ink-2); font-size: 1.1rem; max-width: 28em; }
.chapter__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chapter__img { display: none; }
.chapter { opacity: 0.32; transition: opacity 0.6s; }
.chapter.is-active { opacity: 1; }
.no-js .chapter, .reduced .chapter { opacity: 1; }

@media (max-width: 900px) {
  .rooms__grid { grid-template-columns: 1fr; }
  .rooms__media { display: none; }
  .chapter, .chapter:first-child { min-height: 0; padding-block: 0 64px; opacity: 1; }
  .chapter__img {
    display: block;
    aspect-ratio: 4 / 3.2;
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 26px;
  }
  .chapter__img img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- Gallery marquee ---------- */
.gallery { padding-bottom: var(--section-y); overflow: hidden; }
.gallery__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.gallery__head .h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.gallery__head p { margin: 0; color: var(--ink-3); font-size: 0.95rem; }
.gallery .marquee__track { gap: 14px; padding-right: 14px; animation-duration: 70s; }
.gallery:hover .marquee__track,
.gallery:focus-within .marquee__track { animation-play-state: paused; }
.shot {
  position: relative;
  flex: none;
  width: clamp(260px, 30vw, 440px);
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
  cursor: zoom-in;
}
.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), filter 0.6s;
}
.shot:hover img { transform: scale(1.06); }
.shot__cap {
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
}
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh;
  max-width: none; max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
}
.lightbox::backdrop { background: rgba(14, 13, 11, 0.9); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; animation: fade-in 0.4s var(--ease-out); }
.lightbox__fig { margin: 0; display: grid; gap: 14px; justify-items: center; padding: 64px 16px; }
.lightbox__img {
  max-width: min(92vw, 1280px);
  max-height: calc(100vh - 180px);
  width: auto;
  border-radius: var(--r-md);
  object-fit: contain;
}
.lightbox__cap { font-weight: 600; letter-spacing: -0.015em; }
.lightbox__btn {
  position: fixed;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.4s var(--ease-out);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.18); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn--close { top: 18px; right: 18px; }
.lightbox__btn--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 18px; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } }

/* ==========================================================================
   Outdoors (moss theme + foliage cursor)
   ========================================================================== */
.outdoors {
  position: relative;
  padding-block: var(--section-y);
  background: var(--moss);
  color: var(--cream);
  overflow: clip;
  isolation: isolate;
}
.js-motion .outdoors {
  clip-path: inset(0 calc(var(--oi, 0) * 1px) round calc(var(--or, 0) * 1px));
  will-change: clip-path;
}
.outdoors .eyebrow { color: rgba(246, 241, 230, 0.78); }
.outdoors .lead { color: rgba(246, 241, 230, 0.78); }
.outdoors .tag { background: rgba(246, 241, 230, 0.08); border-color: rgba(246, 241, 230, 0.16); color: var(--cream); }
.outdoors .tag__dot { background: var(--sage-2); }
.foliage {
  position: sticky;
  top: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100vh;
  margin-bottom: -100vh;
  margin-top: calc(var(--section-y) * -1);
  pointer-events: none;
}
.outdoors__head,
.outdoors__text { position: relative; z-index: 2; }
.outdoors__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(28px, 3.5vw, 48px); }
.outdoors__head .lead { margin: 0; }
.outdoors__stage { position: relative; z-index: 0; }
.outdoors__main {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.outdoors__main img {
  position: absolute;
  inset: -4% 0;
  width: 100%;
  height: 108%;
  object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
.outdoors__pair {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 14px;
  margin-top: 14px;
}
.outdoors__pair figure { margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; }
.outdoors__pair figure:first-child { margin-top: clamp(0px, 6vw, 90px); }
.outdoors__pair img { width: 100%; height: 100%; object-fit: cover; }
.outdoors__text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: clamp(48px, 6vw, 80px);
  align-items: start;
}
.outdoors__text p { color: rgba(246, 241, 230, 0.78); font-size: 1.1rem; max-width: 30em; }
.outdoors__text .tags { justify-content: flex-start; }
.outdoors__hint {
  position: absolute;
  right: var(--gutter);
  top: calc(var(--section-y) * 0.5);
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem;
  color: rgba(246, 241, 230, 0.55);
}
.outdoors__hint svg { width: 16px; height: 16px; }
@media (hover: none), (prefers-reduced-motion: reduce) { .outdoors__hint { display: none; } }

@media (max-width: 900px) {
  .outdoors__head, .outdoors__text { grid-template-columns: 1fr; }
  .outdoors__main { aspect-ratio: 4 / 3.4; }
  .outdoors__pair { grid-template-columns: 1fr 1fr; }
  .outdoors__pair figure:first-child { margin-top: 0; }
}

/* ==========================================================================
   Day (pinned horizontal timeline)
   ========================================================================== */
.day { position: relative; --dp: 0; }
.day__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  padding-top: clamp(96px, 14vh, 140px);
  padding-bottom: clamp(24px, 5vh, 48px);
}
.day__sky {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at var(--sun-x, 10%) var(--sun-y, 80%), rgba(255, 210, 130, calc(0.55 - var(--dp) * 0.15)), rgba(255, 210, 130, 0) 70%),
    linear-gradient(180deg, var(--bg) 0%, rgba(241, 238, 232, 0) 30%),
    linear-gradient(180deg, hsl(calc(36 - var(--dp) * 12), 55%, calc(90% - var(--dp) * 2%)), hsl(calc(40 + var(--dp) * 4), 40%, 92%));
}
.day__sun {
  position: absolute;
  left: 0; top: 0;
  z-index: -1;
  width: 120px; height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff3c8 0%, var(--yolk) 50%, #f1a63a 100%);
  box-shadow: 0 0 80px 30px rgba(244, 196, 48, 0.32);
  transform: translate3d(var(--sx, 10vw), var(--sy, 70vh), 0);
  will-change: transform;
}
.day__arc { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.day__arc path { fill: none; stroke: rgba(22, 21, 19, 0.12); stroke-width: 1.5; stroke-dasharray: 3 9; }
.day__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.day__head .lead { margin: 0; max-width: 24em; }
.day__track {
  align-self: center;
  justify-self: start;
  list-style: none;
  display: flex;
  gap: 14px;
  padding-inline: var(--gutter);
  width: max-content;
  transform: translate3d(var(--tx, 0px), 0, 0);
  will-change: transform;
}
.step {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  width: clamp(280px, 26vw, 360px);
  min-height: clamp(300px, 42vh, 380px);
  padding: 28px;
  border-radius: var(--r-xl);
  background: rgba(251, 250, 247, 0.78);
  border: 1px solid rgba(22, 21, 19, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -40px rgba(60, 46, 20, 0.35);
}
.step__time {
  position: absolute;
  top: 26px; right: 26px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.82rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.step__time--strong { background: var(--ink); color: var(--cream); }
.step__icon { width: 54px; height: 54px; margin: 0 0 22px; color: var(--ink); }
.step h3 { margin-top: auto; font-size: 1.65rem; letter-spacing: -0.045em; line-height: 1.05; margin-bottom: 10px; }
.day--static .step h3 { margin-top: 18px; }
.step p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.day__foot {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.day__progress { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--line); }
.day__progress i {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: calc(var(--dp) * 100%);
  border-radius: inherit;
  background: var(--ink);
}
.day__progress i::after {
  content: "";
  position: absolute; right: -7px; top: 50%;
  width: 14px; height: 14px; margin-top: -7px;
  border-radius: 50%;
  background: var(--yolk);
  box-shadow: 0 0 0 4px rgba(244, 196, 48, 0.3);
}
.day__note { margin: 18px 0 0; font-size: 0.85rem; color: var(--ink-3); }
.day__swipe { display: none; align-items: center; gap: 8px; margin-top: 8px; font-size: 0.85rem; font-weight: 600; color: var(--ink-3); }

/* stacked fallback: small screens, reduced motion, no JS */
.day--static .day__pin { position: relative; height: auto; overflow: visible; padding-block: var(--section-y); display: block; }
.day--static .day__sun, .day--static .day__arc, .day--static .day__foot { display: none; }
.day--static .day__track {
  width: auto;
  justify-self: stretch;
  transform: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin-top: 48px;
  padding-inline: var(--gutter);
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
}
.day--static .step { width: auto; min-height: 0; }
.day--static .day__sky { background: linear-gradient(180deg, var(--bg), #f6e7cf 50%, var(--bg)); }
@media (max-width: 900px) {
  .day__head { flex-direction: column; align-items: start; }
}
@media (max-width: 700px) {
  .day--static .day__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    gap: 12px;
    padding-bottom: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .day--static .day__track::-webkit-scrollbar { display: none; }
  .day--static .step { flex: 0 0 82%; scroll-snap-align: start; min-height: 300px; }
  .day--static .step h3 { margin-top: auto; }
  .day__swipe { display: inline-flex; }
}

/* ==========================================================================
   Info + FAQ
   ========================================================================== */
.info { padding-block: var(--section-y); }
.facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: clamp(80px, 10vw, 140px);
}
.fact {
  position: relative;
  padding: 30px 30px 34px;
  border-radius: var(--r-xl);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.fact--dark { background: var(--ink); color: var(--cream); border-color: transparent; }
.fact.fact--dark .fact__label, .fact.fact--dark p { color: rgba(246, 241, 230, 0.7); }
.fact__label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink-3); margin-bottom: 70px; }
.fact__value {
  display: block;
  font-size: clamp(2.3rem, 3.8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin-bottom: 16px;
}
.fact__value em { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
.fact p { margin: 0; color: var(--ink-2); }
.fact__deco { position: absolute; right: 22px; top: 22px; display: flex; gap: 4px; }
.fact__deco i {
  width: 14px; height: 17px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--yolk);
}
.fact__deco--ring { width: 44px; height: 44px; border-radius: 50%; border: 5px solid rgba(244, 196, 48, 0.25); border-top-color: var(--yolk); border-right-color: var(--yolk); }

.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__intro { position: sticky; top: 120px; }
.faq__intro .h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); margin-bottom: 24px; }
.faq__intro p { color: var(--ink-2); }
.faq__list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.12rem, 1.6vw, 1.32rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon {
  position: relative;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.6s var(--ease-out), background-color 0.3s;
}
.qa__icon::before,
.qa__icon::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.6px; margin: -0.8px 0 0 -6px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.6s var(--ease-out);
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(180deg); background: var(--yolk); border-color: transparent; }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa summary:hover .qa__icon { background: var(--yolk-soft); }
.qa__body { overflow: hidden; }
.qa__body > div { padding: 0 60px 28px 0; color: var(--ink-2); }
.qa__body p:last-child { margin: 0; }

@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr; }
  .fact__label { margin-bottom: 40px; }
  .faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .qa__body > div { padding-right: 0; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding-block: var(--section-y); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 14px;
  align-items: stretch;
}
.panel {
  border-radius: var(--r-xl);
  padding: clamp(26px, 3.4vw, 44px);
}
.panel--dark {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.panel--light { background: var(--card); border: 1px solid var(--line); }
.contact__item h3 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: rgba(246, 241, 230, 0.55); margin-bottom: 8px; }
.contact__item p, .contact__item address { margin: 0; font-style: normal; font-size: 1.12rem; line-height: 1.45; letter-spacing: -0.015em; }
.contact__item a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.4s var(--ease-out); }
.contact__item a:hover { background-size: 0% 1px; background-position: 100% 100%; }
.contact__route { list-style: none; display: grid; gap: 10px; font-size: 0.98rem; color: rgba(246, 241, 230, 0.78); }
.contact__route li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.contact__route svg { width: 20px; height: 20px; margin-top: 2px; color: var(--yolk); }
.panel--dark .btn { margin-top: auto; align-self: flex-start; }
.panel__chick {
  position: absolute;
  right: -24px; bottom: -30px;
  width: 170px;
  opacity: 0.95;
  transform: rotate(-10deg);
  transition: transform 0.8s var(--ease-spring);
  pointer-events: none;
}
.panel--dark:hover .panel__chick { transform: rotate(-2deg) translateY(-8px); }

.form { display: grid; gap: 16px; }
.form__title { font-size: 1.7rem; letter-spacing: -0.045em; margin-bottom: 6px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: grid; gap: 7px; }
.field label { font-size: 0.86rem; font-weight: 600; letter-spacing: -0.005em; }
.field label span { color: var(--ink-3); font-weight: 500; }
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: rgba(22, 21, 19, 0.3); }
.field input:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(244, 196, 48, 0.35);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.12); }
.field__error { font-size: 0.82rem; color: #a3221a; font-weight: 550; min-height: 0; }
.field__error:empty { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: 0; font-size: 0.86rem; color: var(--ink-3); }
.form__note a { color: var(--ink-2); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.form__alt { font-size: 0.9rem; color: var(--ink-3); }
.form__alt a { color: var(--ink); font-weight: 600; }
.form__status { margin: 0; font-weight: 600; font-size: 0.95rem; }
.form__status--error { color: #a3221a; }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.7; }
.btn[aria-busy="true"] .btn__icon { animation: spin 1s linear infinite; }

.success { display: none; text-align: center; padding: clamp(20px, 4vw, 50px) 0; }
.form-wrap.is-sent .form { display: none; }
.form-wrap.is-sent .success { display: grid; justify-items: center; gap: 10px; }
.success h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.05em; margin-top: 10px; }
.success p { color: var(--ink-2); max-width: 26em; margin: 0 auto; }
.hatch { position: relative; width: 150px; height: 170px; }
.hatch__chick {
  position: absolute; left: 50%; bottom: 10px;
  width: 128px;
  transform: translate(-50%, 40px) scale(0.6);
  opacity: 0;
  animation: hatch-pop 0.9s var(--ease-spring) 0.75s forwards;
}
.hatch__shell {
  position: absolute; left: 50%;
  width: 110px; height: 70px;
  margin-left: -55px;
  background: radial-gradient(120% 120% at 30% 20%, #fff, #efe7da 60%, #d5c8b2);
  box-shadow: inset -6px -8px 14px rgba(140, 112, 72, 0.25);
}
.hatch__shell--top {
  top: 20px;
  border-radius: 55px 55px 0 0 / 60px 60px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 86% 82%, 72% 100%, 58% 80%, 44% 100%, 30% 80%, 16% 100%, 0 84%);
  transform-origin: 20% 100%;
  animation: shell-off 0.9s var(--ease-out) 0.55s forwards, wiggle 0.18s ease-in-out 0s 3;
}
.hatch__shell--bottom {
  bottom: 0; height: 84px;
  border-radius: 0 0 55px 55px / 0 0 50px 50px;
  clip-path: polygon(0 16%, 16% 0, 30% 20%, 44% 0, 58% 20%, 72% 0, 86% 18%, 100% 0, 100% 100%, 0 100%);
  z-index: 2;
}
@keyframes wiggle { 50% { transform: rotate(-8deg); } }
@keyframes shell-off {
  to { transform: translate(-60px, -50px) rotate(-60deg); opacity: 0; }
}
@keyframes hatch-pop {
  to { transform: translate(-50%, -10px) scale(1); opacity: 1; }
}

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  padding-top: clamp(24px, 4vw, 60px);
  overflow: hidden;
  isolation: isolate;
}
.footer__scene {
  position: absolute;
  inset: auto 0 0;
  height: 78%;
  z-index: -1;
  pointer-events: none;
}
.footer__hills { position: absolute; inset: auto 0 0; width: 100%; height: 100%; }
.footer__scene::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -1px; height: 50%;
  background: linear-gradient(var(--bg), rgba(241, 238, 232, 0));
  z-index: 1;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: clamp(60px, 8vw, 110px);
}
.footer__brand img { width: 120px; height: 60px; object-fit: contain; margin-bottom: 16px; }
.footer__brand strong { display: block; font-size: 1.35rem; letter-spacing: -0.045em; margin-bottom: 10px; }
.footer__brand p { color: var(--ink-2); max-width: 22em; margin-bottom: 22px; }
.footer h2 { font-size: 0.95rem; letter-spacing: -0.02em; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer li, .footer address { font-style: normal; color: var(--ink-2); font-size: 0.95rem; }
.footer a { text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer__wordmark {
  position: relative;
  display: block;
  text-align: center;
  font-size: clamp(3rem, 12.5vw, 12.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.82;
  padding: 0 var(--gutter) 0.06em;
  color: transparent;
  background: linear-gradient(180deg, rgba(251, 250, 247, 0.92) 30%, rgba(251, 250, 247, 0.5));
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  white-space: nowrap;
}
.footer__bottom {
  position: relative;
  z-index: 2;
  margin-top: clamp(8px, 1.5vw, 20px);
  border-top: 1px solid rgba(251, 250, 247, 0.35);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 18px 22px;
  font-size: 0.86rem;
  color: var(--ink);
}
.footer__bottom a { font-weight: 600; }
.footer__mark { position: relative; }
.bird {
  position: absolute;
  top: 18%;
  left: -40px;
  width: 34px;
  color: rgba(22, 21, 19, 0.6);
  animation: fly 26s linear infinite;
}
.bird--2 { top: 26%; width: 24px; animation-delay: -8s; animation-duration: 30s; }
.bird path { animation: flap 0.5s ease-in-out infinite alternate; transform-origin: 50% 50%; transform-box: fill-box; }
@keyframes fly {
  from { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(55vw, -30px, 0); }
  to { transform: translate3d(110vw, 10px, 0); }
}
@keyframes flap { to { transform: scaleY(0.4); } }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(22, 21, 19, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-spring), visibility 0s linear 0.4s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-spring), visibility 0s; }
.to-top:hover { transform: translateY(-3px); }
.to-top:active { transform: scale(0.94); }
.to-top:focus-visible { outline: 2px solid var(--yolk); outline-offset: 3px; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 2.5; stroke: rgba(246, 241, 230, 0.16); }
.to-top__ring .to-top__fill { stroke: var(--yolk); stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; transition: stroke-dashoffset 0.15s linear; }
.to-top__arrow { position: relative; width: 20px; height: 20px; transition: transform 0.4s var(--ease-out); }
.to-top:hover .to-top__arrow { transform: translateY(-2px); }
@media print { .to-top { display: none; } }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal { padding: clamp(140px, 18vh, 200px) 0 var(--section-y); }
.legal__head { margin-bottom: 64px; }
.legal__head .h2 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
.legal__head p { color: var(--ink-3); margin-top: 18px; }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.04em; line-height: 1.1; margin: 56px 0 16px; }
.prose h3 { font-size: 1.15rem; letter-spacing: -0.025em; margin: 30px 0 10px; }
.prose p, .prose li, .prose address { color: var(--ink-2); font-style: normal; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
.prose .card-legal {
  padding: 26px 28px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.prose .card-legal p:last-child { margin: 0; }

/* legal footer */
.footer--legal { padding-top: 0; border-top: 1px solid var(--line); }
.footer--legal .footer__bottom { padding-block: 26px; color: var(--ink-2); }
.footer--legal a { font-weight: 500; }

/* 404 + form fallback page */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.notfound .lead { margin: 24px auto 36px; }
.notfound__chick { width: 160px; margin: 0 auto 28px; animation: bob 6s ease-in-out infinite; }

/* ==========================================================================
   Reveal system (only active with JS + motion allowed)
   ========================================================================== */
.js-motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  filter: blur(6px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), filter 1s var(--ease-out);
}
.js-motion [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

.js-motion [data-reveal="img"] {
  opacity: 1;
  filter: none;
  transform: none;
  clip-path: inset(14% 10% 14% 10% round var(--r-xl));
  transition: clip-path 1.4s var(--ease-out);
}
.js-motion [data-reveal="img"] img { transform: scale(1.22); transition: transform 1.8s var(--ease-out); }
.js-motion [data-reveal="img"].is-in { clip-path: inset(0 0 0 0 round var(--r-xl)); }
.js-motion [data-reveal="img"].is-in img { transform: scale(1); }

.split .w { display: inline-block; vertical-align: top; }
.js-motion .split .w { overflow: hidden; padding: 0.06em 0.02em 0.12em; margin: -0.06em -0.02em -0.12em; }
.js-motion .split .w > span { display: inline-block; transform: translate3d(0, 110%, 0) rotate(4deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease-out); }
.js-motion .split.is-in .w > span { transform: none; }

/* hero intro sequence */
.js-motion .hero .eyebrow,
.js-motion .hero__lead,
.js-motion .hero__actions,
.js-motion .hero__meta {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(8px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), filter 1s var(--ease-out);
}
.js-motion .is-ready .hero .eyebrow { transition-delay: 0.05s; }
.js-motion .is-ready .hero__lead { transition-delay: 0.55s; }
.js-motion .is-ready .hero__actions { transition-delay: 0.7s; }
.js-motion .is-ready .hero__meta { transition-delay: 0.85s; }
.js-motion .is-ready .hero .eyebrow,
.js-motion .is-ready .hero__lead,
.js-motion .is-ready .hero__actions,
.js-motion .is-ready .hero__meta { opacity: 1; transform: none; filter: none; }
.js-motion .scene { opacity: 0; transform: translateY(60px); transition: opacity 1.8s var(--ease-out) 0.2s, transform 2.2s var(--ease-out) 0.2s; }
.js-motion .is-ready .scene { opacity: 1; transform: none; }
.js-motion .egg-wrap .egg { opacity: 0; scale: 0.7; transition: opacity 1.2s var(--ease-out) 0.6s, scale 1.6s var(--ease-spring) 0.6s; }
.js-motion .is-ready .egg-wrap .egg { opacity: 1; scale: 1; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none !important; }
  .gallery .marquee { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .gallery .marquee__track[aria-hidden="true"] { display: none; }
  .band .marquee__track[aria-hidden="true"] { display: none; }
  .band .marquee { width: auto; justify-content: center; flex-wrap: wrap; }
  .band .marquee__track { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .feather, .bird { display: none; }
  .hatch__chick { opacity: 1; transform: translate(-50%, -10px); }
  .hatch__shell--top { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .scene, .eggs, .foliage, .band, .gallery, .footer__scene, .bird, .sheet { display: none !important; }
  html, body { background: #fff; }
  .outdoors { background: #fff; color: #000; }
}
