/* ===========================================================
   GEORGE'S ROAST HOUSE — hand-painted, clean, premium
   1 tokens · 2 base · 3 type · 4 layout · 5 nav · 6 intro
   7 decorative art · 8 sections · 9 components · 10 footer
   11 animation · 12 responsive
=========================================================== */

/* 1. TOKENS */
:root {
  --paper: #FBF6EA;
  --paper-deep: #F3EAD3;
  --card: #FFFDF7;
  --ink: #2C2A25;
  --ink-soft: #6B6558;
  --forest: #2F5B3F;
  --forest-deep: #1F3F2B;
  --meadow: #7FA869;
  --sky: #CBE6EE;
  --sky-deep: #8FC4D6;
  --ember: #E0672F;
  --ember-deep: #C4521F;
  --sun: #F2B84B;
  --line: rgba(44, 42, 37, 0.12);
  --shadow: 0 24px 60px -24px rgba(47, 64, 40, 0.35);
  --shadow-soft: 0 10px 30px -14px rgba(47, 64, 40, 0.28);
  --font-display: 'Fraunces', 'Mali', Georgia, serif;
  --font-body: 'Nunito', 'Sarabun', system-ui, sans-serif;
  --max: 1200px;
  --pad: clamp(72px, 9vw, 130px);
  --radius: 22px;
  --ease: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* paper grain */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer, .nav { position: relative; z-index: 1; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--sun); color: var(--ink); }

/* language switch */
html[data-lang="en"] .th { display: none !important; }
html[data-lang="th"] .en { display: none !important; }
html[data-lang="th"] body { line-height: 1.85; }

/* 3. TYPE */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; color: var(--forest-deep); text-wrap: balance; }
h1 { font-size: clamp(42px, 6.6vw, 92px); line-height: 1.03; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.1; letter-spacing: -0.015em; }
h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.25; }
html[data-lang="th"] h1 { line-height: 1.25; letter-spacing: 0; font-size: clamp(36px, 5.4vw, 74px); }
html[data-lang="th"] h2 { line-height: 1.35; letter-spacing: 0; font-size: clamp(28px, 3.6vw, 46px); }
html[data-lang="th"] h3 { line-height: 1.45; }
h1 em, h2 em { font-style: italic; color: var(--ember); font-weight: 500; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ember-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--ember); border-radius: 2px; }
html[data-lang="th"] .eyebrow { letter-spacing: 0.04em; font-size: 15px; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; }

