:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  --text-hero: clamp(2.75rem, 1rem + 5.4vw, 6rem);

  --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-12: 3rem; --space-16: 4rem; --space-24: 6rem; --space-32: 8rem;

  --color-bg: #fbf8f3;
  --color-surface: #f5efe6;
  --color-surface-2: #ede4d7;
  --color-line: #e2d7c8;
  --color-text: #3b302a;
  --color-muted: #75685e;
  --color-blush: #e9c9c2;
  --color-blush-soft: #f6e6e1;
  --color-rose: #9c5b55;
  --color-primary: #3b302a;

  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;

  --radius-sm: 8px; --radius: 18px; --radius-lg: 28px; --radius-pill: 999px;
  --transition-interactive: 180ms cubic-bezier(.2,.7,.3,1);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: none; text-size-adjust: none; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { min-height: 100dvh; line-height: 1.6; font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text); background: var(--color-bg); }
img, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3 { text-wrap: balance; line-height: 1.1; font-weight: 400; }
p, li { text-wrap: pretty; }
::selection { background: var(--color-blush); }
:focus-visible { outline: 2px solid var(--color-rose); outline-offset: 3px; border-radius: var(--radius-sm); }
a, button, input, textarea, label { transition: color var(--transition-interactive), background var(--transition-interactive), border-color var(--transition-interactive), box-shadow var(--transition-interactive), transform var(--transition-interactive); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

em { font-style: italic; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

.preview-banner { background: var(--color-blush-soft); color: var(--color-rose); font-size: var(--text-xs); text-align: center; padding: .5rem 1rem; font-weight: 500; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: oklch(from var(--color-bg) l c h / .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--color-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.wordmark { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--color-text); font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.wordmark .accent { color: var(--color-rose); }
.bow { width: 30px; color: var(--color-rose); }
.nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 2rem); }
.nav a:not(.btn) { color: var(--color-muted); text-decoration: none; font-size: var(--text-sm); }
.nav a:not(.btn):hover { color: var(--color-text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--color-text); color: var(--color-bg); text-decoration: none; font-size: var(--text-sm); font-weight: 500; padding: .9rem 1.6rem; border-radius: var(--radius-pill); border: 1px solid var(--color-text); }
.btn:hover { background: var(--color-rose); border-color: var(--color-rose); transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; background: var(--color-text); }
.btn-small { padding: .55rem 1.15rem; }
.btn-light { background: var(--color-bg); color: var(--color-text); border-color: var(--color-line); }
.btn-light:hover { background: var(--color-blush-soft); border-color: var(--color-blush); color: var(--color-text); }
.link-arrow { color: var(--color-text); font-size: var(--text-sm); font-weight: 500; text-decoration: underline; text-decoration-color: var(--color-blush); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.link-arrow:hover { text-decoration-color: var(--color-rose); }

/* Hero */
.hero { position: relative; min-height: min(88vh, 860px); display: grid; align-items: center; overflow: hidden; background: var(--color-surface); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246,240,231,.96) 0%, rgba(246,240,231,.82) 34%, rgba(246,240,231,0) 62%); }
.hero-content { position: relative; z-index: 1; padding-block: var(--space-24); }
.hero h1 { font-family: var(--font-display); font-size: var(--text-hero); letter-spacing: -.01em; max-width: 11ch; }
.hero h1 .accent { color: var(--color-rose); }
.lede { margin-top: var(--space-6); max-width: 34ch; color: var(--color-muted); font-size: var(--text-base); }
.hero-actions { margin-top: var(--space-8); display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.hero-note { margin-top: var(--space-6); font-size: var(--text-xs); color: var(--color-muted); display: inline-flex; gap: .5rem; align-items: center; background: rgba(251,248,243,.8); padding: .4rem .9rem; border-radius: var(--radius-pill); border: 1px solid var(--color-line); }
.hero-note:empty { display: none; }
.hero-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--color-rose); }

/* Sections */
.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.section h2 { font-family: var(--font-display); font-size: var(--text-xl); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: end; margin-bottom: var(--space-12); }
.section-head p { color: var(--color-muted); max-width: 44ch; justify-self: end; }

