/* An editorial field guide, with the warmth and character of the bar. */
:root {
  --paper: #fbf8f1;
  --paper-2: #f1ece1;
  --paper-3: #e9e1d2;
  --forest: #142a23;
  --forest-light: #223c32;
  --ink: #17251f;
  --ink-soft: #384039;
  --muted: #656b61;
  --line: #ddd8cb;
  --brass-deep: #806136;
  --brass-light: #dcc396;
  --content-width: 1120px;
  --page-gutter: max(32px, calc((100% - var(--content-width)) / 2));
}
html { scroll-behavior: auto; scroll-padding-top: 104px; scroll-padding-bottom: 100px; }
body { line-height: 1.75; }
[hidden] { display: none !important; }
body.reader-dialog-open { overflow: hidden; }
::selection { background: #d7c08f; color: #142a23; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
a { text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, summary, .button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #b78b48; outline-offset: 4px; }
button { cursor: pointer; }
h2[tabindex="-1"]:focus-visible, h3[tabindex="-1"]:focus-visible { outline: none; }
.ui-arrow { display: inline-block; width: 17px; height: 17px; vertical-align: middle; flex: 0 0 auto; }
.overline, .eyebrow, .chapter-number { font-size: .7rem; letter-spacing: .16em; }
.reading-progress { height: 3px; background: #b99357; z-index: 151; }
.site-header { height: 76px; min-height: 76px; padding: 0 40px; gap: 22px; background: #fbf8f1f2; backdrop-filter: blur(18px); }
.site-header .brand img { height: 43px; }
.header-edition { border-left: 1px solid var(--line); padding-left: 22px; text-decoration: none; font-size: .68rem; letter-spacing: .13em; font-weight: 600; white-space: nowrap; line-height: 1.5; }
.header-edition span { display: block; font-size: .56rem; color: var(--muted); font-weight: 400; margin-top: 4px; }
.site-header nav { margin-left: auto; gap: 23px; align-items: center; }
.site-header nav a { font-size: .78rem; }
.site-header nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; color: var(--forest); }
.site-header nav .header-book { background: var(--forest); padding: 11px 18px; }
.site-header nav .header-book:hover { background: #355343; }
.site-header nav .header-book { white-space: nowrap; }
.header-book-mobile { display: none; }
.contents-trigger { display: flex; gap: 9px; align-items: center; min-height: 44px; border: 0; padding: 0; background: transparent; font-size: .78rem; color: var(--ink); }
.contents-trigger span { font-size: 1rem; }
.menu-toggle { margin-left: auto; min-width: 66px; min-height: 44px; border-radius: 6px; }
#mobile-nav { padding: 20px 24px; box-shadow: 0 20px 35px #142a2315; max-height: calc(100svh - var(--header-height)); overflow: auto; }
#mobile-nav > a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.6rem; text-decoration: none; }
#mobile-nav a[aria-current] { color: var(--brass-deep); }
.mobile-bar-links { margin-top: 18px; border-top: 0; padding-top: 0; }
#mobile-nav .mobile-booking { display: flex; align-items: center; justify-content: center; gap: 12px; flex-basis: 100%; min-height: 46px; padding: 12px 18px; border-radius: 999px; background: var(--forest); color: var(--paper); font-size: .84rem; }

/* One opening composition. The complete glass remains in the frame. */
.hero { position: relative; isolation: isolate; overflow: hidden; width: min(calc(100% - 40px),1440px); margin: 20px auto 0; min-height: 610px; height: auto; max-height: none; border-radius: 10px; background: #0d1b16; color: var(--paper); text-align: left; }
.hero .guide-cover { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; margin: 0; border: 0; border-radius: inherit; }
.hero .guide-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.hero .guide-cover::after { inset: 0; background: linear-gradient(90deg,#0a1713e6 0%,#0a1713b8 27%,#0a171330 52%,transparent 70%); }
.hero .guide-cover figcaption { left: auto; right: 30px; bottom: 24px; margin: 0; font-size: .6rem; letter-spacing: .13em; color: #e0d6c3; }
.hero-content { position: relative; width: 59%; max-width: 760px; margin: 0; padding: 64px 56px 90px; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; color: var(--brass-light); margin: 0 0 29px; font-size: .65rem; letter-spacing: .16em; }
.hero .eyebrow > span { width: 24px; height: 1px; flex: 0 0 24px; background: currentColor; }
.hero h1 { font-size: clamp(4rem,7vw,6.75rem); line-height: .98; letter-spacing: -.045em; margin: 0; font-weight: 400; }
.hero h1 em { font-style: italic; font-weight: 400; color: #e2c99e; }
.hero-description { max-width: 370px; margin: 25px 0 28px; font-size: 1rem; line-height: 1.75; color: #deded2; }
.hero-actions { justify-content: flex-start; flex-wrap: wrap; gap: 12px; }
.hero-lab-link { display: inline-flex; align-items: center; gap: 10px; flex-basis: 100%; min-height: 36px; color: #deded2; font-size: .76rem; text-decoration: none; }
.hero-lab-link:hover { color: var(--brass-light); text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 46px; border-radius: 999px; padding: 11px 22px; font-size: .82rem; line-height: 1.4; text-decoration: none; transition: background-color .18s, color .18s, border-color .18s, transform .18s; }
.button:hover { transform: translateY(-2px); }
.hero .button.light { background: var(--paper); border-color: var(--paper); color: var(--forest); }
.hero .button.light:hover { background: var(--brass-light); border-color: var(--brass-light); }
.hero .button-ghost { background: #10201940; color: var(--paper); border-color: #f7f2e34d; }
.hero .button-ghost:hover { background: #f7f2e31a; border-color: #f7f2e3a6; }
.hero-signoff { position: absolute; left: 56px; bottom: 25px; margin: 0; font-size: .6rem; letter-spacing: .13em; color: #bec8bb; }

/* A useful table of contents, rather than a second introduction. */
.guide-index { display: grid; grid-template-columns: .8fr 1.7fr; gap: 15px 70px; max-width: var(--content-width); margin: 0 auto; padding: 60px 0 48px; }
.guide-index-intro > p { font-family: var(--serif); font-size: 2.2rem; line-height: 1.16; margin: 17px 0 0; letter-spacing: -.02em; }
.guide-index-intro em { color: var(--brass-deep); font-style: italic; }
.guide-index-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.guide-index-links > a { display: grid; grid-template-columns: 24px 1fr 20px; gap: 12px; align-items: start; border-bottom: 1px solid var(--line); padding: 15px 0 17px; text-decoration: none; transition: color .2s; }
.index-number { color: var(--brass-deep); font-size: .67rem; padding-top: 5px; }
.guide-index-links strong { display: block; font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; font-weight: 500; }
.guide-index-links small { display: block; font-size: .72rem; line-height: 1.5; color: var(--muted); margin-top: 7px; }
.index-arrow { font-size: 1.1rem; color: var(--brass-deep); transition: transform .2s; }
.guide-index-links a:hover { color: var(--brass-deep); }
.guide-index-links a:hover .index-arrow { transform: translate(2px,-2px); }
.index-sources { grid-column: 2; justify-self: start; color: var(--muted); font-size: .7rem; text-decoration: none; padding: 5px 0; }
.index-sources span { margin-left: 10px; }

/* Reading rhythm: larger chapter titles, calm prose, varied supporting material. */
.chapter { padding: 84px var(--page-gutter) 80px; }
.history { padding-top: 36px; }
.section-top { padding-top: 17px; font-size: .65rem; }
.section-intro { gap: 9%; margin: 46px 0 56px; grid-template-columns: 1.3fr 1fr; }
h2, .history .section-intro h2 { font-size: clamp(3.2rem,5.7vw,5.05rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 400; }
h2 em { color: var(--brass-deep); font-style: italic; }
.section-intro > p { line-height: 1.8; font-size: 1rem; color: var(--ink-soft); }
.history-block { padding: 58px 0; }
.palace-bridge { padding-bottom: 58px; }
.history-block h3, .lore-copy h3, .archive-copy h3 { font-size: clamp(2.35rem,3.7vw,3.05rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 400; }
.history-block h3 em, .lore-copy h3 em, .archive-copy h3 em { font-style: italic; }
.history-block p, .lore-copy > p { font-size: 1.02rem; }
.history-block p.overline, .lore-copy > p.overline { font-size: .66rem; line-height: 1.6; }
.story-copy > p:not(.overline), .story-columns p, .lore-copy > p { line-height: 1.85; }
.story-columns { gap: 7%; }
.story-nav { gap: 6px 22px; margin: 0 0 40px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-nav a { border: 0; border-radius: 0; padding: 8px 0; font-size: .76rem; min-height: 40px; }
.story-nav a:hover, .story-nav a[aria-current] { color: var(--brass-deep); background: none; text-decoration: underline; }
.process-card { background: var(--paper-2); border: 0; border-radius: 4px; padding: 32px; }
.process-card h4, .story-aside h4 { font-size: 2.2rem; }
.process-card .distillation-steps p { font-size: .9rem; }
.process-card .process-caption { font-size: .8rem; }
.story-aside { border: 0; border-left: 2px solid #c3a878; border-radius: 0; padding: 12px 0 12px 32px; background: transparent; }
.story-aside p:not(.overline) { font-size: .92rem; }
.word-history { background: var(--forest); color: var(--paper); border: 0; border-radius: 4px; padding: 32px 36px; }
.word-history p.overline, .word-history li > span { color: var(--brass-light); }
.word-history p, .word-history small { color: #d3dacd; }
.word-history strong { font-size: 3rem; color: var(--paper); font-style: italic; font-weight: 400; }
.word-history .cite { color: var(--brass-light); }
.word-history li > span, .medicine-path > div > span { font-size: .65rem; }
.still-comparison { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.still-comparison article { border: 0; border-radius: 0; padding: 28px 32px 28px 0; }
.still-comparison article:last-child { border-left: 1px solid var(--line); padding-left: 32px; background: transparent; }
.still-comparison p { font-size: .92rem; }
.medicine-path { border-radius: 4px; border: 0; }
.medicine-path p { font-size: .86rem; }
.print-pair .archive-open { padding: 20px; border: 0; border-radius: 4px; background: #e9e2d3; }
.print-pair figcaption > a, .archive-figure figcaption > a { font-size: .73rem; }
.archive-open > span { min-height: 36px; display: inline-flex; align-items: center; background: var(--forest); font-size: .7rem; }
.archive-open:hover img { transform: scale(1.02); }
.history .cite, .gin .cite, .today .cite { color: var(--brass-deep); }
.cite { display: inline-block; font-size: .71rem; font-weight: 600; text-decoration: none; padding: 0 3px; border-radius: 3px; line-height: 1.7; }
.cite:hover { background: var(--paper-3); color: var(--ink); }
.chapter-next { display: grid; grid-template-columns: 110px 1fr 50px; gap: 24px; align-items: center; margin-top: 56px; padding: 30px 0 0; border-top: 1px solid var(--line); text-decoration: none; }
.next-meta { font-size: .65rem; color: var(--brass-deep); letter-spacing: .14em; }
.next-title { font-family: var(--serif); font-size: 2.5rem; line-height: 1.15; font-weight: 400; }
.next-title small { display: block; margin-top: 9px; font-family: var(--sans); font-size: .84rem; color: var(--muted); line-height: 1.6; }
.next-arrow { font-size: 2.5rem; justify-self: end; color: var(--brass-deep); transition: transform .2s; }
.chapter-next:hover .next-arrow { transform: translateX(5px); }

/* Invitations to carry the field guide into the masterclass. */
.booking-invitation { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 32px 56px; margin-top: 48px; padding: 32px 36px; border: 1px solid #d6c9b0; border-radius: 7px; background: var(--paper-2); color: var(--ink); }
.booking-invitation .overline { margin-bottom: 12px; color: var(--brass-deep); font-size: .63rem; }
.booking-invitation h3 { margin: 0 0 15px; font-size: clamp(2.1rem,3.2vw,2.8rem); font-weight: 400; line-height: 1.12; letter-spacing: -.025em; }
.booking-invitation p:not(.overline) { max-width: 510px; margin-bottom: 0; font-size: .92rem; line-height: 1.75; color: var(--ink-soft); }
.booking-invitation-action { display: grid; justify-items: start; gap: 10px; }
.booking-invitation-action > span { font-size: .66rem; color: var(--muted); }
.booking-button, .footer-copy .booking-button { background: var(--forest); border-color: var(--forest); color: var(--paper); white-space: nowrap; }
.booking-button:hover, .footer-copy .booking-button:hover { background: #355343; border-color: #355343; color: var(--paper); }
.lab .booking-invitation-lab { margin-top: 48px; background: var(--paper); }
.lab .booking-invitation .overline { color: var(--brass-deep); }
.lab .booking-invitation h3 { color: var(--ink); }
.lab .booking-invitation p:not(.overline) { color: var(--ink-soft); }

/* The revival has a different energy, still rooted in paper and brass. */
.today { background: #f0eadf; }
.chapter-opening { background: var(--forest); color: var(--paper); padding: 54px 56px 58px; margin: -24px -56px 58px; border-radius: 6px; }
.chapter-opening .section-top { border-color: #ffffff38; }
.chapter-opening .chapter-number, .chapter-opening h2 em { color: var(--brass-light); }
.today .chapter-opening .section-top > span:last-child { color: #bfcbbf; }
.chapter-opening .section-intro { margin: 40px 0 0; align-items: end; gap: 8%; }
.today .chapter-opening .section-intro > p { color: #d0d9cc; }
.comeback-opening h3 { font-weight: 400; font-size: 2.35rem; }
.comeback-opening aside { border-left: 1px solid #c4b492; padding-left: 32px; }
.gin-passport { border: 1px solid #d3c8b4; border-radius: 6px; background: var(--paper); padding: 0; }
.passport-stops { gap: 0; border-bottom: 1px solid var(--line); }
.passport-stops button { border-radius: 0; min-height: 95px; color: var(--ink-soft); position: relative; }
.passport-stops button + button { border-left: 1px solid var(--line); }
.passport-stops button[aria-pressed=true] { background: var(--forest); color: var(--paper); }
.passport-stops button:hover { box-shadow: none; background: var(--paper-3); }
.passport-stops button[aria-pressed=true]:hover { background: var(--forest-light); }
.passport-stops button:focus-visible { outline-offset: -5px; }
#passport-story { min-height: 275px; padding: 36px; grid-template-columns: 1fr 2.5fr; }
.passport-year { font-size: 5.5rem; font-weight: 400; font-style: italic; color: #9c7b47; }
#passport-story h3 { font-weight: 400; font-size: 2.4rem; }
.bottle-journey h4 { font-size: 1.8rem; }
.garnish-choices button { border-radius: 6px; min-height: 48px; background: var(--paper); }
.garnish-choices button[aria-pressed=true] { background: var(--forest); border-color: var(--forest); }
.instagram-story { border-radius: 4px; border: 0; border-left: 3px solid #ad8753; background: #e8dfce; }
.region-list article { padding-top: 22px; }
.tonic-grid { gap: 14px 20px; align-items: start; }
.tonic-grid > details { padding: 0; border: 1px solid #d6cdbd; border-radius: 6px; background: var(--paper); }
.tonic-grid > details[open] { border-color: #bba57f; }
.tonic-grid > details > summary { min-height: 72px; padding: 18px 22px; border-radius: inherit; font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; color: var(--ink); }
.tonic-grid > details > summary:hover { background: #f3eddf; }
.tonic-grid > details > summary:focus-visible { outline-offset: -4px; }
.tonic-grid > details > summary::after { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #d6c9b0; border-radius: 50%; font-family: var(--sans); font-size: 1rem; }
.tonic-grid > details > p { margin: 0; padding: 0 22px 22px; color: var(--ink-soft); font-size: .92rem; line-height: 1.75; }

/* A consistent disclosure and control language. */
.story-note, .london-rules-detail { padding-top: 0; }
.story-note > summary, .london-rules-detail > summary, .definition-note > summary, .tonic-grid summary, .calc-method > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 52px; padding: 12px 0; list-style: none; font-size: .85rem; cursor: pointer; }
.story-note > summary::-webkit-details-marker, .london-rules-detail > summary::-webkit-details-marker, .definition-note > summary::-webkit-details-marker, .tonic-grid summary::-webkit-details-marker, .calc-method > summary::-webkit-details-marker { display: none; }
.story-note > summary::after, .london-rules-detail > summary::after, .definition-note > summary::after, .tonic-grid summary::after, .calc-method > summary::after { content: '+'; font-size: 1.25rem; line-height: 1; font-weight: 400; flex: 0 0 auto; color: var(--brass-deep); }
.story-note[open] > summary::after, .london-rules-detail[open] > summary::after, .definition-note[open] > summary::after, .tonic-grid details[open] > summary::after, .calc-method[open] > summary::after { content: '−'; }
.story-note[open] { padding-bottom: 6px; }
.story-note p { font-size: .92rem; }
.definition-note { border-radius: 4px; }
.rule-grid { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.rule-card { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 28px 32px; }
.rule-number { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; border: 1px solid #c8b99c; border-radius: 50%; font-size: .64rem; }
.rule-card h4 { font-size: 2rem; font-weight: 400; }
.rule-card p { font-size: .94rem; }
.style-explorer { padding-top: 52px; }
.chip-group { gap: 8px; }
.chip-group button, .segmented button { min-height: 44px; padding: 10px 17px; font-size: .81rem; }
.chip-group button { border-radius: 6px; background: transparent; }
.chip-group button[aria-pressed=true], .segmented button[aria-pressed=true] { color: var(--paper); background: var(--forest); border-color: var(--forest); font-weight: 600; }
#style-description { min-height: 0; padding: 26px 30px; margin-top: 18px; background: var(--paper-2); border-left: 2px solid #a58b5f; }
#style-description h3 { font-size: 2.6rem; margin-top: 12px; }
#style-description p { font-size: .95rem; }
.style-type { font-size: .66rem; }
.style-tip { margin-bottom: 0; }

/* At the bar: responsive feedback and something useful to take away. */
.lab { background: var(--forest); color: var(--paper); }
.lab .section-top { border-color: #ffffff38; }
.lab .section-top > span:last-child { color: #bcc9bc; }
.lab .chapter-number, .lab h2 em { color: var(--brass-light); }
.lab .section-intro > p { color: #d0d9cc; }
.calculator { grid-template-columns: 1fr 1fr; border: 1px solid #ffffff2e; border-radius: 8px; box-shadow: none; overflow: clip; }
.calc-controls { background: var(--paper); color: var(--ink); padding: 38px; }
.calc-controls h3 { font-weight: 400; font-size: 2.7rem; margin: 12px 0; }
.calc-intro { line-height: 1.7; font-size: .9rem; margin-bottom: 28px; }
.range-label { font-size: .86rem; }
.range-label output { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--forest); }
input[type=range] { min-height: 28px; accent-color: var(--forest); cursor: pointer; }
.range-ends { font-size: .7rem; }
.ratio-buttons { border-radius: 6px; padding: 3px; }
.ratio-buttons button { border-radius: 4px; }
.calc-controls select { border-radius: 5px; padding: 12px; font-size: .87rem; }
.calc-result { background: var(--forest-light); color: var(--paper); padding: 38px 34px; border-left: 1px solid #ffffff20; }
.glass-display { display: grid; grid-template-columns: minmax(130px,.92fr) minmax(0,1fr); align-items: center; gap: 22px; margin: 0 0 25px; }
.glass-illustration { text-align: center; }
.glass-illustration svg { display: block; width: 100%; max-width: 190px; margin: 0 auto; overflow: visible; }
.glass-illustration rect[id] { transition: y .23s ease-out, height .23s ease-out; }
.glass-ratio { display: block; font-size: .55rem; color: #ccd5c7; letter-spacing: .12em; }
.glass-ratio strong { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--brass-light); font-weight: 400; margin-bottom: 3px; line-height: 1.2; }
.glass-numbers > .overline { font-size: .61rem; color: #d6c49e; letter-spacing: .12em; }
.abv-number { font-size: 5.2rem; line-height: 1.1; margin: 14px 0 17px; color: #f2e2ba; font-variant-numeric: tabular-nums; flex-wrap: nowrap; gap: 8px; }
.abv-number > span:first-child { font-size: inherit; }
.glass-numbers { min-width: 0; }
.abv-number > span:last-child { font-size: 1.55rem; }
.abv-number small { font-size: .61rem; }
#ratio-summary { color: #dae1d4; line-height: 1.7; font-size: .85rem; margin: 0; }
.composition-caption { font-size: .58rem; letter-spacing: .13em; color: #b6c8b8; margin: 0 0 9px; }
.composition { height: 10px; margin: 0 0 10px; border-radius: 4px; }
#gin-bar { background: #c2a16b; } #tonic-bar { background: #eee0bc; } #soda-bar { background: #faf8f4; } #water-bar { background: #819b96; }
.composition-legend { font-size: .66rem; gap: 8px 15px; color: #d4dece; }
.composition-legend span:first-child::before { background: #c2a16b; }
.composition-legend span:nth-child(2)::before { background: #eee0bc; }
.composition-legend span:nth-child(4)::before { background: #819b96; }
.mix-insight { font-family: var(--serif); font-size: 1.48rem; line-height: 1.45; margin: 25px 0; color: #f2eedf; }
.calc-method { margin-top: auto; border-top: 1px solid #ffffff30; }
.calc-method > summary { color: #e2e7d9; font-size: .78rem; }
.calc-method > summary::after { color: var(--brass-light); }
.calc-equation { padding-top: 12px; border: 0; margin: 0; }
.calc-equation p { font-size: .9rem; }
.fineprint { font-size: .76rem; line-height: 1.7; color: #c9d4c5; }
.mobile-calc-preview { display: none; }
.lab .pairing-explorer { background: var(--paper); color: var(--ink); border-radius: 8px; padding: 38px; gap: 7%; margin: 28px 0 0; grid-template-columns: .8fr 1.4fr; }
.pairing-explorer > div:first-child h3 { font-weight: 400; font-size: 2.6rem; }
.pairing-explorer h4 { margin-top: 26px; font-size: 2.05rem; }
.pair-grid span { color: var(--brass-deep); font-size: .67rem; }
.pairing-test { font-size: .87rem; color: var(--muted); }
.recipe-card { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding: 32px 38px; margin: 18px 0 30px; border-radius: 7px; background: #dfc99d; color: var(--forest); }
.recipe-card h3 { font-family: var(--serif); font-weight: 400; font-size: 2.7rem; line-height: 1.1; margin: 12px 0; }
.recipe-card p:not(.overline):not(#recipe-status) { font-size: .86rem; line-height: 1.7; max-width: 365px; margin-bottom: 0; }
.recipe-card .overline { font-size: .61rem; color: #68502d; }
.recipe-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.recipe-actions .button { color: var(--paper); background: var(--forest); border: 1px solid var(--forest); font-size: .78rem; }
.recipe-actions .button-ghost { color: var(--forest); background: transparent; border-color: #142a2352; }
#recipe-status { font-size: .78rem; min-height: 1.6em; margin: 12px 0 0; text-align: right; }
#recipe-copy-fallback { width: 100%; min-height: 160px; margin-top: 14px; background: var(--paper); color: var(--ink); border: 1px solid #846d44; border-radius: 4px; font-size: .82rem; padding: 14px; resize: vertical; }
.lab .science-panel { background: transparent; border-color: #ffffff35; border-radius: 6px; color: var(--paper); }
.lab .science-panel summary { min-height: 56px; color: var(--paper); font-size: .9rem; }
.lab .science-panel p, .lab .science-panel .science-divider p { color: #d1dccd; }
.lab .science-panel .overline, .lab .science-panel .cite, .lab .science-divider > span { color: var(--brass-light); }
.lab .serving-notes > .overline { color: var(--brass-light); }
.lab .serving-grid p { color: #ced9c9; font-size: .9rem; }
.lab .serving-grid h3 { font-size: 2rem; font-weight: 400; }
.lab .serving-grid > div > span { color: var(--brass-light); border-color: #ffffff35; }
.lab .chapter-next { border-color: #ffffff35; color: var(--paper); }
.lab .next-meta, .lab .next-arrow { color: var(--brass-light); }
.lab .next-title small { color: #c8d5c4; }
.lab button:focus-visible, .lab a:focus-visible, .lab summary:focus-visible { outline-color: #d0a961; }

/* Source discovery and reading dialogs. */
.source-search { margin: 32px 0 28px; }
.source-search > label { display: block; font-weight: 500; font-size: .87rem; margin-bottom: 10px; }
.source-search-field { display: flex; gap: 14px; align-items: center; border: 1px solid #bfb8a8; border-radius: 6px; padding: 0 17px; background: #fffdf8; }
.source-search-field svg { color: var(--brass-deep); flex: 0 0 20px; }
#source-search { min-height: 54px; width: 100%; min-width: 0; border: 0; padding: 12px 0; background: transparent; color: var(--ink); font-size: .91rem; }
#source-search:focus { outline: none; }
.source-search-field:focus-within { outline: 3px solid #b78b48; outline-offset: 3px; }
#source-search-count, #source-search-empty { color: var(--muted); font-size: .8rem; margin: 9px 0 0; }
.source-list p { font-size: .86rem; line-height: 1.75; }
.source-list a { font-size: .96rem; }
.source-group > summary { padding: 22px 0; font-weight: 500; }
.source-group > summary:hover { color: var(--brass-deep); }
.source-index { color: var(--brass-deep); }
.source-note { font-size: .77rem; }
.reader-dock { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 120; display: flex; align-items: center; gap: 20px; width: min(620px,calc(100% - 40px)); min-height: 66px; padding: 9px 13px 9px 10px; border: 1px solid #d6d4c5; border-radius: 10px; background: #fbf8f1f5; color: var(--ink); box-shadow: 0 8px 40px #0b211f24; backdrop-filter: blur(18px); }
.reader-dock > button { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; background: var(--forest); color: var(--paper); border: 0; border-radius: 6px; min-height: 44px; padding: 10px 15px; font-size: .78rem; }
.reader-location { min-width: 0; flex: 1 1 auto; line-height: 1.4; }
#reader-current { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .79rem; font-weight: 500; }
.reader-location small { display: block; color: var(--muted); font-size: .62rem; margin-top: 4px; }
#reader-next { flex: 0 1 180px; font-size: .7rem; text-decoration: none; padding: 11px 3px; text-align: right; line-height: 1.5; }
#reader-next::after { content: ' →'; color: var(--brass-deep); white-space: nowrap; }
.guide-dialog { width: min(720px,calc(100% - 40px)); max-height: calc(100svh - 40px); border: 1px solid #d5cbb8; border-radius: 10px; background: var(--paper); color: var(--ink); padding: 36px 40px; overflow-y: auto; box-shadow: 0 30px 100px #08150d66; }
.guide-dialog::backdrop { background: #091b16b8; backdrop-filter: blur(6px); }
.dialog-top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 16px; background: var(--paper); }
.dialog-top .overline { font-size: .62rem; }
.dialog-close { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 1.6rem; line-height: 1; }
.dialog-close:hover { background: var(--paper-3); }
.guide-dialog h2 { font-size: 2.75rem; line-height: 1.1; margin: 0 0 16px; }
.dialog-intro { font-size: .9rem; line-height: 1.7; margin: 0 0 26px; color: var(--muted); }
.contents-list { border-top: 1px solid var(--line); }
.contents-list > a, .contents-list > div { border-bottom: 1px solid var(--line); }
.contents-chapter { display: grid; grid-template-columns: 28px 1fr 20px; align-items: center; gap: 15px; padding: 18px 0; text-decoration: none; }
.contents-chapter > span:first-child { color: var(--brass-deep); font-size: .7rem; }
.contents-chapter strong { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; line-height: 1.2; }
.contents-chapter > span:last-child { color: var(--brass-deep); }
.contents-stories { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 15px; padding: 0 0 18px 43px; }
.contents-stories a { font-size: .8rem; color: var(--muted); padding: 9px 0; text-decoration: none; }
.contents-list a:hover, .contents-list a[aria-current] { color: var(--brass-deep); text-decoration: underline; }
#source-dialog { max-width: 650px; }
#source-dialog-title { font-size: 2.2rem; }
#source-dialog-body { font-size: .95rem; line-height: 1.8; color: var(--ink-soft); }
.source-dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.source-dialog-actions .button { color: var(--paper); background: var(--forest); border-color: var(--forest); }
.source-dialog-actions > a:last-child { font-size: .8rem; }
.source-dialog-hint { font-size: .74rem; color: var(--muted); margin: 24px 0 0; }

/* A closer look should actually get closer. */
#archive-dialog { border-radius: 8px; padding: 20px 26px 26px; }
.archive-dialog-head { top: -20px; padding: 10px 0 17px; }
.archive-dialog-head h2 { margin: 0; font-size: 1.65rem; }
.archive-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.archive-actions button { min-height: 44px; font-size: .78rem; border-radius: 6px; padding: 9px 15px; }
#archive-zoom { background: transparent; border: 1px solid var(--line); color: var(--ink); }
#archive-image-viewport { overflow: auto; max-height: 69svh; background: var(--paper-2); border-radius: 4px; overscroll-behavior: contain; }
#archive-dialog-image { max-height: 69svh; border-radius: 0; }
#archive-dialog.is-zoomed #archive-dialog-image { width: max(1400px,150%); max-width: none; max-height: none; }
#archive-dialog-caption { font-size: .8rem; }

footer { background: var(--paper); color: var(--ink); padding-bottom: 110px; border-top: 1px solid var(--line); }
.footer-brand img { filter: none; opacity: 1; }
.footer-copy > .overline, .footer-links > .overline { color: var(--brass-deep); }
.footer-copy p { font-size: 3rem; font-weight: 400; }
.footer-copy a { color: var(--brass-deep); }
.footer-links a { color: var(--ink-soft); }
.footer-links a:hover { color: var(--brass-deep); }
.footer-bottom { border-color: var(--line); color: var(--muted); }

@media (min-width: 1600px) {
  .hero-content { padding-left: 72px; }
  .hero-signoff { left: 72px; }
}
@media (max-width: 1200px) {
  .header-edition { display: none; }
  .guide-index { margin: 0 32px; gap: 15px 44px; }
  .chapter-opening { margin-left: -24px; margin-right: -24px; padding-left: 32px; padding-right: 32px; }
  .hero-content { padding-left: 42px; width: 61%; }
  .hero-signoff { left: 42px; }
  .hero h1 { font-size: 6.8vw; }
  .glass-display { gap: 14px; }
  .calc-controls, .calc-result { padding: 30px; }
  .abv-number { font-size: 4.8rem; }
}
@media (max-width: 900px) {
  .site-header { height: 68px; min-height: 68px; padding: 0 24px; }
  .site-header .brand img { height: 40px; }
  .header-edition { display: block; }
  .header-book-mobile { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; flex-shrink: 0; margin-left: auto; padding: 9px 14px; border-radius: 999px; background: var(--forest); color: var(--paper); font-size: .75rem; text-decoration: none; white-space: nowrap; }
  .header-book-mobile .ui-arrow { width: 14px; height: 14px; }
  .site-header .menu-toggle { margin-left: 0; flex-shrink: 0; }
  .booking-invitation { gap: 26px; padding: 28px; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-content { width: 100%; max-width: none; padding: 42px 36px 34px; }
  .hero .eyebrow { margin-bottom: 22px; }
  .hero h1 { font-size: clamp(3.1rem,8vw,4.7rem); }
  .hero-description { max-width: 470px; margin: 20px 0 25px; }
  .hero-signoff { display: none; }
  .hero .guide-cover { position: relative; order: 2; z-index: 0; height: 330px; border-radius: 0; }
  .hero .guide-cover::after { background: linear-gradient(#0d1b1640,transparent 25%,#07110c1a); }
  .hero .guide-cover img { height: 330px; object-position: 65% center; }
  .hero .guide-cover figcaption { left: 36px; right: 24px; bottom: 20px; font-size: .61rem; }
  .guide-index { grid-template-columns: 1fr; gap: 22px; padding: 42px 0; }
  .guide-index-intro { display: flex; gap: 32px; align-items: start; }
  .guide-index-intro > .overline { margin-top: 5px; }
  .guide-index-intro > p { margin: 0; font-size: 2rem; }
  .index-sources { grid-column: 1; margin-top: -6px; }
  .glass-display { grid-template-columns: .85fr 1fr; }
  .calc-result { padding: 28px 24px; }
  .calc-controls { padding: 28px; }
  .abv-number { font-size: 4rem; }
  .recipe-card { grid-template-columns: 1fr; gap: 20px; }
  .recipe-actions { justify-content: flex-start; }
  #recipe-status { text-align: left; }
}
@media (max-width: 760px) {
  :root { --page-gutter: 22px; }
  html { scroll-padding-top: 88px; }
  .site-header { height: 64px; min-height: 64px; padding: 0 20px; }
  .site-header .brand img { height: 35px; }
  .header-edition { font-size: .58rem; padding-left: 16px; }
  .header-edition span { font-size: .48rem; }
  .site-header { gap: 16px; }
  .menu-toggle { min-width: 60px; font-size: .76rem; }
  .hero { width: calc(100% - 24px); margin-top: 12px; border-radius: 8px; }
  .hero-content { padding: 32px 26px 28px; }
  .hero .eyebrow { font-size: .57rem; letter-spacing: .12em; gap: 8px; margin-bottom: 22px; }
  .hero .eyebrow > span { width: 17px; flex-basis: 17px; }
  .hero h1 { font-size: clamp(2.65rem,12.8vw,4.6rem); line-height: 1; }
  .hero-description { font-size: .88rem; line-height: 1.7; margin: 20px 0 22px; max-width: 370px; }
  .hero-actions { gap: 9px; }
  .hero-actions .button { min-height: 44px; padding: 10px 14px; font-size: .75rem; gap: 10px; }
  .hero-lab-link { min-height: 44px; font-size: .74rem; }
  .hero .guide-cover, .hero .guide-cover img { height: 270px; }
  .hero .guide-cover figcaption { left: 26px; font-size: .55rem; letter-spacing: .12em; }
  .guide-index { margin: 0 22px; padding: 38px 0 34px; gap: 16px; }
  .guide-index-intro { display: block; }
  .guide-index-intro > p { margin-top: 12px; font-size: 1.9rem; }
  .guide-index-links { gap: 0 22px; }
  .guide-index-links > a { grid-template-columns: 20px 1fr 14px; gap: 7px; padding: 17px 0; }
  .guide-index-links strong { font-size: 1.5rem; }
  .guide-index-links small { font-size: .69rem; }
  .index-sources { font-size: .68rem; margin-top: 0; }
  .chapter { padding: 60px 22px 64px; }
  .history { padding-top: 22px; }
  .section-top { font-size: .59rem; gap: 18px; }
  .section-top > span:last-child { max-width: 45%; }
  .chapter-number, .overline { font-size: .66rem; letter-spacing: .13em; }
  .section-intro { display: block; margin: 34px 0 35px; }
  h2, .history .section-intro h2 { font-size: clamp(2.8rem,10vw,4.2rem); line-height: 1.04; margin-bottom: 25px; }
  .section-intro > p { max-width: 100%; font-size: .98rem; line-height: 1.8; }
  .story-nav { margin-bottom: 30px; gap: 3px 19px; padding: 12px 0; }
  .story-nav a { font-size: .72rem; padding: 10px 0; }
  .history-block { padding: 40px 0; }
  .palace-bridge { padding-bottom: 40px; }
  .history-block h3, .lore-copy h3, .archive-copy h3 { font-size: 2.45rem; line-height: 1.1; }
  .history-block p, .lore-copy > p { font-size: .98rem; line-height: 1.8; }
  .history-block p.overline { font-size: .65rem; }
  .process-card { padding: 26px 24px; }
  .story-aside { padding: 10px 0 10px 22px; margin-top: 20px; }
  .process-card h4, .story-aside h4 { font-size: 2.1rem; }
  .story-note p, .story-aside p:not(.overline) { font-size: .9rem; }
  .story-note > summary, .london-rules-detail > summary { font-size: .84rem; }
  .word-history { padding: 26px 24px; }
  .word-history ol { gap: 27px 22px; }
  .word-history strong { font-size: 2.6rem; }
  .word-history > p:last-child { font-size: .86rem; }
  .still-comparison article, .still-comparison article:last-child { padding: 25px 0; border-left: 0; }
  .still-comparison article + article { border-top: 1px solid var(--line); }
  .still-comparison { gap: 0; }
  .print-pair .archive-open { padding: 16px; }
  .print-pair figcaption > a { font-size: .72rem; }
  .chapter-next { grid-template-columns: 1fr 38px; gap: 12px 15px; margin-top: 38px; padding-top: 25px; }
  .next-meta { grid-column: 1 / -1; font-size: .63rem; }
  .next-title { font-size: 2.15rem; }
  .next-title small { font-size: .8rem; line-height: 1.6; }
  .next-arrow { font-size: 2rem; }
  .tonic-grid { gap: 12px; }
  .tonic-grid > details > summary { min-height: 68px; padding: 16px 18px; font-size: 1.35rem; }
  .tonic-grid > details > p { padding: 0 18px 20px; font-size: .9rem; }
  .booking-invitation { grid-template-columns: 1fr; gap: 24px; padding: 27px 24px; margin-top: 36px; }
  .booking-invitation h3 { font-size: 2.3rem; }
  .booking-invitation p:not(.overline) { font-size: .9rem; }
  .lab .booking-invitation-lab { margin-top: 36px; }
  .today { padding-top: 0; }
  .chapter-opening { margin: 0 -22px 38px; padding: 42px 22px; border-radius: 0; }
  .chapter-opening .section-intro { margin: 30px 0 0; }
  .comeback-opening h3 { font-size: 2rem; }
  .comeback-opening aside { padding-left: 22px; margin-top: 6px; }
  .passport-stops { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); overflow: visible; }
  .passport-stops button { min-width: 0; min-height: 84px; padding: 11px 3px; font-size: .58rem; line-height: 1.5; }
  .passport-stops button > span { font-size: 1.35rem; }
  #passport-story { display: block; min-height: 0; padding: 25px 22px 30px; }
  .passport-year { font-size: 3.2rem; margin-bottom: 20px; }
  #passport-story h3 { font-size: 2.15rem; }
  #passport-story p:not(.overline) { font-size: .96rem; }
  .instagram-story { padding: 25px; }
  .rule-grid { grid-template-columns: 1fr; }
  .rule-card { padding: 26px; }
  .rule-card p { font-size: .92rem; }
  .chip-group button, .segmented button { padding: 10px 14px; font-size: .78rem; }
  #style-description { padding: 24px; }
  #style-description h3 { font-size: 2.3rem; }
  .calculator { grid-template-columns: minmax(0,1fr); }
  .calc-controls { padding: 28px 24px; }
  .calc-controls h3 { font-size: 2.5rem; }
  .calc-result { padding: 30px 24px; border-left: 0; border-top: 1px solid #ffffff25; }
  .mobile-calc-preview { position: sticky; top: calc(var(--header-height,64px) + 8px); z-index: 5; display: flex; gap: 14px; align-items: center; border: 1px solid #cfc7b7; border-radius: 5px; background: #f1ece1f5; backdrop-filter: blur(10px); padding: 10px 14px; margin: 20px 0 24px; box-shadow: 0 3px 12px #1328210a; }
  .mobile-calc-preview > strong { flex: 0 0 auto; white-space: nowrap; font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
  .mobile-calc-preview > span { font-size: .56rem; letter-spacing: .1em; line-height: 1.6; color: var(--brass-deep); }
  .mobile-calc-preview small { display: block; color: var(--ink-soft); font-size: .67rem; letter-spacing: 0; }
  .glass-display { grid-template-columns: minmax(0,.95fr) minmax(0,1fr); gap: 16px; margin-bottom: 28px; }
  .glass-illustration svg { max-width: 175px; }
  .abv-number { font-size: clamp(3.5rem,10vw,4.7rem); margin: 12px 0 16px; }
  .abv-number > span:last-child { font-size: 1.3rem; }
  .glass-numbers > .overline { font-size: .59rem; line-height: 1.7; }
  #ratio-summary { font-size: .82rem; }
  .composition-legend { font-size: .64rem; }
  .mix-insight { font-size: 1.42rem; }
  .lab .pairing-explorer { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; margin-top: 22px; }
  .pairing-explorer > div:first-child h3 { font-size: 2.4rem; }
  .pair-grid { grid-template-columns: 1fr; gap: 12px; }
  .pair-grid p { margin-bottom: 5px; }
  .recipe-card { padding: 27px 24px; gap: 20px; }
  .recipe-card h3 { font-size: 2.4rem; }
  .recipe-actions { gap: 9px; }
  .recipe-actions .button { padding: 11px 16px; }
  .lab .science-panel summary { font-size: .85rem; line-height: 1.5; }
  .source-list p { font-size: .83rem; }
  .source-list a { font-size: .91rem; }
  #source-search { font-size: .86rem; }
  .source-search-field { padding: 0 12px; gap: 10px; }
  .reader-dock { bottom: max(12px,env(safe-area-inset-bottom)); width: calc(100% - 24px); min-height: 60px; gap: 13px; padding: 7px 9px 7px 7px; border-radius: 9px; }
  .reader-dock > button { padding: 9px 12px; font-size: .73rem; }
  #reader-current { font-size: .75rem; }
  #reader-next { font-size: .65rem; flex-basis: 130px; }
  .guide-dialog { padding: 25px 26px; width: calc(100% - 24px); max-height: calc(100svh - 24px); }
  .guide-dialog h2 { font-size: 2.5rem; }
  .contents-chapter strong { font-size: 1.65rem; }
  .contents-stories { gap: 2px 15px; }
  .contents-stories a { font-size: .77rem; }
  #source-dialog-title { font-size: 2rem; }
  #source-dialog-body { font-size: .92rem; }
  .source-dialog-actions { gap: 20px; }
  #archive-dialog { padding: 14px; }
  .archive-dialog-head { top: -14px; gap: 12px; }
  .archive-dialog-head h2 { font-size: 1.3rem; }
  .archive-actions { gap: 5px; }
  .archive-actions button { padding: 9px 10px; font-size: .7rem; }
  #archive-image-viewport, #archive-dialog-image { max-height: 65svh; }
  #archive-dialog.is-zoomed #archive-dialog-image { width: max(1000px,200%); }
  footer { padding-bottom: 110px; }
  .footer-copy p { font-size: 2.3rem; }
}
@media (max-width: 520px) {
  .site-header { gap: 12px; }
  .site-header .header-edition { display: none; }
  .header-edition span { display: none; }
  .header-edition { font-size: .57rem; }
  .guide-index-links { grid-template-columns: 1fr; }
  .guide-index-links > a { grid-template-columns: 24px 1fr 20px; gap: 12px; padding: 17px 0; }
  .guide-index-links strong { font-size: 1.65rem; }
  .guide-index-links small { font-size: .74rem; }
  .guide-index-intro > p { font-size: 2rem; }
  .index-sources { padding-top: 9px; font-size: .66rem; }
  .reader-location small { font-size: .58rem; }
  #reader-next { flex: 0 0 34px; font-size: 0; color: transparent; padding: 10px 0; }
  #reader-next::after { content: '→'; font-size: 1.3rem; color: var(--forest); }
  .reader-dock > button { gap: 7px; }
  .reader-dock > button svg { width: 15px; }
  .contents-stories { grid-template-columns: 1fr; gap: 0; }
  .contents-stories a { padding: 8px 0; }
  .contents-chapter { grid-template-columns: 23px 1fr 16px; gap: 12px; }
  .contents-stories { padding-left: 35px; }
  .source-dialog-actions { display: grid; }
  .source-dialog-actions .button { justify-self: start; }
  .hero-actions > .button { width: 100%; }
  .hero-lab-link { justify-content: center; }
  .footer-copy .booking-button { white-space: normal; justify-content: space-between; font-size: .77rem; gap: 8px; padding: 11px 15px; }
}
@media (max-width: 360px) {
  .header-edition { display: none; }
  .word-history ol { grid-template-columns: 1fr; gap: 22px; }
  .hero-content { padding-left: 22px; padding-right: 22px; }
  .hero-actions .button { font-size: .7rem; padding: 10px 11px; gap: 7px; }
  .hero .eyebrow { font-size: .52rem; }
  .hero .guide-cover, .hero .guide-cover img { height: 245px; }
  .hero .guide-cover figcaption { font-size: .5rem; left: 22px; }
  .passport-stops button { font-size: .52rem; }
  .passport-stops button > span { font-size: 1.2rem; }
  .calc-controls, .calc-result, .lab .pairing-explorer, .recipe-card { padding-left: 20px; padding-right: 20px; }
  .glass-display { gap: 9px; }
  .abv-number { font-size: 3.15rem; }
  .recipe-actions .button { font-size: .73rem; padding-left: 12px; padding-right: 12px; }
  .guide-dialog { padding: 22px; }
  .dialog-top { gap: 10px; }
  .dialog-top .overline { font-size: .55rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation: none !important; }
}
@media print {
  .site-header, .reader-dock, .menu-toggle, .guide-index, .chapter-next, .recipe-actions, .source-search { display: none !important; }
  .hero { width: 100%; margin: 0; }
  .chapter { break-before: page; padding: 30px 0; }
  .lab, .chapter-opening, footer { background: white; color: black; }
}
