:root {
  --heart: #C42D35;
  --ink: #0d0b0b;
  --white: #fff;
  --pink: #F0C6CE;
  --sun: #E7D3AE;
  --sky: #C3D3E6;
  --mint: #CFE0D4;
  --wine: #4B1220;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Bricolage Grotesque", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --r: 36px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.55; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, canvas, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--heart); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 900; line-height: .95; letter-spacing: -0.025em; margin: 0; }
h2.big { font-size: clamp(2.8rem, 8vw, 7.5rem); }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1em; max-width: 60ch; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: clamp(80px, 12vw, 170px) 0; position: relative; }
.band.tight { padding-bottom: 60px; }
.sky-bg { background: var(--sky); }
.mint-bg { background: var(--mint); }
.sun-bg { background: var(--sun); }
.sample-flag { display: inline-block; font-size: .72rem; font-weight: 700; background: var(--sun); color: var(--ink); padding: .15em .65em; border-radius: 999px; vertical-align: middle; }

/* buttons & chips */
.btn { display: inline-block; font: 700 1rem var(--sans); padding: 1em 1.7em; border-radius: 999px; border: 2.5px solid var(--ink); text-decoration: none; cursor: pointer; background: transparent; color: var(--ink); transition: transform .18s, background .18s, color .18s, box-shadow .18s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn.solid { background: var(--heart); border-color: var(--ink); color: #fff; }
.btn.small { font-size: .9rem; padding: .6em 1.1em; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { font: 600 .98rem var(--sans); padding: .6em 1.2em; border-radius: 999px; border: 2.5px solid var(--ink); background: #fff; cursor: pointer; transition: background .15s, color .15s; }
.chip:hover { background: var(--pink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* floating pill nav */
.pill-nav { position: fixed; z-index: 60; top: 16px; left: 50%; transform: translateX(-50%); width: min(1180px, calc(100vw - 28px)); background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 2.5px solid var(--ink); border-radius: 999px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 12px 10px 26px; box-shadow: 0 6px 0 var(--ink); }
.pill-nav .logo img { height: 24px; width: auto; }
.pill-nav nav { display: flex; gap: 6px; }
.pill-nav nav a { text-decoration: none; font-weight: 600; font-size: .98rem; padding: .5em 1em; border-radius: 999px; transition: background .15s; }
.pill-nav nav a:hover { background: var(--pink); }
.cart-btn { background: var(--heart); color: #fff; border: 2.5px solid var(--ink); border-radius: 999px; padding: .55em 1.2em; font: 700 .95rem var(--sans); cursor: pointer; }
.cart-btn span { background: #fff; color: var(--ink); border-radius: 999px; padding: 0 .5em; margin-left: .3em; }
.menu-btn { display: none; background: none; border: 0; font: 700 1rem var(--sans); cursor: pointer; }

/* hero */
.hero { padding: 130px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(3.8rem, 9vw, 8.4rem); line-height: .86; letter-spacing: -.04em; }
.hero .lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); margin: 32px 0 34px; max-width: 46ch; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.heart-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: end; }
.heart-stage .blob { position: absolute; inset: 6%; background: var(--pink); border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; animation: morph 12s ease-in-out infinite alternate; }
@keyframes morph { 50% { border-radius: 40% 60% 42% 58% / 58% 44% 56% 42%; transform: rotate(8deg); } 100% { border-radius: 55% 45% 60% 40% / 44% 58% 42% 56%; transform: rotate(-6deg); } }
.heart-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; touch-action: pan-y; }
.heart-stage .fallback { position: absolute; inset: 18%; object-fit: contain; mix-blend-mode: multiply; display: none; }
.heart-stage.no-gl .fallback { display: block; }
.badge { position: absolute; width: 34%; right: -2%; bottom: 4%; animation: spin 18s linear infinite; pointer-events: none; }
.badge text { font: 700 17px var(--sans); fill: var(--ink); letter-spacing: .04em; }
.badge::before { content: ""; }
.sticker { position: absolute; font: 900 1.15rem var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; padding: .35em .9em; border: 2.5px solid var(--ink); border-radius: 999px; background: #fff; box-shadow: 3px 3px 0 var(--ink); pointer-events: none; }
.sticker.s1 { top: 8%; left: 2%; background: var(--sun); transform: rotate(-8deg); }
.sticker.s2 { top: 30%; right: -1%; background: var(--mint); transform: rotate(6deg); }
.sticker.s3 { bottom: 12%; left: 0; background: var(--sky); transform: rotate(5deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.banner { margin: 56px 0 0; border-radius: var(--r) var(--r) 0 0; overflow: hidden; position: relative; height: clamp(260px, 44vw, 560px); border: 2.5px solid var(--ink); border-bottom: 0; }
.banner img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.banner figcaption { position: absolute; left: 20px; bottom: 20px; background: #fff; border: 2.5px solid var(--ink); border-radius: 999px; padding: .4em 1em; font-size: .9rem; font-weight: 600; }

/* marquee */
.marquee { background: var(--heart); color: #fff; overflow: hidden; white-space: nowrap; padding: 18px 0; border-block: 2.5px solid var(--ink); font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); }
.marquee div { display: inline-block; animation: slide 45s linear infinite; }
.marquee span { margin: 0 .6em; }
.marquee i { font-style: normal; margin: 0 .3em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* how */
.how { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how .c { border: 2.5px solid var(--ink); border-radius: var(--r); padding: 32px; min-height: 380px; display: flex; flex-direction: column; transition: transform .25s; box-shadow: 8px 8px 0 var(--ink); }
.how .c:nth-child(1) { transform: rotate(-1.5deg); }
.how .c:nth-child(2) { transform: translateY(24px) rotate(1deg); }
.how .c:nth-child(3) { transform: rotate(-.8deg); }
.how .c:hover { transform: rotate(0) translateY(-6px); }
.how .pink { background: var(--pink); } .how .sun { background: var(--sun); } .how .sky { background: var(--sky); }
.how .n { font: 900 7rem/1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; margin-bottom: auto; }
.how h3 { margin: 24px 0 10px; }
.how p { margin: 0; }

/* makers rail */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; margin-bottom: 44px; }
.rail { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px var(--gutter) 34px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.maker { flex: 0 0 clamp(290px, 31vw, 440px); scroll-snap-align: start; position: relative; border: 2.5px solid var(--ink); border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; padding: 0; background: var(--ink); color: #fff; text-align: left; cursor: pointer; box-shadow: 8px 8px 0 var(--ink); transition: transform .25s, box-shadow .25s; }
.maker:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ink); }
.maker img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.maker:hover img { transform: scale(1.07); }
.maker::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78), transparent 55%); }
.maker .top { position: absolute; z-index: 2; top: 16px; left: 16px; right: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.maker .tag { background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: .2em .8em; font-size: .82rem; font-weight: 700; }
.maker .bot { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; }
.maker h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); color: #fff; }
.maker .line { margin: 8px 0 14px; font-size: .98rem; color: #f1e9e6; }
.maker .give { display: inline-flex; align-items: center; gap: 8px; background: var(--sun); color: var(--ink); border-radius: 999px; padding: .4em 1em; font-weight: 700; font-size: .92rem; border: 2px solid var(--ink); }
.rail-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.rail-foot p { margin: 0; font-size: .95rem; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 54px; height: 54px; border-radius: 50%; border: 2.5px solid var(--ink); background: #fff; font-size: 1.4rem; cursor: pointer; transition: background .15s; }
.arrow:hover { background: var(--pink); }

/* calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.calc-intro { margin: 28px 0; font-size: 1.15rem; }
.range { display: block; margin-top: 30px; font-weight: 700; font-size: 1.15rem; }
.range output { font: 900 2rem var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; margin-left: .3em; }
.range input { width: 100%; margin-top: 14px; accent-color: var(--heart); height: 28px; }
.calc-card { position: relative; background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r); box-shadow: 10px 10px 0 var(--ink); display: flex; flex-direction: column; align-items: center; padding: 28px 28px 34px; gap: 10px; }
.calc-heart { width: 54%; fill: var(--heart); stroke: var(--ink); stroke-width: .03; transform-origin: center; animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.04); } 24% { transform: scale(1); } 36% { transform: scale(1.03); } }
.calc-out { display: grid; text-align: center; }
.calc-out strong { font: 900 clamp(3.4rem, 8vw, 6rem)/1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--heart); }
.calc-out span { font-weight: 700; font-size: 1.1rem; margin: 8px auto 0; }

/* stories */
.mag { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.story { grid-column: span 5; display: grid; grid-template-columns: 38% 1fr; gap: 20px; align-items: center; text-decoration: none; border: 2.5px solid var(--ink); border-radius: var(--r); padding: 14px; background: var(--c); transition: transform .2s, box-shadow .2s; }
.story:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.story:first-child { grid-column: span 7; grid-row: span 3; grid-template-columns: 1fr; align-content: start; padding: 14px 14px 28px; }
.story img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--r) - 12px); }
.story:first-child img { aspect-ratio: 4/3; }
.story .meta { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.story .meta span { background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: .15em .7em; font-size: .8rem; font-weight: 700; }
.story h3 { font-size: 1.45rem; margin-bottom: 8px; }
.story:first-child h3 { font-size: clamp(2rem, 4vw, 3.2rem); }
.story:first-child .txt { padding: 8px 14px 0; }
.story p { margin: 0; font-size: .98rem; }

/* origin */
.origin { background: var(--heart); color: #fff; overflow: hidden; }
.origin-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.porthole-wrap { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; margin: 0 auto; }
.porthole { position: absolute; inset: 11%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 35% 30%, #fbeeee 0%, #f0c6ce 55%, #dba3af 100%); border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.porthole canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; touch-action: pan-y; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; pointer-events: none; }
.ring text { font: italic 800 31px var(--serif); fill: #fff; letter-spacing: .03em; }
.origin-copy h2 { margin-bottom: 30px; }
.origin-copy p { font-size: 1.15rem; }
.gift { margin: 36px 0 0; transform: rotate(-2deg); border: 3px solid var(--ink); border-radius: 28px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); max-width: 520px; }

/* charities */
.charity-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.charity { border: 2.5px solid var(--ink); background: #fff; border-radius: var(--r); padding: 28px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; box-shadow: 6px 6px 0 var(--ink); transition: transform .2s, box-shadow .2s, background .2s; }
.charity:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); background: var(--pink); }
.charity h3 { font-size: 1.7rem; }
.charity .state { margin-top: auto; padding-top: 22px; font-size: .84rem; opacity: .7; }

/* social bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, 22vw); gap: 20px; margin-top: 56px; }
.bento a { position: relative; border: 2.5px solid var(--ink); border-radius: var(--r); overflow: hidden; text-decoration: none; display: flex; align-items: flex-end; padding: 20px; font: 900 clamp(1.5rem, 2.6vw, 2.2rem) var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; background: var(--c); transition: transform .2s, box-shadow .2s; }
.bento a:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 7px 7px 0 var(--ink); }
.bento a.ph { color: #fff; }
.bento a.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento a.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 60%); }
.bento a span { position: relative; z-index: 2; }
.bento .w2 { grid-column: span 2; } .bento .h2 { grid-row: span 2; }

/* partner */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
form.apply { background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r); padding: 34px; display: grid; gap: 16px; box-shadow: 10px 10px 0 var(--ink); }
form.apply label { font-weight: 700; font-size: .95rem; display: grid; gap: 6px; }
form.apply input, form.apply select, form.apply textarea { font: 500 1rem var(--sans); padding: .85em 1em; border-radius: 16px; border: 2.5px solid var(--ink); background: #fff; color: var(--ink); }
form.apply textarea { min-height: 110px; }
.form-msg { min-height: 1.4em; margin: 0; font-weight: 600; }

/* footer */
.site-foot { background: var(--pink); border-top: 2.5px solid var(--ink); padding: 72px 0 40px; }
.foot-3d { position: relative; width: 100%; max-width: 1180px; margin: 0 auto 48px; cursor: grab; touch-action: pan-y; }
.foot-3d canvas { width: 100% !important; height: auto !important; aspect-ratio: 4 / 1; }
.foot-logo { width: 100%; height: auto; }
.foot-3d.gl .foot-logo { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; }
.site-foot .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-weight: 600; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--heart); }
.site-foot h4 { margin: 0 0 12px; font: 800 1.1rem var(--sans); }
.site-foot .legal { margin: 48px 0 0; font-size: .85rem; }

/* dialog */
dialog.profile { border: 2.5px solid var(--ink); padding: 0; width: min(1040px, 94vw); max-height: 92vh; border-radius: var(--r); overflow: auto; background: #fff; box-shadow: 12px 12px 0 var(--ink); }
dialog::backdrop { background: rgba(196,45,53,.55); backdrop-filter: blur(6px); }
.profile .close { position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; z-index: 3; background: #fff; border: 2.5px solid var(--ink); width: 46px; height: 46px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; }
.profile .top { display: grid; grid-template-columns: 1.1fr 1fr; }
.profile .media { position: relative; min-height: 380px; background: var(--c); }
.profile .media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile .media .vid { position: absolute; left: 16px; bottom: 16px; right: 16px; background: #fff; border: 2.5px solid var(--ink); border-radius: 22px; padding: 12px 16px; font-size: .92rem; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.profile .media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.profile .body { padding: 40px 36px; }
.profile .meta { margin: 0 0 10px; font-weight: 600; }
.profile .body h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 16px; }
.profile .giving { display: flex; gap: 14px; align-items: center; background: var(--sun); border: 2.5px solid var(--ink); border-radius: 22px; padding: 14px 18px; margin: 20px 0; font-weight: 600; }
.profile .giving b { font: 900 1.8rem var(--serif); }
.profile .products { padding: 0 36px 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.prod { background: var(--c); border: 2.5px solid var(--ink); border-radius: 26px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.prod h3 { font-size: 1.5rem; }
.prod .price { font-weight: 800; }
.prod .row { margin-top: auto; padding-top: 14px; }

/* cart */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: #fff; border-left: 2.5px solid var(--ink); z-index: 90; transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); padding: 24px; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer ul { list-style: none; padding: 0; margin: 20px 0; overflow: auto; flex: 1; }
.drawer li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 2px solid var(--ink); }
.drawer .total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.3rem; margin-bottom: 14px; }
.drawer .rm { background: none; border: 0; cursor: pointer; text-decoration: underline; font: inherit; padding: 0; }

/* custom cursor (fine pointers only) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; z-index: 200; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; pointer-events: none; opacity: 0; transition: opacity .2s; }
  .cursor.on { opacity: 1; }
  .cursor.hide { opacity: 0; }
  .cursor svg { width: 100%; height: 100%; overflow: visible; fill: var(--heart); stroke: var(--ink); stroke-width: .1; stroke-linejoin: round; filter: drop-shadow(1px 2px 0 rgba(0,0,0,.35)); }
  .cursor span { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 14px); white-space: nowrap; background: var(--ink); color: #fff; font: 700 .8rem var(--sans); padding: .25em .8em; border-radius: 999px; opacity: 0; transition: opacity .15s; }
  .cursor.big span { opacity: 1; }
  html.hearty-cursor, html.hearty-cursor * { cursor: none !important; }
  html.hearty-cursor input, html.hearty-cursor textarea, html.hearty-cursor select { cursor: auto !important; }
}

/* legal page */
.legal-page { padding: 150px 0 80px; }
.legal-page h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 32px; }
.legal-page h2 { font-size: 1.7rem; margin: 40px 0 10px; }
.fill { background: var(--sun); padding: 0 .3em; border-radius: 4px; }

@media (max-width: 960px) {
  .pill-nav { border-radius: 28px; flex-wrap: wrap; gap: 10px; padding: 8px 8px 8px 16px; }
  .pill-nav .logo img { height: 20px; }
  .cart-btn { padding: .45em .9em; }
  .pill-nav nav { display: none; order: 4; width: 100%; flex-direction: column; padding: 8px 0 12px; }
  .pill-nav nav.open { display: flex; }
  .menu-btn { display: block; margin-left: auto; }
  .hero { padding-top: 110px; }
  .hero-grid, .calc, .origin-grid, .partner-grid, .profile .top { grid-template-columns: 1fr; }
  .heart-stage { max-width: 440px; justify-self: center; order: -1; }
  .how { grid-template-columns: 1fr; }
  .how .c:nth-child(n) { transform: none; min-height: 280px; }
  .mag { grid-template-columns: 1fr; }
  .story:nth-child(n) { grid-column: auto; grid-row: auto; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee div, .badge, .ring, .heart-stage .blob, .calc-heart { animation: none; }
  .btn, .maker, .maker img, .how .c, .story, .charity, .bento a { transition: none; }
}

/* ===== v3: languages, shop, portraits, uploads ===== */
.sand-bg { background: #EEE2D3; }
.shop-bg { background: #F8E8EB; }
.section-lead { font-size: 1.2rem; margin: 20px 0 0; max-width: 52ch; }
.pill-nav { gap: 12px; }
.lang { display: flex; gap: 2px; border: 2.5px solid var(--ink); border-radius: 999px; padding: 2px; background: #fff; }
.lang button { border: 0; background: transparent; font: 700 .78rem var(--sans); padding: .35em .6em; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cart-btn b { background: #fff; color: var(--ink); border-radius: 999px; padding: 0 .5em; margin-left: .3em; font-weight: 700; }
.pill-nav nav a { padding: .5em .8em; }

/* shop */
.shop-tools { display: grid; gap: 12px; justify-items: end; }
.chips.cur .chip { padding: .35em .9em; font-size: .85rem; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.item { background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r); padding: 14px 14px 20px; display: flex; flex-direction: column; box-shadow: 6px 6px 0 var(--ink); }
.item .ph { position: relative; aspect-ratio: 1; border-radius: calc(var(--r) - 12px); overflow: hidden; background: var(--c); margin-bottom: 14px; }
.item .ph img { width: 100%; height: 100%; object-fit: cover; }
.item .tag { position: absolute; left: 10px; top: 10px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: .15em .7em; font-size: .78rem; font-weight: 700; }
.item h3 { font-size: 1.3rem; line-height: 1.05; padding: 0 6px; }
.item .by { margin: 6px 6px 4px; font-size: .88rem; color: #5b5255; }
.item .gn { margin: 0 6px 12px; font-size: .88rem; font-weight: 600; color: var(--heart); }
.item .buy { display: flex; justify-content: space-between; align-items: center; margin: auto 6px 0; gap: 10px; }
.item .buy strong { font: 900 1.5rem var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; }
.item .own { margin: 12px 6px 0; font-size: .88rem; font-weight: 600; }
.pay-strip { margin-top: 48px; padding: 24px 28px; border: 2.5px solid var(--ink); border-radius: var(--r); background: #fff; display: grid; gap: 10px; }
.pay-title { font: 900 1.4rem var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; margin: 0; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.pay { border: 2.5px solid var(--ink); border-radius: 999px; padding: .4em 1em; font-weight: 700; font-size: .95rem; background: var(--pink); }
.pay-badges.small { margin: 8px 0; } .pay-badges.small .pay { font-size: .78rem; padding: .25em .7em; }
.ship { margin: 0; font-size: .92rem; }

/* portrait */
form.portrait { margin-top: 48px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.pf-main { display: grid; gap: 22px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; font-size: .95rem; margin-bottom: 10px; padding: 0; }
.style-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { position: relative; display: block; cursor: pointer; border: 2.5px solid var(--ink); border-radius: 26px; overflow: hidden; background: #fff; }
.tile input { position: absolute; opacity: 0; }
.tile img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.tile span { display: block; padding: 10px 14px 0; font: 900 1.15rem var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; }
.tile small { display: block; padding: 0 14px 12px; font-size: .82rem; color: #5b5255; }
.tile:has(input:checked) { background: var(--pink); box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); }
.tile:has(input:focus-visible) { outline: 3px solid var(--heart); outline-offset: 3px; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
form.portrait label, form.apply label { font-weight: 700; font-size: .95rem; display: grid; gap: 6px; }
form.portrait input:not([type=checkbox]):not([type=file]), form.portrait select, form.portrait textarea { font: 500 1rem var(--sans); padding: .85em 1em; border-radius: 16px; border: 2.5px solid var(--ink); background: #fff; color: var(--ink); width: 100%; }
form.portrait textarea { min-height: 110px; }
.upload input[type=file], form.apply input[type=file] { font: 500 .95rem var(--sans); padding: 14px; border: 2.5px dashed var(--ink); border-radius: 18px; background: #fff; width: 100%; }
.upload small, form.apply small { font-weight: 500; color: #5b5255; }
.previews { display: flex; flex-wrap: wrap; gap: 8px; }
.previews img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; border: 2px solid var(--ink); }
label.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
label.check input { margin-top: .3em; accent-color: var(--heart); width: 20px; height: 20px; flex: none; }
.pf-sum { position: sticky; top: 100px; background: var(--pink); border: 2.5px solid var(--ink); border-radius: var(--r); padding: 28px; box-shadow: 8px 8px 0 var(--ink); display: grid; gap: 10px; }
.pf-sum .from { margin: 0; font-weight: 700; }
.pf-sum .price { margin: 0; font: 900 clamp(3rem, 6vw, 4.5rem)/1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--heart); }
.pf-sum .give { margin: 0; font-weight: 600; }
.pf-sum .fine { margin: 6px 0 0; font-size: .88rem; }
form.apply input:not([type=checkbox]):not([type=file]), form.apply select, form.apply textarea { width: 100%; }
.lucky { background: var(--sun); border: 2px solid var(--ink); border-radius: 18px; padding: 10px 14px; font-weight: 600; font-size: .95rem; }
.sample-flag { background: var(--sun); }

@media (max-width: 960px) {
  .pill-nav nav.open ~ .lang { display: flex; order: 6; margin: 0 auto 10px; }
  .pill-nav .lang { display: none; }
  .cart-btn { margin-left: auto; }
  .menu-btn { margin-left: 0; }
  form.portrait { grid-template-columns: 1fr; }
  .pf-sum { position: static; }
  .shop-tools { justify-items: start; }
}
@media (max-width: 560px) {
  .style-tiles { grid-template-columns: 1fr; }
  .pf-row { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .pill-nav { padding: 8px 8px 8px 14px; gap: 8px; }
  .pill-nav .logo img { height: 18px; }
  .cart-btn { padding: .4em .8em; font-size: .85rem; }
  .menu-btn { font-size: .9rem; padding: .3em .4em; }
}

/* origin quote */
.quote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 5px solid #fff; font: italic 700 clamp(1.3rem, 2.2vw, 1.8rem)/1.3 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; max-width: 34ch; }

/* ===== v4: regions, causes, shipping, Hearty, reviews, Chinese ===== */
:root:lang(zh) { --serif: "Fraunces", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif; --sans: "Bricolage Grotesque", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
:root:lang(yue) { --serif: "Fraunces", "Noto Serif TC", "Songti TC", "PMingLiU", serif; --sans: "Bricolage Grotesque", "Noto Sans TC", "PingFang HK", "PingFang TC", "Microsoft JhengHei", sans-serif; }
:root:lang(zh) h1, :root:lang(zh) h2, :root:lang(zh) h3, :root:lang(yue) h1, :root:lang(yue) h2, :root:lang(yue) h3 { letter-spacing: 0; line-height: 1.12; }
:root:lang(zh) p, :root:lang(yue) p { line-height: 1.7; max-width: 38em; }
.lang button { padding: .35em .5em; font-size: .74rem; }

.regionpick { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; }
.regionpick select { font: 600 .95rem var(--sans); padding: .45em .9em; border-radius: 999px; border: 2.5px solid var(--ink); background: #fff; }

.cause-wrap { margin-bottom: 28px; }
fieldset.cause { border: 2.5px solid var(--ink); border-radius: var(--r); padding: 18px 20px 14px; background: #fff; margin: 18px 0 0; }
fieldset.cause legend { font: 900 1.15rem var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; padding: 0 8px; }
.cause-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cause-opt { position: relative; display: grid; gap: 2px; justify-items: start; align-content: start; border: 2.5px solid var(--ink); border-radius: 20px; padding: 12px 12px 10px; cursor: pointer; background: #fff; transition: background .15s, transform .15s, box-shadow .15s; }
.cause-opt input { position: absolute; opacity: 0; }
.cause-opt .ico { font-size: 1.4rem; line-height: 1; }
.cause-opt b { font-size: .98rem; }
.cause-opt small { font-size: .76rem; color: #5b5255; line-height: 1.25; }
.cause-opt:has(input:checked) { background: var(--pink); box-shadow: 4px 4px 0 var(--ink); transform: translate(-1px, -1px); }
.cause-opt:has(input:focus-visible) { outline: 3px solid var(--heart); outline-offset: 2px; }
.cause .hint { margin: 10px 4px 0; font-size: .84rem; color: #5b5255; }
.drawer .cause-grid, .pf-sum .cause-grid, .calc .cause-grid { grid-template-columns: 1fr 1fr; }
.pf-sum fieldset.cause, .drawer fieldset.cause { padding: 12px; margin-top: 8px; }
.pf-sum fieldset.cause legend, .drawer fieldset.cause legend { font-size: 1rem; }

/* charities */
.charity .ico { font-size: 1.6rem; }
.charity .kind { font-weight: 700; font-size: .9rem; }
.charity.on { background: var(--pink); }

/* cart */
.drawer { overflow-y: auto; }
.cart-cause { margin: 0; font-size: .92rem; }
.fld { display: grid; gap: 4px; font-weight: 700; font-size: .88rem; margin-top: 10px; }
.fld select { font: 500 .95rem var(--sans); padding: .6em .9em; border-radius: 14px; border: 2.5px solid var(--ink); background: #fff; }
.carriers { display: grid; gap: 8px; margin: 12px 0; }
.carrier { display: flex; align-items: center; gap: 10px; border: 2.5px solid var(--ink); border-radius: 18px; padding: 10px 12px; cursor: pointer; background: #fff; }
.carrier.on { background: var(--pink); }
.carrier input { accent-color: var(--heart); }
.carrier span { flex: 1; display: grid; }
.carrier small { color: #5b5255; font-size: .78rem; }
.carrier em { font-style: normal; font-weight: 800; }
dl#sums { margin: 8px 0; display: grid; gap: 4px; }
dl#sums > div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
dl#sums dt { color: #3a3336; } dl#sums dd { margin: 0; font-weight: 700; text-align: right; }
dl#sums .grand { border-top: 2.5px solid var(--ink); margin-top: 6px; padding-top: 8px; font-size: 1.2rem; }
dl#sums .grand dt, dl#sums .grand dd { color: var(--ink); font-weight: 800; }
#cartNote { font-size: .8rem; }

/* Hearty sticker section */
.hearty { background: var(--mint); }
.hearty-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.sticker-wrap { max-width: 420px; justify-self: center; width: 100%; }
.big-sticker { width: 100%; filter: drop-shadow(8px 10px 0 rgba(0,0,0,.25)); transform: rotate(-8deg); transition: transform .4s; }
.big-sticker:hover { transform: rotate(6deg) scale(1.04); }
.hearty-steps { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.hearty-steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; background: #fff; border: 2.5px solid var(--ink); border-radius: 24px; padding: 14px 18px; box-shadow: 5px 5px 0 var(--ink); }
.hearty-steps b { grid-row: span 2; align-self: center; font: 900 2.6rem/1 var(--serif); color: var(--heart); font-variation-settings: "SOFT" 100, "WONK" 1; }
.hearty-steps h3 { font-size: 1.25rem; } .hearty-steps p { margin: 0; font-size: .95rem; }
.hearty-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 56px; }
.hearty-wall a, .hearty-wall .empty { aspect-ratio: 1; border-radius: 28px; border: 2.5px solid var(--ink); overflow: hidden; background: #fff; display: grid; place-items: center; align-content: center; gap: 8px; font-weight: 700; }
.hearty-wall img { width: 100%; height: 100%; object-fit: cover; }
.hearty-wall .empty svg { width: 38%; fill: var(--heart); stroke: var(--ink); stroke-width: .06; }
.fine { font-size: .85rem; color: #4a4245; max-width: 60ch; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 44px 0 18px; }
.quote-card { margin: 0; padding: 28px; border: 2.5px solid var(--ink); border-radius: var(--r); box-shadow: 7px 7px 0 var(--ink); display: flex; flex-direction: column; gap: 18px; }
.quote-card.c0 { background: var(--pink); } .quote-card.c1 { background: var(--sky); } .quote-card.c2 { background: var(--sun); }
.quote-card:nth-child(2) { transform: translateY(18px); }
.quote-card blockquote { margin: 0; font: italic 700 1.3rem/1.3 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; }
.quote-card figcaption { margin-top: auto; font-size: .92rem; }

/* feedback */
.rate { display: grid; gap: 8px; font-weight: 700; font-size: .95rem; }
.hearts { display: flex; gap: 4px; }
.hrt { background: none; border: 0; font-size: 2.2rem; line-height: 1; cursor: pointer; color: #cfc4c0; padding: 0 2px; transition: transform .12s, color .12s; }
.hrt[aria-pressed="true"] { color: var(--heart); }
.hrt:hover { transform: scale(1.2); }

@media (max-width: 960px) {
  .hearty-grid, .quotes { grid-template-columns: 1fr; }
  .quote-card:nth-child(2) { transform: none; }
  .cause-grid { grid-template-columns: 1fr 1fr; }
  .regionpick { justify-content: space-between; width: 100%; }
}

/* v5: shop types, vouchers, lucky draw */
.item .ph.voucher { display: grid; place-items: center; }
.item .ph.voucher img { position: absolute; inset: 0; opacity: .22; object-fit: cover; }
.item .ph.voucher b { position: relative; font: 900 clamp(2.4rem, 6vw, 3.4rem) var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--wine); }
.shop-grid.is-draw { display: block; }
.draw { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r); padding: clamp(18px, 3vw, 34px); box-shadow: 6px 6px 0 var(--ink); }
.draw h3 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; margin-bottom: 10px; }
.draw h4 { font: 700 1rem var(--sans); letter-spacing: .06em; text-transform: uppercase; margin: 18px 0 8px; }
.draw ol { margin: 0 0 16px 1.2em; padding: 0; display: grid; gap: 6px; }
.draw-end { color: var(--heart); font-weight: 700; }
.draw-form { display: grid; gap: 12px; }
.draw-form label { display: grid; gap: 4px; font-weight: 600; font-size: .92rem; }
.draw-form input[type="email"], .draw-form input[type="text"] { font: inherit; padding: .7em 1em; border: 2.5px solid var(--ink); border-radius: 14px; background: #fff; }
.draw-form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.draw-form .btn { justify-self: start; }
.draw .fine { font-size: .8rem; color: #5b5255; margin-top: 14px; }
.prize-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.prize .ph { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--c); border: 2px solid var(--ink); }
.prize .ph img { width: 100%; height: 100%; object-fit: cover; }
.prize figcaption { display: grid; gap: 2px; margin-top: 6px; font-size: .85rem; line-height: 1.2; }
.prize figcaption small { color: #5b5255; }
@media (max-width: 800px) { .draw { grid-template-columns: 1fr; } }
