:root {
  color-scheme: light;
  --forest: #073f37;
  --deep: #052f2b;
  --cream: #fff6e4;
  --paper: #fff9ed;
  --honey: #ffc461;
  --muted: #42665a;
  --border: #d6bea0;
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
  color: var(--forest);
  background: var(--deep);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
body { min-width: 320px; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #f48f28; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.top { border-bottom: 1px solid #ffffff26; color: var(--cream); }
.nav, .footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { min-height: 80px; }
.nav nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 46px); }
.nav nav a, .footer > a:last-child { text-decoration-thickness: 1px; text-underline-offset: .28em; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; line-height: 1.05; }
.brand img { border-radius: 10px; }
.brand small { display: block; margin-top: .28em; color: #efca92; font-size: .83rem; font-weight: 600; }
.store { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: .7rem 1.32rem; border: 1px solid #f4b04b; border-radius: 11px; color: #253b29; background: var(--honey); box-shadow: 0 3px 0 #9b581b; font-weight: 800; text-decoration: none; }
.store:hover { background: #ffd88a; }
.store-small { font-size: .9rem; min-height: 40px; padding: .36rem 1rem; }
.hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(26px, 4vw, 70px); padding-block: clamp(56px, 8vw, 116px); color: var(--cream); }
body { background: radial-gradient(ellipse at 70% 4%, #145e4a 0%, transparent 36rem), var(--deep); }
.kicker { font-size: .875rem; letter-spacing: .105em; font-weight: 800; text-transform: uppercase; }
.hero .kicker { color: #f3c579; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.04em; line-height: .99; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 5.8vw, 5rem); margin-block: .25em .28em; }
h1 em { color: var(--honey); font-weight: inherit; }
.hero-text > p:not(.kicker) { color: #ecf1e5; max-width: 34ch; margin-bottom: 1.55rem; font-size: 1.09rem; }
.hero-art { padding: 7px; border: 1px solid #e9c88c; border-radius: 25px; background: #f9ddb1; box-shadow: 0 16px 60px #001b1490; }
.hero-art img { width: 100%; border-radius: 18px; }
.how { background: #f9ecd2; border-block: 1px solid #cba874; }
.how-inner { display: grid; grid-template-columns: .8fr 2fr; gap: 36px; padding-block: clamp(36px, 5vw, 66px); }
h2 { font-size: clamp(2.25rem, 4.7vw, 4rem); margin-top: .15em; }
.how .kicker, .screens .kicker { color: #79521d; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 23px; }
.steps article { border-left: 1px solid #c7a878; padding-left: 18px; }
h3 { font-size: 1.15rem; line-height: 1.25; margin-bottom: .45rem; }
.steps p { color: #395c4d; }
.screens { background: var(--paper); padding-block: clamp(48px, 7vw, 86px); }
.shelf-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.gallery-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-controls button, .viewer-close { border: 1px solid var(--border); border-radius: 8px; background: var(--cream); color: var(--forest); padding: .45rem .8rem; font-weight: 700; }
.gallery-controls button:hover:not(:disabled), .viewer-close:hover { background: #ffdfa8; }
.gallery-controls button:disabled { opacity: .48; cursor: default; }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; list-style: none; margin: 0; padding: 5px 5px 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-color: #af946c var(--paper); }
.shelf > li { scroll-snap-align: start; }
.shot { display: block; text-decoration: none; font-weight: 700; }
.shot img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border: 1px solid #d1ae7d; border-radius: 15px; background: #f6eace; }
.shot span { display: block; padding: .5em .1em 0; }
.shot:hover span { text-decoration: underline; text-underline-offset: .22em; }
.closing { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(26px, 6vw, 100px); padding-block: clamp(45px, 7vw, 88px); color: var(--cream); }
.closing > img { border: 1px solid #edc686; border-radius: 20px; }
.closing .store { margin-top: 1.2rem; }
.footer { padding-block: 24px; color: #f7ebd5; border-top: 1px solid #ffffff26; }
.viewer { width: min(470px, 95vw); max-height: 94dvh; padding: 12px; border: 1px solid var(--border); border-radius: 17px; background: var(--paper); color: var(--forest); }
.viewer::backdrop { background: #051d19db; }
.viewer-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 10px; font-weight: 700; }
.viewer > img { max-height: calc(94dvh - 82px); width: 100%; object-fit: contain; }
@media (max-width: 830px) {
  .wrap { width: calc(100% - 44px); }
  .hero, .closing { grid-template-columns: 1fr; }
  .hero-art { max-width: 690px; }
  .how-inner { grid-template-columns: 1fr; }
  .shelf { grid-auto-columns: calc((100% - 36px) / 3); }
}
@media (max-width: 570px) {
  .wrap { width: calc(100% - 32px); }
  .nav { min-height: 66px; }
  .nav nav { display: none; }
  .hero { padding-block: 36px; }
  .hero-art { border-radius: 17px; padding: 4px; }
  .hero-art img { border-radius: 12px; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .shelf { grid-auto-columns: minmax(154px, 55%); gap: 12px; }
  .shelf-head { align-items: start; flex-direction: column; gap: 12px; }
  .footer { align-items: flex-start; flex-direction: column; }
}
