/* Jardín de Luz – light, natural, mystical */
@font-face { font-family: 'Cormorant'; src: url(/fonts/cormorant-garamond-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url(/fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url(/fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url(/fonts/cormorant-garamond-latin-400-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url(/fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url(/fonts/jost-latin-300-normal.woff2) format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Jost'; src: url(/fonts/jost-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url(/fonts/jost-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --paper: #f7f2e8;
  --paper-2: #efe7d6;
  --card: #fffcf5;
  --ink: #2c2a22;
  --ink-soft: #5d574a;
  --line: #e0d5bf;
  --moss: #4d6a48;
  --moss-deep: #34492f;
  --gold: #b68b45;
  --gold-soft: #e9d6ad;
  --air: #7f9db0;
  --earth: #7b7a3e;
  --water: #3f8584;
  --fire: #c06a3a;
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --radius: 18px;
  --shadow: 0 18px 40px -24px rgba(60, 48, 25, .35);
  --max: 1180px;
  color-scheme: light;
}

*, *::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: 300 17px/1.7 var(--sans); overflow-x: hidden;
  background-image: radial-gradient(1200px 600px at 85% -10%, #fbf3dc 0, transparent 60%), radial-gradient(900px 500px at -10% 30%, #eef0e2 0, transparent 60%);
}
img, video { max-width: 100%; display: block; }
a { color: var(--moss-deep); text-decoration-color: var(--gold); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 400; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.75rem; }
p { margin: 0 0 1em; }
em, .script { font-family: var(--serif); font-style: italic; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.eyebrow { font: 500 .78rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; display: inline-flex; gap: .7em; align-items: center; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 640px; }
section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em; cursor: pointer;
  padding: .95em 1.7em; border-radius: 999px; border: 1px solid var(--moss);
  background: var(--moss); color: #fbf7ec; font: 400 .92rem/1 var(--sans); letter-spacing: .08em; text-decoration: none;
  transition: transform .3s, background .3s, box-shadow .3s;
}
.btn:hover { background: var(--moss-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.ghost { background: transparent; color: var(--moss-deep); }
.btn.ghost:hover { background: rgba(77, 106, 72, .08); }
.btn.light { background: rgba(255, 252, 245, .92); color: var(--ink); border-color: transparent; }
.btn.wa { background: #2f8a55; border-color: #2f8a55; }
.btn svg { width: 18px; height: 18px; }

/* ---------- nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, padding .4s; padding: 22px 0; }
.nav.solid { background: rgba(247, 242, 232, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; font: 500 1.6rem/1 var(--serif); }
.brand svg { width: 38px; height: 38px; }
.nav:not(.solid).on-dark .brand, .nav:not(.solid).on-dark .links a { color: #fffaf0; }
.links { display: flex; gap: 28px; align-items: center; }
.links a { text-decoration: none; color: var(--ink); font-size: .9rem; letter-spacing: .08em; position: relative; }
.links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--gold); transition: right .35s; }
.links a:hover::after, .links a.active::after { right: 0; }
.links .btn { color: #fbf7ec !important; padding: .7em 1.3em; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; }
.burger span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; transition: .3s; }
@media (max-width: 900px) {
  .burger { display: block; }
  .nav:not(.solid).on-dark .burger { color: #fff; }
  .links { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; background: var(--paper); transform: translateY(-100%); visibility: hidden; transition: transform .5s cubic-bezier(.7, 0, .2, 1), visibility 0s .5s; }
  .nav.open .links { visibility: visible; transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
  .links a { font: 400 1.9rem/1 var(--serif); letter-spacing: 0; color: var(--ink) !important; }
  .nav.open .links { transform: none; }
  .nav.open .burger { position: relative; z-index: 2; color: var(--ink); }
  .nav.open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.open .burger span:nth-child(2) { opacity: 0; }
  .nav.open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- hero */
.hero { min-height: 100svh; padding: 0; display: grid; place-items: center; color: #fffaf0; overflow: hidden; isolation: isolate; text-align: center; }
.hero video, .hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(25, 30, 18, .45) 0%, rgba(25, 30, 18, .2) 45%, rgba(247, 242, 232, 1) 100%); }
.hero canvas { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-inner { padding: 120px 16px 160px; max-width: 900px; }
.hero h1 { text-shadow: 0 2px 30px rgba(0, 0, 0, .3); margin-bottom: .2em; }
.hero h1 em { color: var(--gold-soft); }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 620px; margin: 0 auto 2.2em; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 34px; left: 50%; translate: -50% 0; width: 1px; height: 54px; background: linear-gradient(var(--ink-soft), transparent); animation: drip 2.4s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero.small { min-height: 72svh; }

/* ---------- intro */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.intro-photos { position: relative; aspect-ratio: 1 / 1.05; }
.intro-photos img { position: absolute; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.intro-photos img:nth-child(1) { inset: 0 22% 18% 0; width: 78%; height: 82%; }
.intro-photos img:nth-child(2) { right: 0; bottom: 0; width: 50%; height: 54%; border: 8px solid var(--paper); }
@media (max-width: 820px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- elements */
.elements { background: linear-gradient(180deg, transparent, var(--paper-2) 18%, var(--paper-2) 82%, transparent); }
.el-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
@media (max-width: 1000px) { .el-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .el-grid { grid-template-columns: 1fr; } }
.el-card { --c: var(--moss); background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .5s; }
.el-card:hover { transform: translateY(-6px); }
.el-card .media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #ddd; }
.el-card .media video, .el-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.el-card:hover .media video { transform: scale(1.05); }
.el-card .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20, 20, 10, .55)); }
.el-card .glyph { position: absolute; z-index: 1; left: 20px; bottom: 18px; color: #fffaf0; display: flex; align-items: center; gap: 10px; font: 500 1.9rem/1 var(--serif); }
.el-card .glyph svg { width: 34px; height: 34px; }
.el-card .body { padding: 22px 22px 26px; }
.el-card .place { font: 500 .75rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--c); margin-bottom: .8em; }
.el-card .body p { font-size: .96rem; color: var(--ink-soft); margin: 0; }
.el-card[data-el=air] { --c: var(--air); } .el-card[data-el=earth] { --c: var(--earth); }
.el-card[data-el=water] { --c: var(--water); } .el-card[data-el=fire] { --c: var(--fire); }

/* gamified element compass */
.compass { position: fixed; right: 18px; bottom: 18px; z-index: 40; background: rgba(255, 252, 245, .94); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 999px; padding: 8px 10px; display: flex; gap: 6px; align-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); transition: .5s; }
.compass.show { opacity: 1; transform: none; }
.compass .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #b9b09d; border: 1px dashed #d4c9b2; transition: .6s; }
.compass .dot svg { width: 18px; height: 18px; }
.compass .dot.lit { color: #fff; border: 1px solid transparent; box-shadow: 0 0 18px -2px var(--c); background: var(--c); }
.compass .label { font: 400 .78rem/1.2 var(--sans); color: var(--ink-soft); padding: 0 6px 0 4px; max-width: 120px; }
@media (max-width: 560px) { .compass .label { display: none; } }
.toast { position: fixed; left: 50%; bottom: 90px; translate: -50% 0; z-index: 60; background: var(--ink); color: var(--paper); padding: 16px 24px; border-radius: 14px; max-width: min(460px, 92vw); text-align: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); transition: .5s; pointer-events: none; font-size: .95rem; }
.toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast strong { font: 500 1.3rem/1.2 var(--serif); display: block; color: var(--gold-soft); margin-bottom: 4px; }

/* ---------- journey steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; margin-top: 54px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 1px solid var(--line); padding-top: 22px; }
.step::before { counter-increment: s; content: '0' counter(s); font: italic 400 2.6rem/1 var(--serif); color: var(--gold); display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.5rem; }
.step p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- calendar */
.cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; margin-top: 48px; align-items: start; }
@media (max-width: 900px) { .cal-layout { grid-template-columns: minmax(0, 1fr); } }
.cal { background: var(--card); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-head h3 { margin: 0; font-size: 1.6rem; }
.cal-head button { background: none; border: 1px solid var(--line); border-radius: 50%; width: 38px; height: 38px; cursor: pointer; color: var(--ink); font-size: 1.1rem; }
.cal-head button:hover { border-color: var(--gold); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal-grid .dow { font: 500 .7rem/2 var(--sans); letter-spacing: .12em; color: var(--ink-soft); text-transform: uppercase; }
.cal-grid .d { height: clamp(34px, 5.2vw, 52px); display: grid; place-items: center; border-radius: 10px; font-size: .9rem; position: relative; }
.cal-grid .d.muted { opacity: .3; }
.cal-grid .d.today { outline: 1px solid var(--gold); }
.cal-grid .d.ev { background: var(--c, var(--moss)); color: #fff; font-weight: 500; }
.cal-grid .d.ev.start { border-top-left-radius: 50%; border-bottom-left-radius: 50%; }
.ev-list { display: flex; flex-direction: column; gap: 16px; }
.ev { --c: var(--moss); display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; background: var(--card); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); border-left: 4px solid var(--c); }
.ev .date { text-align: center; font-family: var(--serif); line-height: 1; }
.ev .date b { display: block; font-size: 2.4rem; font-weight: 500; }
.ev .date span { font: 500 .72rem/1.6 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft); }
.ev h4 { font-size: 1.45rem; margin: 0 0 .25em; }
.ev .meta { font-size: .86rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: .6em; }
.ev p { font-size: .94rem; margin: 0 0 .8em; color: var(--ink-soft); }
.badge { display: inline-block; font: 500 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: .5em .8em; border-radius: 999px; background: var(--gold-soft); color: #6b4f1d; }
.badge.full { background: #ead7cf; color: #8a3f22; } .badge.few { background: #f3e1b8; }
.empty { padding: 34px; border: 1px dashed var(--line); border-radius: 18px; text-align: center; color: var(--ink-soft); }
.empty h4 { font-size: 1.5rem; color: var(--ink); }

/* ---------- story */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
@media (max-width: 820px) { .story-grid { grid-template-columns: 1fr; } }
.story-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1; }
.story-collage img, .story-collage video { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.story-collage > :first-child { grid-row: span 2; }
.signature { font: italic 400 2rem/1 var(--serif); color: var(--gold); margin-top: 1.2em; }
.todo-note { font-size: .8rem; color: #a08250; border: 1px dashed var(--gold-soft); border-radius: 10px; padding: 8px 12px; display: inline-block; }

/* ---------- gallery */
.gallery { columns: 4 240px; column-gap: 14px; margin-top: 48px; }
.gallery button { all: unset; display: block; margin-bottom: 14px; border-radius: 14px; overflow: hidden; cursor: zoom-in; break-inside: avoid; position: relative; }
.gallery img { width: 100%; transition: transform .8s, filter .8s; filter: saturate(.95); }
.gallery button:hover img { transform: scale(1.04); filter: saturate(1.08); }
.gallery button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(28, 26, 20, .94); display: none; place-items: center; padding: 20px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lightbox .x { top: 18px; right: 18px; } .lightbox .prev { left: 14px; top: 50%; } .lightbox .next { right: 14px; top: 50%; }

/* ---------- shop teaser / shop */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 28px; overflow: hidden; background: var(--moss-deep); color: #f3ecdc; box-shadow: var(--shadow); }
.split .txt { padding: clamp(34px, 6vw, 80px); }
.split .txt .eyebrow { color: var(--gold-soft); }
.split video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split .txt { align-self: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
@media (max-width: 820px) { .cats { grid-template-columns: 1fr; } }
.cat { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; color: #fffaf0; display: flex; align-items: flex-end; padding: 26px; text-decoration: none; isolation: isolate; box-shadow: var(--shadow); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s; }
.cat::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(20, 18, 10, .7)); }
.cat:hover img { transform: scale(1.06); }
.cat h3 { margin: 0; font-size: 2.1rem; }
.cat p { margin: 0; font-size: .92rem; opacity: .9; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 40px 0 30px; }
.filters button { font: 400 .88rem/1 var(--sans); letter-spacing: .06em; padding: .8em 1.4em; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; color: var(--ink); }
.filters button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product { background: var(--card); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product .pimg { aspect-ratio: 1; background: var(--paper-2); display: grid; place-items: center; color: var(--gold); }
.product .pimg img { width: 100%; height: 100%; object-fit: cover; }
.product .pimg svg { width: 64px; height: 64px; opacity: .6; }
.product .pb { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product h4 { font-size: 1.45rem; margin: 0; }
.product .price { font: 500 1rem/1 var(--sans); color: var(--moss); }
.product p { font-size: .92rem; color: var(--ink-soft); margin: 0 0 8px; flex: 1; }
.product .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.product .acts .btn { padding: .7em 1.1em; font-size: .82rem; }

/* ---------- contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-ways { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.contact-ways a { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); padding: 16px 18px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.contact-ways svg { width: 26px; height: 26px; color: var(--moss); flex: none; }
.contact-ways small { display: block; color: var(--ink-soft); }
form.inquiry { background: var(--card); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.inquiry .full { grid-column: 1 / -1; }
@media (max-width: 560px) { form.inquiry { grid-template-columns: 1fr; } }
label { display: flex; flex-direction: column; gap: 6px; font: 500 .76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
input, select, textarea { font: 300 1rem/1.5 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .8em 1em; width: 100%; letter-spacing: 0; text-transform: none; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(182, 139, 69, .15); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-msg { grid-column: 1 / -1; font-size: .95rem; margin: 0; }
.form-msg.ok { color: var(--moss); } .form-msg.err { color: #a2452a; }
.consent { font: 300 .82rem/1.5 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-soft); }

/* ---------- footer */
footer { background: var(--moss-deep); color: #e8e0cc; padding: 70px 0 34px; margin-top: 40px; }
footer a { color: #f3ecdc; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }
.foot h4 { font-size: 1.3rem; color: var(--gold-soft); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; }
.copy { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 50px; padding-top: 24px; font-size: .82rem; opacity: .75; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- motion */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.leaf-divider { display: flex; justify-content: center; color: var(--gold); margin: 0 auto; }
.leaf-divider svg { width: 120px; height: 24px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- legal page */
.prose { max-width: 760px; }
.prose h2 { font-size: 2.2rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.2em; }

/* ---------- playful layer */
.ev .date b, .cal-grid, .kpi b { font-variant-numeric: lining-nums; }
@media (max-width: 600px) {
  .gallery { columns: 2; column-gap: 8px; }
  .gallery button { margin-bottom: 8px; border-radius: 10px; }
  .el-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 6px 16px 18px; margin-inline: 0; width: 100%; scrollbar-width: none; scroll-padding-inline: 16px; }
  .el-grid .reveal { opacity: 1; transform: none; }
  .el-grid::-webkit-scrollbar { display: none; }
  .el-card { flex: 0 0 80%; scroll-snap-align: center; }
  .el-card .media { aspect-ratio: 4 / 5; }
  .swipe-hint { display: block !important; }
}
.swipe-hint { display: none; text-align: center; font-size: .82rem; color: var(--ink-soft); margin-top: 6px; }
.swipe-hint span { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.el-card .glyph svg { transition: transform 1s cubic-bezier(.3, 1.6, .5, 1); }
.el-card:hover .glyph svg { transform: rotate(120deg) scale(1.15); }
@media (hover: hover) { .el-card:hover { transform: translateY(-8px) rotate(-.6deg); } .el-card:nth-child(even):hover { transform: translateY(-8px) rotate(.6deg); } }
.btn:active { transform: scale(.96); }
.compass .dot.pop { animation: pop .7s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes pop { 0% { transform: scale(.4); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
.compass.complete { animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 6px rgba(182, 139, 69, .18), var(--shadow); } }
.spark { position: fixed; z-index: 90; width: 7px; height: 7px; border-radius: 50%; pointer-events: none; background: var(--c); box-shadow: 0 0 10px var(--c); animation: spark .9s ease-out forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
.drift { position: absolute; color: var(--gold); opacity: .35; pointer-events: none; animation: drift 14s ease-in-out infinite; }
.drift svg { width: 34px; height: 34px; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(-8deg); } 50% { transform: translate(18px, -26px) rotate(12deg); } }

/* quiz */
.quiz { margin: 80px auto 0; max-width: 760px; background: var(--card); border-radius: 28px; padding: clamp(26px, 5vw, 50px); box-shadow: var(--shadow); text-align: center; position: relative; overflow: hidden; }
.quiz::before { content: ''; position: absolute; inset: -40% -20% auto; height: 260px; background: radial-gradient(closest-side, rgba(233, 214, 173, .5), transparent); pointer-events: none; }
.quiz h3 { font-size: clamp(1.9rem, 4vw, 2.6rem); position: relative; }
.quiz .q { font: italic 400 1.5rem/1.3 var(--serif); margin: 18px 0 22px; position: relative; }
.quiz .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
@media (max-width: 520px) { .quiz .opts { grid-template-columns: 1fr; } }
.quiz .opts button { font: 300 1rem/1.4 var(--sans); padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; transition: transform .25s, border-color .25s, background .25s; }
.quiz .opts button:hover { transform: translateY(-3px) rotate(-.5deg); border-color: var(--gold); background: #fff; }
.quiz .progress { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.quiz .progress i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: .4s; }
.quiz .progress i.on { background: var(--gold); transform: scale(1.3); }
.quiz .result { position: relative; animation: rise .8s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.quiz .result .sym { width: 86px; height: 86px; margin: 6px auto 14px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c); box-shadow: 0 0 40px -6px var(--c); animation: float 5s ease-in-out infinite; }
.quiz .result .sym svg { width: 42px; height: 42px; }
.quiz .result .acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
/* backdrop-filter creates a containing block for fixed children – drop it while the mobile menu is open */
.nav.open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
