:root {
  color-scheme: dark;
  --cacao: #241810;
  --cream: #f4e7d3;
  --pink: #e5bda8;
  --leaf: #a8bd91;
  --muted: #c8b6a4;
  --line: #6e5845;
  --serif: ui-serif, Georgia, "Times New Roman", serif;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cacao);
  color: var(--cream);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .3em; }
a, button, input { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--leaf); outline-offset: 5px; }
.skip { position: absolute; top: 0; left: 1rem; padding: 1rem; background: var(--cream); color: var(--cacao); z-index: 3; transform: translateY(-120%); }
.skip:focus { transform: none; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1.25rem, 5vw, 5rem); border-bottom: 1px solid var(--line); }
.masthead a { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; text-decoration: none; letter-spacing: .15em; font-weight: 700; }
.masthead a span, .masthead > span { font-size: .7rem; color: var(--muted); }
.masthead > span { letter-spacing: .06em; text-align: right; max-width: 16rem; }
.chapter { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 3vw; padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 7vw, 7rem); border-bottom: 1px solid var(--line); isolation: isolate; }
.copy { min-width: 0; }
.eyebrow { display: block; color: var(--leaf); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.75rem; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: .97; letter-spacing: -.055em; margin: 0 0 1.6rem; }
h1 { font-size: clamp(5rem, 11vw, 11rem); }
h2 { font-size: clamp(3rem, 5.7vw, 6rem); }
em { color: var(--pink); font-weight: 400; }
p { color: var(--muted); line-height: 1.7; max-width: 40ch; margin: 0; }
.art { display: block; width: 100%; height: auto; max-height: 65svh; overflow: hidden; }
.hero { min-height: calc(100svh - 77px); padding-bottom: 5rem; }
.hero .copy { position: relative; z-index: 1; }
.hero-art { width: 115%; max-width: none; margin-left: -15%; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 48px; padding: .8rem 1.1rem; background: var(--pink); border: 1px solid var(--pink); color: var(--cacao); text-decoration: none; font-weight: 600; cursor: pointer; border-radius: 2px; }
.hero .button { margin-top: 2rem; }
.button:hover { background: var(--cream); }
.button:disabled { background: transparent; color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.chapter-foot { position: absolute; bottom: 1.7rem; left: 7%; right: 7%; display: flex; justify-content: space-between; font-size: .65rem; letter-spacing: .15em; color: var(--muted); text-transform: uppercase; }
.pod-chapter { background: #2c1c16; }
.preorder { gap: clamp(2rem, 6vw, 6rem); }
.pack-art { max-width: 390px; margin-top: 1.5rem; }
.order { min-width: 0; }
.demo-banner { font-size: .8rem; line-height: 1.6; color: var(--leaf); border-left: 2px solid var(--leaf); padding: .25rem 0 .25rem 1rem; margin-bottom: 1.5rem; }
.products { list-style: none; padding: 0; margin: 0; }
.products li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.product-name { display: block; line-height: 1.4; font-size: .95rem; }
.price { display: block; color: var(--pink); margin-top: .4rem; font-variant-numeric: tabular-nums; }
.stepper { display: flex; flex: 0 0 auto; }
.stepper button, .stepper input { min-height: 44px; width: 44px; border: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--cream); text-align: center; padding: 0; }
.stepper button { cursor: pointer; font-size: 1.2rem; }
.stepper button:hover { background: #493126; }
.stepper input { appearance: textfield; -moz-appearance: textfield; border-inline: 0; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.summary { padding-block: 1.2rem; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
fieldset { padding: 0; margin: 0 0 1rem; border: 0; min-width: 0; }
legend { padding: 0; font-size: .85rem; color: var(--muted); }
.methods { display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin-top: .5rem; }
.methods label { display: flex; align-items: center; gap: .35rem; min-height: 44px; cursor: pointer; font-size: .85rem; }
.methods input { width: 20px; height: 44px; margin: 0; accent-color: var(--pink); }
.next-step { color: var(--muted); font-size: .85rem; line-height: 1.6; padding: 1rem; border: 1px solid var(--line); margin-bottom: 1rem; }
.reserve { width: 100%; }
.nojs-note { margin-top: 1.5rem; }
#confirmation { padding-block: 1rem; }
#confirmation strong { font: 2rem var(--serif); }
#receipt { white-space: pre-line; margin-block: 1rem 1.5rem; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem clamp(1.25rem, 5vw, 5rem); font-size: .75rem; line-height: 1.6; color: var(--muted); }
footer a { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
@media (max-width: 700px) {
  .chapter { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-content: center; padding-block: 3rem; }
  h1 { font-size: clamp(4.5rem, 22vw, 7rem); }
  h2 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .eyebrow { margin-bottom: 1rem; }
  .art { max-height: 37svh; width: 100%; }
  .hero { padding-top: 2rem; padding-bottom: 4rem; }
  .hero-art { margin: 0; max-height: 29svh; }
  .hero .button { margin-top: 1.25rem; }
  .pack-art { max-height: 140px; margin-top: 1rem; }
  .products li { flex-wrap: wrap; }
  .products li > div:first-child { flex: 1 1 150px; }
  footer { flex-wrap: wrap; }
}
@supports (animation-timeline: view()) {
  .chapter:not(.preorder) { view-timeline-name: --chapter; view-timeline-axis: block; }
  .motion { animation: var(--motion) linear both; animation-timeline: --chapter; animation-range: entry 15% exit 70%; transform-box: fill-box; transform-origin: center; }
  .bird { --motion: flight; animation-range: exit 0% exit 100%; }
  .canopy-back { --motion: drift-back; }
  .canopy-front { --motion: drift-front; }
  .pod-left { --motion: open-left; }
  .pod-right { --motion: open-right; }
  .box-fill { --motion: fill-box; }
  .day-tick { --motion: mark-days; transform-origin: center bottom; animation-range: entry var(--start) cover calc(var(--start) + 20%); }
  .pale-beans { --motion: dry; }
  .square { --motion: press; animation-range: entry var(--start, 15%) cover calc(var(--start, 15%) + 20%); }
  @keyframes flight { from { transform: translate(-25px, 10px); } to { transform: translate(175px, -100px); } }
  @keyframes drift-back { from { transform: translateY(25px); } to { transform: translateY(-25px); } }
  @keyframes drift-front { from { transform: translateY(-15px); } to { transform: translateY(25px); } }
  @keyframes open-left { from { transform: translateX(65px) rotate(8deg); } to { transform: translateX(-10px) rotate(-5deg); } }
  @keyframes open-right { from { transform: translateX(-65px) rotate(-8deg); } to { transform: translateX(10px) rotate(5deg); } }
  @keyframes fill-box { from { transform: translateY(30px) scale(.8); opacity: .15; } to { transform: none; opacity: 1; } }
  @keyframes mark-days { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  @keyframes dry { from { opacity: 1; } to { opacity: 0; } }
  @keyframes press { from { transform: translateY(-12px) scale(.94); opacity: .5; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .motion { animation: none !important; transform: none !important; opacity: 1 !important; }
}
