/* Site styles. Colours, fonts and radii come only from tokens.css. Mobile first; wider layouts from 720 / 960 px. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
/* strings are applied by i18n.js; hide the keys until then (never longer than 1.2 s) */
html.i18n-pending body { visibility: hidden; animation: i18n-reveal 0s 1.2s forwards; }
@keyframes i18n-reveal { to { visibility: visible; } }

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); color: var(--c-ink); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 4px; }
.on-brand :focus-visible { outline-color: var(--c-focus-on-brand); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--c-surface); color: var(--c-ink); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
.narrow { max-width: 640px; }
.section { padding-block: 64px; }
.section-alt { background: var(--c-bg-alt); }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }
.eyebrow {
  font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--c-brand); margin-bottom: 14px;
}
.on-brand .eyebrow { color: var(--c-gold); }
.lead { font-size: 18px; color: var(--c-text); }
.muted { color: var(--c-muted); }
.small { font-size: 14px; line-height: 1.45; }
.divider-star { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--c-gold-text); margin: 18px auto 22px; }
.divider-star::before, .divider-star::after { content: ""; width: 90px; height: 1px; background: currentColor; opacity: .5; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: var(--radius-pill); border: 2px solid transparent;
  font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-gold { background: var(--c-gold); color: var(--c-on-gold); }
.btn-gold:hover { background: var(--c-gold-hover); }
.btn-red { background: var(--c-brand); color: var(--c-on-brand); }
.btn-red:hover { background: var(--c-brand-hover); }
.btn-outline { background: transparent; color: var(--c-brand); border-color: var(--c-brand); }
.btn-outline:hover { background: rgba(140, 28, 36, .06); }
.on-brand .btn-outline { color: var(--c-on-brand); border-color: rgba(255, 255, 255, .7); }
.on-brand .btn-outline:hover { background: rgba(255, 255, 255, .08); }
.btn-ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line-strong); }
.btn-block { display: flex; width: 100%; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.btn .arrow { font-family: var(--font-body); }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--c-brand); text-decoration: underline; cursor: pointer; font-weight: 600; min-height: 44px; }

/* header */
.top { position: relative; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; }
.brand-mark-unused { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 30px; color: inherit; text-decoration: none; position: relative; padding-right: 14px; line-height: 1; }
.brand-mark::after { content: "✦"; position: absolute; right: 0; top: -6px; font-size: 13px; font-style: normal; color: var(--c-gold); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: var(--radius-pill); border: 1px solid currentColor;
  background: transparent; font-weight: 700; font-size: 14px; letter-spacing: .06em; cursor: pointer; opacity: .9;
}
.top-cta { min-height: 44px; padding: 8px 18px; font-size: 15px; border-color: var(--c-gold); color: var(--c-gold); }
.top-light { background: var(--c-bg); color: var(--c-ink); border-bottom: 1px solid var(--c-line); }
.top-light .brand-mark { color: var(--c-brand); }

