@font-face {
  font-family: RobotoCondensed;
  src: url('assets/roboto-condensed-black-latin-r18.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --cream: #fff8e9;
  --green: #001e0b;
  --red: #f00008;
  --yellow: #fff000;
  --display: RobotoCondensed, Arial, sans-serif;
  --body: Arial, sans-serif;
  --hero-image: url("assets/hero-clean-932-r18.webp");
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--green); color: var(--cream); font: 700 1rem/1.35 var(--body); }
h1, h2, h3, p, figure { margin: 0; }
button, input { font: inherit; }
a { color: inherit; }
a, button, input { touch-action: manipulation; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #e7bc00; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; }
.skip { position: fixed; top: -100px; left: 8px; z-index: 100; background: var(--cream); color: var(--green); padding: 12px; }
.skip:focus { top: 8px; }
.panel { container-type: inline-size; }
.stage { width: 100%; max-width: 600px; margin-inline: auto; }
.brand { font: 900 1.65rem/1 var(--display); text-decoration: none; overflow-wrap: anywhere; }
h1, h2, h3, .cta, .hero-offer, .promise, .zero-banner, .last-promise { font-family: var(--display); font-weight: 900; }
h1, h2, h3 { overflow-wrap: anywhere; }

/* Use the stable small viewport throughout the hero. Browser chrome may
   hide while scrolling; that must not rescale the scene or typography.
   Reserve the maximum bottom inset as well, not the moving browser inset.
   34px is a fixed fallback where the max-inset variable is unavailable.
   Enlarged text can still grow the block without clipping. */
.hero { background: #001606; }
.hero .stage {
  position: relative;
  isolation: isolate;
  overflow: clip;
  container-type: inline-size;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto auto minmax(8rem, 1fr) auto;
  grid-template-areas: "header" "copy" "art" "actions";
  padding: max(8px, env(safe-area-inset-top)) 0 max(12px, env(safe-area-max-inset-bottom, 34px));
}
.header .brand { min-width: 0; }
.header { grid-area: header; position: relative; order: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin: 0 max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left)); z-index: 5; }
.navigation { display: none; }
.hero-copy { grid-area: copy; order: 1; position: relative; z-index: 1; text-align: center; padding-inline: 16px; }
.hero h1 { font-size: clamp(1.75rem, min(calc(10cqw + .75rem), 5.8svh), 3.75rem); line-height: .91; letter-spacing: -.035em; }
.hero h1 span { display: block; }
.hero-subtitle { font-size: clamp(1rem, 4.5cqw, 1.25rem); line-height: 1.25; letter-spacing: -.035em; margin-top: 6px; }
.hero-offer { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 .15em; font-size: clamp(1.875rem, min(11.5cqw, 6svh), 3.25rem); line-height: 1; letter-spacing: -.025em; margin-top: 8px; }
.hero-offer > span { white-space: nowrap; }
.hero-offer b { font-weight: 900; color: var(--red); font-size: 1.25em; line-height: .9; }

