:root {
  --ink: #25181a;
  --muted: #746468;
  --paper: #f6f0e6;
  --paper-deep: #e9ddcd;
  --wine: #5b1d2b;
  --wine-dark: #30141a;
  --wine-light: #8b3c4d;
  --gold: #c2a163;
  --gold-light: #ead8ae;
  --green: #315c4a;
  --white: #fffdf8;
  --shadow: 0 26px 70px rgba(54, 25, 30, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 78% 0%, rgba(194,161,99,.16), transparent 34rem), var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }
.page-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

.site-header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 45px; height: 45px; display: grid; place-items: center; color: var(--gold-light); background: var(--wine-dark); border: 1px solid rgba(194,161,99,.5); border-radius: 50%; font: 600 23px/1 Georgia, serif; box-shadow: inset 0 0 0 4px rgba(255,255,255,.05); }
.brand strong { display: block; font: 700 21px/1.05 Georgia, "Times New Roman", serif; letter-spacing: .02em; }
.brand small { display: block; color: var(--muted); margin-top: 4px; font-size: 11px; letter-spacing: .11em; }
.language-switch { display: flex; padding: 4px; border: 1px solid rgba(91,29,43,.15); border-radius: 999px; background: rgba(255,253,248,.7); }
.language-switch button { border: 0; padding: 8px 12px; border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; }
.language-switch button[aria-pressed="true"] { color: var(--white); background: var(--wine); }
.account-entry-card { margin-bottom: 18px; padding: 22px 24px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px; border: 1px solid rgba(91,29,43,.14); border-radius: 22px; background: rgba(255,253,248,.72); box-shadow: 0 10px 30px rgba(54,25,30,.06); }
.account-entry-card .card-kicker { margin-bottom: 6px; }
.account-entry-card h2 { margin: 0; font: 600 clamp(20px,2.5vw,27px)/1.2 Georgia, "Noto Serif TC", serif; }
.account-entry-card p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.account-button { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 13px 19px; border: 1px solid rgba(91,29,43,.2); border-radius: 999px; color: white; background: var(--wine); font-weight: 800; cursor: pointer; }
.account-button.signed-in::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #428c61; vertical-align: 1px; }