.boxes { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--space-6); }
.box-feature { background: var(--color-surface); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.box-feature img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.box-feature-body { padding: var(--space-8); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.price-row h3 { font-family: var(--font-display); font-size: 1.75rem; }
.price { font-weight: 600; font-size: var(--text-lg); font-variant-numeric: tabular-nums; }
.box-feature p, .box-card p { margin-top: var(--space-3); color: var(--color-muted); font-size: var(--text-sm); }
.box-feature .tag { display: inline-block; margin-top: var(--space-4); background: var(--color-blush-soft); color: var(--color-rose); padding: .35rem .85rem; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 500; }
.box-list { display: grid; gap: var(--space-6); grid-auto-rows: 1fr; }
.box-card { border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: var(--space-8); display: flex; flex-direction: column; justify-content: center; background: var(--color-bg); }

.flavors { margin-top: var(--space-16); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8) var(--space-12); border-top: 1px solid var(--color-line); padding-top: var(--space-12); }
.flavors h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--text-base); }
.flavors p { color: var(--color-muted); font-size: var(--text-sm); margin-top: .25rem; }

/* Story */
.story { background: var(--color-surface); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-24)); align-items: center; }
.story-grid img { border-radius: 200px 200px var(--radius-lg) var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.story-body p { margin-top: var(--space-4); max-width: 46ch; }
.story-body h2 { margin-bottom: var(--space-4); }
.signature { font-family: var(--font-display); font-size: 2rem; color: var(--color-rose); }

/* Order */
.order-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(var(--space-8), 6vw, var(--space-24)); align-items: start; }
.order-intro { position: sticky; top: 6rem; }
.order-intro > p { margin-top: var(--space-4); color: var(--color-muted); max-width: 40ch; }
.steps { margin-top: var(--space-8); display: grid; gap: var(--space-4); }
.steps li { display: flex; gap: var(--space-4); align-items: center; font-size: var(--text-sm); }
.steps span { width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--color-blush); color: var(--color-rose); display: grid; place-items: center; font-weight: 600; flex: none; }