.promise { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .2em; color: var(--green); background: var(--yellow); border-radius: 5px; width: fit-content; max-width: calc(100% - 24px); padding: 6px 14px; margin: 8px auto 0; transform: skew(-8deg); font-size: clamp(1.125rem, min(6.2cqw, 3.5svh), 1.75rem); line-height: 1.05; letter-spacing: -.03em; }
.promise span { display: block; white-space: nowrap; }
.hero-art { grid-area: art; order: 2; position: relative; z-index: -1; container-type: size; min-width: 0; min-height: 0; margin-top: 8px; pointer-events: none; }
.hero-art::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(120cqw, calc((100cqh - 24px) * 1.41212)); aspect-ratio: 932 / 1688; transform: translate(-50%, -68.7204%); background-image: linear-gradient(90deg, #001606, transparent 10%, transparent 90%, #001606), linear-gradient(180deg, #001606, transparent 22%, transparent 90%, #001606), var(--hero-image); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; }
.hero-actions { grid-area: actions; order: 3; position: relative; z-index: 1; margin: 8px max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); text-align: center; }
.cta { min-height: 56px; padding: 10px 12px; background: var(--red); color: var(--cream); border: 2px solid #b80006; border-radius: 10px; box-shadow: 0 3px 10px #00000024; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: clamp(1.375rem, 6.6cqw, 2rem); line-height: 1.08; letter-spacing: -.025em; transition: transform 80ms ease, box-shadow 80ms ease; }
@media (hover: hover) { .cta:hover { background: #d90007; } }
.cta:active { background: #d90007; transform: translateY(1px); box-shadow: 0 1px 3px #0002; }
.cta > .cta-label { min-width: 0; overflow-wrap: anywhere; text-align: center; }
.cta > .arrow { position: relative; flex: 0 0 25px; width: 25px; height: 23px; font-size: 0; }
.cta > .arrow::before { content: ''; position: absolute; left: 0; right: 2px; top: 10px; height: 4px; background: currentColor; }
.cta > .arrow::after { content: ''; position: absolute; right: 2px; top: 4px; width: 15px; height: 15px; border-top: 4px solid; border-right: 4px solid; transform: rotate(45deg); }
.hero-cta { font-size: clamp(1.625rem, 7.4cqw, 2.25rem); }
.hero-actions p { font-size: 1rem; line-height: 1.25; margin-top: 8px; letter-spacing: -.035em; }

/* Subsequent screens use normal document flow, with no fixed text heights. */
.choose, .real { color: var(--green); background: var(--cream); }
.choose .stage, .real .stage, .how .stage { padding: 24px max(16px, env(safe-area-inset-right)) 24px max(16px, env(safe-area-inset-left)); display: flex; flex-direction: column; gap: 16px; }
.section-intro { text-align: center; }
.section-intro h2 { font-size: clamp(2.5rem, 14.5cqw, 4rem); line-height: .86; letter-spacing: -.035em; }
.section-intro p { font-size: clamp(1rem, 4.7cqw, 1.375rem); line-height: 1.3; letter-spacing: -.035em; margin-top: 8px; }
.photo { display: block; width: 100%; height: auto; }
.choose-picture { height: clamp(280px, 92cqw, 420px); overflow: hidden; }
.choose-picture .photo { width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 94%; }
/* Fill the product frame by trimming empty photographic margins only. */
.choose-picture [data-tree-size="4"] { transform: scale(1.45); }
.choose-picture [data-tree-size="6"] { transform: scale(1.16); }
.choose-picture [data-tree-size="7"] { transform: scale(1.06); }
.sizes { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.3rem), 1fr)); gap: 7px; }
.size { position: relative; border: 2px solid var(--green); border-radius: 11px; min-height: 112px; padding: 7px 3px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; }
.size input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.size:has(input:focus-visible) { outline: 3px solid #bb9900; outline-offset: 3px; }
.size .tick { visibility: hidden; font: 900 1.35rem/1 Arial, sans-serif; min-height: 23px; }
.size strong { font: 900 clamp(2.125rem, 10.8cqw, 3rem)/.95 var(--display); letter-spacing: -.035em; }
.size .price { color: var(--red); font: 900 clamp(1.625rem, 8.6cqw, 2.35rem)/1.1 var(--display); letter-spacing: -.055em; }
.size.selected { background: var(--red); border-color: var(--red); color: var(--cream); }
.size.selected .price { color: var(--cream); }
.size.selected .tick { visibility: visible; }
.gifts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-radius: 10px; padding: 8px; background: #002b13; color: var(--cream); isolation: isolate; }
.gifts-picture { min-width: 0; flex: 1 1 6rem; }
.gifts-picture .photo { mix-blend-mode: lighten; }
.gift-copy { min-width: 0; flex: 2 1 10rem; overflow-wrap: anywhere; }
.gift-copy strong { display: block; font: 900 clamp(1.375rem, 5.8cqw, 1.8rem)/1.05 var(--display); letter-spacing: -.04em; }
.gift-copy em { font-style: normal; color: var(--yellow); }
.gift-copy p { font-size: 1rem; line-height: 1.25; margin-top: 5px; letter-spacing: -.035em; }
.real .section-intro h2 { font-size: clamp(2.05rem, 11.7cqw, 3.5rem); line-height: .93; }
.real .stage { gap: 7px; padding-top: 18px; }
.real .section-intro { margin-bottom: 10px; }
.detail { background: #062109; color: var(--cream); }
.detail figcaption { font-size: 1rem; line-height: 1.35; padding: 10px 14px 12px; }
.how { background: #00230d; }
.how .stage { gap: 18px; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.how h2 { text-align: center; font-size: clamp(2.2rem, 10.9cqw, 3.4rem); line-height: .93; letter-spacing: -.035em; }
.zero-banner { overflow-wrap: anywhere; align-self: center; max-width: calc(100% - 22px); border-radius: 8px; background: var(--red); padding: 1px 18px 4px; text-align: center; font-size: clamp(2.6rem, 16.9cqw, 5rem); line-height: 1; letter-spacing: -.035em; transform: skew(-8deg); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.steps li > div { flex: 1 1 11rem; min-width: 0; }
.steps svg { flex: 0 0 40px; width: 40px; height: 44px; fill: none; stroke: var(--cream); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.step-number { font: italic 900 2.25rem/1 var(--display); border-left: 1px solid var(--cream); padding-left: 9px; }
.steps h3 { font-size: clamp(1.25rem, 5.4cqw, 1.6rem); line-height: 1.1; letter-spacing: -.03em; }
.steps p { overflow-wrap: anywhere; font-size: 1rem; line-height: 1.3; margin-top: 5px; letter-spacing: -.02em; }
.faq { display: grid; gap: 7px; color: var(--green); }
.faq > div { padding: 10px 16px; border-radius: 8px; background: var(--cream); }
.faq h3 { font: 800 1.375rem/1.15 var(--body); letter-spacing: -.035em; }
.faq p { font-size: 1rem; line-height: 1.35; margin-top: 3px; }
.last-promise { text-align: center; color: var(--yellow); font-size: clamp(1.5rem, 7.7cqw, 2.1rem); line-height: 1.1; font-style: italic; letter-spacing: -.025em; }
.footer { border-top: 1px solid var(--cream); padding-top: 9px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; }
.footer .brand { font-size: 1.375rem; }
.footer nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px; font-size: .875rem; }
@media (min-width: 600px) and (max-width: 899px) {
  .stage { max-width: 680px; }
  .choose .stage, .real .stage, .how .stage { padding-inline: 32px; }
}
@media (min-width: 600px) and (max-width: 1199px) and (max-height: 500px) {
  .hero .stage { max-width: 900px; min-height: 100svh; padding: max(8px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(12px, env(safe-area-max-inset-bottom, 34px)) max(24px, env(safe-area-inset-left)); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: 'header header' 'copy art' 'actions art'; gap: 8px 24px; }
  .hero .header { margin: 0; }
  .hero-copy { text-align: left; padding: 0; align-self: center; }
  .hero h1 { font-size: clamp(1.75rem, min(5.6vw, 8svh), 3rem); }
  .hero-subtitle { font-size: 1rem; margin-top: 4px; }
  .hero-offer { justify-content: flex-start; font-size: clamp(1.875rem, 8svh, 2.25rem); margin-top: 6px; }
  .promise { font-size: clamp(1.125rem, 5svh, 1.25rem); margin-left: 4px; }
  .hero-art { margin: 0; min-height: 9rem; }
  .hero-actions { margin: 0; }
  .hero-cta { font-size: 1.5rem; }
}
@media (min-width: 900px) and (min-height: 501px), (min-width: 1200px) {
  .hero .stage { min-height: 740px; padding: 24px 40px 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: auto 1fr auto; grid-template-areas: 'header header' 'copy art' 'actions art'; gap: 24px 30px; }
  .header { grid-area: header; margin: 0; }
  .header .brand { font-size: 1.875rem; }
  .navigation { display: flex; gap: 20px; }
  .navigation a { display: block; padding: 10px 0; min-height: 44px; text-decoration: none; }
  .navigation a:hover { text-decoration: underline; }
  .hero-copy { grid-area: copy; text-align: left; padding: 0; align-self: center; }
  .hero h1 { font-size: clamp(4rem, 6vw, 4.75rem); }
  .hero-subtitle { font-size: 1.4rem; margin-top: 16px; }
  .hero-offer { justify-content: flex-start; font-size: clamp(2.75rem, 4.6vw, 3.5rem); margin-top: 20px; }
  .promise { font-size: 1.75rem; margin: 22px 0 0 5px; padding: 10px 16px; text-align: center; }
  .hero-art { grid-area: art; container-type: normal; min-height: 570px; height: auto; margin: 0; }
  .hero-art::before { transform: none; left: -40px; top: auto; bottom: -40px; width: calc(100% + 80px); background-image: linear-gradient(90deg, #001606, transparent 18%, transparent 92%, #001606), linear-gradient(180deg, #001606, transparent 22%, transparent 90%, #001606), var(--hero-image); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; }
  .hero-actions { grid-area: actions; margin: 0; align-self: end; }
  .hero-cta { font-size: 2rem; min-height: 62px; }
  .hero-actions p { font-size: 1.125rem; margin-top: 12px; }
}
@media (min-width: 900px) {
  .stage { max-width: 1200px; }
  .choose .stage { max-width: 1120px; padding: 60px 30px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'intro photo' 'sizes photo' 'gifts gifts' 'button button'; gap: 30px 40px; }
  .choose .section-intro { grid-area: intro; text-align: left; }
  .choose .section-intro h2 { font-size: 5rem; }
  .section-intro p { font-size: 1.5rem; }
  .choose-picture { grid-area: photo; height: 410px; }
  .sizes { grid-area: sizes; align-self: end; }
  .size { min-height: 130px; }
  .gifts { display: grid; grid-area: gifts; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; }
  .gift-copy strong { font-size: 2.5rem; }
  .gift-copy p { font-size: 1.375rem; }
  .choose-cta { grid-area: button; font-size: 2.4rem; min-height: 70px; }
  .real .stage { max-width: 1120px; padding: 50px 30px 70px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 24px; }
  .real .section-intro { grid-column: 1 / -1; }
  .real .section-intro h2 { font-size: 4rem; }
  .detail { align-self: center; }
  .detail figcaption { font-size: 1.25rem; }
  .how .stage { max-width: 650px; padding-block: 50px 30px; gap: 24px; }
  .how h2 { font-size: 4rem; }
  .zero-banner { font-size: 5.5rem; }
  .steps li { gap: 18px; }
  .steps svg { flex-basis: 50px; width: 50px; height: 50px; }
  .steps h3 { font-size: 1.875rem; }
  .steps p { overflow-wrap: anywhere; font-size: 1.125rem; }
  .how-cta { font-size: 2.125rem; min-height: 62px; }
  .last-promise { font-size: 2.5rem; }
  .footer { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cta { transition: none; } }

@supports (background-image: image-set(url("x.avif") type("image/avif"))) {
  :root { --hero-image: image-set(url("assets/hero-clean-932-r18.avif") type("image/avif"), url("assets/hero-clean-932-r18.webp") type("image/webp")); }
}
.choose-picture picture, .real-picture picture { display: contents; }