/* hero */
.hero { background: var(--c-brand); color: var(--c-on-brand-soft); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 800' preserveAspectRatio='none'%3E%3Cg fill='%23E2B66B'%3E%3Ccircle cx='48' cy='144' r='1.6'/%3E%3Ccircle cx='328' cy='72' r='1.6'/%3E%3Ccircle cx='28' cy='416' r='1.6'/%3E%3Ccircle cx='160' cy='560' r='1.6'/%3E%3Ccircle cx='304' cy='656' r='1.6'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Ccircle cx='256' cy='256' r='1'/%3E%3Ccircle cx='364' cy='352' r='1'/%3E%3Ccircle cx='88' cy='688' r='1'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; gap: 28px; padding-block: 8px 48px; }
.hero h1 { color: #fff; font-size: clamp(34px, 10.2vw, 64px); font-weight: 600; letter-spacing: -.01em; }
.hero h1 em { color: var(--c-gold); }
.hero .lead { color: var(--c-on-brand-soft); margin-top: 20px; }
.hero-ctas { display: grid; gap: 14px; }
.on-brand .top-cta { color: var(--c-gold); border-color: var(--c-gold); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; color: #fff; }
.badges li { display: inline-flex; align-items: center; gap: 18px; }
.badges li + li::before { content: "✦"; color: var(--c-gold); font-size: 11px; margin-left: -12px; }

.hero-art { position: relative; margin: 8px auto 0; width: min(100%, 420px); aspect-ratio: 1 / 1.08; }
.hero-art .envelope { position: absolute; left: 20%; top: 4%; width: 70%; height: 68%; border-radius: 10px; background: var(--c-kraft); transform: rotate(7deg); box-shadow: var(--shadow-lg); }
.hero-art .envelope::after { content: ""; position: absolute; left: 0; right: 0; top: 46%; height: 6px; background: var(--c-twine); opacity: .8; }
.hero-art .card { position: absolute; left: 4%; top: 10%; width: 66%; height: 82%; border-radius: 10px; background: var(--c-red-card); transform: rotate(-4deg); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%; }
.hero-art .card::before { content: ""; position: absolute; inset: 4.5%; border: 1px solid rgba(226, 182, 107, .6); border-radius: 6px; }
.hero-art .tree { width: 70%; height: auto; }
.hero-art .card-line { font-family: var(--font-display); color: var(--c-gold); letter-spacing: .18em; text-transform: uppercase; font-size: clamp(12px, 3.6vw, 16px); }
.hero-art .holly { position: absolute; right: 2%; top: 0; width: 34%; height: auto; transform: rotate(-8deg); }
.hero-art .quote { position: absolute; right: 0; bottom: 14%; max-width: 62%; background: #FBF3E7; color: var(--c-ink); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-raised); }
.hero-art .quote b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-brand); margin-bottom: 2px; }
.hero-art .quote span { font-family: var(--font-display); font-style: italic; font-size: clamp(16px, 4.6vw, 20px); line-height: 1.3; }
.cur { font-family: var(--font-body); font-weight: 700; }
.h-section { font-size: clamp(34px, 8.6vw, 48px); }
.section-line { border-top: 1px solid var(--c-line); }
.demo-frame { position: relative; margin: 0; }
.demo-play { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 253, 249, .94); display: grid; place-items: center; color: var(--c-brand); }
.demo-play svg { width: 30px; height: 30px; margin-left: 4px; }
.demo-label { position: absolute; left: 12px; right: 12px; bottom: 22px; text-align: center; color: #fff; font-size: 15px; font-weight: 600; }
.demo-label::before { content: ""; position: absolute; inset: -8px -4px; z-index: -1; border-radius: 10px; background: rgba(42, 26, 23, .62); }
.demo-label { z-index: 0; isolation: isolate; }
.logo img { height: 32px; width: auto; }
.foot img { height: 34px; width: auto; }

/* product cards */
.products { display: grid; gap: 24px; margin-top: 36px; }
.product { border-radius: var(--radius-lg); padding: 16px 16px 26px; background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: #3a1d17; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 12px; top: 12px; background: #fbf3e7; color: var(--c-brand); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--radius-pill); }
.product-body { padding: 22px 10px 0; display: flex; flex-direction: column; flex: 1; }
.product h3 { font-size: 34px; }
.product-lead { margin-top: 8px; }
.price { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--c-ink); margin-top: 18px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price small { font-family: var(--font-body); font-size: 16px; font-weight: 400; color: var(--c-muted); }
.features { list-style: none; padding: 16px 0 0; margin: 16px 0 22px; border-top: 1px solid var(--c-line); display: grid; gap: 8px; }
.features li { display: grid; grid-template-columns: 22px 1fr; gap: 6px; }
.features li::before { content: "✦"; color: var(--c-brand); }
.product .btn { margin-top: auto; }
.product-note { text-align: center; font-size: 15px; color: var(--c-muted); margin-top: 14px; }
.product-story { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand-soft); position: relative; }
.product-story::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(226, 184, 102, .45); border-radius: calc(var(--radius-lg) - 6px); pointer-events: none; }
.product-story h3 { color: #fff; }
.product-story .tag { background: var(--c-gold); color: var(--c-on-gold); }
.product-story .price { color: var(--c-gold); }
.product-story .price small, .product-story .product-note { color: var(--c-on-brand-soft); }
.product-story .features { border-color: rgba(255, 255, 255, .2); color: #fff; }
.product-story .features li::before { color: var(--c-gold); }

/* steps */
.steps { list-style: none; padding: 0; margin: 40px auto 0; display: grid; gap: 34px; max-width: 560px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 76px 1fr; gap: 20px; align-items: start; }
.step-icon { width: 76px; height: 76px; border-radius: 50%; border: 2px solid var(--c-brand); display: grid; place-items: center; color: var(--c-brand); }
.step-icon svg { width: 30px; height: 30px; }
.step-no { font-family: var(--font-display); font-style: italic; color: var(--c-gold-text); font-size: 20px; }
.steps h3 { font-size: 26px; margin: 2px 0 6px; }

/* story */
.story-grid { display: grid; gap: 32px; align-items: center; }
.framed { border-radius: var(--radius-lg); background: var(--c-brand); padding: 12px; box-shadow: var(--shadow); }
.framed img { border-radius: calc(var(--radius-lg) - 8px); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-text h2 { font-size: clamp(38px, 9vw, 54px); margin-bottom: 20px; }
.story-text h2 em { color: var(--c-brand); }
.story-text p + p { margin-top: 14px; }
.story-text .btn { margin-top: 28px; }

/* mini start form on the landing page */
.start-card { position: relative; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 30px 24px 24px; margin-top: 32px; box-shadow: var(--shadow); overflow: hidden; }
.airmail::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--c-brand) 0 14px, #fffcf7 14px 22px, var(--c-gold) 22px 36px, #fffcf7 36px 44px); }
.start-card h3 { font-size: 28px; margin-bottom: 20px; }
.start-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--c-line); margin-top: 22px; padding-top: 18px; flex-wrap: wrap; }
.start-foot .price { font-size: 26px; margin: 0; }
.start-foot small { display: block; font-size: 14px; color: var(--c-muted); }

/* FAQ */
.faq { display: grid; gap: 14px; margin-top: 32px; }
.faq details { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-weight: 700; color: var(--c-ink); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--c-brand); font-size: 28px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 20px; }

