/* VeganGo — design system
   Palette: brand blue + green from the supplied logo, warmed with an oat background and a peach accent.
   Type: Bricolage Grotesque (display) + Figtree (body). Self-hosted in fonts.css. */
:root {
  --navy: #0E2B57;
  --navy-deep: #081D3D;
  --blue: #1D5BB4;
  --blue-deep: #164A93;
  --green: #3E9C39;
  --green-deep: #2E7E2B;
  --lime: #8ED14F;
  --mint: #E4F3DC;
  --oat: #FFF7EC;
  --oat-deep: #F6E9D6;
  --peach: #F6B26B;
  --peach-deep: #E8933D;
  --white: #FFFFFF;
  --ink: #0E2B57;
  --muted: #56688A;
  --line: rgba(14, 43, 87, .12);
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 72px);
  --max: 1720px;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(14, 43, 87, .28);
  --shadow-sm: 0 10px 30px -14px rgba(14, 43, 87, .25);
  --media-cap: min(76vh, 760px);
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--oat);
  overflow-x: clip;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p a { text-decoration: underline; text-underline-offset: .15em; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
ul, ol.crumbs { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-variation-settings: 'opsz' 96; line-height: 1.02; letter-spacing: -.02em; margin: 0; font-weight: 800; }
h1 { font-size: clamp(2.7rem, 6.2vw, 6.4rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 4.3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
p { margin: 0; }
.lead { font-size: clamp(1.15rem, 1.45vw, 1.4rem); line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 128px); position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { font-size: clamp(1.1rem, 1.3vw, 1.3rem); color: var(--muted); }
.section-head .head-text { flex: 1 1 100%; }
.section-head .head-text p { margin-top: 14px; }
.section-head .head-side { flex: 1 1 auto; display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 30px; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1; transition: transform .25s cubic-bezier(.2, .8, .2, 1), background-color .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.btn-sm { padding: 12px 20px; font-size: .95rem; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 12px 30px -12px rgba(62, 156, 57, .7); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 12px 30px -12px rgba(29, 91, 180, .7); }
.btn-blue:hover { background: var(--blue-deep); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--oat-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { background: rgba(14, 43, 87, .06); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-peach { background: var(--peach); color: var(--navy); }
.btn-peach:hover { background: var(--peach-deep); }
.btn svg { flex: none; }
.btn[data-magnet] { will-change: transform; }

/* Announcement bar */
.announce { background: var(--navy); color: #fff; font-size: .9rem; font-weight: 600; height: 38px; overflow: hidden; }
.announce-inner { position: relative; height: 38px; display: grid; place-items: center; text-align: center; }
.announce-msg { position: absolute; inset: 0; display: grid; place-items: center; padding-inline: 8px; opacity: 0; transform: translateY(100%); }
.announce-msg.is-on { opacity: 1; transform: none; }
html:not(.js) .announce-msg:not(.is-on) { display: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 247, 236, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 40px -20px rgba(14, 43, 87, .35); }
.header-inner { display: flex; align-items: center; gap: clamp(16px, 2vw, 40px); height: var(--header-h); }
.logo { flex: none; display: block; }
.logo img { height: 74px; width: auto; transition: height .3s; }
.site-header.is-scrolled .logo img { height: 60px; }
.main-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.nav-list { display: flex; gap: clamp(2px, .6vw, 10px); }
.nav-item { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font-weight: 700; font-size: 1.02rem; color: var(--navy); transition: background-color .2s, color .2s; }
.nav-link:hover, .nav-item.is-open > .nav-link { background: var(--mint); color: var(--green-deep); }
.nav-link .chev { transition: transform .3s; }
.nav-item.is-open > .nav-link .chev { transform: rotate(180deg); }
.menu { position: absolute; top: 100%; left: 0; right: 0; visibility: hidden; opacity: 0; pointer-events: none; }
.nav-item.is-open > .menu { visibility: visible; opacity: 1; pointer-events: auto; }
html:not(.js) .nav-item:hover > .menu, html:not(.js) .nav-item:focus-within > .menu { visibility: visible; opacity: 1; pointer-events: auto; }
.menu--mega { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 40px 60px -30px rgba(14, 43, 87, .35); }
.mega-inner { display: grid; grid-template-columns: 1fr minmax(260px, 320px); gap: clamp(24px, 3vw, 56px); padding-block: 32px 36px; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mega-card { display: grid; gap: 4px; padding: 10px; border-radius: 16px; transition: background-color .2s; }
.mega-card:hover { background: var(--oat); }
.mega-img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; margin-bottom: 8px; background: var(--oat-deep); }
.mega-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.mega-card:hover .mega-img img { transform: scale(1.06); }
.mega-name { font-weight: 700; color: var(--navy); }
.mega-count { font-size: .85rem; color: var(--muted); }
.mega-side { background: var(--navy); color: #fff; border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; align-self: start; }
.mega-side-title { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.mega-side p:not(.mega-side-title) { color: rgba(255, 255, 255, .8); font-size: .98rem; }
.mega-side .btn { align-self: flex-start; }
.mega-links { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .15); font-weight: 600; font-size: .95rem; }
.mega-links a:hover { color: var(--lime); }
.menu--list { left: auto; right: auto; width: 260px; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(14, 43, 87, .35); margin-top: 6px; }
.nav-item:has(.menu--list) { position: relative; }
.menu--list a { display: block; padding: 11px 14px; border-radius: 10px; font-weight: 600; color: var(--navy); transition: background-color .2s, color .2s; }
.menu--list a:hover { background: var(--mint); color: var(--green-deep); }
.header-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.search { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 16px; margin-right: 8px; transition: box-shadow .2s, border-color .2s; }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 91, 180, .15); }
.search input { border: 0; background: none; outline: 0; width: 190px; font-size: .95rem; color: var(--navy); }
.search input::placeholder { color: var(--muted); }
.search button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; }
.tool { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); transition: background-color .2s; }
.tool:hover { background: var(--mint); }
.basket-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--peach); color: var(--navy); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; top: calc(var(--header-h) + 38px); z-index: 99; background: var(--oat); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu-inner { padding: 16px var(--gutter) 40px; display: grid; gap: 4px; }
.m-group summary { list-style: none; cursor: pointer; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary::after { content: ''; width: 10px; height: 10px; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(45deg); transition: transform .3s; margin-right: 6px; }
.m-group[open] summary::after { transform: rotate(-135deg); }
.m-group ul { display: grid; gap: 2px; padding-bottom: 12px; }
.m-group li a { display: flex; align-items: center; gap: 12px; padding: 10px 4px; font-weight: 600; font-size: 1.05rem; }
.m-group li img { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; }
.m-link { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; padding: 14px 0; border-top: 1px solid var(--line); }
.m-group { border-top: 1px solid var(--line); }
.m-foot { display: flex; gap: 12px; padding-top: 24px; flex-wrap: wrap; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 14px 18px 14px 14px; border-radius: 999px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); z-index: 150; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; font-weight: 600; max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--oat); }
.toast a { color: var(--lime); text-decoration: underline; text-underline-offset: .15em; white-space: nowrap; }

/* Cursor follower (desktop only) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; }
  .cursor-dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); transition: transform .3s, opacity .3s; opacity: 0; }
  .cursor.is-active .cursor-dot { opacity: 1; }
  .cursor-label { position: absolute; left: -36px; top: -36px; width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; transform: scale(0); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
  .cursor.has-label .cursor-label { transform: scale(1); }
  .cursor.has-label .cursor-dot { transform: scale(0); }
}

/* Reveal helpers: JS sets the hidden state, so no-JS and reduced motion show everything. */
.sl-mask { padding: .2em .15em .3em; margin: -.2em -.15em -.3em; }
.hero .sl-mask { padding: .22em .15em .3em; margin: -.22em -.15em -.3em; }

/* HERO */
.hero { position: relative; min-height: max(600px, calc(100svh - var(--header-h) - 38px)); display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; background: var(--navy); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-media img { position: absolute; inset: 0; }
.hero-media video { position: relative; z-index: 1; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 29, 61, .82) 0%, rgba(8, 29, 61, .62) 34%, rgba(8, 29, 61, .1) 62%, rgba(8, 29, 61, 0) 80%), linear-gradient(0deg, rgba(8, 29, 61, .75) 0%, rgba(8, 29, 61, 0) 45%); }
.hero-inner { position: relative; padding-top: 32px; padding-bottom: 56px; display: grid; gap: 24px; }
.hero-copy { max-width: 60%; display: grid; gap: 24px; }
.hero h1 { font-size: clamp(2.6rem, 4.9vw, 5.2rem); }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { color: rgba(255, 255, 255, .88); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-strip { display: flex; flex-wrap: wrap; gap: 10px 14px; padding-top: 10px; }
.hero-strip li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .2); font-weight: 600; font-size: .95rem; }
.hero-strip svg { flex: none; color: var(--lime); }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .75); }
.hero-scroll span { width: 1px; height: 44px; background: linear-gradient(to bottom, transparent, #fff); }

/* Marquee */
.marquee { background: var(--green); color: #fff; overflow: hidden; padding-block: 16px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.4vw, 1.35rem); }
.marquee-track { display: flex; gap: 0; width: max-content; will-change: transform; }
.marquee-track span { padding-inline: 28px; display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; }
.marquee-track span::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
html:not(.js) .marquee-track { flex-wrap: wrap; width: auto; }

/* SHELF: draggable category strip */
.shelf { background: var(--oat); overflow: hidden; }
.shelf-viewport { overflow: visible; cursor: grab; }
.shelf-viewport.is-dragging { cursor: grabbing; }
.shelf-track { display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content; padding-right: var(--gutter); }
.shelf-card { position: relative; flex: none; width: clamp(240px, 22vw, 360px); aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; isolation: isolate; transform-style: preserve-3d; }
.shelf-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.shelf-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 29, 61, .85), rgba(8, 29, 61, .1) 55%, transparent); }
.shelf-card:hover img { transform: scale(1.06); }
.shelf-card h3 { font-size: clamp(1.4rem, 1.8vw, 1.85rem); color: #fff; }
.shelf-card p { color: rgba(255, 255, 255, .8); font-size: .92rem; margin-top: 6px; }
.shelf-card .shelf-go { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; transform: translateY(-6px); opacity: 0; transition: opacity .3s, transform .3s; }
.shelf-card:hover .shelf-go { opacity: 1; transform: none; }
.shelf-nav { display: flex; gap: 10px; }
.shelf-nav button { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background-color .2s, color .2s, transform .2s; }
.shelf-nav button:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
html:not(.js) .shelf-track { flex-wrap: wrap; width: auto; }

/* WHY: text + framed image */
.why { background: #fff; }
.why-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.why-text h2 .fill { color: rgba(14, 43, 87, .22); background: linear-gradient(90deg, var(--navy) 50%, rgba(14, 43, 87, .22) 50%); background-size: 200% 100%; background-position: 0% 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html:not(.js) .why-text h2 .fill { -webkit-text-fill-color: var(--navy); }
.why-points { display: grid; gap: 22px; margin-top: 36px; }
.why-point { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.why-point .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--mint); color: var(--green-deep); display: grid; place-items: center; }
.why-point h3 { font-size: 1.3rem; margin-bottom: 6px; }
.why-point p { color: var(--muted); }
.why-figure { position: relative; width: min(100%, calc(var(--media-cap) * 1.15)); margin-left: auto; }
.why-figure .frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; max-height: var(--media-cap); box-shadow: var(--shadow); }
.why-figure .frame img { width: 100%; height: 100%; object-fit: cover; }
.why-figure::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--lime); border-radius: var(--radius); z-index: -1; }
.why-badge { position: absolute; left: -18px; bottom: 34px; background: var(--peach); color: var(--navy); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow-sm); display: grid; gap: 2px; max-width: 240px; }
.why-badge strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; font-weight: 800; }
.why-badge span { font-size: .9rem; font-weight: 600; }
.why-leaf { position: absolute; right: -14px; top: -20px; width: 88px; height: 88px; border-radius: 50%; background: var(--green); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm); }