/* 4. LAYOUT */
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.section { padding: var(--pad) 0; position: relative; }
.section--tint { background: var(--paper-deep); }
.section--sky { background: linear-gradient(180deg, var(--sky) 0%, var(--paper) 100%); }
.section--forest { background: var(--forest-deep); color: #F4EFE0; }
.section--forest h2, .section--forest h3 { color: #FFF8E6; }
.section--forest .lead, .section--forest .muted { color: rgba(244, 239, 224, 0.75); }
.section--forest .eyebrow { color: var(--sun); }
.section--forest .eyebrow::before { background: var(--sun); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.head { margin-bottom: clamp(36px, 5vw, 64px); }
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--flip > :first-child { order: 2; }

/* 5. NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0; transition: background var(--ease), box-shadow var(--ease), padding var(--ease);
}
.nav--scrolled, .nav--open {
  background: rgba(251, 246, 234, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line); padding: 8px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__brand img { width: 54px; height: 54px; transition: transform var(--ease); }
.nav__brand:hover img { transform: rotate(-6deg) scale(1.06); }
.nav__brand b { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--forest-deep); line-height: 1; }
.nav__brand small { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 800; letter-spacing: 0.22em; color: var(--ember-deep); margin-top: 4px; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 8px 12px; border-radius: 100px; text-decoration: none;
  font-size: 15px; font-weight: 700; color: var(--ink); transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}
.nav__links a:hover { background: rgba(47, 91, 63, 0.1); color: var(--forest); }
.nav__links a.is-active { background: var(--forest); color: #FFF8E6; }
.nav__tools { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; border: 1.5px solid var(--forest); border-radius: 100px; overflow: hidden;
  background: rgba(255, 253, 247, 0.8);
}
.lang button {
  border: 0; background: transparent; padding: 6px 12px; cursor: pointer;
  font: 800 13px var(--font-body); color: var(--forest); transition: background var(--ease), color var(--ease);
}
.lang button.is-on { background: var(--forest); color: #FFF8E6; }
.nav__burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav__burger span { display: block; height: 2.5px; background: var(--forest-deep); border-radius: 2px; margin: 5px 0; transition: transform var(--ease), opacity var(--ease); }
.nav--open .nav__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px; border: 2px solid transparent;
  font: 800 16px var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
}
.btn--primary { background: var(--ember); color: #FFF8E6; box-shadow: 0 12px 28px -10px rgba(224, 103, 47, 0.7); }
.btn--primary:hover { background: var(--ember-deep); transform: translateY(-3px); box-shadow: 0 18px 34px -10px rgba(224, 103, 47, 0.75); }
.btn--ghost { border-color: var(--forest); color: var(--forest); background: rgba(255, 253, 247, 0.6); }
.btn--ghost:hover { background: var(--forest); color: #FFF8E6; transform: translateY(-3px); }
.btn--light { background: #FFF8E6; color: var(--forest-deep); }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5); }
.btn .arrow { transition: transform var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.center .btn-row { justify-content: center; }

/* 6. INTRO PAGE */
.intro { position: fixed; inset: 0; background: #2a1c12; overflow: hidden; z-index: 1; }
.intro__media, .intro__media video, .intro__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro__media img { animation: kenburns 22s ease-in-out infinite alternate; }
.intro__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 18, 8, 0.35) 0%, rgba(30, 18, 8, 0) 28%, rgba(30, 18, 8, 0) 45%, rgba(30, 18, 8, 0.82) 100%);
}
.intro__top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 22px clamp(20px, 4vw, 48px); z-index: 3; }
.intro__top .lang { border-color: #FFF8E6; background: rgba(30, 18, 8, 0.3); }
.intro__top .lang button { color: #FFF8E6; }
.intro__top .lang button.is-on { background: #FFF8E6; color: var(--forest-deep); }
.intro__sound {
  border: 1.5px solid #FFF8E6; background: rgba(30, 18, 8, 0.3); color: #FFF8E6; border-radius: 100px;
  padding: 7px 16px; font: 800 13px var(--font-body); cursor: pointer; transition: background var(--ease), color var(--ease);
}
.intro__sound:hover { background: #FFF8E6; color: var(--forest-deep); }
.intro__content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 0 clamp(20px, 5vw, 72px) clamp(36px, 7vh, 80px);
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 40px); align-items: end; color: #FFF8E6;
}
.intro__logo { width: clamp(96px, 11vw, 160px); filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.5)); animation: bob 5s ease-in-out infinite; }
.intro__content > div { max-width: 640px; }
.intro__content h1 { color: #FFF8E6; font-size: clamp(30px, 4vw, 60px); text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45); }
html[data-lang="th"] .intro__content h1 { font-size: clamp(28px, 3.6vw, 52px); }
.intro__content h1 em { color: var(--sun); }
.intro__content p { font-size: clamp(16px, 1.5vw, 20px); margin: 14px 0 0; max-width: 52ch; color: rgba(255, 248, 230, 0.92); text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5); }
.intro__enter { align-self: end; white-space: nowrap; font-size: 18px; padding: 18px 36px; }
.intro .rise { opacity: 0; transform: translateY(26px); animation: rise 1s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.intro .rise:nth-child(2) { animation-delay: 0.8s; }
.intro .rise:nth-child(3) { animation-delay: 1.2s; }

/* petals */
.petals { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.petal {
  position: absolute; top: -40px; width: 16px; height: 22px;
  background: radial-gradient(circle at 30% 30%, #fff, #FFE9A8 70%, #F2B84B);
  border-radius: 80% 10% 80% 10%; opacity: 0.9;
  animation: petal-fall linear infinite;
}

/* 7. DECORATIVE ART */
.sky-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #BFE2EE 0%, #DCEFEF 45%, var(--paper) 100%);
  padding: clamp(130px, 16vw, 190px) 0 clamp(50px, 7vw, 90px);
}
.cloud {
  position: absolute; background: #fff; border-radius: 100px; opacity: 0.85; pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(143, 196, 214, 0.35));
  animation: drift 60s linear infinite;
}
.cloud::before, .cloud::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 55%; height: 190%; left: 12%; top: -95%; }
.cloud::after { width: 42%; height: 150%; right: 14%; top: -60%; }
.cloud--1 { width: 220px; height: 58px; top: 16%; left: -6%; }
.cloud--2 { width: 150px; height: 40px; top: 34%; left: 58%; animation-duration: 85s; opacity: 0.7; }
.cloud--3 { width: 300px; height: 74px; top: 9%; left: 72%; animation-duration: 110s; }
.sun-orb {
  position: absolute; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(242, 184, 75, 0.45), rgba(242, 184, 75, 0) 68%);
  top: -180px; right: -140px; animation: glow 9s ease-in-out infinite;
}
.blob {
  position: absolute; pointer-events: none; opacity: 0.5;
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  animation: blob-morph 14s ease-in-out infinite;
}
.blob--meadow { width: 420px; height: 420px; background: rgba(127, 168, 105, 0.22); left: -160px; bottom: -120px; }
.blob--ember { width: 340px; height: 340px; background: rgba(224, 103, 47, 0.12); right: -120px; top: 10%; }
.wave { display: block; width: 100%; height: clamp(40px, 6vw, 90px); margin-bottom: -1px; }
.wave path { fill: currentColor; }
.grass { position: relative; height: 54px; overflow: hidden; background: transparent; color: var(--forest-deep); }
.grass svg { position: absolute; bottom: -1px; left: 0; width: 100%; height: 100%; }
.smoke { position: absolute; width: 60px; height: 160px; pointer-events: none; }
.smoke i {
  position: absolute; bottom: 0; left: 50%; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.75); filter: blur(7px); animation: smoke 5s ease-out infinite;
}
.smoke i:nth-child(2) { animation-delay: 1.6s; }
.smoke i:nth-child(3) { animation-delay: 3.2s; }

