/* COVERF storefront — page layouts */

/* Shared page header */
.page-hero { padding-block: var(--s-6) var(--s-4); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--step-3); margin-top: 0.8rem; }
.page-hero p:not(.kicker) { margin-top: var(--s-2); max-width: 38rem; color: var(--mute); }

/* ---------- Home ---------- */
.hero { padding-top: var(--s-5); }
.hero-copy { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); }
.hero-copy h1 { margin-top: 0.4rem; font-size: var(--step-4); line-height: 1; }
.hero-lead { max-width: 30rem; color: var(--ink-70); font-size: var(--step-1); line-height: 1.55; }
.hero-visual { position: relative; width: 100%; }
.hero-slides { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.hero-slide { position: absolute; inset: 0; display: block; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide-hit { position: absolute; inset: 0; }
.side-label { position: absolute; z-index: 2; inset-block-end: 1rem; inset-inline-start: calc(var(--gutter) + 1rem); padding: 0.35rem 0.75rem; background: var(--white); font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }

.marquee { margin-top: var(--s-6); overflow: hidden; background: var(--accent-wash); border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-group { display: flex; flex: none; }
.marquee-group span { padding: 1.1rem 2.2rem; font-family: var(--serif); font-style: italic; font-size: var(--step-1); white-space: nowrap; }
.marquee-group span::after { content: "•"; margin-inline-start: 4.4rem; color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-2); }
.featured-grid[data-bento] .card:first-child { grid-column: span 2; }
.featured-grid[data-bento] .card:first-child .card-media { aspect-ratio: 1 / 1; }

.home-cats { background: var(--accent-wash); }
.cat-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-2); }
.cat-card { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: var(--mist); color: var(--white); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 13, 13, 0.72), rgba(13, 13, 13, 0) 55%); }
.cat-card-body { position: absolute; z-index: 2; inset-inline: var(--s-3); bottom: var(--s-3); display: flex; align-items: end; justify-content: space-between; gap: var(--s-2); }
.cat-card h3 { font-size: var(--step-2); }
.cat-card span { font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; }

.steps { display: grid; gap: var(--s-4); }
.step { border-top: 1px solid var(--ink); padding-top: var(--s-3); }
.step em { display: block; font-family: var(--serif); font-size: var(--step-3); font-style: italic; color: var(--accent); line-height: 1; margin-bottom: var(--s-2); }
.step h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.step p { color: var(--mute); max-width: 22rem; }

.story { display: grid; gap: var(--s-5); align-items: center; }
.story img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--mist); }
.story h2 { font-size: var(--step-2); margin-block: 0.8rem var(--s-3); }
.story .section-link { display: inline-block; }

.cta-band { background: var(--accent); color: var(--white); text-align: center; padding-block: var(--s-section); }
.cta-band h2 { font-size: var(--step-3); }
.cta-band p { margin: var(--s-2) auto 0; max-width: 32rem; color: rgba(255, 255, 255, 0.78); }
.cta-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-4); }
.cta-links a { font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, 0.6); padding-bottom: 0.25rem; }
.cta-links a:hover { color: var(--accent-soft); border-color: var(--accent-soft); }

/* ---------- Products ---------- */
.shop-body { padding-block: var(--s-5) var(--s-section); }
.catalog-empty { padding-block: var(--s-6); text-align: center; display: grid; gap: var(--s-3); justify-items: center; font-family: var(--serif); font-size: var(--step-1); color: var(--mute); }

/* ---------- Product page ---------- */
.product-page { padding-block: var(--s-4) var(--s-section); }
.product-back { margin-bottom: var(--s-3); }
.product-hero { display: grid; gap: var(--s-4); }
.atelier-visual { position: relative; }
.atelier-accent { position: absolute; z-index: 0; top: 0.7rem; left: 0.7rem; width: 100%; aspect-ratio: 1 / 1; background: var(--accent-soft); }
.product-photo { position: relative; z-index: 1; aspect-ratio: 1 / 1; overflow: hidden; background: var(--mist); }
.product-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s ease; }
.product-photo img.is-active { opacity: 1; }
.product-photo .card-tag { z-index: 3; }
.product-colors { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-top: 0.9rem; }
.product-thumb { width: 4.25rem; aspect-ratio: 1; padding: 0; border: 0; background: var(--white); opacity: 0.72; }
.product-thumb.is-active, .product-thumb:hover { opacity: 1; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-colors:has(.product-swatch) { gap: 1.25rem; }
.product-swatch { position: relative; width: 1.55rem; height: 1.55rem; padding: 0; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px rgba(13, 13, 13, 0.18); cursor: pointer; }
.product-swatch::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2.75rem; height: 2.75rem; transform: translate(-50%, -50%); }
.product-swatch.is-active { box-shadow: inset 0 0 0 1px rgba(13, 13, 13, 0.18), 0 0 0 2px var(--white), 0 0 0 3.5px var(--ink); }