/* footer */
.foot { background: var(--c-brand-deep); color: #e8cfc8; padding-block: 48px 36px; }
.foot .brand-mark { color: #fff; }
.foot p { margin-top: 16px; max-width: 520px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; }
.foot a { text-decoration: none; display: inline-block; padding-block: 8px; }
.foot a:hover { text-decoration: underline; }
.foot .copy { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 24px; padding-top: 20px; font-size: 15px; }

/* ---------- forms ---------- */
.form-page { padding-block: 20px 120px; }
.form-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.form-head h1 { font-size: clamp(28px, 7vw, 38px); }
.progress { height: 6px; border-radius: var(--radius-pill); background: var(--c-surface-2); overflow: hidden; margin: 14px 0 8px; }
.progress > span { display: block; height: 100%; width: 0; background: var(--c-brand); transition: width .3s; }
.step-label { font-size: 14px; color: var(--c-muted); }
.panel { margin-top: 8px; }
.panel > h1 { font-size: clamp(30px, 8.4vw, 40px); }
.panel h2 { font-size: 24px; margin-bottom: 6px; }
.panel h3 { font-size: 21px; }
.panel > * + * { margin-top: 18px; }
.panel .lead { font-size: 16px; color: var(--c-muted); margin-top: 6px; }
.child-block { border-top: 1px solid var(--c-line); padding-top: 20px; }
.child-block:first-of-type { border-top: 0; padding-top: 0; }
.field { display: grid; gap: 8px; }
.field > label, .legend { font-weight: 700; color: var(--c-ink); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; font-weight: 700; color: var(--c-ink); margin-bottom: 10px; }
.hint { font-size: 14px; color: var(--c-muted); }
.input, select.input {
  width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--c-line-strong);
  background: #fff; color: var(--c-ink); font-size: 18px;
}
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--c-ink) 50%), linear-gradient(135deg, var(--c-ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.input:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 1px; }
.input[aria-invalid="true"] { border-color: var(--c-error); }
.msg { font-size: 15px; display: flex; gap: 8px; align-items: flex-start; }
.msg::before { flex: none; font-weight: 700; }
.msg-ok { color: var(--c-ok); } .msg-ok::before { content: "✓"; }
.msg-warn { color: var(--c-warn); } .msg-warn::before { content: "!"; }
.msg-error { color: var(--c-error); } .msg-error::before { content: "✕"; }
.msg-info { color: var(--c-muted); }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; }