/* painted frame for illustrations */
.frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 8px solid var(--card); background: var(--card);
}
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.frame:hover img { transform: scale(1.045); }
.frame--tilt { transform: rotate(-1.4deg); }
.frame--tilt-r { transform: rotate(1.4deg); }
.frame--wide { aspect-ratio: 16 / 9; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--photo { aspect-ratio: 4 / 3; }
.sticker {
  position: absolute; z-index: 2; background: var(--sun); color: var(--forest-deep);
  font: 800 13px var(--font-body); letter-spacing: 0.06em; padding: 10px 16px; border-radius: 100px;
  box-shadow: var(--shadow-soft); transform: rotate(-4deg);
}
.stack { position: relative; }
.stack .frame + .frame { position: absolute; width: 46%; right: -4%; bottom: -10%; }

/* 8. SECTIONS */
.hero { position: relative; overflow: hidden; padding: clamp(120px, 14vw, 170px) 0 clamp(60px, 8vw, 110px); background: linear-gradient(180deg, #BFE2EE 0%, #E4F1EC 50%, var(--paper) 100%); }
.hero .split { grid-template-columns: 1.02fr 1fr; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 100px;
  background: rgba(255, 253, 247, 0.85); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--forest-deep);
}
.marquee { overflow: hidden; background: var(--forest-deep); color: #FFF8E6; padding: 16px 0; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; font: 600 20px var(--font-display); font-style: italic; white-space: nowrap; }
.marquee__track span::after { content: '✿'; margin-left: 48px; color: var(--sun); font-style: normal; }

/* 9. COMPONENTS */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(47, 91, 63, 0.3); }
.card__icon {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 28px;
  background: var(--paper-deep); margin-bottom: 20px; transition: transform var(--ease);
}
.card:hover .card__icon { transform: rotate(-8deg) scale(1.1); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); margin: 0; }
.section--forest .card { background: rgba(255, 248, 230, 0.06); border-color: rgba(255, 248, 230, 0.14); }
.section--forest .card p { color: rgba(244, 239, 224, 0.75); }
.section--forest .card__icon { background: rgba(255, 248, 230, 0.12); }

.dish { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform var(--ease), box-shadow var(--ease); display: flex; flex-direction: column; }
.dish:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.dish__img { aspect-ratio: 4 / 3; overflow: hidden; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.dish:hover .dish__img img { transform: scale(1.08); }
.dish__body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.dish__body p { color: var(--ink-soft); flex: 1; }
.dish__tag { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember-deep); margin-bottom: 8px; }
.price { font: 600 22px var(--font-display); color: var(--ember-deep); white-space: nowrap; }
.price small { font: 700 13px var(--font-body); color: var(--ink-soft); }

/* menu */
.menu-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px; }
.menu-nav a { text-decoration: none; padding: 10px 20px; border-radius: 100px; border: 1.5px solid var(--forest); font-weight: 800; font-size: 15px; color: var(--forest); transition: background var(--ease), color var(--ease), transform var(--ease); }
.menu-nav a:hover { background: var(--forest); color: #FFF8E6; transform: translateY(-2px); }
.menu-block { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(40px, 6vw, 80px) 0; border-top: 1px dashed rgba(44, 42, 37, 0.22); scroll-margin-top: 90px; }
.menu-block:first-of-type { border-top: 0; }
.menu-block--flip .menu-block__art { order: 2; }
.menu-block__art { position: sticky; top: 100px; }
.menu-block h2 { margin-bottom: 8px; }
.menu-list { list-style: none; margin: 28px 0 0; padding: 0; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding var(--ease), background var(--ease); border-radius: 10px; }
.menu-item:hover { background: rgba(242, 184, 75, 0.13); padding-inline: 14px; }
.menu-item h4 { font-size: 20px; font-family: var(--font-display); font-weight: 600; }
.menu-item p { grid-column: 1 / -1; margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.badge { display: inline-block; font: 800 11px var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; background: var(--ember); color: #FFF8E6; padding: 3px 9px; border-radius: 100px; margin-left: 8px; vertical-align: middle; }
.badge--green { background: var(--meadow); }
.note { background: var(--card); border: 1px dashed rgba(44, 42, 37, 0.3); border-radius: 16px; padding: 16px 22px; font-size: 15px; color: var(--ink-soft); }

/* story */
.chapter { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 34px 0; border-top: 1px solid var(--line); }
.chapter__no { font: italic 500 54px var(--font-display); color: var(--sun); line-height: 1; }
.chapter h3 { margin-bottom: 10px; }
.chapter p { color: var(--ink-soft); margin: 0; max-width: 62ch; }
.pullquote { font: italic 500 clamp(26px, 3.4vw, 46px)/1.25 var(--font-display); color: #FFF8E6; max-width: 22ch; margin: 0 auto; text-wrap: balance; }
html[data-lang="th"] .pullquote { line-height: 1.5; max-width: 26ch; font-size: clamp(24px, 3vw, 40px); }
.pullquote + cite { display: block; margin-top: 22px; font-style: normal; font-weight: 800; letter-spacing: 0.1em; font-size: 13px; text-transform: uppercase; color: var(--sun); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 28px 12px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); }
.stat b { display: block; font: 600 clamp(34px, 4vw, 52px)/1 var(--font-display); color: var(--ember); }
.stat span { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 700; color: var(--ink-soft); }

/* reviews */
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; transition: transform var(--ease), box-shadow var(--ease); break-inside: avoid; margin-bottom: 26px; }
.review:hover { transform: translateY(-6px) rotate(-0.5deg); box-shadow: var(--shadow); }
.review::before { content: '“'; position: absolute; top: 4px; right: 22px; font: 600 86px/1 var(--font-display); color: rgba(242, 184, 75, 0.5); }
.review__stars { color: var(--sun); letter-spacing: 3px; font-size: 18px; margin-bottom: 12px; }
.review p { font-size: 17px; }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review__who i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 22px; background: var(--paper-deep); }
.review__who b { display: block; line-height: 1.2; }
.review__who span { font-size: 13.5px; color: var(--ink-soft); }
.masonry { columns: 3; column-gap: 26px; }
.ribbon { display: inline-block; background: var(--sun); color: var(--forest-deep); font-weight: 800; font-size: 13.5px; padding: 8px 18px; border-radius: 100px; margin-top: 22px; }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { counter-increment: step; position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform var(--ease), box-shadow var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.step::before { content: counter(step); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--forest); color: #FFF8E6; font: 600 20px var(--font-display); margin-bottom: 16px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* info list */
.info { list-style: none; margin: 26px 0 0; padding: 0; }
.info li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.info li > i { font-style: normal; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--paper-deep); }
.info b { display: block; color: var(--forest-deep); }
.info span { color: var(--ink-soft); }
.info a { color: var(--ember-deep); font-weight: 700; }
.map { border-radius: var(--radius); overflow: hidden; border: 8px solid var(--card); box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: var(--sky); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* form */
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-soft); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 14px; font-weight: 800; color: var(--forest-deep); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 16px var(--font-body); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 16px; transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--forest); background: #fff; box-shadow: 0 0 0 4px rgba(47, 91, 63, 0.14); }
.form__ok { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(127, 168, 105, 0.2); color: var(--forest-deep); font-weight: 700; }
.form__ok.is-shown { display: block; }