.home-view { padding: 64px 0 90px; }
.hero-copy { max-width: 760px; margin-bottom: 42px; }
.eyebrow, .section-kicker, .card-kicker { margin: 0 0 13px; color: var(--wine-light); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero-copy h1 { margin: 0; font: 500 clamp(48px, 8vw, 96px)/.94 Georgia, "Times New Roman", "Noto Serif TC", serif; letter-spacing: -.055em; }
.hero-copy h1 em { color: var(--wine); font-weight: 500; }
.hero-intro { max-width: 630px; margin: 28px 0 24px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.75; }
.scanner-card { min-height: 470px; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border-radius: 38px; color: var(--white); background: linear-gradient(135deg, #241215 0%, #4d1924 55%, #6a2534 100%); box-shadow: var(--shadow); }
.bottle-stage { min-height: 470px; position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at center, rgba(194,161,99,.22), transparent 47%); }
.bottle-stage::before { content: ""; position: absolute; inset: 35px; border: 1px solid rgba(234,216,174,.15); border-radius: 28px; }
.bottle-glow { position: absolute; width: 330px; height: 330px; border-radius: 50%; background: rgba(194,161,99,.13); filter: blur(28px); }
.bottle-shape { width: 123px; height: 340px; position: relative; display: grid; place-items: center; border: 1px solid rgba(234,216,174,.45); border-radius: 28px 28px 38px 38px; background: linear-gradient(100deg, #191111, #42231c 42%, #1d1112 72%); box-shadow: 18px 25px 45px rgba(0,0,0,.4), inset 12px 0 20px rgba(255,255,255,.04); }
.bottle-shape::before { content: ""; position: absolute; width: 44px; height: 77px; top: -62px; border-radius: 7px 7px 3px 3px; background: linear-gradient(90deg, #1d1212, #4f3028, #160f0f); border: 1px solid rgba(234,216,174,.3); }
.bottle-shape::after { content: ""; position: absolute; width: 84px; height: 35px; top: -4px; background: #251415; border-radius: 50%; }
.bottle-shape strong { width: 92px; padding: 38px 8px; color: var(--wine-dark); text-align: center; background: #dac69f; border: 3px double rgba(91,29,43,.45); font: 600 14px/1.4 Georgia, serif; letter-spacing: .18em; }
.scan-line { position: absolute; width: min(300px, 75%); height: 2px; top: 26%; background: linear-gradient(90deg, transparent, #f2d99b, transparent); box-shadow: 0 0 16px #e3b95e; animation: scan 3s ease-in-out infinite; }
@keyframes scan { 50% { transform: translateY(255px); opacity: .8; } }
.scanner-content { padding: clamp(42px, 7vw, 78px); display: flex; flex-direction: column; justify-content: center; }
.scanner-content h2 { margin: 0; font: 500 clamp(30px, 4vw, 49px)/1.13 Georgia, "Noto Serif TC", serif; }
.scanner-content > p:not(.card-kicker) { color: rgba(255,253,248,.67); line-height: 1.75; }
.card-kicker { color: var(--gold-light); }
.primary-action { width: 100%; margin-top: 21px; padding: 18px 20px; display: flex; align-items: center; justify-content: center; gap: 15px; border: 0; border-radius: 18px; color: var(--wine-dark); background: var(--gold-light); cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.18); transition: transform .18s ease, background .18s ease; }
.primary-action:hover { transform: translateY(-2px); background: #f0dfb8; }
.primary-action strong, .primary-action small { display: block; text-align: left; }
.primary-action strong { font-size: 17px; }
.primary-action small { margin-top: 3px; opacity: .68; font-size: 11px; }
.camera-icon { width: 27px; height: 20px; position: relative; border: 2px solid var(--wine-dark); border-radius: 5px; }
.camera-icon::before { content: ""; position: absolute; width: 8px; height: 8px; left: 7px; top: 4px; border: 2px solid var(--wine-dark); border-radius: 50%; }
.camera-icon::after { content: ""; position: absolute; width: 9px; height: 4px; left: 3px; top: -6px; border-radius: 3px 3px 0 0; background: var(--wine-dark); }
.text-action { align-self: center; margin-top: 16px; padding: 6px; color: rgba(255,253,248,.75); border: 0; border-bottom: 1px solid rgba(255,253,248,.32); background: transparent; cursor: pointer; }

.how-section { padding-top: 100px; }
.how-section > h2 { max-width: 620px; margin: 0; font: 500 clamp(33px, 5vw, 55px)/1.08 Georgia, serif; }
.how-grid { margin-top: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how-grid article { min-height: 210px; padding: 28px; border: 1px solid rgba(91,29,43,.12); border-radius: 24px; background: rgba(255,253,248,.55); }
.how-grid span { color: var(--gold); font: 700 13px Georgia, serif; }
.how-grid h3 { margin: 40px 0 8px; font: 600 23px Georgia, "Noto Serif TC", serif; }
.how-grid p { margin: 0; color: var(--muted); line-height: 1.65; }

.result-view { padding: 38px 0 100px; }
.result-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.back-button { padding: 9px 0; border: 0; background: none; color: var(--wine); font-weight: 750; cursor: pointer; }
.checked-at { color: var(--muted); font-size: 12px; }
.identity-card { padding: 32px; display: grid; grid-template-columns: 245px 1fr; gap: 40px; align-items: center; border-radius: 34px; color: var(--white); background: linear-gradient(125deg, #2c1519, #5d1f2d 72%, #722d3d); box-shadow: var(--shadow); }
.identity-card img { width: 245px; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px; background: #180d0f; box-shadow: 0 17px 40px rgba(0,0,0,.35); }
.identity-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.identity-meta span { padding: 7px 10px; border: 1px solid rgba(234,216,174,.32); border-radius: 999px; color: var(--gold-light); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.identity-producer { margin: 26px 0 7px; color: var(--gold-light); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.identity-copy h1 { margin: 0; font: 500 clamp(34px, 5vw, 61px)/1.02 Georgia, "Noto Serif TC", serif; letter-spacing: -.035em; }
.identity-details { color: rgba(255,253,248,.75); font-weight: 650; }
.identity-note { max-width: 700px; color: rgba(255,253,248,.58); line-height: 1.65; }
.research-loading { margin: 22px 0; padding: 21px 25px; display: flex; align-items: center; gap: 17px; border: 1px solid rgba(91,29,43,.12); border-radius: 19px; background: var(--white); }
.research-loading strong { display: block; }
.research-loading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.loading-orbit { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border: 1px solid var(--paper-deep); border-radius: 50%; animation: orbit 1.2s linear infinite; }
.loading-orbit span { width: 8px; height: 8px; transform: translateY(-18px); border-radius: 50%; background: var(--wine); }
@keyframes orbit { to { transform: rotate(360deg); } }

#researchContent { display: grid; gap: 20px; margin-top: 22px; }
.content-card { padding: clamp(26px, 5vw, 46px); border: 1px solid rgba(91,29,43,.1); border-radius: var(--radius); background: rgba(255,253,248,.86); box-shadow: 0 12px 35px rgba(61,33,37,.06); }
.content-card h2 { margin: 0; font: 500 clamp(29px, 4vw, 44px)/1.14 Georgia, "Noto Serif TC", serif; }
.content-card h3 { font: 600 19px Georgia, "Noto Serif TC", serif; }
.content-card p { color: var(--muted); line-height: 1.75; }
.section-kicker { margin-bottom: 10px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.count-pill { flex: 0 0 auto; padding: 7px 11px; border-radius: 999px; background: var(--paper-deep); color: var(--wine); font-size: 12px; font-weight: 800; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip-row span, .taste-grid span { padding: 8px 12px; border-radius: 999px; background: #eee3d3; color: #65474c; font-size: 13px; font-weight: 700; }
.story-columns { margin-top: 32px; padding-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; border-top: 1px solid var(--paper-deep); }
.story-columns p { margin-bottom: 0; }
.taste-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.serving-grid { margin-top: 29px; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; overflow: hidden; border: 1px solid var(--paper-deep); border-radius: 18px; background: var(--paper-deep); }
.serving-grid div { padding: 20px; background: var(--white); }
.serving-grid span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.serving-grid strong { font-size: 14px; line-height: 1.45; }
.pairing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.pairing-grid article { padding: 22px; border-radius: 18px; background: #f1e7d9; }
.pairing-grid h3 { margin: 0 0 7px; }
.pairing-grid p { margin: 0; font-size: 13px; }
.review-list { display: grid; gap: 12px; }
.review-item { padding: 20px 0; display: grid; grid-template-columns: minmax(120px,.32fr) 1fr auto; gap: 24px; align-items: start; border-top: 1px solid var(--paper-deep); }
.review-item:first-child { border-top: 0; }
.review-source strong, .review-source small { display: block; }
.review-source small { margin-top: 5px; color: var(--muted); }
.review-score { color: var(--wine); font: 600 25px Georgia, serif; white-space: nowrap; }
.review-item p { margin: 0; }
.source-link { color: var(--wine); text-decoration: none; font-weight: 750; }
.source-link:hover { text-decoration: underline; }
.price-summary { margin-bottom: 20px; padding: 18px 20px; border-radius: 17px; color: var(--white); background: var(--green); }
.price-summary strong { font: 600 26px Georgia, serif; }
.price-summary span { margin-left: 8px; color: rgba(255,255,255,.7); font-size: 12px; }
.price-list { display: grid; gap: 10px; }
.price-item { padding: 18px 0; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 22px; border-top: 1px solid var(--paper-deep); }
.price-item:first-child { border-top: 0; }
.price-retailer strong, .price-retailer small { display: block; }
.price-retailer small { margin-top: 5px; color: var(--muted); }
.price-value { text-align: right; white-space: nowrap; }
.price-value strong { display: block; color: var(--wine); font: 600 24px Georgia, serif; }
.price-value del { color: var(--muted); font-size: 12px; }
.status-chip { display: inline-block; margin-top: 6px; padding: 4px 7px; border-radius: 999px; color: var(--green); background: #dfeade; font-size: 10px; font-weight: 800; }
.status-chip.out { color: #7a5055; background: #eee0e0; }
.retailer-link { padding: 10px 14px; border: 1px solid rgba(91,29,43,.25); border-radius: 999px; text-decoration: none; color: var(--wine); font-size: 12px; font-weight: 800; }
.price-disclaimer, .research-note { font-size: 12px; }
.empty-state { padding: 22px; border-radius: 15px; background: var(--paper); text-align: center; }
.sources-card summary { cursor: pointer; color: var(--wine); font-weight: 800; }
.source-list { margin-top: 18px; display: grid; gap: 8px; }
.source-list a { overflow-wrap: anywhere; color: var(--wine); font-size: 13px; }
.inline-error { margin-top: 22px; padding: 20px; display: flex; justify-content: space-between; align-items: center; gap: 18px; border: 1px solid #d7bfc2; border-radius: 17px; background: #fff4f3; }
.inline-error button { padding: 9px 12px; border: 0; border-radius: 10px; color: white; background: var(--wine); cursor: pointer; }

footer { padding: 45px 0 max(35px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto; gap: 20px; border-top: 1px solid rgba(91,29,43,.13); }
footer strong { font: 600 20px Georgia, serif; }
footer p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; align-items: start; gap: 18px; }
.footer-links a { color: var(--wine); text-decoration: none; font-size: 13px; font-weight: 750; }
.footer-link-button { padding: 0; border: 0; color: var(--wine); background: none; font: 750 13px/1.4 inherit; cursor: pointer; }
.age-note { grid-column: 1/-1; max-width: 800px; }

.modal-overlay { position: fixed; z-index: 75; inset: 0; overflow-y: auto; padding: max(28px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom)); display: grid; place-items: center; background: rgba(24,10,13,.82); backdrop-filter: blur(12px); }
.modal-card { width: min(550px,100%); position: relative; padding: 38px; border: 1px solid rgba(194,161,99,.3); border-radius: 28px; background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.modal-card h2 { margin: 0; max-width: 450px; font: 500 clamp(30px,7vw,44px)/1.08 Georgia, "Noto Serif TC", serif; }
.modal-intro { margin: 14px 0 24px; color: var(--muted); line-height: 1.65; }
.modal-close { position: absolute; right: 18px; top: 18px; width: 39px; height: 39px; border: 1px solid rgba(91,29,43,.15); border-radius: 50%; color: var(--wine); background: rgba(255,255,255,.6); font-size: 23px; cursor: pointer; }
.manual-form { display: grid; gap: 15px; }
.manual-form label { display: grid; gap: 7px; color: var(--wine-dark); font-size: 12px; font-weight: 800; }
.manual-form input, .manual-form select { width: 100%; min-height: 49px; padding: 11px 13px; border: 1px solid rgba(91,29,43,.22); border-radius: 12px; color: var(--ink); background: white; font: inherit; }
.manual-form input:focus, .manual-form select:focus { outline: 3px solid rgba(194,161,99,.25); border-color: var(--wine); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { margin: 0; color: #a52a3c; font-size: 13px; font-weight: 750; }
.modal-primary, .modal-secondary { width: 100%; min-height: 50px; display: inline-grid; place-items: center; padding: 12px 18px; border-radius: 14px; font-weight: 850; text-align: center; cursor: pointer; }
.modal-primary { border: 0; color: white; background: var(--wine); }
.modal-secondary { border: 1px solid rgba(91,29,43,.25); color: var(--wine); background: transparent; }
.link-button { text-decoration: none; box-sizing: border-box; }
.signed-in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 18px 0; color: var(--muted); }
.signed-in strong { color: var(--ink); }
.account-actions { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.plain-danger { border: 0; color: #9a2638; background: none; font-weight: 800; cursor: pointer; }
.history-heading { margin: 28px 0 10px; display: flex; justify-content: space-between; }
.history-heading span { min-width: 26px; padding: 4px 8px; border-radius: 999px; color: var(--wine); background: var(--paper-deep); text-align: center; font-size: 12px; font-weight: 850; }
.history-list { max-height: min(400px,45vh); overflow-y: auto; display: grid; gap: 8px; }
.history-item { padding: 13px 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 15px; border-bottom: 1px solid rgba(91,29,43,.13); }
.history-item strong, .history-item small { display: block; }
.history-item strong { overflow-wrap: anywhere; font-size: 13px; }
.history-item small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.history-meta { min-width: 120px; text-align: right; }
.history-meta span { font-size: 11px; font-weight: 800; }
.install-steps { margin: 22px 0; display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 13px; }
.install-steps span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--wine); font-size: 12px; font-weight: 900; }
.install-steps p { margin: 0; line-height: 1.55; }
body.native-app .how-section, body.native-app #installHelpButton { display: none; }

.camera-overlay { position: fixed; z-index: 50; inset: 0; display: grid; grid-template-rows: auto 1fr auto; background: #080708; }
.camera-overlay video { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.camera-topbar, .camera-controls { z-index: 3; padding: max(14px, env(safe-area-inset-top)) 20px 16px; display: grid; grid-template-columns: 45px 1fr 45px; align-items: center; color: white; background: rgba(8,7,8,.82); }
.camera-topbar span { text-align: center; font-size: 13px; font-weight: 750; }
.camera-topbar button, .camera-library { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: white; background: rgba(255,255,255,.08); font-size: 25px; cursor: pointer; }
.camera-controls { padding: 18px 28px max(22px, env(safe-area-inset-bottom)); justify-items: center; }
.shutter { width: 70px; height: 70px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; background: transparent; cursor: pointer; }
.shutter span { width: 56px; height: 56px; border-radius: 50%; background: white; }
.camera-frame { z-index: 2; position: absolute; inset: 19% 12% 24%; border: 1px solid rgba(234,216,174,.75); border-radius: 21px; pointer-events: none; }
.camera-frame::before, .camera-frame::after, .camera-frame span::before, .camera-frame span::after { content: ""; position: absolute; width: 35px; height: 35px; border-color: #f0dca9; }
.camera-frame::before { left: -2px; top: -2px; border-left: 3px solid; border-top: 3px solid; border-radius: 18px 0 0; }
.camera-frame::after { right: -2px; top: -2px; border-right: 3px solid; border-top: 3px solid; border-radius: 0 18px 0 0; }
.camera-frame span::before { left: -2px; bottom: -2px; border-left: 3px solid; border-bottom: 3px solid; border-radius: 0 0 0 18px; }
.camera-frame span::after { right: -2px; bottom: -2px; border-right: 3px solid; border-bottom: 3px solid; border-radius: 0 0 18px; }

.processing-overlay { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 24px; color: white; background: rgba(31,13,17,.93); backdrop-filter: blur(12px); }
.processing-card { width: min(430px,100%); text-align: center; }
.processing-card h2 { margin: 0; font: 500 35px/1.12 Georgia, "Noto Serif TC", serif; }
.processing-card > p:last-child { color: rgba(255,255,255,.6); }
.processing-card .eyebrow { color: var(--gold-light); }
.label-reader { width: 150px; height: 195px; position: relative; margin: 0 auto 34px; overflow: hidden; border: 1px solid rgba(234,216,174,.5); border-radius: 18px; background: linear-gradient(150deg,#2c161b,#6b2a38); }
.label-reader::before { content: "WINE\A LENS"; white-space: pre; position: absolute; inset: 48px 20px; padding-top: 25px; color: var(--wine-dark); background: var(--gold-light); font: 700 13px/1.5 Georgia, serif; letter-spacing: .14em; }
.label-reader i { position: absolute; left: 8px; right: 8px; height: 2px; top: 12px; background: #f4d998; box-shadow: 0 0 14px #f4d998; animation: reader 2s ease-in-out infinite; }
@keyframes reader { 50% { transform: translateY(170px); } }
.error-toast { position: fixed; z-index: 80; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); width: min(540px, calc(100% - 32px)); transform: translateX(-50%); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 14px; color: white; background: #251316; box-shadow: 0 18px 55px rgba(0,0,0,.28); }
.error-toast button { border: 0; color: white; background: transparent; font-size: 22px; cursor: pointer; }
.legal-page { width: min(760px, calc(100% - 36px)); margin: 0 auto; padding: 70px 0; }
.legal-page > a { color: var(--wine); text-decoration: none; font-weight: 750; }
.legal-page h1 { font: 500 clamp(40px,7vw,68px)/1 Georgia, serif; }
.legal-page p { color: var(--muted); line-height: 1.8; }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 24px, 620px); }
  .site-header { min-height: 76px; }
  .brand small { display: none; }
  .account-entry-card { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .account-button { width: 100%; max-width: none; }
  .home-view { padding: 38px 0 70px; }
  .hero-copy h1 { font-size: clamp(46px, 15vw, 73px); }
  .scanner-card { grid-template-columns: 1fr; border-radius: 28px; }
  .bottle-stage { min-height: 340px; }
  .bottle-shape { width: 95px; height: 245px; }
  .bottle-shape::before { width: 35px; height: 54px; top: -43px; }
  .bottle-shape::after { width: 66px; }
  .bottle-shape strong { width: 74px; padding: 25px 4px; font-size: 10px; }
  .scanner-content { padding: 34px 24px 31px; }
  .how-section { padding-top: 72px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid article { min-height: 155px; }
  .how-grid h3 { margin-top: 25px; }
  .identity-card { padding: 18px; grid-template-columns: 105px 1fr; gap: 18px; border-radius: 24px; align-items: start; }
  .identity-card img { width: 105px; border-radius: 14px; }
  .identity-producer { margin-top: 15px; }
  .identity-copy h1 { font-size: 27px; }
  .identity-note { grid-column: 1/-1; }
  .story-columns, .serving-grid, .pairing-grid { grid-template-columns: 1fr; }
  .serving-grid { gap: 1px; }
  .review-item { grid-template-columns: 1fr auto; gap: 10px 18px; }
  .review-item > p { grid-column: 1/-1; }
  .price-item { grid-template-columns: 1fr auto; gap: 12px; }
  .retailer-link { grid-column: 1/-1; text-align: center; }
  footer { grid-template-columns: 1fr; }
  .age-note { grid-column: 1; }
  .modal-card { padding: 34px 22px 24px; border-radius: 23px; }
  .form-row { grid-template-columns: 1fr; }
  .history-item { grid-template-columns: 1fr; }
  .history-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