/* segmented radio (product toggle, language, count, gender) */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 5px; background: var(--c-surface-2); border-radius: var(--radius-pill); }
.seg label { position: relative; display: block; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 8px 10px; border-radius: var(--radius-pill); font-weight: 700; font-size: 15px; line-height: 1.2; color: var(--c-ink); }
.seg input:checked + span { background: var(--c-brand); color: var(--c-on-brand); }
.seg input:focus-visible + span { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.seg.wrap-3 { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); }

/* choice cards (product, letter source, wish, encouragement, achievements) */
.choices { display: grid; gap: 10px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice .box {
  display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--c-line-strong); background: #fff; cursor: pointer; min-height: 52px;
}
.choice .box::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border: 2px solid var(--c-line-strong); border-radius: 50%; background: #fff; }
.choice input[type="checkbox"] + .box::before { border-radius: 6px; }
.choice input:checked + .box { border-color: var(--c-brand); border-width: 2.5px; padding: 13px 15px; background: #fff7f2; }
.choice input:checked + .box::before { border-color: var(--c-brand); background: var(--c-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.choice input:focus-visible + .box { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.choice input:disabled + .box { opacity: .55; cursor: not-allowed; }
.choice .t { font-weight: 700; color: var(--c-ink); display: block; }
.choice .d { font-size: 15px; color: var(--c-muted); display: block; margin-top: 2px; }
.choice .q { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--c-ink); display: block; line-height: 1.35; }
.choice .q + .d { margin-top: 4px; }
.pkg .box { grid-template-columns: 1fr; position: relative; padding: 16px 18px 18px; border-radius: var(--radius); border-color: var(--c-line); }
.pkg .box::before { position: absolute; right: 16px; top: 18px; width: 30px; height: 30px; margin: 0; }
.pkg input:checked + .box::before { background-size: 18px; }
.pkg input:checked + .box { background: var(--c-white); padding: 15px 17px 17px; }
.pkg-head { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding-right: 40px; }
.pkg-head img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.pkg-name { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--c-ink); line-height: 1.15; }
.pkg-price { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); }
.price-sm { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--c-ink); }
.len { background: var(--c-tab-track); border-radius: var(--radius-pill); padding: 4px 12px; font-size: 14px; font-weight: 600; color: var(--c-muted); }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: 15px; color: var(--c-muted); }
.ticks li { display: grid; grid-template-columns: 22px 1fr; }
.ticks li::before { content: "✓"; color: var(--c-brand); font-weight: 700; }
.counter { font-size: 14px; font-weight: 700; color: var(--c-brand); }