/* CTA band */
.cta { position: relative; overflow: hidden; border-radius: 34px; padding: clamp(44px, 7vw, 90px) clamp(24px, 6vw, 80px); background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%); color: #FFF8E6; text-align: center; }
.cta h2 { color: #FFF8E6; }
.cta h2 em { color: var(--sun); }
.cta p { color: rgba(255, 248, 230, 0.8); max-width: 54ch; margin: 16px auto 0; font-size: 18px; }
.cta .sun-orb { top: -260px; right: -200px; }
.cta .btn-row { justify-content: center; position: relative; }

/* 10. FOOTER */
.footer { background: var(--forest-deep); color: rgba(244, 239, 224, 0.78); padding: 56px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer img { width: 120px; margin-bottom: 14px; }
.footer h4 { color: #FFF8E6; font-size: 18px; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; transition: color var(--ease), padding var(--ease); }
.footer a:hover { color: var(--sun); padding-left: 4px; }
.footer__base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 248, 230, 0.14); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13.5px; }

/* 11. ANIMATION */
[data-animate] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
[data-animate="left"] { transform: translateX(-40px); }
[data-animate="right"] { transform: translateX(40px); }
[data-animate="zoom"] { transform: scale(0.94); }
[data-animate].is-visible { opacity: 1; transform: none; }
.frame--tilt[data-animate].is-visible { transform: rotate(-1.4deg); }
.frame--tilt-r[data-animate].is-visible { transform: rotate(1.4deg); }
[data-delay="1"] { transition-delay: 0.12s; }
[data-delay="2"] { transition-delay: 0.24s; }
[data-delay="3"] { transition-delay: 0.36s; }
[data-delay="4"] { transition-delay: 0.48s; }
.float { animation: bob 6s ease-in-out infinite; }

@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-1.5deg); } }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(110vw); } }
@keyframes glow { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes blob-morph { 0%, 100% { border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%; } 50% { border-radius: 60% 40% 35% 65% / 55% 35% 65% 45%; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes smoke { 0% { transform: translate(-50%, 0) scale(0.6); opacity: 0; } 20% { opacity: 0.8; } 100% { transform: translate(calc(-50% + 34px), -150px) scale(2.6); opacity: 0; } }
@keyframes petal-fall { 0% { transform: translate(0, 0) rotate(0); } 100% { transform: translate(-22vw, 112vh) rotate(540deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-animate] { opacity: 1; transform: none; }
}

/* 12. RESPONSIVE */
@media (max-width: 1120px) {
  .nav__burger { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(251, 246, 234, 0.98); padding: 12px 24px 22px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.3);
    display: none;
  }
  .nav--open .nav__links { display: flex; }
  .nav__links a { padding: 12px 16px; font-size: 17px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .masonry { columns: 2; }
}
@media (max-width: 860px) {
  .split, .hero .split, .menu-block, .grid--2 { grid-template-columns: 1fr; }
  .split--flip > :first-child, .menu-block--flip .menu-block__art { order: 0; }
  .menu-block__art { position: static; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .intro__content { grid-template-columns: 1fr; gap: 16px; }
  .intro__logo { width: 110px; }
  .intro__enter { justify-self: start; }
  .stack .frame + .frame { position: relative; width: 70%; right: 0; bottom: 0; margin: -40px 0 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .grid--3, .steps, .form__row { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .nav__brand small { display: none; }
  .nav__brand img { width: 46px; height: 46px; }
  .chapter { grid-template-columns: 1fr; gap: 6px; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .intro__enter { width: 100%; }
  .card { padding: 26px; }
}

/* admin edit mode (open any page with ?edit) */
.is-editing [lang-edit] { outline: 2px dashed rgba(79, 142, 247, 0.6); outline-offset: 4px; border-radius: 4px; cursor: text; }

.hero > .wrap, .sky-hero > .wrap { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .intro__logo { display: none; }
  .intro__shade { background: linear-gradient(180deg, rgba(30,18,8,.35) 0%, rgba(30,18,8,0) 22%, rgba(30,18,8,.25) 45%, rgba(30,18,8,.9) 100%); }
  .cloud--2 { display: none; }
}

/* gallery + lightbox */
.gallery { display: grid; gap: 24px; margin-bottom: clamp(36px, 5vw, 60px); }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery--2 { grid-template-columns: repeat(2, 1fr); }
.gallery__label { margin: 0 0 18px; display: flex; align-items: center; gap: 14px; }
.gallery__label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.shot { margin: 0; }
.shot__btn { display: block; width: 100%; padding: 0; border: 8px solid var(--card); border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow-soft); cursor: zoom-in; aspect-ratio: 3 / 2; transition: transform var(--ease), box-shadow var(--ease); }
.shot__btn:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: var(--shadow); }
.shot__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.shot__btn:hover img { transform: scale(1.06); }
.shot figcaption { margin-top: 12px; font-weight: 700; color: var(--ink-soft); font-size: 15px; text-align: center; }
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(20, 28, 20, 0.9); display: none; align-items: center; justify-content: center; flex-direction: column; gap: 14px; padding: 24px; cursor: zoom-out; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 82vh; border-radius: 16px; border: 6px solid var(--card); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox p { color: #FFF8E6; margin: 0; font-weight: 700; }
.lightbox__close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #FFF8E6; color: var(--forest-deep); font-size: 22px; cursor: pointer; }
@media (max-width: 860px) { .gallery--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery--3, .gallery--2 { grid-template-columns: 1fr; } }