/* Product cards */
.pcard { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard-media { position: relative; display: block; aspect-ratio: 1; background: var(--oat); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.card-tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .02em; background: var(--navy); color: #fff; }
.card-tag--offer { background: var(--peach); color: var(--navy); }
.card-tag--new { background: var(--lime); color: var(--navy); }
.card-tag--bestseller { background: var(--blue); }
.card-tag--gift { background: var(--green); }
.pcard-body { padding: 16px 18px 18px; display: grid; gap: 4px; flex: 1; }
.pcard-maker { font-size: .85rem; color: var(--muted); font-weight: 600; }
.pcard-name { font-size: 1.08rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.pcard-meta { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.stars { display: inline-flex; gap: 1px; color: var(--peach-deep); }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; }
.price s { color: var(--muted); font-size: .9rem; }
.btn-add { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: .92rem; transition: background-color .2s, transform .2s; }
.btn-add:hover { background: var(--green); transform: translateY(-2px); }
.btn-add.is-added { background: var(--green); }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); }

/* FAVES with Flip tabs */
.faves { background: var(--oat); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; background: #fff; padding: 6px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.tab { padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--navy); transition: background-color .25s, color .25s; }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.tab:hover:not([aria-selected="true"]) { background: var(--mint); }
.pcard.is-hidden { display: none; }
.faves-more { display: flex; justify-content: center; margin-top: 40px; }

/* WORLD: pinned map set piece */
.world { background: var(--navy-deep); color: #fff; overflow: clip; }
.world-pin { height: calc(100svh - var(--header-h)); display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 16px; padding-block: 28px 24px; }
.world-head h2 { color: #fff; font-size: clamp(1.9rem, 3.1vw, 3rem); }
.world-head p { color: rgba(255, 255, 255, .78); margin-top: 8px; font-size: clamp(1rem, 1.15vw, 1.15rem); }
.world-head .world-progress { margin-top: 12px; display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .7); }
.world-progress .bar { flex: 1 1 200px; max-width: 320px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.world-progress .bar i { display: block; height: 100%; width: 0; background: var(--lime); }
.world-stage { position: relative; width: min(100%, calc((100svh - var(--header-h) - 300px) * 1.79)); max-width: 100%; margin-inline: auto; aspect-ratio: 2400 / 1340; align-self: center; }
.world-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.world-arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.world-arcs path { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(142, 209, 79, .7)); }
.world-arcs .leaf { fill: #fff; }
.pin { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 6px rgba(246, 178, 107, .25); }
.pin.pin-dest { background: #fff; box-shadow: 0 0 0 8px rgba(255, 255, 255, .22); width: 18px; height: 18px; margin: -9px 0 0 -9px; }
.pin-label { position: absolute; transform: translate(-50%, 12px); white-space: nowrap; font-size: .82rem; font-weight: 700; color: #fff; background: rgba(8, 29, 61, .7); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.wcard { position: absolute; width: 240px; background: #fff; color: var(--navy); border-radius: 16px; padding: 10px; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; box-shadow: var(--shadow); transform: translate(-50%, -100%); margin-top: -18px; }
.wcard img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--oat); }
.wcard strong { display: block; font-size: .95rem; line-height: 1.2; }
.wcard span { font-size: .82rem; color: var(--muted); }
.world-list { display: none; }

/* GIFT band */
.gift { position: relative; min-height: 78vh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--navy); }
.gift-media { position: absolute; inset: -12% 0; }
.gift-media img { width: 100%; height: 100%; object-fit: cover; }
.gift::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 29, 61, .85) 0%, rgba(8, 29, 61, .2) 60%, rgba(8, 29, 61, 0)); }
.gift-inner { position: relative; z-index: 1; padding-block: clamp(48px, 7vw, 100px); display: grid; grid-template-columns: 1fr auto; gap: 28px 48px; align-items: end; }
.gift-inner h2 { color: #fff; }
.gift-inner p { color: rgba(255, 255, 255, .88); margin-top: 16px; font-size: clamp(1.1rem, 1.35vw, 1.35rem); }

/* MAKERS: image + text + stats */
.makers { background: #fff; }
.makers-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.makers-figure { position: relative; width: min(100%, calc(var(--media-cap) * 1.25)); }
.makers-figure .frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; max-height: var(--media-cap); box-shadow: var(--shadow); }
.makers-figure .frame img { width: 100%; height: 100%; object-fit: cover; }
.makers-figure .frame-2 { position: absolute; right: -8%; bottom: -10%; width: 38%; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); }
.makers-figure .frame-2 img { width: 100%; height: 100%; object-fit: cover; }
.makers-quote { margin-top: 24px; padding-left: 20px; border-left: 4px solid var(--lime); font-size: 1.15rem; color: var(--navy); }
.makers-quote cite { display: block; font-style: normal; color: var(--muted); font-size: .95rem; margin-top: 8px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.stat { background: var(--oat); border-radius: 18px; padding: 20px 20px 18px; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 2.8vw, 2.9rem); font-weight: 800; line-height: 1; color: var(--blue); }
.stat span { display: block; font-size: .92rem; color: var(--muted); margin-top: 6px; font-weight: 600; }