.order-form, .confirm { background: var(--color-surface); border-radius: var(--radius-lg); padding: clamp(var(--space-6), 4vw, var(--space-12)); }
fieldset { border: 0; margin-bottom: var(--space-8); }
legend { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: var(--space-4); }
.product-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--color-line); }
.product-row:first-child { padding-top: 0; }
.product-row .pname { font-weight: 600; font-size: var(--text-sm); }
.product-row .pdesc { color: var(--color-muted); font-size: var(--text-xs); line-height: 1.45; margin-top: .15rem; }
.product-row .pprice { color: var(--color-text); font-weight: 500; }
.stepper { display: flex; align-items: center; background: var(--color-bg); border: 1px solid var(--color-line); border-radius: var(--radius-pill); flex: none; }
.stepper button { width: 2.5rem; height: 2.5rem; border-radius: 50%; font-size: 1.15rem; color: var(--color-text); }
.stepper button:hover { background: var(--color-blush-soft); }
.stepper button:disabled { opacity: .3; cursor: default; background: none; }
.stepper output { min-width: 1.6rem; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

.pickup-options, .pay-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.pay-options { grid-template-columns: repeat(3, 1fr); }
.pickup-option, .pay-option { position: relative; display: block; cursor: pointer; }
.pickup-option input, .pay-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pickup-option span, .pay-option span { display: flex; flex-direction: column; justify-content: center; min-height: 3.5rem; padding: .75rem 1rem; border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-bg); font-size: var(--text-sm); font-weight: 500; line-height: 1.3; }
.pay-option span { align-items: center; text-align: center; }
.pickup-option small, .pay-option small { color: var(--color-muted); font-weight: 400; font-size: var(--text-xs); }
.pickup-option input:checked + span, .pay-option input:checked + span { border-color: var(--color-text); box-shadow: inset 0 0 0 1px var(--color-text); background: #fff; }
.pickup-option input:focus-visible + span, .pay-option input:focus-visible + span { outline: 2px solid var(--color-rose); outline-offset: 2px; }
.pickup-option input:disabled + span { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.pickup-option span:hover, .pay-option span:hover { border-color: var(--color-muted); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.fields legend { grid-column: 1 / -1; }
.fields label { display: grid; gap: .35rem; font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); }
.fields .full { grid-column: 1 / -1; }
.fields label:nth-of-type(3) { grid-column: 1 / -1; }
input:not([type=radio]), textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--color-line); border-radius: var(--radius-sm); background: var(--color-bg); font-size: var(--text-base); color: var(--color-text); resize: vertical; }
input::placeholder, textarea::placeholder { color: #a39586; }
input:focus, textarea:focus { outline: none; border-color: var(--color-text); box-shadow: 0 0 0 3px var(--color-blush-soft); }
input[aria-invalid=true] { border-color: var(--color-rose); }

.total-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-6); border-top: 1px solid var(--color-line); }
.total-label { display: block; font-size: var(--text-xs); color: var(--color-muted); }
.total-bar strong { font-family: var(--font-display); font-size: 2.25rem; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.form-error { margin-top: var(--space-4); color: var(--color-rose); font-size: var(--text-sm); font-weight: 500; }

.confirm h2 { font-size: var(--text-xl); }
.confirm > p { margin-top: var(--space-4); }
.confirm-pay { margin: var(--space-8) 0 var(--space-6); padding: var(--space-6); background: var(--color-bg); border-radius: var(--radius); border: 1px solid var(--color-line); display: grid; gap: var(--space-4); }
.confirm-pay .btn { width: 100%; padding-block: 1.05rem; }
.confirm-pay ol { padding-left: 1.2rem; font-size: var(--text-sm); display: grid; gap: .35rem; }
.confirm-pay .note-copy { display: flex; gap: .5rem; align-items: center; font-size: var(--text-xs); color: var(--color-muted); }
.copy-btn { font-size: var(--text-xs); font-weight: 600; color: var(--color-rose); text-decoration: underline; text-underline-offset: 3px; }
.small { font-size: var(--text-xs); color: var(--color-muted); margin-bottom: var(--space-6); }
.preview-note { font-size: var(--text-xs); color: var(--color-rose); background: var(--color-blush-soft); padding: .6rem .9rem; border-radius: var(--radius-sm); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(var(--space-8), 6vw, var(--space-24)); }
.faq details { border-bottom: 1px solid var(--color-line); padding: var(--space-4) 0; }
.faq details:first-child { border-top: 1px solid var(--color-line); }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; color: var(--color-rose); transition: transform var(--transition-interactive); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: var(--space-3); color: var(--color-muted); font-size: var(--text-sm); max-width: 60ch; }

.site-footer { border-top: 1px solid var(--color-line); padding-block: var(--space-12); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; font-size: var(--text-xs); color: var(--color-muted); }
.wordmark-sm { font-family: var(--font-display); font-size: 1.4rem; color: var(--color-text); }
.wordmark-sm .accent { color: var(--color-rose); }