/* age chips */
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: grid; place-items: center; min-height: 52px; border-radius: 14px; border: 1.5px solid var(--c-line-strong); background: #fff; font-weight: 700; font-size: 19px; color: var(--c-ink); }
.chips input:checked + span { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
.chips input:focus-visible + span { outline: 3px solid var(--c-focus); outline-offset: 2px; }

/* photos */
.thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--c-surface-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .rm { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(43, 29, 23, .78); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.thumb .busy { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; color: var(--c-muted); }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.file-btn:focus-within { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.note { background: var(--c-surface-2); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--c-text); }

/* letter */
.letter-preview { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.letter-preview img { width: 96px; height: 128px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--c-line); }
.crop { position: relative; touch-action: none; user-select: none; -webkit-user-select: none; background: #222; border-radius: 12px; overflow: hidden; }
.crop canvas { display: block; width: 100%; height: auto; }
.crop .h { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 3px solid #fff; background: rgba(140, 28, 36, .55); cursor: grab; padding: 0; }
.crop .h:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 2px; }

/* top bar of the order flow (the pack's Flow screens) */
.form-body { background: var(--c-bg); }
.flow-top { position: sticky; top: 0; z-index: 30; background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.flow-bar { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 10px 16px 8px; }
.flow-count { font-weight: 700; font-size: 15px; color: var(--c-muted); text-align: center; }
.flow-tools { display: flex; justify-content: flex-end; gap: 6px; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-white); color: var(--c-ink); display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.icon-btn svg { width: 22px; height: 22px; }
.flow-top .lang-btn { color: var(--c-ink); border-color: var(--c-line); }
.flow-top .progress { max-width: 608px; margin: 0 auto 10px; height: 5px; }
.flow-top .progress > span { background: var(--c-brand); }

/* bottom bar of the wizard */
.wizard-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(246, 238, 229, .96); backdrop-filter: blur(6px);
  border-top: 1px solid var(--c-line); padding: 12px max(16px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.wizard-nav .inner { max-width: 640px; margin: 0 auto; }
.wizard-nav .btn { min-height: 54px; }
.form-error { border-radius: 12px; padding: 12px 14px; background: #fdecea; color: var(--c-error); font-weight: 600; }
.summary { display: grid; gap: 10px; }
.summary-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: start; padding: 12px 0; border-top: 1px solid var(--c-line); }
.summary-row:first-child { border-top: 0; }
.summary-row b { color: var(--c-ink); }

/* overlays */
.overlay { position: fixed; inset: 0; z-index: 60; background: var(--c-scrim); display: grid; place-items: center; padding: 16px; }
.dialog { background: var(--c-surface); border-radius: var(--radius-lg); padding: 26px 22px; width: min(100%, 460px); box-shadow: var(--shadow-lg); }
.dialog h2 { font-size: 24px; margin-bottom: 10px; }
.dialog .row { display: grid; gap: 10px; margin-top: 20px; }
.sheet { position: fixed; inset: 0; z-index: 70; background: #101b31; display: flex; flex-direction: column; }
.sheet-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px max(10px, env(safe-area-inset-right)) 6px max(10px, env(safe-area-inset-left)); background: #0b1325; color: #f8f2e7; }
.sheet-bar b { font-weight: 700; }
.sheet-bar button { min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid rgba(248, 242, 231, .5); background: transparent; color: inherit; font-weight: 700; cursor: pointer; }
.sheet iframe { flex: 1; width: 100%; border: 0; display: block; background: #101b31; }
.sheet-light { background: var(--c-bg); }
.sheet-light .sheet-bar { background: var(--c-surface); color: var(--c-ink); border-bottom: 1px solid var(--c-line); }
.sheet-light .sheet-bar button { border-color: var(--c-line-strong); }
.sheet-body { flex: 1; overflow: auto; padding: 16px; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--c-surface-2); border-top-color: var(--c-brand); animation: spin 1s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 80; background: var(--c-ink); color: #fff; padding: 12px 18px; border-radius: 12px; max-width: calc(100% - 32px); font-size: 15px; box-shadow: var(--shadow); }

/* ---------- order and film pages ---------- */
.status-page { padding-block: 24px 64px; }
.stepper { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: st; }
.stepper li { text-align: center; font-size: 12px; font-weight: 700; color: var(--c-muted); }
.stepper li::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 6px; border-radius: 50%; border: 2px solid var(--c-line-strong); background: #fff; color: var(--c-muted); font-size: 14px; }
.stepper li.done::before { content: "✓"; background: var(--c-gold); border-color: var(--c-gold); color: var(--c-red-deep); }
.stepper li.now { color: var(--c-brand); }
.stepper li.now::before { border-color: var(--c-brand); background: var(--c-brand); color: #fff; }
.state-card { text-align: center; }
.state-card .spinner { margin-bottom: 18px; }
.player { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; }
.play-big {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 12px 30px;
  border-radius: var(--radius-pill); border: 0; background: var(--c-brand); color: #fff; font-weight: 800; font-size: 19px; cursor: pointer;
}
.play-big svg { width: 24px; height: 24px; }
.play-big.playing { background: var(--c-ink); }
.variants { display: grid; gap: 10px; }
.variant { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 10px; border-radius: 14px; border: 1.5px solid var(--c-line-strong); background: #fff; }
.variant .play-sm { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 14px; border: 0; background: var(--c-surface-2); border-radius: var(--radius-pill); font-weight: 700; cursor: pointer; text-align: left; }
.variant .play-sm svg { width: 18px; height: 18px; flex: none; }
.buy-box { border-top: 1px solid var(--c-line); padding-top: 18px; }
.buy-box .price { margin-top: 4px; }
.buy-box ul { padding-left: 0; list-style: none; display: grid; gap: 6px; margin: 14px 0 18px; }
.buy-box li::before { content: "✦ "; color: var(--c-brand); }
.downloads { display: grid; gap: 12px; }
.danger-link { color: var(--c-error); }
.legal-banner { background: #fff4d6; color: #5c4300; border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.legal h2 { font-size: 22px; margin-top: 28px; }
.legal p { margin-top: 10px; }

.panel-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px 20px; box-shadow: var(--shadow); }
.panel-card > * + * { margin-top: 14px; }
.state-card h2, .state-title { font-size: clamp(26px, 7vw, 34px); }
.state-title { margin-top: 26px; }
.red-panel { background: var(--c-brand); color: var(--c-on-red); border-radius: var(--radius-lg); padding: 28px 22px; }
.red-panel h2 { color: #fff; font-size: clamp(28px, 7.4vw, 36px); }
.red-panel .spinner { border-color: rgba(255,255,255,.25); border-top-color: var(--c-gold); }
.held-icon { font-size: 34px; color: var(--c-gold-on-light); }
.santa-says { background: var(--c-brand); border-radius: var(--radius); padding: 20px; color: var(--c-on-red); display: grid; gap: 14px; justify-items: start; }
.santa-says .eyebrow { margin: 0; }
.play-gold { background: var(--c-gold); color: var(--c-on-gold); }
.play-gold.playing { background: #fff; color: var(--c-brand); }
.sound-q { font-family: var(--font-display); font-size: 24px; color: var(--c-ink); font-weight: 600; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row-2 .btn { padding-inline: 12px; }
.pill-ok { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); color: var(--c-on-red); border-radius: var(--radius-pill); padding: 6px 14px; font-size: 14px; font-weight: 700; }
.pill-ok::before { content: "✓"; color: var(--c-gold); }
.timeline { list-style: none; margin: 18px 0 0; padding: 18px; background: var(--c-red-deep); border-radius: var(--radius); display: grid; gap: 16px; }
.timeline li { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 12px; color: var(--c-on-red-muted); }
.timeline li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--c-outline-on-red); box-sizing: border-box; display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.timeline li.done::before { content: "✓"; background: var(--c-gold); border-color: var(--c-gold); color: var(--c-red-deep); }
.timeline li.running { color: #fff; font-weight: 700; }
.timeline li.running::before { content: "●"; border-color: var(--c-gold); color: var(--c-gold); font-size: 11px; }
.timeline em { font-style: normal; color: var(--c-gold); font-weight: 600; }
.timeline li span { display: inline; }
.btn svg { width: 20px; height: 20px; flex: none; }
.play-big svg, .play-sm svg { fill: currentColor; }

/* ---------- wider screens ---------- */
@media (min-width: 720px) {
  body { font-size: 18px; }
  .section { padding-block: 88px; }
  .hero-ctas { grid-template-columns: auto auto; justify-content: start; }
  .badges { justify-content: flex-start; }
  .products { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .chips { grid-template-columns: repeat(8, 1fr); }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; grid-template-areas: "text art" "actions art"; align-items: center; padding-block: 40px 88px; column-gap: 56px; row-gap: 28px; }
  .hero-text { grid-area: text; align-self: end; }
  .hero-art { grid-area: art; }
  .hero-actions { grid-area: actions; align-self: start; }
  .hero h1 { font-size: 66px; }
  .story-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .steps { max-width: none; grid-template-columns: repeat(3, 1fr); }
  .steps li { grid-template-columns: 1fr; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
