/* Wine PocketList: Red Pen. From design/shared/base.css + design/a-red-pen/theme.css (2026-11-14), plus site.extra.css. */
/* Wine PocketList mockups: shared structure. Each direction's theme.css sets the tokens and the personality.
   Tokens a theme must set: --bg --surface --ink --ink-2 --rule --accent --accent-ink --grade
   --font-display --font-ui --font-text, plus the archive tokens below (shared by every direction). */

:root {
  /* The archive layer: the same in every direction. Taken from the 2004-2008 site. */
  --arc-burgundy: #5A1016;      /* the damask header, darkened for text contrast */
  --arc-burgundy-2: #3E0A0E;
  --arc-gold: #DEB642;          /* the 2008 link/hover gold, used on burgundy only */
  --arc-gold-ink: #7D5F0E;      /* gold for text on light paper (5.2:1 on --arc-paper) */
  --arc-olive: #4B5A12;         /* the olive of "Pocket" in the 2004 logo */
  --arc-paper: #F8F2E4;
  --font-period: "Cormorant Garamond", Georgia, serif;
  --font-period-sc: "Cormorant SC", "Cormorant Garamond", Georgia, serif;
  --wrap: 74rem;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-ui); font-size: 1rem; line-height: 1.5; }
img, svg { max-width: 100%; }
a { color: var(--accent-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--focus, #2A5F86); outline-offset: 2px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.num, td, .tab { font-variant-numeric: tabular-nums lining-nums; }
abbr[title] { text-decoration: none; cursor: help; }

/* ---------- mockup switcher (not part of the design) ---------- */

/* ---------- header ---------- */
.site-h .hdr { display: flex; align-items: center; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.nav { display: flex; gap: 4px 20px; flex-wrap: wrap; flex: 1; }
.nav a { text-decoration: none; color: inherit; white-space: nowrap; }
.search input { font: inherit; width: 15rem; max-width: 100%; }
@media (max-width: 1080px) {
  .site-h .hdr { gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; scrollbar-width: none; }
  .search { margin-left: auto; }
  .search input { width: 9.5rem; }
}
@media (max-width: 480px) { .search input { width: 7.2rem; } .logo .wm { font-size: 1.25rem; } }

/* ---------- archive ribbon (shared heritage component) ---------- */
.ribbon { background: var(--arc-burgundy); color: var(--arc-gold); position: relative; }
.ribbon::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: radial-gradient(circle, var(--arc-gold) 1px, transparent 1.4px) 0 0 / 7px 3px repeat-x; }
.ribbon .wrap { display: flex; flex-wrap: wrap; gap: 2px 18px; align-items: baseline; padding-top: 9px; padding-bottom: 11px; }
.ribbon-t { font: 600 1.06rem/1.2 var(--font-period-sc); letter-spacing: .06em; }
.ribbon-c { font: italic 600 .98rem/1.3 var(--font-period); color: #F2E3B3; }

/* ---------- breadcrumbs, page heads ---------- */
.crumbs { font-size: .875rem; color: var(--ink-2); margin: 20px 0 6px; }
.crumbs a { color: inherit; }
.crumbs span[aria-hidden] { margin: 0 .4em; opacity: .6; }
.page-h { padding: 8px 0 20px; }
.page-h h1 { margin: 0; }
.meta-line { color: var(--ink-2); margin: 6px 0 0; }

/* ---------- grade badge + IE (structure; looks come from the theme) ---------- */
.badge { display: inline-grid; place-items: center; flex: none; position: relative; }
.badge-l { line-height: 1; white-space: nowrap; }
.ie { color: var(--ink-2); font-size: .82rem; white-space: nowrap; }
.ie abbr { font-size: .72rem; letter-spacing: .08em; font-weight: 700; margin-right: .35em; color: var(--ink-2); }

/* ---------- chips + toolbar ---------- */
.filters { display: grid; gap: 10px; margin: 6px 0 18px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip-row > .lbl { font-size: .8rem; font-weight: 600; color: var(--ink-2); min-width: 4.5rem; }
.chip { font: inherit; font-size: .875rem; cursor: pointer; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); padding: 5px 10px; border-radius: 999px; min-height: 32px; }
.chip .n { color: var(--ink-2); margin-left: .3em; font-size: .8em; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"] .n { color: inherit; opacity: .75; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 10px 0; margin-bottom: 4px; font-size: .9rem; }
.toolbar .sorts { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.toolbar button { font: inherit; background: none; border: 0; padding: 4px 8px; cursor: pointer; color: var(--ink-2); border-radius: 4px; }
.toolbar button[aria-pressed="true"] { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- wine table ---------- */
.wines { width: 100%; border-collapse: collapse; }
.wines caption { text-align: left; }
.wines th { text-align: left; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); padding: 10px 8px; border-bottom: 1px solid var(--ink); }
.wines td { padding: 10px 8px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.wines .c-grade { width: 52px; padding-right: 0; }
.wines .c-ie { width: 1%; }
.wines .c-price, .wines th.r { text-align: right; }
.wines .c-price { font-weight: 700; white-space: nowrap; }
.wines .c-vin { white-space: nowrap; }
.wines .prod { font-weight: 700; color: var(--ink); text-decoration: none; }
.wines a.prod:hover { text-decoration: underline; }
.wines .wname { display: block; color: var(--ink-2); font-size: .92rem; }
.wines tr:target td { background: var(--target, #FFF6C9); }
@media (max-width: 720px) {
  .wines thead { display: none; }
  .wines, .wines tbody { display: block; }
  .wines tr { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; position: relative; padding: 12px 0 12px 64px; min-height: 64px; border-bottom: 1px solid var(--rule); }
  .wines tr[hidden] { display: none; }
  .wines td { display: block; border: 0; padding: 0; overflow-wrap: normal; }
  .wines .c-grade { position: absolute; left: 0; top: 10px; width: auto; }
  .wines .c-wine { order: 1; flex: 1 1 calc(100% - 3.6rem - 8px); min-width: 0; }
  .wines .c-price { order: 2; flex: 0 0 3.6rem; text-align: right; }
  .wines .c-vin { order: 3; }
  .wines .c-type { order: 4; }
  .wines .c-reg { order: 5; }
  .wines .c-ie { order: 6; flex-basis: 100%; width: auto; margin-top: 2px; }
  .wines .c-vin, .wines .c-type, .wines .c-reg { font-size: .85rem; color: var(--ink-2); }
  .wines .c-type::before, .wines .c-reg::before { content: "\00B7"; margin-right: 8px; }
}

/* ---------- producer page ---------- */
.gmix { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 14px 0 0; }
.gmix .gm { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.gmix .gm small { font-weight: 400; color: var(--ink-2); }
.label-group { margin: 28px 0 0; }
.label-group h2 { margin: 0; }
.label-group .lg-meta { color: var(--ink-2); margin: 2px 0 8px; font-size: .95rem; }
.vrow { display: grid; grid-template-columns: 4.2rem 52px minmax(9rem, 1fr) 4rem minmax(8rem, 1.2fr); gap: 4px 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule); }
.vrow .vy { font-weight: 700; font-size: 1.1rem; }
.vrow .vp { text-align: right; font-weight: 700; }
.vrow .vx { color: var(--ink-2); font-size: .85rem; }
.older { font-size: .85rem; color: var(--ink-2); margin: 6px 0 0; }
.older b { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .vrow { grid-template-columns: 3.4rem 52px 1fr auto; }
  .vrow .vx { grid-column: 2 / -1; }
}

/* ---------- article ---------- */
.article { max-width: 40rem; }
.article p, .article li { font-family: var(--font-text); font-size: 1.12rem; line-height: 1.65; }
.byline { color: var(--ink-2); font-size: .95rem; }
.note { border-left: 3px solid var(--arc-gold); background: var(--arc-paper); padding: 12px 16px; font-size: .95rem; color: #3b2f1c; margin: 24px 0; }
.series { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--rule); margin-top: 40px; padding-top: 16px; }
.series a { text-decoration: none; color: var(--ink); }
.series small { display: block; color: var(--ink-2); }
.series .next { text-align: right; }

/* ---------- footer ---------- */
.site-f { margin-top: 72px; padding: 32px 0 40px; font-size: .9rem; }
.site-f .cols { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.site-f nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-f a { color: inherit; }

/* ---------- pocket list (zine fold) ---------- */
.pl-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 40px; align-items: start; margin-bottom: 24px; }
@media (max-width: 760px) { .pl-intro { grid-template-columns: 1fr; } }
.fold-steps { margin: 0; padding-left: 1.3em; }
.sheet-wrap { overflow: hidden; }
.sheet { container-type: inline-size; width: 100%; aspect-ratio: 11 / 8.5; background: #fff; color: #111; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr 1fr; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 8px 28px rgba(0,0,0,.12); position: relative; }
.panel { position: relative; padding: 2.1cqw 1.7cqw 1.6cqw; overflow: hidden; border-right: 1px dashed #c8c8c8; border-bottom: 1px dashed #c8c8c8; font-size: .82cqw; line-height: 1.22; display: flex; flex-direction: column; }
.panel.flip { transform: rotate(180deg); }
.panel .pn { position: absolute; bottom: .9cqw; right: 1.5cqw; font-size: .7cqw; color: #777; }
.pl-row { display: grid; grid-template-columns: 2.3cqw 1fr auto; gap: 0 .7cqw; padding: .28cqw 0; border-bottom: .06cqw solid #ddd; break-inside: avoid; }
.pl-row .pg { font-weight: 800; }
.pl-row .pw { overflow: hidden; }
.pl-row .pw b { font-weight: 700; }
.pl-row .pw i { font-style: normal; color: #555; }
.pl-row .pp { font-weight: 700; text-align: right; }
.pl-reg { font-weight: 800; font-size: .74cqw; letter-spacing: .08em; text-transform: uppercase; margin: .6cqw 0 .2cqw; }
.pl-head { font-size: .7cqw; letter-spacing: .08em; text-transform: uppercase; color: #666; margin-bottom: .5cqw; display: flex; justify-content: space-between; }
@media print {
  @page { margin: 12mm; }
  body, body.is-archive main { background: #fff !important; color: #000; }
  .ribbon { background: none; color: #000; border-bottom: 1px solid #000; }
  .ribbon::after { display: none; }
  .ribbon-c { color: #000; }
  .wines tr { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}
@media print {
  @page pocket { size: 11in 8.5in; margin: 0; }
  body.page-pocket-list { page: pocket; }
  body.page-pocket-list * { visibility: hidden; }
  body.page-pocket-list .sheet, body.page-pocket-list .sheet * { visibility: visible; }
  body.page-pocket-list .sheet { position: fixed; inset: 0; width: 11in; height: 8.5in; box-shadow: none; }
  body.page-pocket-list .panel { border-color: #ddd; }
}

/* kit pages */
.kit-g { flex-wrap: wrap; row-gap: 8px; }
.kit .talker { max-width: 100%; }
/* Direction A: Red Pen. The professor's grade book: white paper, black ink, a red pen for the grades. */
:root {
  --bg: #FCFBF8;
  --surface: #FFFFFF;
  --ink: #16171A;
  --ink-2: #56585F;        /* 7.0:1 on --bg */
  --rule: #E2DFD8;
  --accent: #B3202A;       /* red pen: 6.3:1 on --bg */
  --accent-ink: #9E1B24;
  --grade: #B3202A;
  --hl: #FFE36E;           /* highlighter: decoration and :target only */
  --margin: #EBA9A9;       /* notebook margin line: decoration only */
  --target: #FFF3B0;
  --focus: #1F5FAD;
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Instrument Sans", system-ui, sans-serif;
  --font-text: "Instrument Sans", system-ui, sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
}


body { font-size: 1.0625rem; }
h1, h2, h3 { font-family: var(--font-display); font-optical-sizing: auto; letter-spacing: -0.015em; line-height: 1.08; font-weight: 750; }
h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem); font-variation-settings: "SOFT" 50; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
h3 { font-size: 1.1rem; font-family: var(--font-ui); letter-spacing: 0; font-weight: 700; }
a { text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.scrawl { font-family: var(--font-hand); color: var(--accent); font-size: 1.6rem; line-height: 1; transform: rotate(-4deg); margin: 0; }

/* header */
.site-h { background: var(--surface); border-bottom: 1px solid var(--rule); }
.wm { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; }
.wm b { font-weight: 850; }
.wm-s { font-size: 1.25rem; }
.nav a { font-weight: 600; font-size: .95rem; padding: 6px 0; }
.nav a[aria-current] { text-decoration: underline wavy var(--accent) 1.5px; text-underline-offset: 7px; }
.nav a:hover { color: var(--accent); }
.search input { border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 14px; background: var(--bg); color: var(--ink); }

/* buttons */
.btn { display: inline-block; font: 700 1rem var(--font-ui); background: var(--ink); color: var(--bg); text-decoration: none; padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer; }
.btn:hover { background: var(--accent); }
.btn-2 { display: inline-block; font-weight: 700; color: var(--ink); padding: 12px 6px; text-decoration: underline; text-decoration-color: var(--accent); }
.cta { display: flex; gap: 12px 18px; flex-wrap: wrap; align-items: center; margin-top: 28px; }

/* ---------- grade badge: the red-pen circle ---------- */
.badge { width: 46px; height: 40px; color: var(--grade); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.badge::before { content: ""; position: absolute; inset: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 40'%3E%3Cpath d='M33 5.5C25 1.8 12 2.6 6.4 9.2 1.6 15 2.5 27 9.8 32.8c7.6 6 21 5.8 28-1 6.4-6.2 6-17-1.4-23.4C31 4 23.5 3.6 17.5 5.6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 40'%3E%3Cpath d='M33 5.5C25 1.8 12 2.6 6.4 9.2 1.6 15 2.5 27 9.8 32.8c7.6 6 21 5.8 28-1 6.4-6.2 6-17-1.4-23.4C31 4 23.5 3.6 17.5 5.6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.badge-l { position: relative; transform: translateY(-1px) rotate(-3deg); letter-spacing: -0.03em; }
.badge.g-ap .badge-l { font-weight: 900; }
.badge.g-bp::before { opacity: .55; }               /* B+ gets a lighter circle, never a different colour */
.badge.b-l { width: 66px; height: 57px; font-size: 1.85rem; }
.badge.b-s { width: 32px; height: 28px; font-size: .95rem; }
.ie { font-family: var(--font-ui); }

/* ---------- home ---------- */
.hero { position: relative; border-bottom: 1px solid var(--rule); background:
  linear-gradient(90deg, transparent 0 calc(var(--gutter) + 10px), var(--margin) calc(var(--gutter) + 10px) calc(var(--gutter) + 11.5px), transparent 0),
  repeating-linear-gradient(180deg, transparent 0 31px, #E4ECF5 31px 32px) var(--surface); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 40px 64px; padding-top: 64px; padding-bottom: 72px; align-items: center; }
.hero-copy { padding-left: 24px; }
.hero h1 { margin: 0 0 22px; }
.lede { font-size: 1.25rem; line-height: 1.5; }
.circled { position: relative; white-space: nowrap; }
.circled svg { position: absolute; left: -12%; top: -14%; width: 124%; height: 128%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.report-card { background: var(--surface); border: 1.5px solid var(--ink); padding: 0 0 18px; box-shadow: 6px 6px 0 var(--ink); position: relative; transform: rotate(1.2deg); }
.rc-h { display: flex; justify-content: space-between; border-bottom: 1.5px solid var(--ink); padding: 10px 18px; font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.report-card ul { list-style: none; margin: 0; padding: 4px 18px; }
.report-card li { display: grid; grid-template-columns: 56px auto 1fr; align-items: center; gap: 12px; border-bottom: 1px solid #DCE6F2; padding: 8px 0; }
.rc-n { font-family: var(--font-display); font-weight: 750; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.rc-w { color: var(--ink-2); }
.rc-f { padding: 10px 18px 0; font-weight: 600; }
.report-card .scrawl { position: absolute; right: -10px; bottom: -34px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; padding-top: 36px; } .hero-copy { padding-left: 14px; } .report-card { margin: 0 8px 24px; } }

.sec { padding-top: 64px; }
.sec > h2, .band h2 { margin: 0 0 22px; }
.band { padding: 56px 0; margin-top: 64px; }
.band.read { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ex { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; }
.ex-row { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; border: 1.5px solid var(--ink); background: var(--bg); padding: 14px 18px; }
.ex-w small { color: var(--ink-2); }
.ex-w .ie { display: block; margin-top: 6px; font-size: .9rem; }
.ex-p { font-weight: 700; font-size: 1.2rem; }
.ex-notes { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 12px; }
.ex-notes li { counter-increment: n; padding-left: 40px; position: relative; }
.ex-notes li::before { content: counter(n); position: absolute; left: 0; top: -6px; font: 600 1.9rem/1 var(--font-hand); color: var(--accent); }
@media (max-width: 760px) { .ex { grid-template-columns: 1fr; } .ex-row { grid-template-columns: 64px 1fr auto; padding: 12px; } }

.browse { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px 48px; }
.browse ul { list-style: none; margin: 0 0 24px; padding: 0; }
.clist { columns: 2; column-gap: 24px; }
.browse:not(:has(.clist + h3)) .clist { columns: 2; }
.browse > div:last-child .clist { columns: 1; }
.clist li { padding: 5px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; break-inside: avoid; }
.clist a { color: var(--ink); text-decoration: none; font-weight: 600; }
.clist a:hover { color: var(--accent); }
.n { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.glist li a { display: flex; align-items: center; gap: 12px; padding: 6px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--rule); }
@media (max-width: 860px) { .browse { grid-template-columns: 1fr; } }

.band.prof { background: #16171A; color: #EDEBE6; }
.band.prof a { color: #fff; text-decoration-color: #F0767C; }
.prof-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px 64px; }
.prof-grid p { color: #CFCDC8; }
.cols { display: grid; gap: 12px; }
.col-card { display: grid; grid-template-columns: 5.5rem 1fr; gap: 2px 12px; text-decoration: none; padding: 12px 0; border-top: 1px solid #3A3B40; }
.col-card b { font-family: var(--font-display); font-size: 1.15rem; }
.col-y { grid-row: span 2; font: 600 1.3rem var(--font-hand); color: #F0767C; }
.col-x { color: #B9B7B1; font-size: .92rem; }
@media (max-width: 860px) { .prof-grid { grid-template-columns: 1fr; } }

.press-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.press { margin: 0; padding: 20px 22px; background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--arc-gold); }
.press blockquote { margin: 0; }
.press p { font-family: var(--font-period); font-style: italic; font-weight: 600; font-size: 1.3rem; line-height: 1.3; margin: 0 0 14px; }
.press figcaption { font-size: .88rem; color: var(--ink-2); }
@media (max-width: 860px) { .press-row { grid-template-columns: 1fr; } }

.next-box { border: 1.5px dashed var(--ink); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; align-items: center; }
.next-box h2 { margin: 0; }
.next-box > p:first-of-type { grid-column: 1; margin: 0; }
.signup { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 8px; }
.signup input { flex: 1; min-width: 0; font: inherit; padding: 10px 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--surface); color: var(--ink); }
.fine { grid-column: 1 / -1; font-size: .85rem; color: var(--ink-2); margin: 8px 0 0; }
@media (max-width: 760px) { .next-box { grid-template-columns: 1fr; } .signup { grid-column: 1; grid-row: auto; } }

/* ---------- archive room: period headings on archive paper ---------- */
body.is-archive main { background: var(--arc-paper); padding-bottom: 8px; }
body.is-archive .page-h h1, body.is-archive .label-group h2, body.is-archive .article h1 { font-family: var(--font-period); font-weight: 600; font-style: italic; color: var(--arc-burgundy); letter-spacing: -0.01em; }
body.is-archive .page-h h1 { font-size: clamp(2.6rem, 2rem + 3vw, 4.4rem); }
body.is-archive .site-f { margin-top: 0; }
body.is-archive .wines td, body.is-archive .vrow { border-color: #E6DCC6; }
body.is-archive .chip { background: #FFFDF6; border-color: #DCCFB3; }


/* list page */
.list-h { display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: end; }
.list-h-side { text-align: right; }
.mixbar { display: flex; width: 260px; height: 10px; gap: 2px; margin-left: auto; }
.mx { display: block; border-radius: 2px; }
.mx-ap { background: var(--accent); } .mx-a { background: #D2575E; } .mx-am { background: #E39A9E; } .mx-bp { background: #EDC9CB; }
.mix-key { font-size: .85rem; color: var(--ink-2); margin: 6px 0 12px; }
.btn-print { background: var(--accent); }
.btn-print::before { content: "\2709"; display: none; }
.lede { max-width: 46rem; }
.table-foot { color: var(--ink-2); font-size: .9rem; margin-top: 18px; }
@media (max-width: 720px) { .list-h { grid-template-columns: 1fr; } .list-h-side { text-align: left; } .mixbar { margin-left: 0; } }

/* producer page */
.prod-h { display: grid; grid-template-columns: 1fr minmax(16rem, 22rem); gap: 16px 48px; align-items: start; border-bottom: 1.5px solid var(--ink); padding-bottom: 20px; }
.prod-facts { background: var(--surface); border: 1px solid #E6DCC6; padding: 16px 18px; margin-top: 18px; }
.prod-facts p { margin: 0 0 8px; }
.prod-facts .see { font-size: .9rem; margin: 0; }
.label-group h2 { font-size: 1.9rem; }
@media (max-width: 760px) { .prod-h { grid-template-columns: 1fr; } }

/* article */
.kicker { font-family: var(--font-period-sc); color: var(--arc-gold-ink); font-size: 1.2rem; margin: 18px 0 0; letter-spacing: .05em; }
.article h1 { font-size: clamp(2.8rem, 2rem + 3vw, 4.4rem); margin: 0 0 12px; }
.article ul { padding-left: 1.2em; }
.signoff { font-family: var(--font-hand) !important; font-size: 1.9rem !important; color: var(--accent); text-align: right; }
.series a { font-family: var(--font-period); font-style: italic; font-weight: 600; font-size: 1.25rem; }
.series small { font-family: var(--font-ui); font-style: normal; font-size: .8rem; font-weight: 600; }

/* footer */
.site-f { background: var(--ink); color: #D9D7D2; }
.site-f .wm { color: #fff; }
.f-date { margin: 8px 0 0; color: #B3B1AC; }

/* pocket list */
.h-small { font-size: 1.2rem; margin: 0 0 8px; }
.fold-box { background: var(--surface); border: 1px solid var(--rule); padding: 16px 20px; }
.fold-steps li { margin-bottom: 4px; }
.sheet { font-family: var(--font-ui); }
.pl-row .pg { color: #B3202A; font-family: var(--font-display); }
.pl-reg { color: #B3202A; }
.pc { height: 100%; display: flex; flex-direction: column; justify-content: space-between; text-align: left; }
.pc-mark { font-family: var(--font-display); font-size: 1.6cqw; }
.pc-mark b { font-weight: 850; }
.pc-big { font-family: var(--font-display); font-weight: 800; font-size: 4.6cqw; line-height: .95; letter-spacing: -.02em; }
.circled-s { color: #B3202A; border: .25cqw solid #B3202A; border-radius: 50%; padding: 0 .8cqw; display: inline-block; transform: rotate(-4deg); }
.pc-t { font-size: 1.6cqw; font-weight: 700; line-height: 1.15; }
.pc-n { font-size: .8cqw; color: #555; border-top: .1cqw solid #111; padding-top: .5cqw; }
.pb { font-size: .8cqw; line-height: 1.3; height: 100%; display: flex; flex-direction: column; }
.pb-t { font-family: var(--font-display); font-weight: 800; font-size: 1.3cqw; margin-bottom: .6cqw; }
.pb p { margin: 0 0 .7cqw; }
.pb-url { margin-top: auto; font-weight: 700; font-size: 1cqw; }

/* kit */
.kit section { margin: 36px 0; }
.kit-note { color: var(--ink-2); margin-top: -12px; }
.kit-g { display: flex; align-items: center; gap: 22px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 14px; }
.sw span { display: block; height: 64px; background: var(--c); border: 1px solid rgba(0,0,0,.12); }
.sw b { display: block; margin-top: 6px; font-size: .9rem; }
.sw code { font-size: .8rem; color: var(--ink-2); }
.spec p { margin: 6px 0; }
.spec .s1 { font: 800 2.6rem/1.1 var(--font-display); letter-spacing: -0.02em; }
.spec .s2 { font-size: 1.1rem; }
.spec .s3 { font: 600 1.8rem var(--font-hand); color: var(--accent); }
.spec .s4 { font: italic 600 1.9rem var(--font-period); color: var(--arc-burgundy); }
.talker { width: 300px; border: 1.5px solid var(--ink); background: #fff; color: #16171A; padding: 0 0 14px; position: relative; transform: rotate(-1.5deg); box-shadow: 4px 4px 0 var(--ink); }
.talker .t-top { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1.5px solid #16171A; padding: 8px 12px; }
.talker .t-g { display: flex; align-items: center; gap: 10px; padding: 12px 12px 4px; }
.talker .t-w { padding: 0 12px; line-height: 1.35; }
.talker .t-p { padding: 8px 12px 0; font: 750 1.6rem var(--font-display); }
.talker .t-p small { font: 400 .8rem var(--font-ui); color: #56585F; }
.talker .scrawl { position: absolute; right: 12px; bottom: 14px; }
.f404 { display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; background: var(--surface); border: 1px solid var(--rule); padding: 32px; }
.f404-g span { display: grid; place-items: center; width: 150px; height: 130px; font: 800 6rem/1 var(--font-display); color: var(--accent); position: relative; transform: rotate(-6deg); }
.f404-g span::before { content: ""; position: absolute; inset: 0; border: 4px solid var(--accent); border-radius: 50%; transform: rotate(8deg) scaleX(1.08); }
.f404 h2 { margin: 0 0 8px; }
@media (max-width: 640px) { .f404 { grid-template-columns: 1fr; } }

/* Site additions on top of the Red Pen mockup styles (pages the mockups didn't cover). */
.skip:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; background: var(--surface); padding: 8px 12px; z-index: 50; }
.f404 h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); }

/* search results */
.search { position: relative; }
.sr { position: absolute; right: 0; top: calc(100% + 6px); width: min(360px, 90vw); background: var(--surface); border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); z-index: 40; max-height: 70vh; overflow: auto; }
.sr a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-weight: 600; }
.sr a span { color: var(--ink-2); font-weight: 400; font-size: .85rem; white-space: nowrap; }
.sr a:hover, .sr a:focus { background: var(--target); }
.sr p { margin: 0; padding: 10px 12px; color: var(--ink-2); }

/* list pages */
.pager { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin: 12px 0; font-size: .9rem; color: var(--ink-2); }
.pager-l { display: flex; gap: 4px; flex-wrap: wrap; }
.pager-l a { min-width: 2.2em; text-align: center; padding: 4px 8px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; }
.pager-l a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sub-links { font-size: .95rem; line-height: 1.9; }
.sub-links .n { color: var(--ink-2); font-size: .85rem; }
.clist.big { columns: 3 14rem; gap: 32px; max-width: 60rem; }
.clist.cols3 { columns: 3 14rem; gap: 32px; }
.clist.big li, .clist.cols3 li { break-inside: avoid; }
.hub-h { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
@media (max-width: 860px) { .hub-h { grid-template-columns: 1fr; } }
.ie-none { color: var(--ink-2); font-size: .8rem; }

/* A-Z */
.az { display: flex; flex-wrap: wrap; gap: 4px; margin: 16px 0 24px; }
.az a { width: 2.2em; height: 2.2em; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 50%; text-decoration: none; color: var(--ink); font-weight: 700; }
.az a[aria-current] { border: 2px solid var(--accent); color: var(--accent); }
.az-list { list-style: none; padding: 0; margin: 0; }
.az-p { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.az-p:target { background: var(--target); }
.az-name { font-weight: 700; font-size: 1.05rem; margin-right: 10px; }
.az-meta { color: var(--ink-2); font-size: .88rem; }
.az-w { display: grid; grid-template-columns: 36px 1fr auto; gap: 2px 10px; align-items: center; padding: 6px 0 0 4px; font-size: .95rem; }
.az-w:target { background: var(--target); }
.az-wn i { font-style: normal; font-weight: 600; }
.az-ie { grid-column: 2; font-size: .82rem; }
.az-pr { grid-column: 3; grid-row: 1; font-weight: 700; }

/* editorial */
.series-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 16px; margin: 24px 0 48px; }
.prose { max-width: 40rem; }
.prose p, .prose li { font-size: 1.12rem; line-height: 1.65; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 .5em; }
.prose h3 { margin: 1.6em 0 .4em; }
.prose blockquote { margin: 1.2em 0; padding-left: 1em; border-left: 3px solid var(--arc-gold, #DEB642); }
.prose table { border-collapse: collapse; font-size: .95rem; margin: 1em 0; }
.prose td, .prose th { padding: 4px 10px 4px 0; border-bottom: 1px solid var(--rule); text-align: left; }
.masthead { display: block; max-width: 100%; height: auto; margin: 12px 0; }
.press-all { grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.press-sum { font-size: .9rem; color: var(--ink-2); margin: 8px 0 0; }

/* pocket list printing from any list page */
.pocket-print { display: none; }
@page pocket { size: 11in 8.5in; margin: 0; }
@media print {
  body.printing-pocket > *:not(.pocket-print) { display: none !important; }
  body.printing-pocket .pocket-print { display: grid; page: pocket; width: 11in; height: 8.5in; box-shadow: none; }
}
.report-card li a { display: contents; color: inherit; text-decoration: none; }
.glist li a { color: inherit; }

/* archive sub-menu: the archive is a room in the house */
.subnav { background: var(--arc-paper, #F8F2E4); border-bottom: 1px solid color-mix(in srgb, var(--arc-gold, #DEB642) 60%, transparent); }
.subnav .wrap { display: flex; gap: 4px 20px; overflow-x: auto; white-space: nowrap; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; }
.subnav a { font-family: var(--font-ui); font-size: .9rem; font-weight: 600; color: var(--arc-burgundy, #5A1016); text-decoration: none; padding: 4px 0; }
.subnav a[aria-current] { text-decoration: underline wavy var(--accent); text-underline-offset: 6px; }
.subnav a:hover { text-decoration: underline; }


/* --- review fixes, 2026-11-15 --- */
/* short pages: footer sits at the bottom, no blank band below it */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
/* stop the first element's top margin escaping main (the light gap under the archive sub-menu) */
main { display: flow-root; }
/* archive hub: keep the rotated report card clear of the sub-menu */
.hub-h { padding-top: 24px; }
.hub-h .report-card { margin-top: 8px; }
.rc-h { gap: 12px; }
/* series index cards: date line, title, summary, stacked */
.series-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0 32px; margin: 24px 0 48px; }
.sx-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 0 20px; border-top: 1.5px solid var(--ink); text-decoration: none; color: var(--ink); }
.sx-card b { font-family: var(--font-display); font-weight: 750; font-size: 1.25rem; line-height: 1.15; color: var(--accent-ink); }
.sx-card:hover b { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.sx-when { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.sx-sum { font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
body.is-archive .sx-card b { font-family: var(--font-period, "Cormorant Garamond"), Georgia, serif; font-style: italic; font-weight: 600; font-size: 1.45rem; color: var(--arc-burgundy, #5A1016); }
.sr .sr-h { margin: 0; padding: 8px 12px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); background: var(--bg); border-bottom: 1px solid var(--rule); }
.sr a { flex-direction: column; align-items: flex-start; gap: 2px; }
.sr a span { white-space: normal; }
/* producer page: on today's list */
.today-box { border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: var(--surface); padding: 12px 14px; margin-bottom: 14px; }
.today-box .tb-h { margin: 0 0 6px; font: 700 .75rem var(--font-ui); letter-spacing: .12em; text-transform: uppercase; }
.today-box ul { list-style: none; margin: 0; padding: 0; }
.today-box li a { display: flex; gap: 8px; align-items: baseline; padding: 4px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.today-box li a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.today-box li span { margin-left: auto; color: var(--ink-2); font-weight: 400; white-space: nowrap; }
.today-box .tb-g { color: var(--accent); font-family: var(--font-display); font-weight: 850; min-width: 1.8em; }
.today-box .tb-f { margin: 6px 0 0; font-size: .82rem; color: var(--ink-2); }
/* pages for wineries on today's list */
.np-box { max-width: 46rem; }
.np-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 12px 0; border-top: 1px solid var(--rule); }
.np-card h2 { font-size: 1.25rem; margin: 0 0 4px; display: flex; gap: 10px; align-items: center; }
.np-card h2 a { color: var(--ink); text-decoration-color: var(--accent); }
.np-meta { margin: 2px 0; color: var(--ink-2); font-size: .95rem; }
.np-label { width: 72px; height: 108px; object-fit: cover; border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transform: rotate(-1.5deg); background: var(--surface); }
.np-bottle { width: 60px; height: 132px; }
/* an archive room inside a current page */
.arc-section { background: var(--arc-paper); margin-top: 48px; padding-bottom: 32px; }
.arc-section .arc-h, .arc-section .label-group h3 { font-family: var(--font-period); font-weight: 600; font-style: italic; color: var(--arc-burgundy); letter-spacing: -0.01em; }
.arc-section .arc-h { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.8rem); margin: 32px 0 6px; }
.arc-section .label-group h3 { font-size: 1.6rem; margin: 0 0 2px; }
.arc-section .vrow { border-color: #E6DCC6; }
.arc-section h3 { margin-top: 28px; }
/* producers index: today's wineries */
.tw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 14px; }
.tw-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border: 1.5px solid var(--ink); background: var(--surface); box-shadow: 3px 3px 0 var(--ink); text-decoration: none; color: var(--ink); }
.tw-card:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.tw-img img { display: block; width: 44px; height: 66px; object-fit: cover; border: 1px solid var(--ink); }
.tw-t { display: flex; flex-direction: column; gap: 2px; }
.tw-t b { font-size: 1.05rem; }
.tw-t span { font-size: .88rem; color: var(--accent-ink); font-weight: 600; }
.tw-t small { font-size: .8rem; color: var(--ink-2); }
/* a current page that ends in the archive room: no light band before the footer */
main:has(> .arc-section:last-child) { padding-bottom: 0; }
main:has(> .arc-section:last-child) + .site-f { margin-top: 0; }
.arc-section:last-child { margin-bottom: 0; }

/* --- spacing pass, 2026-11-15: more air between the header (or ribbon) and the page --- */
:root { --top-gap: clamp(20px, 1.6vw + 14px, 40px); }
main > .wrap:first-child { padding-top: var(--top-gap); }
.crumbs { margin: 0 0 14px; }
.page-h { padding-top: 4px; padding-bottom: 24px; }
.article > :first-child, .article .kicker:first-child { margin-top: 0; }
.article h1 { margin-bottom: 14px; }
.article .byline { margin: 0 0 28px; }
.hub-h { padding-top: 8px; }
.filters { margin: 8px 0 22px; }
.lede + .filters { margin-top: 18px; }
/* phones: all four menu items visible without sideways scrolling */
@media (max-width: 480px) {
  .site-h .nav { gap: 4px 16px; }
  .site-h .nav a { font-size: .9rem; }
  .search input { width: 7rem; font-size: .9rem; padding: 7px 12px; }
}
@media (max-width: 360px) { .site-h .nav { gap: 4px 12px; } .site-h .nav a { font-size: .85rem; } }
.np-record { color: var(--accent-ink); font-weight: 600; }

/* footer: copyright and legal links (Branden, 2026-11-15) */
.site-f .f-legal { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: baseline;
  margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); color: #B3B1AC; font-size: .85rem; }
.site-f .f-legal p { margin: 0; }
.site-f .f-legal nav { display: flex; gap: 6px 18px; }

/* /lists/: the 2006 list in its own "From the archive" row */
.sx-h { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 8px 0 0; }
.sx-arc { border-top-color: var(--rule, #D9D7D2); }
.sx-arc b { font-family: var(--font-period, "Cormorant Garamond"), Georgia, serif; font-style: italic; font-weight: 600; font-size: 1.4rem; color: var(--arc-burgundy, #5A1016); }