/* JOIN */
.join { background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%); color: #fff; overflow: hidden; }
.join-grid { display: grid; grid-template-columns: 1fr minmax(320px, .8fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.join h2 { color: #fff; }
.join p { color: rgba(255, 255, 255, .88); margin-top: 16px; font-size: clamp(1.05rem, 1.3vw, 1.3rem); }
.join-form { display: flex; gap: 8px; margin-top: 28px; background: #fff; padding: 6px; border-radius: 999px; max-width: 560px; }
.join-form input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 18px; font-size: 1rem; color: var(--navy); outline: 0; }
.join-figure { position: relative; width: min(100%, calc(var(--media-cap) * 1.3)); margin-left: auto; }
.join-figure .frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; max-height: var(--media-cap); box-shadow: var(--shadow); transform: rotate(2deg); }
.join-figure .frame img { width: 100%; height: 100%; object-fit: cover; }
.join-figure .stamp { position: absolute; left: -16px; top: -16px; width: 110px; height: 110px; border-radius: 50%; background: var(--peach); color: var(--navy); display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: .95rem; line-height: 1.1; padding: 12px; box-shadow: var(--shadow-sm); transform: rotate(-8deg); }

/* FOOTER */
.site-footer { position: relative; background: var(--navy); color: rgba(255, 255, 255, .85); padding-top: clamp(56px, 6vw, 96px); overflow: hidden; }
.footer-leaf { position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(142, 209, 79, .25), transparent 60%); pointer-events: none; }
.footer-top { display: grid; grid-template-columns: minmax(280px, 1.1fr) 2fr; gap: clamp(32px, 5vw, 96px); padding-bottom: 48px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-logo-card { background: #fff; border-radius: 18px; padding: 14px 18px; width: min(100%, 380px); }
.footer-contact a { color: var(--lime); font-weight: 700; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h2 { font-size: 1.15rem; color: #fff; margin-bottom: 16px; font-weight: 700; }
.footer-cols li { margin-bottom: 9px; }
.footer-cols a { transition: color .2s; }
.footer-cols a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 24px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; font-size: .92rem; }
.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay li { padding: 5px 10px; border-radius: 6px; background: rgba(255, 255, 255, .1); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.footer-legal a { margin-left: 14px; text-decoration: underline; text-underline-offset: .15em; }
.footer-credit a { color: var(--lime); font-weight: 700; }

/* Generic page header band used by the shop pages */
.page-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-band h1 { color: #fff; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: '/'; margin-right: 10px; opacity: .5; }
.page-band.light { background: var(--oat); color: var(--navy); }
.page-band.light h1 { color: var(--navy); }
.page-band.light .crumbs { color: var(--muted); }

/* Forms */
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 91, 180, .15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Responsive */
@media (max-width: 1280px) {
  .search input { width: 140px; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .mega-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .search { display: none; }
  .hero-copy { max-width: 72%; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .logo img { height: 56px; }
  .site-header.is-scrolled .logo img { height: 50px; }
  .hero-copy { max-width: 100%; }
  .hero-inner { padding-top: 40px; padding-bottom: 40px; }
  .hero-scroll { display: none; }
  .why-grid, .makers-grid, .join-grid { grid-template-columns: 1fr; }
  .why-figure, .makers-figure, .join-figure { margin-left: 0; width: 100%; }
  .why-figure::before { inset: 16px -12px -12px 16px; }
  .why-badge { left: 12px; bottom: 16px; }
  .why-leaf { right: 8px; top: -14px; width: 72px; height: 72px; }
  .makers-figure { margin-bottom: 8%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .gift-inner { grid-template-columns: 1fr; }
  .world-pin { height: auto; }
  .world-stage { width: 100%; max-width: none; }
  .wcard { width: 200px; grid-template-columns: 48px 1fr; padding: 8px; }
  .wcard img { width: 48px; height: 48px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .join-figure .frame { transform: rotate(1deg); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { min-height: 100svh; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .hero-strip li { font-size: .85rem; padding: 8px 12px 8px 10px; }
  .btn { padding: 15px 24px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .shelf-card { width: 72vw; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcard-body { padding: 12px 12px 14px; }
  .pcard-name { font-size: .98rem; }
  .price strong { font-size: 1.15rem; }
  .btn-add span { display: none; }
  .btn-add { padding: 10px; }
  .wcard { display: none; }
  .world-list { display: grid; gap: 10px; margin-top: 20px; }
  .world-list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 8px; }
  .world-list img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--oat); }
  .world-list strong { display: block; font-size: .95rem; }
  .world-list span { font-size: .85rem; color: rgba(255, 255, 255, .7); }
  .pin-label { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .join-form { flex-direction: column; border-radius: 22px; }
  .join-form .btn { width: 100%; }
  .join-figure .stamp { width: 90px; height: 90px; font-size: .85rem; left: -8px; }
  .stats { gap: 10px; }
  .stat { padding: 16px; }
  .tabs { width: 100%; }
  .tab { flex: 1 1 auto; text-align: center; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .hero-media video { display: none; }
}