.product-copy { display: grid; align-content: start; gap: var(--s-2); }
.product-copy h1 { font-size: var(--step-3); }
.product-copy .product-price { font-size: var(--step-1); color: var(--ink); }
.product-copy .product-price .price-now { color: var(--accent); }
.product-lead { font-family: var(--serif); font-size: var(--step-1); color: var(--ink-70); }
.product-info { border-top: 1px solid var(--line-strong); margin-top: var(--s-2); }
.product-info details { border-bottom: 1px solid var(--line-strong); }
.product-info summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding-block: 1rem; font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.product-info summary::-webkit-details-marker { display: none; }
.product-info summary::after { content: "+"; font-size: 1.25rem; font-weight: 300; }
.product-info details[open] summary::after { content: "−"; }
.product-info details > div { padding-bottom: 1.1rem; color: var(--ink-70); font-size: 0.9375rem; display: grid; gap: 0.5rem; }
.product-details { display: grid; gap: 0.4rem; }
.product-details li::before { content: "—"; margin-inline-end: 0.6rem; color: var(--accent); }
.product-buy { display: grid; gap: var(--s-2); margin-top: var(--s-2); }
.product-buy .btn { width: 100%; min-height: 3.25rem; }
.product-buy .btn:disabled,
.product-buy .btn:disabled:hover { background: transparent; color: var(--ink-40); border-color: var(--line-strong); cursor: not-allowed; }
.product-buy-price { display: none; }
.phone-choice { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.75rem; width: 100%; min-height: 2.85rem; padding: 0.55rem 0.85rem; border: 1px solid var(--ink); background: var(--white); text-align: start; }
.phone-choice span { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.phone-choice strong { margin-inline-start: auto; font-weight: 500; font-size: 0.9375rem; }
.phone-choice::after { content: ""; width: 0.4rem; height: 0.4rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); flex: 0 0 auto; }
.phone-choice.is-set strong { color: var(--ink); }
.product-related { margin-top: var(--s-section); }
.product-related .section-head { margin-bottom: var(--s-3); }
.product-related h2 { font-size: var(--step-2); }
.product-grid.related-grid {
  display: flex;
  gap: 0.7rem;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 0.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.product-grid.related-grid::-webkit-scrollbar { display: none; }
.related-grid .card { flex: 0 0 9rem; min-width: 0; scroll-snap-align: start; overflow: hidden; }
.related-grid .card-media { aspect-ratio: 1 / 1; }
.related-grid .card-body { display: grid; gap: 0.15rem; padding-top: 0.45rem; }
.related-grid .card h3,
.related-grid .card .price { font-size: 0.8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.customize-field { position: relative; height: min(78vh, 40rem); background: var(--ink); overflow: hidden; touch-action: none; }
.customize-field canvas { display: block; width: 100%; height: 100%; }

/* ---------- About ---------- */
.manifesto { display: grid; gap: var(--s-5); align-items: start; }
.manifesto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--mist); }
.manifesto h2 { font-size: var(--step-2); margin-block: 0.8rem var(--s-3); }
.manifesto [data-site-about-body] { display: grid; gap: var(--s-2); color: var(--ink-70); max-width: 34rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line-strong); }
.stats strong { display: block; font-family: var(--serif); font-size: var(--step-3); font-weight: 500; color: var(--accent); line-height: 1; }
.stats span { font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; gap: var(--s-5); padding-block: var(--s-5) var(--s-section); }
.contact-info h2 { font-size: var(--step-2); margin-block: 0.8rem var(--s-2); }
.contact-info > p:not(.kicker) { color: var(--ink-70); max-width: 30rem; }
.details { margin-top: var(--s-4); border-top: 1px solid var(--line-strong); }
.details > div { display: flex; justify-content: space-between; gap: var(--s-2); padding-block: 1rem; border-bottom: 1px solid var(--line-strong); }
.details span { font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.details a:hover { color: var(--accent); }

/* ---------- Checkout ---------- */
.checkout-steps { display: flex; flex-wrap: wrap; gap: 0.5rem var(--s-3); margin-top: var(--s-3); font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-40); }
.checkout-steps li { display: flex; align-items: center; gap: 0.6rem; }
.checkout-steps li::before { content: attr(data-n); display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border: 1px solid currentColor; border-radius: 50%; font-size: 0.6875rem; }
.checkout-steps .is-done { color: var(--accent); }
.checkout-steps .is-current { color: var(--ink); }
.checkout-steps .is-current::before { background: var(--ink); color: var(--white); border-color: var(--ink); }
.checkout-wrap { display: grid; gap: var(--s-4); padding-block: var(--s-4) var(--s-section); align-items: start; }
.checkout-summary { padding: var(--s-3); background: var(--accent-wash); border: 1px solid var(--line); }
.checkout-items { margin-block: var(--s-2); }
.checkout-line { display: grid; grid-template-columns: 4rem 1fr auto; gap: var(--s-2); align-items: center; padding-block: 0.9rem; border-bottom: 1px solid var(--line-strong); }
.checkout-line img { width: 4rem; height: 5rem; object-fit: cover; background: var(--mist); }
.checkout-line h3 { font-size: 1rem; }
.checkout-line p { font-size: 0.875rem; color: var(--mute); }
.cart-totals { display: grid; gap: 0.6rem; font-size: 0.9375rem; }
.cart-totals .cart-total { padding-top: 0.9rem; border-top: 1px solid var(--ink); }
.checkout-form { display: grid; gap: var(--s-3); }
.delivery-zone { border: 0; display: grid; gap: 0.6rem; }
.delivery-opts { display: grid; gap: 0.6rem; }
.delivery-opts label { display: flex; align-items: center; gap: 0.75rem; padding: 0.95rem 1rem; border: 1px solid var(--line-strong); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.delivery-opts label span { flex: 1; }
.delivery-opts input { accent-color: var(--accent); }
.delivery-opts label:has(input:checked) { border-color: var(--ink); background: var(--accent-wash); }
.checkout-form .btn { min-height: 3.25rem; }
.checkout-empty, .checkout-thanks { padding-block: var(--s-6); text-align: center; display: grid; gap: var(--s-3); justify-items: center; }
.checkout-empty p { font-family: var(--serif); font-size: var(--step-2); }
.checkout-thanks h2 { font-size: var(--step-3); }
.cart-thanks[hidden] { display: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
}
@media (min-width: 900px) {
  .hero-copy { grid-template-columns: 1.6fr 1fr; align-items: end; gap: var(--s-5); }
  .hero-copy .kicker { grid-column: 1 / -1; }
  .hero-slides { aspect-ratio: 21 / 9; }
  .featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); }
  .featured-grid[data-bento] .card:first-child { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
  .featured-grid[data-bento] .card:first-child .card-link { flex: 1; display: flex; flex-direction: column; }
  .featured-grid[data-bento] .card:first-child .card-media { flex: 1; aspect-ratio: auto; min-height: 20rem; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
  .cat-grid[data-count="1"] { grid-template-columns: 1fr; }
  .cat-grid[data-count="1"] .cat-card { aspect-ratio: 21 / 9; }
  .cat-grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
  .cat-grid[data-count="2"] .cat-card { aspect-ratio: 4 / 3; }
  .story { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .manifesto { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .contact-wrap { grid-template-columns: 1fr 1.1fr; gap: var(--s-6); }
  .product-hero { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-6); align-items: start; }
  .product-grid.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; }
  .related-grid .card { flex: none; width: auto; }
  .atelier-visual { position: sticky; top: calc(var(--header-h) + var(--s-3)); }
  .product-copy { padding-top: var(--s-2); }
  .checkout-wrap { grid-template-columns: 1.15fr 0.85fr; gap: var(--s-6); }
  .checkout-form { order: 1; }
  .checkout-summary { order: 2; position: sticky; top: calc(var(--header-h) + var(--s-3)); }
}
@media (max-width: 899px) {
  .home-picks { display: none; }
  .home-cats .cat-grid {
    display: flex;
    gap: 0.75rem;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 0.35rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .home-cats .cat-grid::-webkit-scrollbar { display: none; }
  .home-cats .cat-card {
    flex: 0 0 min(78vw, 16.5rem);
    scroll-snap-align: start;
    aspect-ratio: 3 / 4;
  }
  .page-product { padding-bottom: calc(4.75rem + var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .product-buy { position: fixed; inset-inline: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 56; grid-template-columns: auto 1fr; align-items: center; margin: 0; padding: 0.65rem var(--gutter); background: var(--white); border-top: 1px solid var(--line-strong); }
  .product-buy-price { display: block; }
  .product-buy .btn { min-height: 3rem; }
  .page-product .wa-float { bottom: calc(var(--tabbar-h) + 4.75rem + env(safe-area-inset-bottom)); }
  .atelier-accent { top: 0.55rem; left: 0.55rem; }
}

@media (max-width: 639px) {
  .cta-band { padding-block: var(--s-5); }
  .cta-band h2 { font-size: var(--step-2); }
  .cta-band p { margin-top: 0.6rem; font-size: 0.875rem; }
  .cta-links { gap: 0.6rem 1.1rem; margin-top: var(--s-3); }
  .cta-links a { font-size: 0.6875rem; letter-spacing: 0.14em; }
}

/* ---------- Product page · gallery + details layout ---------- */
.pd { --pd-r: 1rem; display: grid; gap: var(--s-4); }
.pd-gallery { display: grid; gap: 0.75rem; min-width: 0; }
.pd-photo { border-radius: var(--pd-r); aspect-ratio: 1 / 1; }
.pd-photo img { border-radius: inherit; }
.pd-thumbs { order: 2; display: flex; gap: 0.6rem; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-thumb { flex: 0 0 4.5rem; aspect-ratio: 1; padding: 0; border: 0; border-radius: 0.75rem; overflow: hidden; background: var(--mist); opacity: 0.55; transition: opacity 0.2s, box-shadow 0.2s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { opacity: 0.85; }
.pd-thumb.is-active { opacity: 1; box-shadow: 0 0 0 1.5px var(--ink); }

.pd-copy { display: grid; align-content: start; gap: 1.35rem; min-width: 0; }
.pd-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.65rem; }
.pd-price { font-family: var(--serif); font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); line-height: 1; color: var(--ink); }
.pd-was { color: var(--ink-40); font-size: 1rem; margin-inline-end: 0.35rem; }
.pd-chip { display: inline-flex; align-items: center; min-height: 2.1rem; padding: 0 0.9rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); font-size: 0.8125rem; color: var(--ink); white-space: nowrap; }
.pd-chip.is-sale { border-color: transparent; background: var(--accent-wash); color: var(--accent); }
.pd-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); line-height: 1.08; letter-spacing: -0.01em; }
.pd-note { display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.85rem 1rem; border-radius: 0.75rem; background: #f4f2f1; color: var(--ink-70); font-size: 0.9375rem; line-height: 1.45; }
.pd-note svg { flex: none; width: 1.2rem; height: 1.2rem; margin-top: 0.1rem; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.pd-block { display: grid; gap: 0.75rem; }
.pd-label { font-family: var(--sans); font-size: 1.0625rem; font-weight: 500; color: var(--ink); }
.pd-text { color: var(--ink-70); font-size: 0.9375rem; line-height: 1.65; }
.pd-text + .pd-text { margin-top: 0.35rem; }
.pd-details { display: grid; gap: 0.35rem; color: var(--ink-70); font-size: 0.9375rem; }
.pd-details li::before { content: "—"; margin-inline-end: 0.6rem; color: var(--accent); }
.pd-swatches { display: flex; flex-wrap: wrap; gap: 1.25rem; padding: 0.35rem 0.2rem; }
.pd .phone-choice { border-radius: 0.75rem; border-color: var(--line-strong); min-height: 3.1rem; }
.pd .phone-choice.is-set { border-color: var(--ink); }

.pd-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.pd-card { display: grid; gap: 0.2rem; padding: 0.9rem 1rem 1rem; border: 1px solid var(--line-strong); border-radius: 0.9rem; background: var(--white); }
.pd-card i { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: 0.45rem; border-radius: 50%; background: #f1eeec; }
.pd-card svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pd-card span { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.pd-card strong { font-size: 1.0625rem; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pd-actions.product-buy { display: flex; align-items: center; gap: 0.7rem; margin: 0.25rem 0 0; }
.pd-buy { min-height: 3.25rem; padding: 0 2rem; border: 0; border-radius: 0.75rem; background: var(--accent-deep); color: var(--white); font-size: 1rem; font-weight: 600; cursor: pointer; box-shadow: 0 8px 20px -10px rgba(95, 31, 50, 0.7); transition: transform 0.2s var(--ease), background 0.2s; }
.pd-buy:hover { background: var(--accent); }
.pd-buy:active { transform: scale(0.97); }
.pd-icon { position: relative; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; flex: none; padding: 0; border: 0; border-radius: 0.75rem; background: #f1eeec; color: var(--ink); cursor: pointer; transition: background 0.2s; }
.pd-icon:hover { background: var(--accent-soft); }
.pd-icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pd-icon[disabled] { opacity: 0.45; cursor: not-allowed; }
.pd-icon.is-done::after { content: "Link copied"; position: absolute; bottom: calc(100% + 0.4rem); left: 50%; transform: translateX(-50%); padding: 0.3rem 0.55rem; border-radius: 0.4rem; background: var(--ink); color: var(--white); font-size: 0.6875rem; white-space: nowrap; }

@media (min-width: 900px) {
  .pd { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
  .pd-gallery { position: sticky; top: calc(var(--header-h) + var(--s-3)); }
  .pd-gallery.has-thumbs { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; align-items: start; }
  .pd-gallery.has-thumbs .pd-thumbs { order: 0; flex-direction: column; overflow: visible; }
  .pd-thumb { flex: none; width: 100%; }
  .pd-copy { padding-top: 0.25rem; }
}
@media (max-width: 899px) {
  .pd-actions.product-buy { position: fixed; inset-inline: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 56; margin: 0; padding: 0.65rem var(--gutter); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line-strong); }
  .pd-buy { flex: 1; }
  .pd-title { font-size: clamp(1.75rem, 1.3rem + 2.4vw, 2.4rem); }
}

/* ---------- Customize · case studio ---------- */
.studio { display: grid; gap: var(--s-4); padding-block: var(--s-4) var(--s-section); }
.studio-stage { position: relative; display: grid; place-items: center; padding: clamp(1.25rem, 4vw, 2.5rem); border-radius: 1.25rem; background: radial-gradient(120% 90% at 50% 20%, var(--accent-wash), var(--mist)); transition: box-shadow 0.2s; }
.studio-stage.is-over { box-shadow: inset 0 0 0 2px var(--accent); }
.studio-canvas { display: block; width: auto; height: min(62vh, 34rem); max-width: 100%; touch-action: none; cursor: grab; filter: drop-shadow(0 24px 30px rgba(13, 13, 13, 0.22)); }
.studio-canvas:active { cursor: grabbing; }
.studio-model { position: absolute; top: 0.9rem; inset-inline-start: 0.9rem; padding: 0.35rem 0.75rem; border-radius: 999px; background: rgba(255, 255, 255, 0.85); font-size: 0.75rem; font-weight: 500; }
.studio-view { position: absolute; top: 0.9rem; inset-inline-end: 0.9rem; z-index: 2; display: flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 2px 10px rgba(13, 13, 13, 0.08); }
.studio-view button { min-width: 2.75rem; height: 2rem; padding: 0 0.8rem; border: 0; border-radius: 999px; background: transparent; font-size: 0.8125rem; font-weight: 600; color: var(--ink-70); cursor: pointer; transition: background 0.2s, color 0.2s; }
.studio-view button.is-active { background: var(--ink); color: var(--white); }
.studio-3d { position: relative; width: 100%; height: min(62vh, 34rem); }
.studio-3d[hidden], .studio-canvas[hidden] { display: none; }
.studio-3d canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.studio-3d canvas:active { cursor: grabbing; }
.studio-3d-status { position: absolute; inset: 0; display: grid; place-items: center; color: var(--mute); font-size: 0.875rem; }
.studio-3d-status[hidden] { display: none; }
.studio-panel { display: grid; align-content: start; gap: 1.5rem; }
.studio-step { display: grid; gap: 0.75rem; }
.studio-label { display: flex; align-items: baseline; gap: 0.6rem; font-size: 1.0625rem; font-weight: 500; }
.studio-label em { font-style: normal; font-family: var(--serif); color: var(--accent); font-size: 0.9375rem; }
.studio-models { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.studio-model-btn { display: grid; place-items: start center; width: 4.1rem; height: 5.4rem; padding: 0.55rem 0.5rem 0; border: 1px solid var(--line-strong); border-radius: 0.85rem; background: var(--white); overflow: hidden; cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.studio-model-btn svg { width: 100%; height: auto; }
.studio-model-btn:hover { border-color: var(--ink-40); }
.studio-model-btn.is-active { border-color: var(--accent); background: var(--accent-wash); box-shadow: 0 0 0 1px var(--accent); }
.studio-model-btn .mi-body { fill: #ece8e6; stroke: #cfc8c4; stroke-width: 14; }
.studio-model-btn .mi-hole { fill: #3a404a; }
.studio-model-btn .mi-plate { fill: #555d6a; }
.studio-model-btn .mi-lens { fill: #15171b; stroke: #b9bec5; stroke-width: 16; }
.studio-model-btn .mi-flash { fill: #efe7cf; }
.studio-model-btn .mi-dot { fill: #111318; }
.studio-model-btn.is-active .mi-body { fill: #f6dbe2; stroke: var(--accent); }
.studio-uploads { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.studio-upload { display: inline-flex; align-items: center; gap: 0.65rem; min-height: 3.25rem; padding: 0.45rem 1rem 0.45rem 0.5rem; border: 1.5px dashed var(--line-strong); border-radius: 0.85rem; background: var(--white); text-align: start; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.studio-upload:hover { border-color: var(--accent); background: var(--accent-wash); }
.studio-upload svg { flex: none; width: 2.2rem; height: 2.2rem; padding: 0.45rem; border-radius: 0.6rem; background: var(--accent-soft); fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.studio-upload span { display: grid; gap: 0.05rem; }
.studio-upload strong { font-weight: 600; font-size: 0.875rem; }
.studio-upload small { color: var(--mute); font-size: 0.75rem; }
.studio.is-loading .studio-upload { opacity: 0.6; pointer-events: none; }
.studio.is-loading .studio-upload strong::after { content: "…"; }
.studio-layers { border: 1px solid var(--line-strong); border-radius: 0.9rem; background: var(--white); overflow: hidden; }
.studio-layers[hidden] { display: none; }
.studio-layers-head { display: flex; align-items: center; justify-content: space-between; padding: 0.55rem 0.85rem; background: #f7f5f4; border-bottom: 1px solid var(--line-strong); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.studio-layers-head small { min-width: 1.4rem; padding: 0.1rem 0.45rem; border-radius: 999px; background: var(--white); color: var(--mute); font-size: 0.6875rem; letter-spacing: 0; text-align: center; }
.studio-layer-list { display: grid; gap: 6px; padding: 6px; }
.studio-layer { display: flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.35rem 0.3rem 0.1rem; border-radius: 0.65rem; background: var(--white); cursor: pointer; transition: background 0.15s, transform 0.18s var(--ease), box-shadow 0.15s; user-select: none; -webkit-user-select: none; }
.studio-layer:hover { background: #f7f5f4; }
.studio-layer.is-active { background: var(--accent-wash); box-shadow: inset 0 0 0 1.5px var(--accent); }
.studio-layer.is-dragging { position: relative; z-index: 2; transition: none; box-shadow: 0 10px 24px -8px rgba(13, 13, 13, 0.35), inset 0 0 0 1.5px var(--accent); background: var(--white); }
.studio-layer-grip { display: grid; place-items: center; width: 1.6rem; height: 2.4rem; flex: none; color: var(--ink-40); cursor: grab; touch-action: none; }
.studio-layer-grip svg { width: 1rem; height: 1rem; fill: currentColor; stroke: none; }
.studio-layer.is-dragging .studio-layer-grip { cursor: grabbing; }
.studio-layer-thumb { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 0.45rem; object-fit: cover; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 10px 10px; box-shadow: 0 0 0 1px var(--line-strong); }
.studio-layer-name { flex: 1; min-width: 0; font-size: 0.875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; outline: none; }
.studio-layer-name[contenteditable="true"] { padding: 0.15rem 0.35rem; border-radius: 0.35rem; background: var(--white); box-shadow: 0 0 0 1.5px var(--accent); text-overflow: clip; cursor: text; user-select: text; -webkit-user-select: text; }
.studio-layer.is-hidden .studio-layer-thumb, .studio-layer.is-hidden .studio-layer-name { opacity: 0.4; }
.studio-layer-btn { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 0.5rem; background: transparent; color: var(--ink-70); cursor: pointer; }
.studio-layer-btn:hover { background: #efebe9; color: var(--ink); }
.studio-layer-btn svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.studio-layer-btn.is-off { color: var(--ink-40); }
.studio-layer-btn.is-on { color: var(--accent); }
.studio-layer-btn.is-danger:hover { background: #fde8e8; color: #b42318; }
.studio-note { padding: 0.7rem 0.9rem; border-radius: 0.7rem; background: #fff6e6; color: #7a5410; font-size: 0.8125rem; }
.studio-note.is-error { background: #fdecec; color: #9b1c1c; }
.studio-zoom { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--mute); }
.studio-zoom input { width: 100%; accent-color: var(--accent); }
.studio-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.studio-chip { min-height: 2.5rem; padding: 0 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); font-size: 0.875rem; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.studio-chip:hover:not(:disabled) { border-color: var(--ink); }
.studio-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.studio-chip:disabled { opacity: 0.45; cursor: not-allowed; }
.studio-swatch { width: 2.2rem; height: 2.2rem; padding: 0; border: 0; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(13, 13, 13, 0.15); cursor: pointer; }
.studio-swatch.is-print { background: conic-gradient(from 45deg, #f6dbe2, #7d2c43, #f2c14e, #7fb7c9, #f6dbe2); }
.studio-swatch.is-active { box-shadow: inset 0 0 0 1px rgba(13, 13, 13, 0.15), 0 0 0 3px var(--white), 0 0 0 4.5px var(--ink); }
.studio-hint { color: var(--mute); font-size: 0.8125rem; line-height: 1.5; }
.studio-actions { display: flex; gap: 0.7rem; }
.studio-send { flex: 1; min-height: 3.25rem; padding: 0 1.25rem; border: 0; border-radius: 0.75rem; background: var(--accent-deep); color: var(--white); font-weight: 600; cursor: pointer; transition: background 0.2s; }
.studio-send:hover:not(:disabled) { background: var(--accent); }
.studio-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; flex: none; border: 0; border-radius: 0.75rem; background: #f1eeec; cursor: pointer; }
.studio-icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.studio-send:disabled, .studio-icon:disabled { opacity: 0.45; cursor: not-allowed; }
@media (min-width: 900px) {
  .studio { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
  .studio-stage { position: sticky; top: calc(var(--header-h) + var(--s-3)); min-height: 36rem; }
  .studio-canvas { height: min(70vh, 40rem); }
  .studio-3d { height: min(70vh, 40rem); }
}

/* ---------- Founder (owner) page ---------- */
.founder { display: grid; gap: var(--s-5); align-items: center; }
.founder-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 1.25rem; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, var(--accent-soft), var(--mist)); box-shadow: 0.9rem 0.9rem 0 var(--accent-wash); }
.founder-photo img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.founder-mono { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: clamp(5rem, 14vw, 9rem); color: var(--accent); opacity: 0.35; }
.founder-photo figcaption { position: absolute; z-index: 2; inset-inline: 0.9rem; bottom: 0.9rem; display: grid; gap: 0.1rem; padding: 0.75rem 1rem; border-radius: 0.85rem; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); }
.founder-photo figcaption strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.founder-photo figcaption span { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.founder-copy { display: grid; gap: var(--s-2); }
.founder-copy h2 { font-size: var(--step-3); line-height: 1.05; }
.founder-copy > p:not(.kicker), .founder-body p { color: var(--ink-70); line-height: 1.7; max-width: 36rem; }
.founder-body { display: grid; gap: var(--s-2); }
.founder-photo img[hidden] { display: none; }
.founder-quote { margin: var(--s-2) 0 0; padding-inline-start: 1.25rem; border-inline-start: 3px solid var(--accent); }
.founder-quote p { font-family: var(--serif); font-style: italic; font-size: var(--step-2); color: var(--ink); }
.founder-quote cite { display: block; margin-top: 0.4rem; font-style: normal; font-size: 0.8125rem; color: var(--mute); }
.founder-timeline { display: grid; gap: var(--s-3); list-style: none; margin: 0; padding: 0; counter-reset: none; }
.founder-timeline li { position: relative; padding: 1.4rem 1.4rem 1.5rem; border: 1px solid var(--line-strong); border-radius: 1rem; background: var(--white); }
.founder-timeline em { display: inline-block; margin-bottom: 0.7rem; padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--accent-wash); color: var(--accent); font-style: normal; font-family: var(--serif); font-size: 0.9375rem; }
.founder-timeline h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.founder-timeline p { color: var(--ink-70); font-size: 0.9375rem; line-height: 1.6; }
@media (min-width: 900px) {
  .founder { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); }
  .founder-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.footer-founder { display: inline-block; margin-top: var(--s-2); color: var(--white); }
.about-founder-link { display: inline-block; margin-top: var(--s-2); }

/* ---------- Founder visual story ---------- */
.founder-story { background: linear-gradient(180deg, var(--white), var(--accent-wash)); }
.story-layout { display: grid; gap: var(--s-4); align-items: center; justify-items: center; }
.story-intro { display: grid; gap: var(--s-2); text-align: center; max-width: 28rem; }
.story-intro h2 { font-size: var(--step-3); }
.story-intro p:not(.kicker) { color: var(--ink-70); line-height: 1.7; }
.story-viewer { position: relative; width: min(100%, 23rem); aspect-ratio: 9 / 16; border-radius: 1.5rem; overflow: hidden; background: #111; box-shadow: 0 30px 60px -24px rgba(95, 31, 50, 0.55); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: pointer; outline: none; }
.story-viewer:focus-visible { box-shadow: 0 0 0 3px var(--accent), 0 30px 60px -24px rgba(95, 31, 50, 0.55); }
.story-bars { position: absolute; z-index: 5; top: 0.8rem; inset-inline: 0.8rem; display: flex; gap: 4px; }
.story-bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.story-bars i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .story-bars i { transform-origin: right; }
.story-slide { position: absolute; inset: 0; display: flex; flex-direction: column; background: linear-gradient(160deg, var(--bg1), var(--bg2)); opacity: 0; visibility: hidden; transform: scale(1.03); transition: opacity 0.5s ease, transform 0.6s var(--ease), visibility 0s 0.5s; }
.story-slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.story-art { display: block; width: 100%; flex: 1 1 auto; min-height: 0; padding-top: 1.6rem; }
.story-copy { position: relative; padding: 1.2rem 1.4rem 1.9rem; color: #fff; text-align: start; background: linear-gradient(0deg, rgba(25, 6, 14, 0.82) 0%, rgba(25, 6, 14, 0.55) 60%, rgba(25, 6, 14, 0)); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25); font-family: var(--sans); }
.story-tag { display: inline-block; margin-bottom: 0.55rem; padding: 0.2rem 0.65rem; border-radius: 999px; background: rgba(255, 255, 255, 0.18); font-size: 0.75rem; backdrop-filter: blur(6px); }
.story-copy h3 { font-family: var(--serif); font-weight: 500 !important; font-size: 1.65rem; line-height: 1.2; margin-bottom: 0.45rem; font-weight: 700; }
.story-copy p:not(.story-tag) { font-size: 0.95rem; line-height: 1.65; opacity: 0.95; }
.story-slide.is-active .story-copy > * { animation: story-in 0.7s var(--ease) both; }
.story-slide.is-active .story-copy > :nth-child(2) { animation-delay: 0.12s; }
.story-slide.is-active .story-copy > :nth-child(3) { animation-delay: 0.24s; }
@keyframes story-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.story-nav { position: absolute; z-index: 3; top: 0; bottom: 0; width: 30%; border: 0; background: transparent; cursor: pointer; }
.story-next { right: 0; }
.story-prev { left: 0; }
[dir="rtl"] .story-next { right: auto; left: 0; }
[dir="rtl"] .story-prev { left: auto; right: 0; }
.story-pause { position: absolute; z-index: 6; top: 1.45rem; right: 0.7rem; display: grid; place-items: center; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.25); color: #fff; cursor: pointer; }
.story-pause svg { width: 0.9rem; height: 0.9rem; fill: currentColor; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.story-replay { position: absolute; z-index: 6; left: 50%; bottom: 1.2rem; transform: translateX(-50%); padding: 0.55rem 1.1rem; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 0.875rem; cursor: pointer; }
.story-replay[hidden] { display: none; }
/* illustration motion */
.story-slide.is-active .st-float { animation: st-float 4s ease-in-out infinite; }
.story-slide.is-active .st-twinkle { animation: st-twinkle 2.4s ease-in-out infinite; }
.story-slide.is-active .st-spin { animation: st-spin 18s linear infinite; }
.story-slide.is-active .st-road { animation: st-dash 3s linear infinite; }
.story-slide.is-active .st-draw { animation: st-dash 2s linear infinite; }
.story-slide.is-active .st-rain { animation: st-rain 0.9s linear infinite; }
.story-slide.is-active .st-bolt { animation: st-bolt 3s steps(1) infinite; }
.story-slide.is-active .st-needle { animation: st-needle 4s ease-in-out infinite; }
.story-slide.is-active .st-rise { animation: st-rise 1.4s var(--ease) both; }
.story-slide.is-active .st-flame { animation: st-flame 0.35s ease-in-out infinite alternate; transform-origin: 180px 290px; }
.story-slide.is-active .st-pulse { animation: st-pulse 1.8s ease-out infinite; }
.story-slide.is-active .st-orbit { animation: st-spin 14s linear infinite; }
.story-slide.is-active .st-sun { animation: st-twinkle 5s ease-in-out infinite; }
@keyframes st-float { 50% { transform: translateY(-8px); } }
@keyframes st-twinkle { 50% { opacity: 0.35; } }
@keyframes st-spin { to { transform: rotate(360deg); } }
@keyframes st-dash { to { stroke-dashoffset: -52; } }
@keyframes st-rain { from { transform: translateY(-10px); } to { transform: translateY(14px); } }
@keyframes st-bolt { 0%, 70%, 100% { opacity: 1; } 72%, 76% { opacity: 0.1; } }
@keyframes st-needle { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(10deg); } }
@keyframes st-rise { from { transform: translateY(90px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes st-flame { to { transform: scaleY(1.35); } }
@keyframes st-pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .story-slide * { animation: none !important; } }
@media (min-width: 900px) {
  .story-layout { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(3rem, 7vw, 7rem); justify-items: stretch; }
  .story-intro { text-align: start; justify-self: end; }
  .story-viewer { width: 24rem; }
}

/* Founder page = the visual story, with the founder's photo + name as the story header */
.founder-solo .section { padding-block: 1rem 1.5rem; background: linear-gradient(180deg, var(--white), var(--accent-wash)); }
.founder-solo-inner { display: grid; justify-items: center; }
.founder-solo .story-viewer { width: min(100%, 27rem, calc((100svh - 13rem) * 0.5625)); min-width: 16rem; }
.story-head { position: absolute; z-index: 6; top: 1.45rem; left: 0.9rem; right: 3.2rem; display: flex; align-items: center; gap: 0.6rem; color: #fff; pointer-events: none; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3); }
.story-head .founder-avatar { position: relative; flex: none; width: 2.6rem; height: 2.6rem; padding: 2px; border-radius: 50%; background: conic-gradient(from 200deg, #f2c14e, var(--accent), #e76f8a, #f2c14e); }
.story-head .founder-avatar img, .story-head .founder-mono { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); border-radius: 50%; border: 2px solid #fff; }
.story-head .founder-avatar img { z-index: 1; object-fit: cover; }
.story-head .founder-avatar img[hidden] { display: none; }
.story-head .founder-mono { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-family: var(--serif); font-size: 0.9rem; text-shadow: none; }
.story-who { display: grid; min-width: 0; line-height: 1.2; }
.story-who h1 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story-who span { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.founder-solo .story-art { padding-top: 3.9rem; }
@media (min-width: 900px) { .founder-solo .section { padding-block: 2rem 3rem; } }
.founder-solo .story-viewer::before { content: ""; position: absolute; z-index: 4; inset: 0 0 auto; height: 6.5rem; background: linear-gradient(180deg, rgba(25, 6, 14, 0.55), rgba(25, 6, 14, 0)); pointer-events: none; }

/* Founder story on phones: full-bleed, fills the screen between header and tab bar */
@media (max-width: 639px) {
  body[data-page="founder"] .wa-float { display: none; }
  body[data-page="founder"] .site-footer { display: none; }
  body[data-page="founder"] { padding-bottom: 0; }
  body[data-page="founder"] main { background: #111; }
  .founder-solo .section { padding: 0; background: #111; }
  .founder-solo .container.founder-solo-inner { padding: 0; max-width: none; }
  .founder-solo .story-viewer {
    width: 100%;
    min-width: 0;
    aspect-ratio: auto;
    height: calc(100svh - var(--announce-h) - 3.5rem - 1px - var(--tabbar-h) - env(safe-area-inset-bottom));
    min-height: 30rem;
    border-radius: 0;
    box-shadow: none;
  }
  .founder-solo .story-bars { top: 0.6rem; inset-inline: 0.7rem; }
  .founder-solo .story-head { top: 1.2rem; left: 0.8rem; right: 3.2rem; }
  .founder-solo .story-pause { top: 1.35rem; right: 0.8rem; }
  .founder-solo .story-art { padding-top: 3.8rem; }
  .founder-solo .story-copy { padding: 1rem 1.15rem 1.35rem; }
  .founder-solo .story-copy h3 { font-size: 1.5rem; }
  .founder-solo .story-copy p:not(.story-tag) { font-size: 0.9375rem; line-height: 1.6; }
}
@media (max-width: 639px) and (max-height: 700px) {
  .founder-solo .story-copy h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
  .founder-solo .story-copy p:not(.story-tag) { font-size: 0.875rem; line-height: 1.5; }
  .founder-solo .story-art { padding-top: 3.4rem; }
}

/* checkout: order not sent */
.order-error {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #c0392b;
  border-radius: 12px;
  background: rgba(192, 57, 43, 0.07);
  color: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
}
.order-error[hidden] { display: none; }
.order-error .btn { justify-self: start; }
