:root {
  --bg: #faf6f0;
  --card: #ffffff;
  --ink: #1f2a24;
  --muted: #5f6a64;
  --line: #e7e1d6;
  --green: #4a7c59;
  --green-dark: #355c41;
  --green-soft: #e3eee6;
  --gold: #d4a72c;
  --gold-soft: #f7edd2;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
section { padding: 80px 0; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.muted { color: var(--muted); }

/* Header */
header.site { position: sticky; top: 0; z-index: 10; background: rgba(250, 246, 240, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.1rem; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
nav.links { display: flex; gap: 22px; align-items: center; }
nav.links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; transition: color .2s; }
nav.links a:not(.btn):hover { color: var(--green); }
header.site { transition: box-shadow .3s; }
header.site.scrolled { box-shadow: 0 8px 24px rgba(31, 42, 36, .07); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 14px; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 800; transition: transform .2s, box-shadow .2s, background-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(74, 124, 89, .3); }
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 10px 24px rgba(74, 124, 89, .35); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--green); }
.btn-light { background: #fff; color: var(--green-dark); box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }
.btn-light:hover { background: var(--gold-soft); }
.btn-small { padding: 9px 16px; font-size: .9rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Hero */
.hero { padding: 64px 0 80px; position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.hero::before { width: 620px; height: 620px; right: -160px; top: -120px; background: radial-gradient(circle, rgba(212, 167, 44, .18), transparent 65%); }
.hero::after { width: 520px; height: 520px; left: -200px; bottom: -220px; background: radial-gradient(circle, rgba(74, 124, 89, .14), transparent 65%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--green); }
.note { font-size: .9rem; color: var(--muted); margin-top: 14px; }

/* Phone mockup */
.phone { width: 290px; height: 580px; margin: 0 auto; border-radius: 44px; background: var(--ink); padding: 12px; box-shadow: 0 30px 60px rgba(31, 42, 36, .25); }
.screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background:
  linear-gradient(90deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%) 0 0 / 120px 120px,
  linear-gradient(0deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%) 0 0 / 90px 90px,
  #e8efe4; }
.screen .water { position: absolute; left: -20%; right: -20%; bottom: -10%; height: 32%; background: #bcd7e6; transform: rotate(-8deg); }
.screen .chip { position: absolute; top: 22px; right: 16px; background: #fff; border-radius: 20px; padding: 6px 12px; font-weight: 800; font-size: .85rem; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.screen .brand { position: absolute; top: 22px; left: 16px; font-weight: 900; font-size: .95rem; }
.pin { position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 3px solid #fff; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 900; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.pin.selected { width: 34px; height: 34px; }
.sheet { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fff; border-radius: 20px; padding: 14px; box-shadow: 0 -4px 20px rgba(0,0,0,.12); }
.sheet .tag { display: inline-block; font-size: .65rem; font-weight: 800; letter-spacing: .04em; color: #2f7fb5; background: #2f7fb522; padding: 3px 8px; border-radius: 10px; }
.sheet b { display: block; margin: 6px 0 2px; }
.sheet small { color: var(--muted); }
.sheet .checkin { margin-top: 10px; background: var(--green); color: #fff; border-radius: 10px; padding: 9px 10px; font-weight: 800; font-size: .85rem; text-align: center; }

/* Collections */
.collections { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.collections span { padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: .9rem; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }

/* Cards & grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); transition: box-shadow .25s, border-color .25s; }
.card:hover { box-shadow: 0 16px 36px rgba(31, 42, 36, .08); border-color: #d9cfbd; }
.card .num { width: 44px; height: 44px; border-radius: 14px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-weight: 900; margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }
.band { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; }
.band .eyebrow { color: var(--gold-soft); }
.band .card { background: rgba(255, 255, 255, .1); color: #fff; border-color: transparent; }
.band .muted, .band p { color: #e6efe8; }
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.points div { background: rgba(255,255,255,.12); border-radius: 16px; padding: 18px; }
.points strong { display: block; font-size: 1.8rem; font-family: "Fraunces", serif; color: var(--gold); }

/* FAQ */
details { background: var(--card); border-radius: 16px; padding: 18px 22px; margin-bottom: 10px; border: 1px solid var(--line); }
summary { font-weight: 800; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Forms */
form .field { margin-bottom: 14px; }
label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
.form-status { margin-top: 12px; font-weight: 700; }
.form-status.ok { color: var(--green); }
.form-status.error { color: #b42318; }

/* Place landing page (opened from tags and QR codes) */
.place-hero { height: 180px; border-radius: var(--radius); display: grid; place-items: center; color: #fff; font-size: 3rem; background: var(--green) center / cover; }
.place-meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 10px; }
.place-meta span { padding: 5px 12px; border-radius: 999px; font-weight: 800; font-size: .85rem; background: var(--gold-soft); color: #8a6a12; }

/* Legal pages */
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal li { margin-bottom: .4em; }

footer.site { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .9rem; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--muted); margin-right: 18px; }

/* Motion: the hero plays on load; other sections fade in as they scroll into view (site.js). */
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes ping { from { box-shadow: 0 0 0 0 rgba(47, 127, 181, .55); } to { box-shadow: 0 0 0 20px rgba(47, 127, 181, 0); } }
@keyframes slide-up { from { opacity: 0; transform: translateY(110%); } to { opacity: 1; transform: none; } }

.hero-copy > * { animation: fade-up .7s ease-out both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.phone { animation: fade-up .8s .2s ease-out both, float 6s 1.2s ease-in-out infinite; }
.screen .pin { animation: pop .45s cubic-bezier(.3, 1.6, .6, 1) both; animation-delay: calc(.7s + var(--d, 0) * .12s); }
.screen .pin.selected { animation: pop .45s cubic-bezier(.3, 1.6, .6, 1) both, ping 1.8s 1.8s ease-out infinite; animation-delay: calc(.7s + var(--d, 0) * .12s), 1.8s; }
.sheet { animation: slide-up .6s 1.5s cubic-bezier(.2, .8, .2, 1) both; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease, box-shadow .25s, border-color .25s; transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .hero .wrap, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .points { grid-template-columns: repeat(2, 1fr); }
  nav.links a:not(.btn) { display: none; }
  section { padding: 56px 0; }
  .hero { padding-top: 32px; }
}