/* Responsive */
@media (max-width: 900px) {
  .section-head, .boxes, .story-grid, .order-grid, .faq-grid { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .flavors { grid-template-columns: 1fr 1fr; }
  .order-intro { position: static; }
  .story-grid img { max-width: 440px; }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .hero { min-height: auto; align-items: end; }
  .hero-img { position: relative; height: 46vh; min-height: 300px; object-position: 75% 50%; }
  .hero::after { display: none; }
  .hero { display: block; }
  .hero-content { padding-block: var(--space-8) var(--space-12); }
  .flavors { grid-template-columns: 1fr; gap: var(--space-6); }
  .fields { grid-template-columns: 1fr; }
  .pay-options { grid-template-columns: 1fr; }
  .pay-option span { flex-direction: row; justify-content: flex-start; gap: .5rem; }
  .pickup-options { grid-template-columns: 1fr; }
  .total-bar { flex-direction: column; align-items: stretch; }
  .total-bar .btn { width: 100%; }
  .box-feature-body, .box-card { padding: var(--space-6); }
  .wordmark { font-size: 1.35rem; }
}

/* Nov 20 additions */
.price small { font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); }
.hint { font-size: var(--text-xs); color: var(--color-muted); margin: -.5rem 0 var(--space-4); }
.product-row { align-items: center; }
.product-row.is-mix { background: var(--color-bg); border: 1px solid var(--color-line); border-radius: var(--radius); padding: var(--space-4); margin-bottom: var(--space-2); }
.product-row.is-mix .pname::after { content: "Best for gifts"; margin-left: .5rem; font-size: var(--text-xs); font-weight: 500; color: var(--color-rose); background: var(--color-blush-soft); padding: .15rem .55rem; border-radius: var(--radius-pill); white-space: nowrap; }
.pinfo { min-width: 0; }
.minis { display: flex; gap: var(--space-3); flex: none; }
.mini { display: grid; justify-items: center; gap: .3rem; }
.mini-label { font-size: var(--text-xs); color: var(--color-muted); white-space: nowrap; }
.mini-label b { color: var(--color-text); font-weight: 600; }
.mini .stepper button { width: 2.25rem; height: 2.25rem; }
.mini.has .stepper { border-color: var(--color-text); background: #fff; }

.donate-options { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1.15rem; border: 1px solid var(--color-line); border-radius: var(--radius-pill); background: var(--color-bg); font-size: var(--text-sm); font-weight: 500; }
.chip span:hover { border-color: var(--color-muted); }
.chip input:checked + span { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.chip input:focus-visible + span { outline: 2px solid var(--color-rose); outline-offset: 2px; }
.donate-other { display: grid; gap: .35rem; margin-top: var(--space-4); font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); max-width: 14rem; }
.dollar { position: relative; }
.dollar::before { content: "$"; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--color-text); font-size: var(--text-base); }
.dollar input { padding-left: 1.85rem !important; }
#donateField { border-radius: var(--radius); transition: box-shadow .4s ease; }
#donateField.pulse { box-shadow: 0 0 0 10px var(--color-blush-soft), 0 0 0 11px var(--color-blush); background: var(--color-blush-soft); }
.total-detail { display: block; font-size: var(--text-xs); color: var(--color-rose); margin-top: .35rem; }
.total-detail:empty { display: none; }

/* Ballet section */
.ballet-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(var(--space-8), 6vw, var(--space-24)); align-items: start; }
.ballet-head p { color: var(--color-muted); max-width: 52ch; }
.ballet-head p + p { margin-top: var(--space-4); }
.ballet-head strong { color: var(--color-text); font-weight: 600; }
.gallery { margin-top: var(--space-12); display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--space-4); height: clamp(420px, 52vw, 640px); }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-surface); }
.gallery .g-tall { grid-row: span 2; border-radius: 240px 240px var(--radius-lg) var(--radius-lg); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: var(--space-4); bottom: var(--space-4); background: rgba(251,248,243,.9); backdrop-filter: blur(6px); padding: .35rem .85rem; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 500; }
.ballet-sub { font-family: var(--font-display); font-size: var(--text-xl); margin-top: var(--space-16); }
.focus { margin-top: var(--space-8); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.focus li { padding: var(--space-6); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-bg); }
.focus h4 { font-weight: 600; font-size: var(--text-base); }
.focus p { color: var(--color-muted); font-size: var(--text-sm); margin-top: .35rem; }
.ballet-cta { margin-top: var(--space-12); display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; padding: var(--space-8); background: var(--color-blush-soft); border-radius: var(--radius-lg); }
.ballet-cta p { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; max-width: 30ch; }

@media (max-width: 900px) {
  .ballet-head { grid-template-columns: 1fr; gap: var(--space-6); }
  .focus { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .product-row { flex-direction: column; align-items: stretch; gap: var(--space-3); }
  .minis { justify-content: flex-start; }
  .mini { grid-auto-flow: column; justify-content: space-between; align-items: center; flex: 1; justify-items: start; }
  .minis { flex-direction: column; gap: var(--space-2); }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .gallery .g-tall { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3.4; border-radius: 160px 160px var(--radius-lg) var(--radius-lg); }
  .gallery figure:not(.g-tall) { aspect-ratio: 3/4; }
  .gallery figcaption { left: var(--space-2); bottom: var(--space-2); right: var(--space-2); text-align: center; }
  .focus { grid-template-columns: 1fr; }
  .ballet-cta { padding: var(--space-6); }
  .ballet-cta .btn { width: 100%; }
}

[hidden] { display: none !important; }
