/* ==========================================================================
   Grok Coffee: public site
   Sage / Innocent. Editorial, knowledge-led, warm.
   Palette (Grok Coffee Colors.txt): brown 477C #623B2A, blue 661C #003896,
   light blue 277C #ABCAE9, lilac 531C #DFC8E7, orange 1495C #FF8F1C (accent).
   Orange is never used for text on light grounds (fails contrast); it is a
   fill behind dark text, or a rule/underline.
   ========================================================================== */

:root {
    --brown:       #623b2a;
    --brown-deep:  #3b2418;
    --ink:         #2a1910;
    --blue:        #003896;
    --blue-deep:   #002566;
    --sky:         #abcae9;
    --sky-soft:    #dde9f5;
    --lilac:       #dfc8e7;
    --lilac-soft:  #efe4f3;
    --orange:      #ff8f1c;
    --orange-deep: #e07a0e;
    --paper:       #f7f4ef;
    --cream:       #efe7da;
    --muted:       #6e5a4e;
    --line:        rgba(98, 59, 42, 0.18);
    --line-strong: rgba(98, 59, 42, 0.35);

    --serif: "Grok Goudy", "Grok Hawaiian", "Iowan Old Style", "Palatino Linotype", Georgia, serif;   /* one face for headings and text: goudy.css */
    --sans:  var(--serif);

    --wrap: 1180px;
    --gutter: clamp(16px, 4vw, 40px);
    --section-y: clamp(34px, 4.6vw, 60px);   /* half the old clamp(64px, 9vw, 120px): Shawn, 2026-12 */
    --radius: 4px;
    --radius-lg: 14px;
    --shadow: 0 1px 2px rgba(42, 25, 16, 0.06), 0 8px 24px rgba(42, 25, 16, 0.08);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; font-variant-numeric: lining-nums !important; }   /* Goudy's default figures are old-style (a 0 reads as an o); !important because the font shorthand resets it */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.6;
    font-variant-numeric: lining-nums;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--brown);
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
    font-variation-settings: "opsz" 96, "SOFT" 30;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-variation-settings: "opsz" 36; }
h1 em, h2 em { font-style: italic; font-variation-settings: "opsz" 96, "SOFT" 100, "WONK" 1; }
p { margin: 0 0 1em; }
/* .ok wraps each ʻokina (okina_wrap()); hook kept for typographic tweaks. */
/* Newsreader's ʻokina carries wide side bearings that show as a gap in large type ("Hawai ʻi"): pull it in at display sizes. */
h1 .ok, h2 .ok, .gc-hero .ok, .gc-mission .ok, .gc-definition .word .ok { margin: 0 -0.08em 0 -0.04em; }

.gc-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.gc-visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.gc-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brown); color: #fff;
           padding: 10px 16px; border-radius: var(--radius); }
.gc-skip:focus { top: 12px; color: #fff; }

/* Kicker: a short italic serif line above a heading, set like a magazine
   standfirst. Deliberately NOT tracked caps with a leading rule. */
.gc-eyebrow {
    display: block; font-family: var(--serif); font-style: italic; font-weight: 400;
    font-size: 1.12rem; line-height: 1.4; color: var(--brown); margin: 0 0 10px;
    font-variation-settings: "opsz" 24, "SOFT" 100;
}
.gc-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 40em; }

/* ---- Buttons ------------------------------------------------------------- */
.gc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.gc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 24px;
    font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0.01em;
    border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.gc-btn:hover { text-decoration: none; transform: translateY(-1px); }
.gc-btn-primary { background: var(--blue); color: #fff; }
.gc-btn-primary:hover { background: var(--blue-deep); color: #fff; }
.gc-btn-accent  { background: var(--orange); color: var(--ink); }
.gc-btn-accent:hover { background: var(--orange-deep); color: var(--ink); }
.gc-btn-pink    { background: var(--lilac); color: var(--ink); }
.gc-btn-pink:hover { background: #cfb0da; color: var(--ink); }
.gc-btn-ghost   { background: transparent; color: var(--brown); border-color: var(--line-strong); }
.gc-btn-ghost:hover { border-color: var(--brown); color: var(--brown); }
@media (prefers-reduced-motion: reduce) { .gc-btn, .gc-btn:hover { transition: none; transform: none; } }

/* ---- Header -------------------------------------------------------------- */
/* Dark coffee bar, so the nav never blends into the paper hero below it. */
.gc-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--brown-deep); color: var(--paper);
    box-shadow: 0 1px 0 rgba(0,0,0,.2);
}
.gc-header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
/* The circular stain logo sits on a cream disc that hangs below the dark
   bar, like a coaster on the edge of a table. Full logo colour, and the bar
   stays clearly separate from the hero. */
.gc-logo { display: block; flex: none; position: relative; width: 112px; height: 76px; line-height: 0; z-index: 2; }
.gc-logo img {
    position: absolute; left: 0; top: 8px; width: 112px; height: 112px; object-fit: contain;
    background: var(--paper); border-radius: 50%; padding: 8px;
    box-shadow: 0 0 0 4px var(--brown-deep), 0 10px 22px rgba(42, 25, 16, .28);
    transition: transform .25s var(--ease);
}
.gc-logo:hover img { transform: rotate(-6deg); }
@media (prefers-reduced-motion: reduce) { .gc-logo img { transition: none; } .gc-logo:hover img { transform: none; } }
/* Scrolled (layout.php adds is-stuck): the disc tucks inside the bar so it never sits over the page. */
.gc-logo img { transition: transform .25s var(--ease), width .2s var(--ease), height .2s var(--ease), top .2s var(--ease), padding .2s var(--ease); }
.gc-header.is-stuck .gc-logo img { width: 64px; height: 64px; top: 6px; padding: 4px; box-shadow: 0 0 0 3px var(--brown-deep); }
@media (prefers-reduced-motion: reduce) { .gc-logo img { transition: none; } }
.gc-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.gc-nav a {
    color: rgba(247, 244, 239, 0.88); text-decoration: none; font-weight: 600; font-size: 0.98rem;
    padding: 10px 12px; border-radius: var(--radius); position: relative;
}
.gc-nav a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px;
    background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.gc-nav a:hover { color: #fff; }
.gc-nav a:hover::after, .gc-nav a[aria-current="page"]::after { transform: scaleX(1); }
.gc-header-tools { display: flex; align-items: center; gap: 10px; }
.gc-header-tools .gc-signin { color: rgba(247, 244, 239, 0.88); font-weight: 600; text-decoration: none; padding: 10px 6px; }
.gc-header-tools .gc-btn { min-height: 42px; padding: 8px 18px; font-size: 0.95rem; }
.gc-menu-btn { display: none; }
/* Eight links plus the tools: keep every label on one line and tighten the
   spacing just above the collapse point instead of letting labels wrap. */
.gc-nav a, .gc-header-tools .gc-signin, .gc-header-tools .gc-btn { white-space: nowrap; }
@media (min-width: 1101px) {
    .gc-nav { gap: 0; }
    .gc-nav a { padding: 10px 8px; font-size: 0.9rem; }
    .gc-nav a::after { left: 8px; right: 8px; }
    .gc-header-tools { gap: 6px; }
    .gc-header-tools .gc-btn { padding: 8px 12px; font-size: 0.88rem; }
    .gc-header-inner { gap: 14px; }
}
@media (max-width: 1200px) and (min-width: 1101px) { .gc-nav a { padding: 10px 5px; font-size: 0.86rem; } .gc-nav a::after { left: 5px; right: 5px; } }

@media (max-width: 1100px) {
    .gc-header-inner { min-height: 66px; gap: 12px; }
    .gc-logo { width: 84px; height: 66px; }
    .gc-logo img { width: 84px; height: 84px; padding: 6px; top: 6px; }
    .gc-header.is-stuck .gc-logo img { width: 56px; height: 56px; top: 5px; padding: 3px; }
    .gc-menu-btn {
        display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
        background: none; border: 1px solid rgba(247,244,239,.35); border-radius: 999px;
        padding: 8px 14px; font: 700 0.9rem var(--sans); color: var(--paper); cursor: pointer; min-height: 42px;
    }
    .gc-menu-btn .bars { width: 16px; height: 10px; position: relative; }
    .gc-menu-btn .bars::before, .gc-menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; }
    .gc-menu-btn .bars::before { top: 0; } .gc-menu-btn .bars::after { bottom: 0; }
    .gc-nav, .gc-header-tools { display: none; }
    .gc-header.is-open .gc-nav, .gc-header.is-open .gc-header-tools {
        display: flex; flex-direction: column; align-items: stretch; width: 100%;
    }
    .gc-header.is-open .gc-header-inner { flex-wrap: wrap; padding-bottom: 16px; }
    .gc-header.is-open .gc-nav { order: 3; margin: 6px 0 0; border-top: 1px solid rgba(247,244,239,.18); padding-top: 8px; }
    .gc-header.is-open .gc-nav a { font-size: 1.15rem; padding: 12px 4px; }
    .gc-header.is-open .gc-nav a::after { left: 4px; right: auto; width: 28px; bottom: 8px; }
    .gc-header.is-open .gc-header-tools { order: 4; flex-direction: row; justify-content: space-between; padding-top: 10px; }
}

/* ---- Sections and backgrounds ------------------------------------------- */
.gc-block { padding: var(--section-y) 0; position: relative; }
.gc-bg-paper { background: var(--paper); }
.gc-bg-cream { background: var(--cream); }
.gc-bg-sky   { background: var(--sky-soft); }
.gc-bg-lilac { background: var(--lilac); }
.gc-bg-brown { background: var(--brown-deep); color: var(--paper); }
.gc-bg-blue  { background: var(--blue); color: #fff; }
.gc-bg-brown h2, .gc-bg-brown h3, .gc-bg-brown .gc-eyebrow,
.gc-bg-blue h2,  .gc-bg-blue h3,  .gc-bg-blue .gc-eyebrow { color: inherit; }
.gc-bg-brown a:not(.gc-btn), .gc-bg-blue a:not(.gc-btn) { color: inherit; }
.gc-bg-brown .gc-lede, .gc-bg-blue .gc-lede { color: rgba(255, 255, 255, 0.82); }
.gc-bg-brown .gc-btn-ghost, .gc-bg-blue .gc-btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.gc-bg-brown .gc-btn-primary { background: var(--orange); color: var(--ink); }
.gc-bg-brown .gc-btn-primary:hover { background: var(--orange-deep); }
.gc-bg-paper + .gc-bg-paper, .gc-bg-cream + .gc-bg-cream { padding-top: 0; }
.gc-section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.gc-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.gc-section-head.center .gc-eyebrow { text-align: center; }

/* ---- Hero ---------------------------------------------------------------- */
.gc-block-hero { padding: clamp(56px, 5vw, 72px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }   /* top clears the hanging logo */
.gc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.gc-hero-copy h1 { margin-bottom: 24px; position: relative; isolation: isolate; }
.gc-hero-copy h1 em { color: var(--brown); position: relative; white-space: nowrap; }
.gc-hero-copy h1 em::after {
    content: ""; position: absolute; left: 0.04em; right: 0.02em; bottom: 0.1em; height: 0.12em;
    background: var(--orange); border-radius: 0.1em; z-index: -1; opacity: .9;
}
/* Text-only opening (FAQ, legal pages): one column, set at reading width. */
.gc-hero-grid.is-text { grid-template-columns: minmax(0, 1fr); }
.gc-hero-grid.is-text .gc-hero-copy { max-width: 820px; }
.gc-block-hero:has(.is-text) { padding-bottom: clamp(40px, 5vw, 64px); }
.gc-block-hero:has(.is-text) h1 { margin-bottom: 16px; }
.gc-hero-media { position: relative; margin: 0; isolation: isolate; }
.gc-hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow); }
.gc-hero-media.is-whole img { aspect-ratio: auto; height: auto; border-radius: var(--radius-lg); }
:is(.gc-hero-media, .gc-split-media).keep-top img { object-position: center top; }
:is(.gc-hero-media, .gc-split-media).keep-bottom img { object-position: center bottom; }
:is(.gc-hero-media, .gc-split-media).keep-left img { object-position: left center; }
:is(.gc-hero-media, .gc-split-media).keep-right img { object-position: right center; }
.gc-hero-media figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 12px; font-style: italic; font-family: var(--serif); }
/* The weekly cutoff as a Grok jar label: the real labels list Roaster,
   Origin, Variety and Roast date in rows, so this borrows that form. Square,
   double-ruled, slightly askew, stuck onto the photo. */
.gc-jar-label {
    position: absolute; left: -34px; top: 16%; width: 236px; transform: rotate(-3deg);
    background: #fffdf8; color: var(--ink); padding: 14px 16px 12px;
    border: 3px double var(--brown); box-shadow: 0 10px 24px rgba(42, 25, 16, .18);
}
.gc-jar-label .brand { display: flex; align-items: center; justify-content: space-between; gap: 10px;
    font-family: var(--serif); font-size: 1.15rem; color: var(--brown); line-height: 1; padding-bottom: 8px;
    border-bottom: 1px solid var(--brown); margin: 0 0 6px; }
.gc-jar-label .brand img { width: 26px; height: 26px; }
.gc-jar-label dl { margin: 0; }
.gc-jar-label dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dotted var(--line-strong); font-size: 0.86rem; }
.gc-jar-label dl > div:last-child { border-bottom: 0; }
.gc-jar-label dt { font-family: var(--serif); font-style: italic; color: var(--muted); }
.gc-jar-label dd { margin: 0; font-weight: 700; color: var(--brown); text-align: right; }
@media (max-width: 860px) {
    .gc-hero-grid { grid-template-columns: 1fr; }
    .gc-hero-media { max-width: 460px; margin: 0 auto; width: 100%; }
    .gc-jar-label { position: relative; left: auto; top: auto; margin: -40px 0 0 16px; transform: rotate(-2deg); }
}

/* ---- Definition ---------------------------------------------------------- */
.gc-definition { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.gc-definition .word {
    font-family: var(--serif); font-size: clamp(4.5rem, 13vw, 10rem); line-height: .85; color: var(--brown);
    font-weight: 400; letter-spacing: -0.04em; margin: 0; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.gc-definition .say { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--brown); margin: 34px 0 0; }
.gc-definition .say b { font-weight: 400; color: var(--muted); margin-left: 12px; }
.gc-definition .meaning { font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.38; color: var(--ink); margin: 0; font-variation-settings: "opsz" 36; }
.gc-definition .meaning::before { content: "1."; font-family: var(--sans); font-weight: 700; font-size: 0.9rem; color: var(--brown); margin-right: 14px; vertical-align: 0.35em; }
.gc-definition .note { margin-top: 18px; font-size: 0.92rem; color: var(--brown); }   /* muted grey on lilac is 4.19:1, under AA */
.gc-definition .gc-actions { margin-top: 20px; }
@media (max-width: 760px) { .gc-definition { grid-template-columns: 1fr; } }

/* ---- Steps --------------------------------------------------------------- */
.gc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(20px, 3vw, 36px); counter-reset: step; list-style: none; margin: 0; padding: 0; }
.gc-step { border-top: 3px solid var(--orange); padding-top: 22px; counter-increment: step; }
.gc-step::before {
    content: counter(step, decimal-leading-zero); display: block;
    font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--brown); margin-bottom: 14px; font-weight: 300;
    font-variation-settings: "opsz" 144;
}
.gc-step h3 { margin-bottom: 10px; }
.gc-step p { color: var(--muted); margin: 0; }
.gc-bg-brown .gc-step { border-color: rgba(255,255,255,.5); } .gc-bg-brown .gc-step p { color: rgba(255,255,255,.82); }

/* ---- Card grid ----------------------------------------------------------- */
.gc-cards { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
@media (max-width: 1020px) { .gc-cards { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 600px)  { .gc-cards { grid-template-columns: 1fr; } }
.gc-card {
    position: relative; display: flex; flex-direction: column; background: #fff;
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 0 var(--line);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gc-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.gc-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gc-card:hover .gc-card-media img { transform: scale(1.04); }
.gc-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.gc-card .kicker { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--muted); margin-bottom: 4px; }
.gc-card h3 { margin-bottom: 8px; }
.gc-card p { color: var(--muted); font-size: 0.98rem; }
.gc-card .meta { font-weight: 700; color: var(--brown); font-size: 0.92rem; margin-top: auto; padding-top: 6px; }
.gc-card .more { margin-top: 14px; font-weight: 700; color: var(--blue); text-decoration: none; }
.gc-card .more::after { content: " \2192"; }
/* Whole card clickable via the title link's pseudo-element (one link, one tab stop). */
.gc-card .more::before { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .gc-card, .gc-card img { transition: none !important; transform: none !important; } }

/* ---- Split --------------------------------------------------------------- */
.gc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.gc-split.media-right .gc-split-media { order: 2; }
.gc-split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.gc-split-media.is-whole { display: flex; justify-content: center; }
.gc-split-media.is-whole img { width: auto; max-width: 100%; height: auto; max-height: 640px; aspect-ratio: auto; }
.gc-split-copy .rich p:last-child { margin-bottom: 0; }
.gc-facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.gc-facts li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.gc-facts li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 0.62em; border-radius: 50%; background: var(--orange); }
.gc-facts strong { color: var(--brown); }
.gc-bg-brown .gc-facts, .gc-bg-brown .gc-facts li, .gc-bg-blue .gc-facts, .gc-bg-blue .gc-facts li { border-color: rgba(255,255,255,.25); }
.gc-bg-brown .gc-facts strong, .gc-bg-blue .gc-facts strong { color: inherit; }
@media (max-width: 860px) { .gc-split { grid-template-columns: 1fr; } .gc-split.media-right .gc-split-media { order: 0; } }
/* A small original (the 250px founder portrait) is mounted like a jar label at
   its own size, never stretched to the column (split.php adds .is-small). */
.gc-split-media.is-small { display: flex; justify-content: center; }
.gc-split-media.is-small img {
    width: auto; max-width: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: 0 10px 24px rgba(42, 25, 16, .16);
    background: #fffdf8; padding: 12px; border: 3px double var(--brown); transform: rotate(-2deg);
}
@media (prefers-reduced-motion: reduce) { .gc-split-media.is-small img { transform: none; } }

/* ---- Statement ----------------------------------------------------------- */
.gc-statement { max-width: 980px; }
.gc-statement blockquote {
    margin: 0; font-family: var(--serif); font-weight: 400;
    font-size: clamp(1.9rem, 4.4vw, 3.6rem); line-height: 1.15; letter-spacing: -0.015em;
    font-variation-settings: "opsz" 144, "SOFT" 60;
}
.gc-points { display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; padding: 0; margin: 36px 0 0; }
.gc-points li { border: 1px solid currentColor; border-radius: 999px; padding: 6px 16px; font-size: 0.92rem; font-weight: 600; opacity: .9; }

/* ---- Testimonials -------------------------------------------------------- */
.gc-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 3vw, 32px); }
.gc-quote { margin: 0; background: #fff; border-radius: var(--radius-lg); padding: 30px 28px; position: relative; display: flex; flex-direction: column; }
.gc-quote::before { content: "\201C"; font-family: var(--serif); font-size: 5rem; line-height: .6; color: var(--orange); height: 34px; }
.gc-quote blockquote { margin: 0 0 22px; font-family: var(--serif); font-size: 1.12rem; line-height: 1.55; color: var(--ink); font-variation-settings: "opsz" 24; }
.gc-quote figcaption { margin-top: auto; font-size: 0.92rem; color: var(--muted); }
.gc-quote figcaption strong { display: block; color: var(--brown); font-size: 1rem; }

/* ---- Logo wall ----------------------------------------------------------- */
.gc-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.gc-logos li { background: #fff; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; padding: 12px; }
.gc-logos img { max-height: 100%; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .3s, opacity .3s; mix-blend-mode: multiply; }
.gc-logos li:hover img, .gc-logos a:focus-visible img { filter: none; opacity: 1; }
.gc-logos a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

/* ---- CTA ----------------------------------------------------------------- */
.gc-cta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.gc-cta h2 { margin-bottom: 10px; }
.gc-cta p { margin: 0; color: var(--muted); max-width: 46em; }
.gc-cta .gc-actions { margin-top: 0; justify-content: flex-end; }
@media (max-width: 760px) { .gc-cta { grid-template-columns: 1fr; } .gc-cta .gc-actions { justify-content: flex-start; } }

/* ---- Rich text & accordion ---------------------------------------------- */
.gc-prose { max-width: 720px; }
.gc-prose.wide { max-width: none; }
.gc-prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.4em; }
.gc-prose h3 { margin-top: 1.4em; }
.gc-prose blockquote { margin: 1.5em 0; padding-left: 22px; border-left: 3px solid var(--orange); font-family: var(--serif); font-size: 1.2rem; }
.gc-faq { max-width: 860px; border-top: 1px solid var(--line-strong); }
.gc-faq details { border-bottom: 1px solid var(--line-strong); }
.gc-faq summary {
    list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
    font-family: var(--serif); font-size: 1.25rem; color: var(--brown); font-variation-settings: "opsz" 36;
}
.gc-faq summary::-webkit-details-marker { display: none; }
.gc-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; color: var(--orange-deep); }
.gc-faq details[open] summary::after { content: "\2212"; }
.gc-faq .answer { padding: 0 0 22px; color: var(--ink); max-width: 720px; }

/* ---- Footer -------------------------------------------------------------- */
.gc-footer { background: var(--brown-deep); color: rgba(247, 244, 239, 0.86); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: 0.98rem; }
.gc-footer a { color: inherit; text-decoration: none; }
.gc-footer a:hover { color: #fff; text-decoration: underline; }
.gc-footer-top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(247,244,239,.16); }
.gc-footer-disc { display: inline-block; background: var(--paper); border-radius: 50%; padding: 8px; margin-bottom: 18px; line-height: 0; }
.gc-footer-disc img { width: 104px; height: 104px; object-fit: contain; }
.gc-footer-brand p { max-width: 30ch; font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; color: var(--paper); }
.gc-footer h2 { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--paper); margin: 0 0 14px; font-weight: 400; }
.gc-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.gc-footer address { font-style: normal; }
.gc-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 0.85rem; color: rgba(247,244,239,.6); }
.gc-footer-bottom .rw img { height: 22px; width: auto; opacity: .75; }
@media (max-width: 900px) { .gc-footer-top { grid-template-columns: 1fr 1fr; } .gc-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .gc-footer-top { grid-template-columns: 1fr; } }


/* ---- Brand motifs in the background (includes/deco.php) -------------------
   House pattern from Crawford Pacific / Mahjong Tiles. Shapes are masks cut
   from the logo (the coffee ring and bean keep its distressed texture) plus a
   cup and pour-over drawn to the same weight. The element's background is the
   colour, so each mark takes a palette colour at low opacity. Each glyph reads
   --s size, --r rotation, --c colour; --k shrinks them on phones. */
main { overflow-x: clip; }
.gc-has-deco { position: relative; isolation: isolate; }
.gc-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.gc-glyph {
    position: absolute; display: block; width: calc(var(--s, 200px) * var(--k, 1)); aspect-ratio: 1;
    background: var(--c, rgba(98, 59, 42, .07)); transform: rotate(var(--r, 0deg));
    -webkit-mask: url("/assets/img/motif-ring.png") center / contain no-repeat;
            mask: url("/assets/img/motif-ring.png") center / contain no-repeat;
}
.gc-glyph--bean   { aspect-ratio: 126 / 178; -webkit-mask-image: url("/assets/img/motif-bean.png"); mask-image: url("/assets/img/motif-bean.png"); }
.gc-glyph--cup    { aspect-ratio: 220 / 200; -webkit-mask-image: url("/assets/img/motif-cup.svg"); mask-image: url("/assets/img/motif-cup.svg"); }
.gc-glyph--chemex { aspect-ratio: 140 / 220; -webkit-mask-image: url("/assets/img/motif-chemex.svg"); mask-image: url("/assets/img/motif-chemex.svg"); }
@media (max-width: 760px) { .gc-deco { --k: .6; } }

.gc-deco--hero i:nth-child(1)       { --s: 520px; --r: 18deg;  --c: rgba(255, 143, 28, .16); right: -160px; top: -90px; }
.gc-deco--hero i:nth-child(2)       { --s: 70px;  --r: -24deg; --c: rgba(98, 59, 42, .10); left: 46%; bottom: 40px; }
.gc-deco--definition i:nth-child(1) { --s: 460px; --r: -30deg; --c: rgba(98, 59, 42, .09); right: -120px; bottom: -150px; }
.gc-deco--definition i:nth-child(2) { --s: 90px;  --r: 28deg;  --c: rgba(98, 59, 42, .12); left: 30%; top: 30px; }
.gc-deco--steps i:nth-child(1)      { --s: 230px; --r: -8deg;  --c: rgba(98, 59, 42, .06); right: -40px; top: 30px; }
.gc-deco--steps i:nth-child(2)      { --s: 64px;  --r: 32deg;  --c: rgba(255, 143, 28, .22); right: 210px; top: 70px; }
.gc-deco--cards i:nth-child(1)      { --s: 380px; --r: 40deg;  --c: rgba(98, 59, 42, .06); left: -150px; top: -70px; }
.gc-deco--cards i:nth-child(2)      { --s: 80px;  --r: -18deg; --c: rgba(98, 59, 42, .09); right: 4%; top: 46px; }
.gc-deco--tour i:nth-child(1)       { --s: 200px; --r: 6deg;   --c: rgba(0, 56, 150, .07); left: -40px; bottom: -30px; }
.gc-deco--tour i:nth-child(2)       { --s: 300px; --r: -50deg; --c: rgba(0, 56, 150, .06); right: -110px; top: -100px; }
.gc-deco--statement i:nth-child(1)  { --s: 560px; --r: 120deg; --c: rgba(247, 244, 239, .07); right: -140px; top: -160px; }
.gc-deco--statement i:nth-child(2)  { --s: 110px; --r: -12deg; --c: rgba(255, 143, 28, .11); right: 22%; bottom: 36px; }
.gc-deco--statement i:nth-child(3)  { --s: 70px;  --r: 40deg;  --c: rgba(247, 244, 239, .10); right: 30%; top: 40px; }
.gc-deco--quotes i:nth-child(1)     { --s: 260px; --r: 70deg;  --c: rgba(98, 59, 42, .05); left: -90px; bottom: -60px; }
.gc-deco--logos i:nth-child(1)      { --s: 70px;  --r: 20deg;  --c: rgba(98, 59, 42, .10); right: 6%; top: 60px; }
.gc-deco--logos i:nth-child(2)      { --s: 48px;  --r: -30deg; --c: rgba(98, 59, 42, .08); right: calc(6% + 76px); top: 110px; }
.gc-deco--cta i:nth-child(1)        { --s: 240px; --r: -6deg;  --c: rgba(0, 56, 150, .07); right: -30px; bottom: -40px; }
.gc-deco--footer i:nth-child(1)     { --s: 420px; --r: 200deg; --c: rgba(247, 244, 239, .05); left: -150px; bottom: -170px; }
.gc-deco--footer i:nth-child(2)     { --s: 80px;  --r: 18deg;  --c: rgba(255, 143, 28, .09); right: 8%; top: 40px; }
.gc-deco--spill i:nth-child(1)      { --s: 260px; --r: 70deg;  --c: rgba(98, 59, 42, .12); right: 6%; top: 10%; }
.gc-deco--spill i:nth-child(2)      { --s: 440px; --r: 10deg;  --c: rgba(255, 143, 28, .14); right: -6%; top: 22%; }
.gc-deco--spill i:nth-child(3)      { --s: 60px;  --r: -40deg; --c: rgba(98, 59, 42, .14); right: 34%; top: 56%; }
.gc-deco--spill i:nth-child(4)      { --s: 46px;  --r: 60deg;  --c: rgba(98, 59, 42, .12); right: 30%; top: 66%; }
@media (max-width: 760px) { .gc-deco--logos, .gc-deco--steps i:nth-child(2) { display: none; } }

/* ---- Order slip ----------------------------------------------------------
   A paper slip: perforated top edge (mask), dotted leaders, tabular figures,
   tilted a degree as if set down on the counter. */
.gc-slip-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.gc-slip {
    margin: 0; justify-self: center; width: min(100%, 380px); transform: rotate(1.5deg);
    background: #fffdf8; color: var(--ink); padding: 34px 30px 26px;
    box-shadow: 0 14px 30px rgba(42, 25, 16, .16);
    -webkit-mask: radial-gradient(circle 7px at 50% 0, transparent 98%, #000) top / 22px 100% repeat-x;
            mask: radial-gradient(circle 7px at 50% 0, transparent 98%, #000) top / 22px 100% repeat-x;
}
.gc-slip-title { font-family: var(--serif); font-size: 1.45rem; color: var(--brown); text-align: center; margin: 0 0 4px; }
.gc-slip-title::after { content: ""; display: block; height: 0; border-top: 3px double var(--brown); margin: 12px 0 8px; }
.gc-slip dl { margin: 0; font-variant-numeric: tabular-nums; }
.gc-slip dl > div { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; }
.gc-slip dt { flex: 1 1 auto; display: flex; align-items: baseline; gap: 8px; }
.gc-slip dt::after { content: ""; flex: 1 1 auto; border-bottom: 2px dotted var(--line-strong); transform: translateY(-4px); min-width: 16px; }
.gc-slip dd { margin: 0; font-weight: 700; color: var(--brown); white-space: nowrap; }
.gc-slip-total { margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--brown); font-family: var(--serif); font-size: 1.15rem; color: var(--brown); text-align: right; }
.gc-slip-note { margin: 14px 0 0; font-size: 0.82rem; color: var(--muted); font-style: italic; text-align: center; }
@media (max-width: 860px) { .gc-slip-wrap { grid-template-columns: 1fr; } .gc-slip { transform: rotate(1deg); } }

/* ---- Timetable -----------------------------------------------------------
   Set like a printed market schedule: heavy top rule, place names in the
   serif, fees aligned right. Stacks into labelled rows on phones. */
.gc-timetable { width: 100%; border-collapse: collapse; border-top: 3px solid var(--brown); font-variant-numeric: tabular-nums; }
.gc-timetable thead th { text-align: left; font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); padding: 12px 16px 12px 0; border-bottom: 1px solid var(--brown); }
.gc-timetable thead th:last-child, .gc-timetable td.fee { text-align: right; padding-right: 0; }
.gc-timetable tbody th, .gc-timetable td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line-strong); vertical-align: top; text-align: left; }
.gc-timetable tbody th { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--brown); width: 46%; font-variation-settings: "opsz" 36; }
.gc-timetable tbody th span.note { display: block; font-family: var(--sans); font-size: 0.92rem; font-weight: 400; color: var(--muted); margin-top: 4px; }
.gc-timetable td.fee { font-weight: 700; color: var(--brown); white-space: nowrap; }
.gc-timetable-foot { margin: 18px 0 0; color: var(--muted); font-size: 0.95rem; max-width: 60em; }
@media (max-width: 640px) {
    .gc-timetable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .gc-timetable tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
    .gc-timetable tbody th, .gc-timetable td { display: block; border: 0; padding: 2px 0; width: auto; text-align: left !important; }
    .gc-timetable td::before { content: attr(data-label) ": "; font-family: var(--serif); font-style: italic; color: var(--muted); font-weight: 400; }
}

/* ---- Term and text list --------------------------------------------------- */
.gc-pairs-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.gc-pairs-head { position: sticky; top: 110px; }
.gc-pairs { margin: 0; border-top: 1px solid var(--brown); }
.gc-pairs > div { display: grid; grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line-strong); }
.gc-pairs dt { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; color: var(--brown); font-variation-settings: "opsz" 72, "SOFT" 100; }
.gc-pairs dd { margin: 0; color: var(--ink); }
.gc-bg-brown .gc-pairs, .gc-bg-brown .gc-pairs > div { border-color: rgba(247,244,239,.3); }
.gc-bg-brown .gc-pairs dt, .gc-bg-brown .gc-pairs dd { color: inherit; }
@media (max-width: 860px) { .gc-pairs-wrap { grid-template-columns: 1fr; } .gc-pairs-head { position: static; } }
@media (max-width: 520px) { .gc-pairs > div { grid-template-columns: 1fr; gap: 6px; } }

/* Motif presets for these blocks. */
.gc-deco--slip i:nth-child(1)  { --s: 420px; --r: -20deg; --c: rgba(98, 59, 42, .07); right: -120px; top: -60px; }
.gc-deco--slip i:nth-child(2)  { --s: 60px;  --r: 40deg;  --c: rgba(255, 143, 28, .2); left: 44%; bottom: 40px; }
.gc-deco--table i:nth-child(1) { --s: 200px; --r: -6deg;  --c: rgba(98, 59, 42, .06); right: -30px; top: 24px; }
.gc-deco--pairs i:nth-child(1) { --s: 340px; --r: 100deg; --c: rgba(98, 59, 42, .06); left: -140px; bottom: -80px; }
@media (max-width: 760px) { .gc-deco--table { display: none; } }

/* Jar label with the live weekly menu. */
.gc-jar-label.has-menu { width: 270px; }
.gc-jar-menu { list-style: none; margin: 4px 0 0; padding: 8px 0 0; border-top: 1px solid var(--brown); }
.gc-jar-menu li { padding: 6px 0; border-bottom: 1px dotted var(--line-strong); line-height: 1.3; }
.gc-jar-menu li:last-child { border-bottom: 0; padding-bottom: 0; }
.gc-jar-menu .slot { display: block; font-family: var(--serif); font-style: italic; font-size: 0.82rem; color: var(--muted); }
.gc-jar-menu strong { display: block; color: var(--brown); font-size: 0.98rem; }
.gc-jar-menu .by { display: block; font-size: 0.8rem; color: var(--ink); }

/* ---- Mailing list bar (above the footer, every page) ---------------------
   A postcard, not a form: the logo's coffee ring as the postmark, fields as
   ruled writing lines. Deep blue, as on the old site's bar. */
.gc-letter { background: var(--blue); color: #fff; padding: clamp(40px, 5vw, 64px) 0; position: relative; overflow: hidden; }
.gc-letter-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.gc-letter-copy { position: relative; padding-left: 112px; }
.gc-postmark {
    position: absolute; left: 0; top: 50%; width: 92px; height: 92px; transform: translateY(-50%) rotate(-14deg);
    display: flex; align-items: center; justify-content: center; text-align: center;
    font: italic 0.72rem/1.15 var(--serif); color: rgba(255,255,255,.75);
}
.gc-postmark::before {
    content: ""; position: absolute; inset: 0; background: rgba(255, 143, 28, .9);
    -webkit-mask: url("/assets/img/motif-ring.png") center / contain no-repeat; mask: url("/assets/img/motif-ring.png") center / contain no-repeat;
}
.gc-letter h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0 0 8px; }
.gc-letter-copy p { margin: 0; color: rgba(255,255,255,.82); max-width: 34em; }
.gc-letter-fields { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 22px; align-items: end; }
.gc-line { display: block; }
.gc-line span { display: block; font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: rgba(255,255,255,.75); margin-bottom: 2px; }
.gc-line input {
    width: 100%; background: transparent; border: 0; border-bottom: 2px solid rgba(255,255,255,.55);
    color: #fff; font: 1.1rem var(--sans); padding: 8px 2px; border-radius: 0;
}
.gc-line input:focus { outline: none; border-bottom-color: var(--orange); }
.gc-line input:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.gc-line input[aria-invalid="true"] { border-bottom-color: #ffb4a6; }
.gc-letter-form .gc-btn .busy { display: none; }
.gc-letter-form.is-busy .gc-btn .idle { display: none; }
.gc-letter-form.is-busy .gc-btn .busy { display: inline; }
.gc-letter-form.is-busy .gc-btn { cursor: progress; opacity: .85; }
.gc-letter-status { margin: 14px 0 0; min-height: 1.4em; font-size: 0.95rem; }
.gc-letter-status.is-ok { color: #fff; font-weight: 700; }
.gc-letter-status.is-error { color: #ffd2c9; font-weight: 700; }
.gc-letter-flash .gc-flash { margin: 0 0 14px; font-weight: 700; }
.gc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) {
    .gc-letter-inner { grid-template-columns: 1fr; }
    .gc-letter-fields { grid-template-columns: 1fr; }
    .gc-letter-copy { padding-left: 96px; }
    .gc-postmark { width: 78px; height: 78px; }
}

/* Jar label coffees link to their profiles. */
.gc-jar-menu a { display: block; color: inherit; text-decoration: none; margin: 0 -6px; padding: 0 6px; border-radius: 2px; }
.gc-jar-menu a:hover, .gc-jar-menu a:focus-visible { background: var(--cream); }
.gc-jar-menu a:hover strong { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }

/* ---- Coffee profile (/coffee/<week>/<slot>/) -----------------------------
   The coffee's jar label, scaled up into a spec sheet; tasting notes set as
   large italic words, the way they read on a cupping form. */
.gc-coffee { padding-top: clamp(56px, 6vw, 84px); }
.gc-crumbs { font-size: 0.92rem; color: var(--muted); margin-bottom: 26px; }
.gc-crumbs a { color: var(--brown); }
.gc-coffee-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.gc-coffee-main h1 { margin-bottom: 10px; }
.gc-coffee-by { font-size: 1.15rem; color: var(--muted); margin: 0 0 34px; }
.gc-coffee-by a { color: var(--brown); font-weight: 700; }
.gc-notes { border-top: 3px solid var(--brown); padding-top: 18px; }
.gc-notes-title { font-size: 1.1rem; font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); margin: 0 0 12px; }
.gc-notes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.gc-notes li {
    font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: var(--brown); line-height: 1.2;
    font-variation-settings: "opsz" 96, "SOFT" 100;
}
.gc-notes li:not(:last-child)::after { content: "\00B7"; color: var(--orange-deep); margin: 0 .35em; font-style: normal; }
.gc-notes-src { margin: 12px 0 0; font-size: 0.85rem; color: var(--muted); }
.gc-coffee-past { margin-top: 28px; padding: 14px 0; border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); color: var(--muted); font-style: italic; font-family: var(--serif); }
.gc-spec { background: #fffdf8; border: 3px double var(--brown); padding: 22px 24px; transform: rotate(1deg); box-shadow: 0 14px 30px rgba(42, 25, 16, .14); }
.gc-spec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--brown); margin-bottom: 6px; }
.gc-spec-head img { width: 150px; height: 84px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.gc-spec-head span { font-family: var(--serif); color: var(--brown); text-align: right; line-height: 1.2; }
.gc-spec-head em { color: var(--muted); }
.gc-spec dl { margin: 0; }
.gc-spec dl > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dotted var(--line-strong); font-size: 0.97rem; }
.gc-spec dt { font-family: var(--serif); font-style: italic; color: var(--muted); }
.gc-spec dd { margin: 0; font-weight: 600; color: var(--ink); }
.gc-spec-price { margin: 16px 0 0; font-size: 0.95rem; color: var(--muted); }
.gc-spec-price span { font-family: var(--serif); font-size: 2rem; color: var(--brown); margin-right: 4px; }
.gc-spec-foot { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--brown); font-size: 0.85rem; color: var(--muted); text-align: right; }
.gc-coffee-cta-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.gc-coffee-how { align-self: center; font-weight: 700; color: var(--blue); }
.gc-coffee-others h2 { font-size: 1.2rem; font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); margin: 0 0 10px; }
.gc-coffee-others ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--brown); }
.gc-coffee-others li { border-bottom: 1px solid var(--line-strong); }
.gc-coffee-others a { display: block; padding: 14px 0; text-decoration: none; color: inherit; }
.gc-coffee-others a:hover strong { text-decoration: underline; text-decoration-color: var(--orange); }
.gc-coffee-others .slot { display: block; font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 0.92rem; }
.gc-coffee-others strong { display: block; color: var(--brown); font-size: 1.15rem; }
.gc-coffee-others .by { display: block; font-size: 0.9rem; color: var(--ink); }
@media (max-width: 860px) { .gc-coffee-grid, .gc-coffee-cta-grid { grid-template-columns: 1fr; } .gc-spec { transform: none; } }

/* ---- Tours: admission tickets -------------------------------------------
   Each tour is a printed ticket: photo, details, then a perforated stub with
   the price ("Admit one"). The perforation is a column of punched holes
   (radial-gradient mask) between body and stub. */
.gc-tickets-block { padding-top: 0; }
.gc-ticket {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) 250px;
    background: #fffdf8; box-shadow: 0 14px 34px rgba(42, 25, 16, .12); margin-bottom: 28px;
    border-top: 6px solid var(--brown);
}
.gc-ticket-media { display: block; min-height: 100%; background: var(--cream); }
.gc-ticket-media img { width: 100%; height: 100%; object-fit: cover; }
.gc-ticket-body { padding: 30px 32px; }
.gc-ticket-body h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 10px; }
.gc-ticket-body h3 a { color: inherit; text-decoration: none; }
.gc-ticket-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.gc-ticket-facts { margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.gc-ticket-facts dt { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 0.92rem; }
.gc-ticket-facts dd { margin: 0; font-weight: 700; color: var(--brown); }
.gc-ticket-stub {
    position: relative; padding: 30px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: var(--cream); border-left: 2px dashed var(--line-strong);
}
.gc-ticket-stub::before, .gc-ticket-stub::after {
    /* punched half-circles where the stub tears off */
    content: ""; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper);
}
.gc-ticket-stub::before { top: -12px; } .gc-ticket-stub::after { bottom: -12px; }
.gc-ticket-stub .admit { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--muted); margin: 0; }
.gc-ticket-stub .price { font-family: var(--serif); font-size: 3rem; line-height: 1.05; color: var(--brown); margin: 4px 0 6px; font-variation-settings: "opsz" 144; }
.gc-ticket-stub .note { margin: 0 0 4px; font-size: 0.9rem; color: var(--muted); }
.gc-ticket-stub .note.small { font-size: 0.82rem; margin-top: 10px; }
.gc-ticket-stub .gc-btn { margin-top: 16px; }
@media (max-width: 1020px) {
    .gc-ticket { grid-template-columns: 1fr 1fr; }
    .gc-ticket-stub { grid-column: 1 / -1; border-left: 0; border-top: 2px dashed var(--line-strong); flex-direction: row; flex-wrap: wrap; gap: 6px 18px; }
    .gc-ticket-stub::before, .gc-ticket-stub::after { display: none; }
    .gc-ticket-stub .gc-btn { margin-top: 0; }
}
@media (max-width: 680px) { .gc-ticket { grid-template-columns: 1fr; } .gc-ticket-media { aspect-ratio: 16 / 10; } .gc-ticket-facts { grid-template-columns: 1fr; } }

/* ---- Tour detail ---------------------------------------------------------- */
.gc-tour-hero { padding-top: clamp(56px, 6vw, 84px); padding-bottom: clamp(40px, 5vw, 64px); }
.gc-tour-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.gc-tour-photo { margin: 0; }
.gc-tour-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.gc-programme-facts { margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 3px solid var(--brown); }
.gc-programme-facts > div { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line-strong); }
.gc-programme-facts dt { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 0.95rem; }
.gc-programme-facts dd { margin: 2px 0 0; font-weight: 700; color: var(--brown); }
.gc-tour-body { padding-top: 0; }
.gc-tour-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.gc-tour-main h2 { margin-top: 1.6em; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.gc-programme tbody th { width: 7.5em; font-size: 1.05rem; white-space: nowrap; }
.gc-programme thead th:last-child { text-align: left; }
.gc-bring { border-top: 1px solid var(--brown); }
.gc-bring > div { grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr); }
.gc-bring dt { font-size: 1.35rem; }
.gc-tour-side { position: sticky; top: 110px; }
.gc-ticket-stub--solo { background: #fffdf8; border: 3px double var(--brown); border-top-width: 6px; border-top-style: solid; box-shadow: 0 14px 30px rgba(42,25,16,.12); }
.gc-ticket-stub--solo::before, .gc-ticket-stub--solo::after { display: none; }
.gc-stub-list { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line-strong); width: 100%; font-size: 0.92rem; }
.gc-stub-list li { padding: 4px 0; }
.gc-giving { margin: 16px 0 0; padding-top: 12px; border-top: 1px dashed var(--line-strong); font-size: 0.9rem; color: var(--brown); font-weight: 600; }
.gc-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gc-gallery figure { margin: 0; }
.gc-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.gc-more-tours { list-style: none; padding: 0; margin: 0; }
.gc-more-tours li { padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
.gc-more-tours a { font-family: var(--serif); font-size: 1.3rem; color: var(--brown); margin-right: 10px; }
@media (max-width: 960px) {
    .gc-tour-top, .gc-tour-grid { grid-template-columns: 1fr; }
    .gc-tour-side { position: static; }
}
@media (max-width: 600px) { .gc-gallery { grid-template-columns: 1fr 1fr; } .gc-programme-facts { grid-template-columns: 1fr; } }

/* Roaster badge on coffee profiles: the roaster's logo on a white tile. */
.gc-roaster { display: flex; align-items: center; gap: 18px; margin: 0 0 34px; }
.gc-roaster-logo { flex: none; width: 132px; height: 92px; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 1px 0 var(--line), 0 6px 16px rgba(42,25,16,.08); display: flex; align-items: center; justify-content: center; padding: 10px; }
.gc-roaster-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gc-roaster p { margin: 0; line-height: 1.35; }
.gc-roaster .lbl { display: block; font-family: var(--serif); font-style: italic; color: var(--muted); }
.gc-roaster strong { display: block; font-size: 1.2rem; color: var(--brown); }
.gc-roaster a { font-weight: 700; font-size: 0.95rem; }
.gc-spec-head img { width: 40px !important; height: 40px !important; }

/* ---- Events ----------------------------------------------------------------
   Dates are "stamped" inside the logo's coffee ring, like a date stamp on a
   cupping sheet. Filters are plain text links with counts, not pills. */
.gc-events-head { padding-top: clamp(56px, 6vw, 84px); padding-bottom: 24px; }
.gc-ev-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 32px; margin-top: 30px; padding-top: 16px; border-top: 3px solid var(--brown); }
.gc-ev-filter, .gc-ev-views { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.gc-ev-filter a, .gc-ev-views a { color: var(--brown); text-decoration: none; font-weight: 600; padding: 4px 0; border-bottom: 2px solid transparent; }
.gc-ev-filter a span { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); margin-left: 3px; }
.gc-ev-filter a:hover, .gc-ev-views a:hover { border-bottom-color: var(--line-strong); }
.gc-ev-filter a[aria-current], .gc-ev-views a[aria-current] { border-bottom-color: var(--orange); }
.gc-ev-views a { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1rem; }
.gc-events-body { padding-top: 24px; }

.gc-stamp {
    position: relative; flex: none; width: 92px; height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--brown); line-height: 1; isolation: isolate;
}
.gc-stamp::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(98, 59, 42, .32); transform: rotate(var(--rot, -18deg));
    -webkit-mask: url("/assets/img/motif-ring.png") center / contain no-repeat; mask: url("/assets/img/motif-ring.png") center / contain no-repeat;
}
.gc-stamp .wd { font-family: var(--serif); font-style: italic; font-size: 0.85rem; color: var(--muted); }
.gc-stamp .d  { font-family: var(--serif); font-size: 2.3rem; font-weight: 500; margin: 1px 0; font-variation-settings: "opsz" 144; }
.gc-stamp .mo { font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.gc-stamp--big { width: 128px; height: 128px; }
.gc-stamp--big .d { font-size: 3.4rem; }
.gc-stamp--big::before { background: rgba(255, 143, 28, .55); }

.gc-ev-month { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 34px 0 6px; }
.gc-ev-month:first-child, .gc-ev-jump + .gc-ev-month { margin-top: 0; }
.gc-ev-month { scroll-margin-top: 96px; }
/* List view: jump to a month (task 5788) */
.gc-ev-jump { margin: 0 0 28px; padding: 12px 16px; background: var(--cream); border-radius: 10px; }
.gc-ev-jump p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.gc-ev-jump p + p { margin-top: 6px; }
.gc-ev-jump .yr { font-family: var(--serif); font-style: italic; color: var(--muted); min-width: 3.2em; }
.gc-ev-jump a { color: var(--brown); font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.gc-ev-jump a:hover, .gc-ev-jump a:focus-visible { border-bottom-color: var(--orange); }
.gc-ev-list { list-style: none; margin: 0 0 10px; padding: 0; border-top: 1px solid var(--brown); }
.gc-ev { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
.gc-ev:nth-child(3n+2) .gc-stamp { --rot: 64deg; }
.gc-ev:nth-child(3n+3) .gc-stamp { --rot: 150deg; }
.gc-ev-kind { margin: 0; font-family: var(--serif); font-style: italic; color: var(--muted); }
.gc-ev h3 { margin: 0 0 4px; font-size: clamp(1.25rem, 2vw, 1.55rem); }
.gc-ev h3 a { color: inherit; text-decoration: none; }
.gc-ev h3 a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.gc-ev-when { margin: 0; font-weight: 600; color: var(--ink); }
.gc-ev-sum { margin: 6px 0 0; color: var(--muted); max-width: 60em; }
.gc-ev.is-featured h3::after { content: "Featured"; font: italic 0.85rem var(--serif); color: var(--orange-deep); margin-left: 10px; vertical-align: middle; }
.gc-ev.is-cancelled h3 a, .gc-ev.is-cancelled .gc-ev-when { text-decoration: line-through; text-decoration-color: rgba(98,59,42,.5); color: var(--muted); }
.gc-ev-flag { display: inline-block; font-weight: 700; color: var(--brown); white-space: nowrap; }
.gc-ev-flag.is-free { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); }
.gc-ev-flag.is-cancelled { color: #a3321f; }
@media (max-width: 640px) {
    .gc-ev { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
    .gc-ev .gc-stamp { width: 72px; height: 72px; } .gc-ev .gc-stamp .d { font-size: 1.8rem; }
    .gc-ev-side { grid-column: 2; }
}
.gc-ev-empty { padding: 40px 0; max-width: 40em; }
.gc-ev-empty-month { margin-top: 14px; color: var(--muted); font-style: italic; font-family: var(--serif); }

/* Month grid: a printed desk calendar. */
.gc-cal-nav { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.gc-cal-nav h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.gc-cal-nav a { font-weight: 700; color: var(--brown); text-decoration: none; }
.gc-cal { width: 100%; table-layout: fixed; border-collapse: collapse; border-top: 3px solid var(--brown); }
.gc-cal th { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--brown); }
.gc-cal td { vertical-align: top; height: 112px; padding: 6px 7px; border: 1px solid var(--line); background: #fffdf8; }
.gc-cal td.pad { background: transparent; border-color: transparent; }
.gc-cal td.past { background: rgba(255,253,248,.5); }
.gc-cal td.past .day { color: var(--muted); }
.gc-cal td.today { box-shadow: inset 0 0 0 2px var(--orange); }
.gc-cal .day { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--brown); margin-bottom: 4px; }
.gc-cal-ev { display: block; font-size: 0.8rem; line-height: 1.25; color: var(--ink); text-decoration: none; padding: 3px 5px; margin-bottom: 3px; border-left: 3px solid var(--brown); background: var(--cream); overflow: hidden; text-overflow: ellipsis; }
.gc-cal-ev:hover { background: var(--lilac-soft); }
.gc-cal-ev .t { font-weight: 700; margin-right: 3px; }
.gc-cal-ev.k-market { border-left-color: var(--orange); }
.gc-cal-ev.k-tasting { border-left-color: var(--blue); }
.gc-cal-ev.k-tour { border-left-color: var(--brown); }
.gc-cal-ev.k-class { border-left-color: #7a5a8c; }
.gc-cal-ev.is-cancelled { text-decoration: line-through; color: var(--muted); }
.gc-cal .more { font-size: 0.78rem; color: var(--muted); font-style: italic; }
@media (max-width: 760px) {
    /* Phones: the grid becomes a list of only the days that have events. */
    .gc-cal, .gc-cal tbody, .gc-cal tr { display: block; }
    .gc-cal thead { display: none; }
    .gc-cal td { display: none; height: auto; }
    .gc-cal td.has { display: block; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; padding: 12px 0; }
    .gc-cal td.has .gc-visually-hidden { position: static !important; width: auto; height: auto; clip: auto; margin: 0; white-space: normal; }
}

/* Event detail */
.gc-event { padding-top: clamp(56px, 6vw, 84px); }
.gc-event-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.gc-event-title { display: flex; align-items: center; gap: 22px; margin-bottom: 8px; }
.gc-event-title h1 { margin: 0; }
.gc-event-facts { margin-top: 22px; }
.gc-event-facts .addr { display: block; font-weight: 400; color: var(--muted); }
.gc-event-facts dd a { font-weight: 700; margin-left: 4px; }
.gc-event-desc { margin-top: 30px; }
.gc-ev-banner { background: #fbe5df; color: #7a2414; border-left: 0; padding: 12px 16px; font-weight: 700; margin: 0 0 22px; border-top: 2px solid #a3321f; }
.gc-ev-banner.is-past { background: var(--cream); color: var(--brown); border-top-color: var(--brown); }
span.gc-btn[aria-disabled="true"] { cursor: default; opacity: .7; }
@media (max-width: 860px) { .gc-event-grid { grid-template-columns: 1fr; } .gc-event-title { align-items: flex-start; } .gc-stamp--big { width: 100px; height: 100px; } .gc-stamp--big .d { font-size: 2.6rem; } }

/* ---- Webstore ---------------------------------------------------------------
   A shop counter, not a product-grid template: departments are a printed
   store directory, prices hang off each item on a paper tag (punched eyelet),
   the cart and order summary are a till receipt with a torn edge. */
.gc-flash { margin: 0 0 20px; padding: 12px 16px; font-weight: 600; background: var(--cream); color: var(--brown); border-top: 2px solid var(--brown); }
.gc-flash-success { background: #e6efe0; color: #2f4a22; border-top-color: #4a7a34; }
.gc-flash-error, .gc-flash-warning { background: #fbe5df; color: #7a2414; border-top-color: #a3321f; }

.gc-cartlink .n {
    display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; margin-left: 4px; padding: 0 6px;
    background: var(--orange); color: var(--ink); font-size: 0.85rem; font-weight: 700; border-radius: 999px;
}

.gc-shop-head { padding-bottom: 20px; }
.gc-shop-head--sm { padding-top: clamp(48px, 5vw, 72px); }
.gc-shop-head--sm h1 { margin-bottom: 8px; }
.gc-shop-body { padding-top: 12px; }
.gc-shop-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }

/* Store directory: department names on a board, dotted rules between. */
.gc-aisles { position: sticky; top: 110px; border-top: 3px solid var(--brown); padding-top: 10px; }
.gc-aisles-title { font-family: var(--serif); font-style: italic; color: var(--muted); margin: 0 0 6px; }
.gc-aisles ul { list-style: none; margin: 0; padding: 0; }
.gc-aisles li { border-bottom: 1px dotted var(--line-strong); }
.gc-aisles a { display: block; padding: 8px 0; color: var(--brown); font-weight: 600; text-decoration: none; }
.gc-aisles a:hover { color: var(--blue); }
.gc-aisles a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.gc-aisles ul ul { padding: 0 0 6px 14px; }
.gc-aisles ul ul li { border: 0; }
.gc-aisles ul ul a { padding: 4px 0; font-weight: 400; font-size: 0.95rem; }

.gc-shelf-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 18px; }
.gc-shelf + .gc-shelf-title { margin-top: 56px; }
.gc-shelf-more + .gc-shelf-title { margin-top: 56px; }
.gc-shelf-title a { color: inherit; text-decoration: none; }
.gc-shelf-title a:hover { color: var(--blue); }
.gc-shelf-more { margin: 22px 0 0; font-weight: 600; }
.gc-shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px 26px; }
.gc-shelf-item a { position: relative; display: block; color: var(--ink); text-decoration: none; }
.gc-shelf-photo { display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.gc-shelf-photo img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .4s var(--ease); }
.gc-shelf-item a:hover .gc-shelf-photo img { transform: scale(1.04); }
.gc-shelf-name { display: block; margin-top: 12px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; color: var(--brown); }
.gc-shelf-item a:hover .gc-shelf-name { text-decoration: underline; text-decoration-color: var(--orange); }
.gc-shelf-kind { display: block; font-family: var(--serif); font-style: italic; font-size: 0.92rem; color: var(--muted); }
.gc-shelf-item .gc-tag { position: absolute; top: 12px; right: -6px; }
.gc-shelf-item.is-out .gc-shelf-photo { opacity: .55; }
.gc-shelf-noimg { display: block; width: 100%; height: 100%; background: var(--cream); position: relative; }
.gc-shelf-noimg::after {
    content: ""; position: absolute; inset: 28%; background: rgba(98, 59, 42, .18);
    -webkit-mask: url("/assets/img/motif-bean.png") center / contain no-repeat; mask: url("/assets/img/motif-bean.png") center / contain no-repeat;
}
@media (prefers-reduced-motion: reduce) { .gc-shelf-photo img { transition: none; } .gc-shelf-item a:hover .gc-shelf-photo img { transform: none; } }

/* Hang tag: a manila price tag with a notched end and a punched eyelet. */
.gc-tag {
    position: relative; display: inline-flex; flex-direction: column; align-items: flex-start;
    padding: 6px 12px 6px 26px; background: #f3dfb8; color: var(--ink); transform: rotate(4deg);
    clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
    filter: drop-shadow(0 2px 3px rgba(42, 25, 16, .18));
}
.gc-tag::before {
    content: ""; position: absolute; left: 11px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
    background: var(--paper); box-shadow: inset 0 0 0 2px rgba(98, 59, 42, .35);
}
.gc-tag-price { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.15; white-space: nowrap; }
.gc-tag-note { font-family: var(--serif); font-style: italic; font-size: 0.8rem; color: #8a2a17; }
.gc-tag--big { margin: 6px 0 18px; padding: 10px 20px 10px 38px; clip-path: polygon(20px 0, 100% 0, 100% 100%, 20px 100%, 0 50%); transform: rotate(-2deg); }
.gc-tag--big::before { left: 16px; width: 11px; height: 11px; margin-top: -5.5px; }
.gc-tag--big .gc-tag-price { font-size: 2rem; }
.gc-qty-breaks { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: -6px 0 18px; font-family: var(--serif); font-style: italic; color: var(--brown); }

/* Product page */
.gc-product { padding-top: clamp(48px, 5vw, 72px); }
.gc-product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.gc-product-photos { position: sticky; top: 110px; }
.gc-product-main { margin: 0; background: #fff; aspect-ratio: 1; }
.gc-product-main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.gc-product-noimg { aspect-ratio: 1; }
.gc-product-thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gc-product-thumbs button { width: 72px; height: 72px; padding: 4px; background: #fff; border: 2px solid transparent; cursor: pointer; }
.gc-product-thumbs button[aria-pressed="true"] { border-color: var(--brown); }
.gc-product-thumbs button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.gc-product-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gc-product-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 6px; }
.gc-product-desc { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-strong); }

/* Forms on paper: underlined fields like a printed order form. */
.gc-line--dark span { color: var(--muted); }
.gc-line--dark span em { font-style: normal; font-family: var(--sans); font-size: 0.85rem; }
.gc-line--dark input, .gc-line--dark textarea {
    width: 100%; background: transparent; border: 0; border-bottom: 2px solid var(--line-strong);
    color: var(--ink); font: 1.1rem var(--sans); padding: 8px 2px; border-radius: 0; resize: vertical;
}
.gc-line--dark input:focus, .gc-line--dark textarea:focus { outline: none; border-bottom-color: var(--orange); }
.gc-line--dark input:focus-visible, .gc-line--dark textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.gc-line--dark input[aria-invalid="true"] { border-bottom-color: #a3321f; }
.gc-line--dark input[readonly], .gc-line--dark textarea[readonly] { color: var(--muted); border-bottom-style: dotted; }
.gc-buy { margin-top: 10px; display: grid; gap: 22px; }
.gc-choices { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gc-choices legend { width: 100%; margin-bottom: 8px; padding: 0; font-family: var(--serif); font-style: italic; color: var(--muted); }
.gc-choices label { position: relative; cursor: pointer; }
.gc-choices input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gc-choices label > span {
    display: inline-block; padding: 9px 16px; border: 2px solid var(--line-strong); background: #fffdf8;
    font-weight: 600; color: var(--brown); border-radius: var(--radius);
}
.gc-choices label > span em { font-style: normal; font-weight: 400; color: var(--muted); }
.gc-choices input:checked + span { border-color: var(--brown); background: var(--brown); color: #fff; }
.gc-choices input:checked + span em { color: rgba(255, 255, 255, .8); }
.gc-choices input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.gc-choices label.is-out > span { text-decoration: line-through; opacity: .55; cursor: not-allowed; }
.gc-buy-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; }
.gc-qty span { display: block; font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 0.95rem; margin-bottom: 2px; }
.gc-qty input { width: 84px; min-height: 48px; padding: 8px 10px; font: 1.1rem var(--sans); border: 2px solid var(--line-strong); background: #fffdf8; border-radius: var(--radius); }
.gc-qty input:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--brown); }
.gc-buy-note { margin: 0; color: var(--muted); font-size: 0.95rem; }
.gc-soldout { padding: 14px 0; border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); font-weight: 600; color: var(--brown); }
.gc-form-error { margin: 0 0 18px; padding: 12px 16px; background: #fbe5df; color: #7a2414; font-weight: 600; border-top: 2px solid #a3321f; }
.gc-field-error { display: block; margin-top: 6px; color: #a3321f; font-size: 0.92rem; font-weight: 600; }
.gc-field-error[hidden] { display: none; }
.gc-testnote { display: inline-block; margin: 0 0 22px; padding: 6px 12px; background: var(--sky-soft); color: var(--blue-deep); font-size: 0.92rem; font-weight: 600; border: 1px dashed var(--blue); }
/* Dev site only: the strip above the header and the one-tap test card button (includes/dev_cards.php). */
.gc-devstrip { margin: 0; padding: 4px 16px; background: var(--sky-soft); color: var(--blue-deep); font-size: 0.85rem; font-weight: 600; text-align: center; border-bottom: 1px dashed var(--blue); }
.gc-testrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 22px; }
.gc-testrow .gc-testnote { margin: 0; }
.gc-btn.gc-testpay { margin: 0 0 16px; }
.gc-testrow .gc-btn.gc-testpay { margin: 0; }
.gc-testpay.is-busy, .gc-testpay:disabled { opacity: .6; cursor: progress; }

/* Till receipt: off-white slip, tabular figures, zigzag torn bottom edge. */
.gc-receipt {
    position: relative; max-width: 640px; margin: 10px 0 20px; padding: 26px 28px 30px; background: #fffef9;
    box-shadow: 0 1px 2px rgba(42, 25, 16, .08), 0 14px 32px rgba(42, 25, 16, .10);
    font-variant-numeric: tabular-nums;
}
.gc-receipt::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px;
    background: linear-gradient(135deg, #fffef9 50%, transparent 50%) 0 0 / 14px 10px repeat-x,
                linear-gradient(225deg, #fffef9 50%, transparent 50%) 0 0 / 14px 10px repeat-x;
}
.gc-receipt-head {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 14px; padding-bottom: 12px;
    font-family: var(--serif); font-size: 1.3rem; color: var(--brown); border-bottom: 2px dashed var(--line-strong);
}
.gc-receipt-head span { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); }
.gc-receipt-lines { width: 100%; border-collapse: collapse; }
.gc-receipt-lines thead th { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); text-align: left; padding: 0 6px 8px 0; font-size: 0.92rem; }
.gc-receipt-lines tbody th, .gc-receipt-lines td { padding: 12px 6px 12px 0; border-top: 1px dotted var(--line-strong); vertical-align: top; text-align: left; }
.gc-receipt-lines tbody th { font-weight: 600; }
.gc-receipt-lines tbody th a { color: var(--brown); }
.gc-receipt-lines .num { text-align: right; white-space: nowrap; }
.gc-receipt-lines input { width: 62px; padding: 5px 6px; font: 1rem var(--sans); border: 1px solid var(--line-strong); background: #fff; border-radius: var(--radius); }
.gc-receipt .opt { display: block; font-weight: 400; font-size: 0.88rem; color: var(--muted); }
.gc-receipt-x { width: 32px; height: 32px; border: 0; background: transparent; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; border-radius: 50%; }
.gc-receipt-x:hover { color: #a3321f; background: #fbe5df; }
.gc-receipt-totals { margin: 12px 0 0; }
.gc-receipt-totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.gc-receipt-totals dt { min-width: 0; }
.gc-receipt-totals dd { margin: 0; white-space: nowrap; text-align: right; }
.gc-receipt-totals .rule { margin-top: 6px; padding-top: 10px; border-top: 1px dotted var(--line-strong); }
.gc-receipt-totals .muted { color: var(--muted); font-style: italic; }
.gc-receipt-total {
    display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 0; padding-top: 12px;
    border-top: 3px double var(--brown); font-family: var(--serif); font-size: 1.25rem; color: var(--brown);
}
.gc-receipt-total strong { font-size: 1.7rem; font-weight: 600; }
.gc-receipt-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 22px; }
.gc-receipt-foot { margin: 18px 0 0; font-size: 0.9rem; color: var(--muted); text-align: center; }
.gc-receipt--side { max-width: none; margin-top: 0; }
@media (max-width: 560px) {
    .gc-receipt { padding: 20px 16px 26px; }
    .gc-receipt-lines thead { display: none; }
    .gc-receipt-actions .gc-btn { flex: 1 1 auto; }
}

/* Checkout: numbered steps like a paper order form; each number sits in the coffee ring. */
.gc-checkout { padding-top: clamp(48px, 5vw, 72px); }
.gc-checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gc-checkout-side { position: sticky; top: 110px; }
.gc-co-step { border: 0; margin: 0 0 40px; padding: 0; min-width: 0; }
.gc-co-step legend { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0 0 10px; margin-bottom: 18px; font-family: var(--serif); font-size: 1.5rem; color: var(--brown); border-bottom: 1px solid var(--brown); }
.gc-co-step legend span {
    display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; position: relative;
    font-size: 1.15rem; color: var(--brown); isolation: isolate;
}
.gc-co-step legend span::before {
    content: ""; position: absolute; inset: -4px; z-index: -1; background: rgba(255, 143, 28, .55);
    -webkit-mask: url("/assets/img/motif-ring.png") center / contain no-repeat; mask: url("/assets/img/motif-ring.png") center / contain no-repeat;
}
.gc-co-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; }
.gc-co-fields .gc-co-note { grid-column: 1 / -1; }
.gc-co-address { margin-top: 26px; }
.gc-co-address[hidden] { display: none; }
.gc-co-methods { display: grid; gap: 10px; }
.gc-co-method {
    position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline;
    padding: 14px 16px; border: 2px solid var(--line); background: #fffdf8; cursor: pointer; border-radius: var(--radius);
}
.gc-co-method:hover { border-color: var(--line-strong); }
.gc-co-method:has(input:checked) { border-color: var(--brown); background: var(--cream); }
.gc-co-method input { margin: 0; accent-color: var(--brown); width: 18px; height: 18px; align-self: center; }
.gc-co-method input:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.gc-co-method .name { font-weight: 700; color: var(--brown); }
.gc-co-method .fee { font-family: var(--serif); font-size: 1.1rem; white-space: nowrap; }
.gc-co-method .when { grid-column: 2 / -1; color: var(--muted); font-size: 0.92rem; }
.gc-co-method input:disabled ~ span { opacity: .55; }
#gc-payment-element { min-height: 60px; }
.gc-co-go { width: 100%; margin-top: 18px; }
.gc-co-go .busy { display: none; }
.gc-co-go.is-busy { cursor: progress; opacity: .85; }
.gc-co-go.is-busy .idle { display: none; }
.gc-co-go.is-busy .busy { display: inline; }
.gc-checkout-grid.is-busy .gc-checkout-main { opacity: .7; pointer-events: none; }
@media (max-width: 960px) {
    .gc-checkout-grid { grid-template-columns: 1fr; }
    .gc-checkout-side { position: static; }
}
@media (max-width: 560px) { .gc-co-fields { grid-template-columns: 1fr; } }

/* Order page */
.gc-orderpage { padding-top: clamp(48px, 5vw, 72px); }
.gc-order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gc-order-grid h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.6em; }
.gc-downloads { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 960px) { .gc-order-grid { grid-template-columns: 1fr; } }

/* Gift vouchers: a brown card with the stain logo stamped across one corner. */
.gc-voucherpage { padding-top: clamp(48px, 5vw, 72px); }
.gc-voucher-card {
    position: relative; max-width: 420px; aspect-ratio: 1.6; margin-top: 30px; padding: 26px 28px; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end; background: var(--brown); color: #fff;
    border-radius: var(--radius-lg); box-shadow: 0 20px 40px rgba(42, 25, 16, .22); transform: rotate(-3deg);
}
.gc-voucher-card img { position: absolute; right: -40px; top: -40px; width: 64%; height: auto; background: var(--paper); border-radius: 50%; padding: 10px; }
.gc-voucher-card .amt { position: relative; font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; font-variation-settings: "opsz" 144; }
.gc-voucher-card .lbl { position: relative; font-family: var(--serif); font-style: italic; color: rgba(255, 255, 255, .8); }
.gc-voucher-form .gc-line--dark textarea { min-height: 80px; }
.gc-amount-custom { flex: 1 1 100%; margin-top: 8px; }
.gc-amount-custom input { max-width: 180px; }
.gc-choices .gc-amount-custom > span { display: block; padding: 0; border: 0; background: none; font-weight: 400; color: var(--muted); border-radius: 0; }
.gc-amounts:not(:has(input[value="custom"]:checked)) .gc-amount-custom { display: none; }
@media (max-width: 860px) {
    .gc-shop-grid, .gc-product-grid { grid-template-columns: 1fr; }
    .gc-aisles, .gc-product-photos { position: static; }
    .gc-aisles > ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
    .gc-aisles li { border: 0; }
    .gc-aisles ul ul { display: none; }
    .gc-voucher-card { transform: none; }
}
@media (max-width: 480px) { .gc-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; } .gc-shelf-name { font-size: 1rem; } }

/* ---- Tour booking ------------------------------------------------------------
   Dates are listed on the ticket stub like a timetable; the booking form is the
   checkout's order-form steps; the booking itself is a printed ticket. */
.gc-stub-dates { width: 100%; margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line-strong); text-align: left; }
.gc-stub-dates .admit { text-align: center; margin-bottom: 6px; }
.gc-stub-dates ul { list-style: none; margin: 0; padding: 0; }
.gc-stub-dates li > a, .gc-stub-dates li > span { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 2px; border-bottom: 1px dotted var(--line-strong); color: var(--ink); text-decoration: none; }
.gc-stub-dates li > a:hover { background: var(--cream); }
.gc-stub-dates .day strong { color: var(--brown); }
.gc-stub-dates .left { font-weight: 700; color: var(--blue); white-space: nowrap; }
.gc-stub-dates li:not(.is-open) > span { color: var(--muted); }
.gc-stub-dates li:not(.is-open) .left { color: var(--muted); font-weight: 400; font-style: italic; font-family: var(--serif); }

.gc-datepick { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.gc-datepick li > a, .gc-datepick li > span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 10px 16px; background: #fffdf8; border: 2px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.gc-datepick li > a:hover { border-color: var(--brown); }
.gc-datepick li > a:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.gc-datepick .time { font-weight: 700; color: var(--brown); }
.gc-datepick .left { font-size: 0.9rem; color: var(--blue); font-weight: 600; }
.gc-datepick li:not(.is-open) > span { opacity: .6; }
.gc-datepick li:not(.is-open) .left { color: var(--muted); }

.gc-tourbook-head { display: flex; align-items: center; gap: 24px; margin-bottom: 22px; }
.gc-tourbook-head h1 { margin: 0 0 4px; }
.gc-tourbook-head .gc-lede a { margin-left: 8px; font-size: 1rem; }
.gc-seatsleft { margin-left: 6px; font-family: var(--serif); font-style: italic; color: var(--blue); }
.gc-rates { display: grid; gap: 10px; }
.gc-rate { display: grid; grid-template-columns: minmax(0, 1fr) auto 84px; gap: 4px 16px; align-items: center; padding: 12px 16px; background: #fffdf8; border: 2px solid var(--line); border-radius: var(--radius); }
.gc-rate .name { font-weight: 700; color: var(--brown); }
.gc-rate .name em { display: block; font-weight: 400; font-style: italic; font-family: var(--serif); color: var(--muted); }
.gc-rate .price { font-family: var(--serif); font-size: 1.15rem; }
.gc-rate input, .gc-addon input[type="number"] { width: 72px; min-height: 42px; padding: 6px 8px; font: 1.05rem var(--sans); border: 2px solid var(--line-strong); background: #fff; border-radius: var(--radius); }
.gc-rate input:focus, .gc-addon input[type="number"]:focus { outline: 3px solid var(--orange); outline-offset: 1px; }
.gc-private { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; background: var(--lilac-soft); border-radius: var(--radius); cursor: pointer; }
.gc-private input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brown); }
.gc-addon { grid-template-columns: 76px minmax(0, 1fr) auto; }
.gc-addon input[type="checkbox"] { justify-self: start; }
.gc-addon .name { cursor: pointer; }
.gc-guestnames { margin-top: 26px; }
.gc-guestnames .gc-buy-note { margin-bottom: 10px; }

.gc-ticket--booking { grid-template-columns: minmax(0, 1fr) 220px; margin: 28px 0 10px; }
.gc-ticket--booking h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.gc-ticket--booking .gc-ticket-stub { gap: 6px; }
.gc-ticket--booking .gc-ticket-stub::before, .gc-ticket--booking .gc-ticket-stub::after { background: var(--paper); }
.gc-ticket--booking.is-cancelled { opacity: .6; }
.gc-ticket--booking.is-cancelled h2 { text-decoration: line-through; }
.gc-bookingpage .gc-order-grid { margin-top: 10px; }
.gc-copyline input { width: 100%; max-width: 560px; padding: 8px 10px; font: 0.92rem var(--sans); color: var(--muted); border: 1px dashed var(--line-strong); background: #fffdf8; border-radius: var(--radius); }
.gc-linkbtn { padding: 0; border: 0; background: none; color: #a3321f; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.gc-linkbtn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.gc-cancelbooking { margin-top: 18px; }
.gc-movebooking select { min-height: 46px; padding: 8px 10px; font: 1rem var(--sans); border: 2px solid var(--line-strong); background: #fffdf8; border-radius: var(--radius); max-width: 100%; }
@media (max-width: 680px) { .gc-ticket--booking { grid-template-columns: 1fr; } .gc-tourbook-head { align-items: flex-start; } }

/* Waiver: the text on a long sheet of paper; the signature on a line. */
.gc-waiver-wrap { max-width: 820px; }
.gc-waiver-guests { list-style: none; margin: 18px 0 26px; padding: 0; border-top: 1px solid var(--brown); }
.gc-waiver-guests li { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px dotted var(--line-strong); }
.gc-waiver-guests li span { color: var(--muted); font-size: 0.9rem; }
.gc-waiver-guests li strong { margin-left: auto; color: var(--muted); font-weight: 600; }
.gc-waiver-guests li.is-signed strong { color: #2f6a22; }
.gc-waiver-text { max-height: 420px; overflow: auto; padding: 22px 26px; background: #fffef9; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 26px; max-width: none; }
.gc-waiver-text:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.gc-waiver-ver { color: var(--muted); font-size: 0.85rem; font-style: italic; }
.gc-waiver-text h3 { margin: 1.4em 0 0.4em; font-size: 1.05rem; color: var(--brown); }
.gc-waiver-date { margin: 0; }
.gc-waiver-date strong { display: block; padding: 8px 0 6px; border-bottom: 1px dotted var(--line-strong); font-weight: 600; }
.gc-waiver-minors { margin: 18px 0; }
.gc-waiver-minors label[hidden] { display: none; }
.gc-waiver-relation { max-width: 360px; margin-top: 14px; }
.gc-waiver-relation[hidden] { display: none; }
.gc-sigpad canvas { display: block; width: 100%; max-width: 600px; height: auto; aspect-ratio: 600 / 160; background: #fffef9; border-bottom: 2px solid var(--brown); touch-action: none; cursor: crosshair; }
.gc-agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.gc-agree input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brown); }

/* ---- Tour booking widget (tour page side panel) ----------------------------
   The old site's booking panel, set on the ticket stub: a small desk calendar
   where the chosen date sits in the logo's coffee ring, guest steppers, then
   the day's times as tear-off slips. */
.gc-tw { width: 100%; margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line-strong); text-align: left; }
.gc-tw-top { margin: 0 0 8px; text-align: right; font-size: 0.92rem; }
.gc-tw-top a { font-family: var(--serif); font-style: italic; color: var(--brown); }
.gc-tw-calhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.gc-tw-calhead span { font-family: var(--serif); font-size: 1.15rem; color: var(--brown); }
.gc-tw-calhead button, .gc-tw-dayhead button { width: 36px; height: 36px; border: 0; background: transparent; color: var(--brown); font-size: 1.6rem; line-height: 1; cursor: pointer; border-radius: var(--radius); }
.gc-tw-calhead button:hover:not(:disabled), .gc-tw-dayhead button:hover:not(:disabled) { background: var(--cream); }
.gc-tw-calhead button:disabled, .gc-tw-dayhead button:disabled { opacity: .25; cursor: default; }
.gc-tw-cal table { width: 100%; border-collapse: collapse; table-layout: fixed; border-top: 2px solid var(--brown); }
.gc-tw-cal th { padding: 6px 0 4px; font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); font-size: 0.85rem; text-align: center; }
.gc-tw-cal td { padding: 2px 0; text-align: center; }
.gc-tw-cal td > span { display: inline-block; width: 34px; line-height: 34px; color: rgba(110, 90, 78, .55); font-size: 0.92rem; }
.gc-tw-cal td > span.is-past { color: rgba(110, 90, 78, .3); }
.gc-tw-cal td button {
    position: relative; width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; isolation: isolate;
    font: 700 0.98rem var(--sans); color: var(--blue); border-radius: var(--radius);
}
.gc-tw-cal td button.is-open { text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.gc-tw-cal td button.is-full { color: var(--muted); font-weight: 400; text-decoration: line-through; }
.gc-tw-cal td button.is-selected { color: var(--ink); text-decoration: none; }
.gc-tw-cal td button.is-selected::before {
    content: ""; position: absolute; inset: -3px; z-index: -1; background: rgba(255, 143, 28, .8); transform: rotate(-20deg);
    -webkit-mask: url("/assets/img/motif-ring.png") center / contain no-repeat; mask: url("/assets/img/motif-ring.png") center / contain no-repeat;
}
.gc-tw-cal td button:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
.gc-tw-key { display: flex; gap: 14px; justify-content: center; margin: 6px 0 0; font-size: 0.78rem; color: var(--muted); }
.gc-tw-key .k-sel { color: var(--orange-deep); font-weight: 700; }
.gc-tw-key .k-open { color: var(--blue); font-weight: 700; text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 2px; }
.gc-tw-key .k-none { color: rgba(110, 90, 78, .55); }
.gc-tw-private { display: flex; gap: 10px; align-items: center; margin: 14px 0 4px; padding: 10px 12px; background: var(--lilac-soft); border-radius: var(--radius); cursor: pointer; font-weight: 600; color: var(--brown); }
.gc-tw-private input { width: 18px; height: 18px; accent-color: var(--brown); }
.gc-tw-private em { font-family: var(--serif); font-weight: 400; margin-left: 4px; }
.gc-tw-rates { margin-top: 8px; }
.gc-tw-rate { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px dotted var(--line-strong); }
.gc-tw-rate label { font-weight: 600; color: var(--ink); }
.gc-tw-step { display: inline-flex; align-items: stretch; border: 2px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.gc-tw-step button { width: 32px; border: 0; background: transparent; color: var(--blue); font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.gc-tw-step button:hover { background: var(--sky-soft); }
.gc-tw-step input { width: 38px; border: 0; text-align: center; font: 700 1rem var(--sans); color: var(--ink); background: transparent; -moz-appearance: textfield; appearance: textfield; }
.gc-tw-step input::-webkit-outer-spin-button, .gc-tw-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gc-tw-step:focus-within { outline: 3px solid var(--orange); outline-offset: 1px; }
.gc-tw-each { font-family: var(--serif); color: var(--muted); min-width: 52px; text-align: right; }
.gc-tw-day { margin-top: 14px; }
.gc-tw-dayhead { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.gc-tw-dayhead p { margin: 0; text-align: center; font-family: var(--serif); font-size: 1.1rem; color: var(--brown); line-height: 1.2; }
.gc-tw-dayhead p span { display: block; font-size: 0.9rem; font-style: italic; color: var(--muted); }
.gc-tw-slot {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; width: 100%; margin-top: 8px; padding: 12px 40px 12px 16px;
    border: 0; background: var(--orange); color: var(--ink); text-align: left; cursor: pointer; border-radius: var(--radius); font: inherit;
}
.gc-tw-slot::after { content: "\203A"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 1.8rem; line-height: 1; }
.gc-tw-slot strong { font-size: 1.15rem; }
.gc-tw-slot span { font-size: 0.9rem; }
.gc-tw-slot:hover { background: var(--orange-deep); }
.gc-tw-slot:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.gc-tw-slot.is-short { background: var(--cream); color: var(--muted); }
.gc-tw-slot.is-off { background: var(--cream); color: var(--muted); cursor: default; }
.gc-tw-slot.is-off::after { content: none; }
.gc-tw-msg { margin: 10px 0 0; color: #a3321f; font-weight: 600; font-size: 0.92rem; }
/* Under the steppers (per-booking limit, children take no seat), and the "ask us" note for a date nobody has booked. */
.gc-tw-note { margin: 8px 0 0; font-size: 0.88rem; color: var(--muted); }
.gc-tw-ask { margin: 12px 0 0; padding-top: 10px; border-top: 1px dotted var(--line-strong); font-size: 0.92rem; color: var(--ink); }
.gc-tw-ask a { font-weight: 700; overflow-wrap: anywhere; }
.gc-tw-ask--list { font-size: 0.88rem; }
.gc-tw-list { list-style: none; margin: 8px 0 0; padding: 0; }
.gc-tw-list li > button, .gc-tw-list li > span { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; padding: 9px 2px; border: 0; border-bottom: 1px dotted var(--line-strong); background: transparent; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.gc-tw-list li > button:hover { background: var(--cream); }
.gc-tw-list .day strong { color: var(--brown); }
.gc-tw-list .left { font-weight: 700; color: var(--blue); white-space: nowrap; }
.gc-tw-list li:not(.is-open) > span { color: var(--muted); cursor: default; }

/* Getting there and gifts, in the tour's main column. */
.gc-directions-addr { padding: 12px 0; border-top: 1px solid var(--brown); border-bottom: 1px dotted var(--line-strong); }
.gc-directions-addr a { margin-left: 8px; font-weight: 700; }
.gc-directions-steps { counter-reset: step; list-style: none; padding: 0; }
.gc-directions-steps li { counter-increment: step; position: relative; padding: 8px 0 8px 48px; min-height: 40px; }
.gc-directions-steps li::before {
    content: counter(step); position: absolute; left: 0; top: 4px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 1.15rem; color: var(--brown);
}
.gc-directions-steps li::after {
    content: ""; position: absolute; left: -2px; top: 2px; width: 40px; height: 40px; background: rgba(255, 143, 28, .55); transform: rotate(var(--rot, -15deg));
    -webkit-mask: url("/assets/img/motif-ring.png") center / contain no-repeat; mask: url("/assets/img/motif-ring.png") center / contain no-repeat;
}
.gc-directions-steps li:nth-child(even)::after { --rot: 70deg; }
.gc-gift-row p { margin: 0 0 12px; max-width: 40em; }

/* Booking band: the widget gets its own full-width section under the tour's
   hero (calendar | who is coming | the day's times), so nothing hides below
   the fold the way it did in the sticky side panel. */
.gc-book-band { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.gc-book-band-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.gc-book-band-head h2 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.gc-book-band-head a { font-family: var(--serif); font-style: italic; color: var(--brown); }
.gc-tw--band {
    display: grid; grid-template-columns: minmax(260px, 1.05fr) minmax(240px, 1fr) minmax(240px, 1fr); gap: clamp(20px, 3vw, 40px);
    margin: 0; padding: 26px clamp(18px, 3vw, 32px); border-top: 6px solid var(--brown); background: #fffdf8;
    box-shadow: 0 14px 34px rgba(42, 25, 16, .12); scroll-margin-top: 180px;
}
.gc-tw--band .gc-tw-col--who { padding: 0 clamp(16px, 2.5vw, 32px); border-left: 2px dashed var(--line-strong); border-right: 2px dashed var(--line-strong); }
.gc-tw-label { margin: 0 0 4px; font-family: var(--serif); font-size: 1.15rem; color: var(--brown); }
.gc-tw--band .gc-tw-private { margin-top: 16px; }
.gc-tw--band .gc-tw-day { margin-top: 0; }
.gc-tw--band .gc-tw-list { margin-top: 0; }
@media (max-width: 960px) {
    .gc-tw--band { grid-template-columns: 1fr 1fr; }
    .gc-tw--band .gc-tw-col--who { border-right: 0; padding-right: 0; }
    .gc-tw--band .gc-tw-col--day { grid-column: 1 / -1; border-top: 2px dashed var(--line-strong); padding-top: 18px; }
}
@media (max-width: 640px) {
    .gc-tw--band { grid-template-columns: 1fr; }
    .gc-tw--band .gc-tw-col--who { padding: 18px 0 0; border: 0; border-top: 2px dashed var(--line-strong); }
}
/* Room between the booking band and the tour text under it. */
.gc-book-band + .gc-tour-body { padding-top: clamp(56px, 7vw, 96px); }

/* ---- Event tickets -----------------------------------------------------------
   The event page's ticket band reuses the booking band; each ticket type is a
   line on a price board. Bought tickets are printed tickets with the QR on the
   tear-off stub. */
.gc-ticket-band { padding-top: clamp(40px, 5vw, 64px); }
.gc-tix { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 3vw, 40px); padding: 26px clamp(18px, 3vw, 32px); border-top: 6px solid var(--brown); background: #fffdf8; box-shadow: 0 14px 34px rgba(42, 25, 16, .12); scroll-margin-top: 180px; }
.gc-tix-types { list-style: none; margin: 0; padding: 0; }
.gc-tix-type { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 64px; gap: 6px 18px; align-items: center; padding: 14px 0; border-bottom: 1px dotted var(--line-strong); }
.gc-tix-type:first-child { padding-top: 0; }
.gc-tix-name label { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.gc-tix-name p { margin: 2px 0 0; color: var(--muted); font-size: 0.92rem; }
.gc-tix-price { font-family: var(--serif); font-size: 1.25rem; color: var(--brown); white-space: nowrap; }
.gc-tix-left { font-size: 0.85rem; font-weight: 700; color: var(--blue); white-space: nowrap; }
.gc-tix-off { font-family: var(--serif); font-style: italic; color: var(--muted); white-space: nowrap; }
.gc-tix-type:not(.is-on_sale) .gc-tix-name, .gc-tix-type:not(.is-on_sale) .gc-tix-price { opacity: .55; }
.gc-tix-go { display: flex; flex-direction: column; gap: 12px; padding-left: clamp(16px, 2.5vw, 32px); border-left: 2px dashed var(--line-strong); }
.gc-tix-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding-bottom: 10px; border-bottom: 3px double var(--brown); font-family: var(--serif); color: var(--brown); }
.gc-tix-total strong { font-size: 1.15rem; font-weight: 600; text-align: right; }
.gc-tix-go .gc-btn { width: 100%; }
.gc-tix-go .gc-buy-note { font-size: 0.88rem; }
@media (max-width: 860px) {
    .gc-tix { grid-template-columns: 1fr; }
    .gc-tix-go { padding: 18px 0 0; border-left: 0; border-top: 2px dashed var(--line-strong); }
}
@media (max-width: 520px) { .gc-tix-type { grid-template-columns: minmax(0, 1fr) auto; } .gc-tix-left { grid-column: 2; text-align: right; } }
.gc-rate.is-off { opacity: .55; }

.gc-tix-list { margin-top: 26px; }
.gc-tix-ticket { grid-template-columns: minmax(0, 1fr) 240px; }
.gc-tix-ticket.is-used { opacity: .65; }
.gc-tix-holder { margin-top: 14px; max-width: 360px; }
.gc-tix-qr { gap: 6px; }
.gc-tix-qr .qr { width: 180px; height: 180px; padding: 8px; background: #fff; }
.gc-tix-qr .qr svg { display: block; width: 100%; height: 100%; }
.gc-tix-qr .code { margin: 0; font: 700 1.15rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.08em; color: var(--ink); }
/* "Add to Apple Wallet": a black button with Apple's wording (Apple's badge artwork can replace it; same size). */
.gc-wallet-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 8px 14px; min-height: 40px; background: #000; color: #fff; border-radius: 8px; font: 600 .9rem/1.1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-decoration: none; }
.gc-wallet-btn:hover, .gc-wallet-btn:focus-visible { background: #000; color: #fff; text-decoration: underline; }
.gc-wallet-btn:focus-visible { outline: 3px solid var(--orange, #ff8f1c); outline-offset: 2px; }
.gc-wallet-btn svg { flex: none; width: 22px; height: 18px; }
.gc-tix-state { display: inline-block; margin: 0 0 18px; padding: 8px 14px; font-weight: 700; border-radius: var(--radius); }
.gc-tix-state.is-ok { background: #e6efe0; color: #2f4a22; }
.gc-tix-state.is-off { background: #fbe5df; color: #7a2414; }
@media (max-width: 680px) { .gc-tix-ticket { grid-template-columns: 1fr; } }

/* ---- Customer account ---------------------------------------------------------- */
.gc-account { padding-top: clamp(48px, 5vw, 72px); }
.gc-account-wrap { max-width: 760px; }
.gc-account-form { max-width: 640px; margin-top: 18px; }
.gc-account-form .gc-buy-row a { font-weight: 600; }
.gc-account-alt { margin-top: 28px; padding-top: 16px; border-top: 1px dotted var(--line-strong); color: var(--muted); }
.gc-account-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.gc-account-head h1 { margin: 0; }
.gc-account-verify { display: block; margin: 18px 0 0; }
.gc-account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 24px; }
.gc-account-grid h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 0; }
.gc-account-grid h2 + p, .gc-account-grid ul + h2 { margin-top: 0; }
.gc-account-grid > div > h2:not(:first-child) { margin-top: 40px; }
.gc-account-orders { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--brown); }
.gc-account-orders li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px dotted var(--line-strong); }
.gc-account-orders .kind { font-family: var(--serif); font-style: italic; color: var(--muted); }
.gc-account-orders .what a { font-weight: 700; }
.gc-account-orders .what > span { display: block; font-size: 0.9rem; color: var(--muted); }
.gc-account-orders .amt { font-variant-numeric: tabular-nums; }
.gc-account-card p { margin: 0 0 12px; }
@media (max-width: 860px) { .gc-account-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .gc-account-orders li { grid-template-columns: minmax(0, 1fr) auto; } .gc-account-orders .kind { grid-column: 1 / -1; } }


/* ---- Jar & Bean member pages (/beans/join/, /account/beans/, /account/beans/order/)
   Each coffee is its jar label (Roaster, Origin, Roast date rows), stuck on
   slightly askew like the real jars; the order total is the till receipt;
   the club rules read as a dictionary entry. */
.gc-bn-join [hidden], .gc-bn-home [hidden], .gc-bn-orderpage [hidden] { display: none !important; }
.gc-bn-join h1, .gc-bn-home h1 { margin-bottom: 12px; }
.gc-bn-legend { display: flex; align-items: center; gap: 12px; padding: 0 0 10px; margin: 0 0 18px; font-size: 1.5rem; color: var(--brown); border-bottom: 1px solid var(--brown); }
.gc-bn-legend span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; position: relative; font-size: 1.15rem; isolation: isolate; }
.gc-bn-legend span::before {
    content: ""; position: absolute; inset: -4px; z-index: -1; background: rgba(255, 143, 28, .55);
    -webkit-mask: url("/assets/img/motif-ring.png") center / contain no-repeat; mask: url("/assets/img/motif-ring.png") center / contain no-repeat;
}
.gc-bn-stage:not(.is-current) .gc-bn-legend { color: var(--muted); border-bottom-color: var(--line-strong); }
.gc-bn-stage:not(.is-current) .gc-bn-legend span::before { background: rgba(98, 59, 42, .18); }
.gc-bn-stage { margin-bottom: 30px; }
.gc-bn-done { margin: 0; color: var(--ink); }
.gc-bn-change { margin-left: 10px; font-family: var(--serif); font-style: italic; }
.gc-bn-inline { display: inline; margin: 0; }
.gc-bn-signin { margin: 0 0 18px; padding-top: 0; border-top: 0; }
.gc-bn-form .gc-buy-row { margin-top: 22px; }
.gc-bn-form .gc-agree + .gc-field-error { margin-top: -4px; }
.gc-linkbtn--blue { color: var(--blue); }

/* How it works, set as a dictionary entry: italic term, plain definition. */
.gc-bn-rules { margin: 0 0 22px; border-top: 3px double var(--brown); }
.gc-bn-rules > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px dotted var(--line-strong); }
.gc-bn-rules dt { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--brown); }
.gc-bn-rules dd { margin: 0; }
@media (max-width: 560px) { .gc-bn-rules > div { grid-template-columns: 1fr; gap: 2px; } }

.gc-bn-payways { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(22px, 4vw, 44px); align-items: start; }
.gc-bn-payway h3 { margin-bottom: 6px; }
.gc-bn-payway--alt { padding-left: clamp(18px, 3vw, 36px); border-left: 1px dashed var(--line-strong); }
.gc-bn-element { margin: 14px 0 4px; padding: 14px; background: #fffdf8; border: 2px solid var(--line); border-radius: var(--radius); }
.gc-bn-cardform .gc-testnote { margin-bottom: 14px; }
.gc-bn-cardform .gc-buy-note { margin-top: 12px; font-size: 0.88rem; }
@media (max-width: 760px) { .gc-bn-payways { grid-template-columns: 1fr; } .gc-bn-payway--alt { padding-left: 0; border-left: 0; padding-top: 22px; border-top: 1px dashed var(--line-strong); } }

/* Jar labels used flat on the page (not stuck on a photo). */
.gc-bn-rulelabel, .gc-bn-jarcount { position: relative; left: auto; top: auto; width: auto; transform: rotate(-1.5deg); margin: 0 0 28px; }
.gc-bn-jarcount { transform: rotate(1deg); }
.gc-bn-jarnote { margin: 8px 0 0; font-size: 0.85rem; color: var(--muted); }

/* ---- Order sheet ---- */
.gc-bn-home > .gc-wrap + .gc-wrap { margin-top: 26px; }
.gc-bn-welcome { margin: 0 0 22px; padding: 14px 18px; background: var(--lilac-soft); border-top: 2px solid var(--brown); }
.gc-bn-welcome p { margin: 0; }
.gc-bn-sheethead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; }
.gc-bn-sheethead h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.gc-bn-cutoff { margin: 0; font-family: var(--serif); font-size: 1.1rem; color: var(--brown); }
.gc-bn-cutoff strong { font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.gc-bn-cutoff span { font-style: italic; color: var(--muted); font-size: 0.95rem; }
.gc-bn-sheet > .gc-checkout-main > .gc-buy-note { margin: 10px 0 18px; }
.gc-bn-jars { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 34px 26px; margin: 8px 0 44px; }
.gc-bn-jar { position: relative; left: auto; top: auto; width: auto; margin: 0; display: flex; flex-direction: column; transform: rotate(-1.2deg); box-shadow: 0 6px 16px rgba(42, 25, 16, .12); }
.gc-bn-jar:nth-child(even) { transform: rotate(1deg); }
.gc-bn-jar h3 { font-size: 1.25rem; margin: 0; line-height: 1.15; }
.gc-bn-jar .notes { display: block; }
.gc-bn-jar .notes dd { text-align: left; font-family: var(--serif); font-style: italic; font-weight: 400; margin-top: 2px; }
.gc-bn-price { margin: 10px 0 8px; color: var(--muted); font-size: 0.92rem; }
.gc-bn-price span { font-family: var(--serif); font-size: 1.6rem; color: var(--brown); margin-right: 2px; }
.gc-bn-qty { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--brown); margin-top: auto; }
.gc-bn-qty label { font-family: var(--serif); font-style: italic; color: var(--muted); }
.gc-bn-qty .gc-tw-step button { width: 40px; min-height: 42px; }
.gc-bn-qty .gc-tw-step input { width: 52px; font-size: 1.1rem; }
.gc-bn-limit { margin: 8px 0 0; font-size: 0.85rem; color: var(--blue-deep); }
.gc-bn-about { display: inline-block; margin-top: 10px; font-size: 0.9rem; font-weight: 600; }
.gc-bn-vouchers { display: grid; gap: 14px; }
.gc-bn-warn { margin: 14px 0 0; padding: 10px 12px; background: #fbe5df; color: #7a2414; font-weight: 600; font-size: 0.95rem; }
/* A repeat order on the receipt: a rubber stamp, then plain words on what happens and how to change it. */
.gc-bn-repeat-tag { margin: 0 0 10px; color: var(--muted); font-size: 0.9rem; }
.gc-bn-repeat-tag span { display: inline-block; margin-right: 6px; padding: 2px 10px; border: 2px solid var(--orange); border-radius: 3px; outline: 1px solid var(--orange); outline-offset: 2px;
    font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--orange); transform: rotate(-2deg); }
.gc-bn-repeat-note { margin: 0 0 14px; font-size: 0.92rem; }
.gc-bn-repeat-note p { margin: 0 0 6px; }
div.gc-bn-repeat-note { padding: 10px 12px; background: var(--lilac-soft); }
.gc-bn-mailpref { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 4px 0 6px; }
.gc-bn-mailpref .gc-buy-note { flex-basis: 100%; margin: 0; font-size: 0.85rem; }
.gc-bn-sheet .gc-btn-ghost.gc-co-go { margin-top: 10px; }
.gc-bn-closed h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }

/* ---- Repeat, card, jars, history ---- */
.gc-bn-panels { margin-top: clamp(48px, 6vw, 80px); }
.gc-bn-status { margin-bottom: 12px; }
.gc-bn-repeat { margin-top: 18px; padding-top: 16px; border-top: 1px dotted var(--line-strong); }
.gc-bn-choice { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-bottom: 14px; }
.gc-bn-repeat-body { display: grid; gap: 20px; }
.gc-bn-select { width: 100%; min-height: 44px; padding: 8px 6px; font: 1.05rem var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 2px solid var(--line-strong); border-radius: 0; }
.gc-bn-select:focus { outline: 3px solid var(--orange); outline-offset: 2px; }
.gc-bn-label { display: block; font-family: var(--serif); font-style: italic; color: var(--muted); margin-bottom: 4px; }
.gc-bn-left .gc-agree { margin: 4px 0; }
.gc-bn-include { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; }
.gc-bn-include .gc-bn-label { flex-basis: 100%; }
.gc-bn-num { width: 74px; min-height: 40px; padding: 6px 8px; font: 1.05rem var(--sans); border: 2px solid var(--line-strong); background: #fffdf8; border-radius: var(--radius); }
.gc-agree .gc-bn-num { width: 74px; height: auto; margin: -8px 6px 0; accent-color: auto; }
.gc-bn-num:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--brown); }
.gc-bn-mix { border-top: 1px solid var(--brown); }
.gc-bn-mixrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dotted var(--line-strong); }
.gc-bn-mixrow span { font-weight: 600; color: var(--brown); }
.gc-bn-mix .gc-buy-note { margin: 10px 0 4px; }
.gc-bn-panels #history { margin-top: 56px; }
.gc-bn-st { display: inline-block; font-size: 0.88rem; color: var(--muted); }
.gc-bn-st.is-due { color: #a3321f; font-weight: 700; }
.gc-bn-st.is-paid { color: #2f4a22; }
.gc-account-orders .what .gc-bn-st { display: block; }
.gc-bn-side > * + * { margin-top: 30px; }
.gc-bn-credit-why { display: inline-block; font-size: 0.88rem; color: var(--muted); }
.gc-bn-cards { list-style: none; margin: 0 0 14px; padding: 0; }
.gc-bn-cards li { padding: 10px 0; border-bottom: 1px dotted var(--line-strong); }
.gc-bn-cards .card { display: block; }
.gc-bn-cards .card span { color: var(--muted); font-size: 0.9rem; }
.gc-bn-cards .acts { display: flex; gap: 16px; margin-top: 4px; font-size: 0.92rem; }
.gc-bn-default { display: block; font-family: var(--serif); font-size: 0.92rem; color: var(--brown); }
.gc-bn-addcard summary { cursor: pointer; font-weight: 700; color: var(--blue); margin: 4px 0 12px; }
.gc-bn-addcard .gc-co-go { margin-top: 12px; }

/* ---- One order ---- */
.gc-bn-orderpage .gc-bn-payways { margin-bottom: 10px; }
.gc-bn-orderpage .gc-receipt-foot .gc-bn-st { font-size: 1rem; }

/* Small settings forms inside a side card (Jar & Bean "Usual pickup"): label,
   field, button and footnote each get room instead of stacking tight. */
.gc-account-card form { display: grid; gap: 16px; margin: 4px 0 0; }
.gc-account-card form .gc-line span { margin-bottom: 6px; }
.gc-account-card form .gc-buy-row { margin: 0; }
.gc-account-card form .gc-btn { min-height: 42px; padding: 8px 22px; }
.gc-account-card form + .gc-buy-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px dotted var(--line-strong); font-size: 0.92rem; line-height: 1.5; }
.gc-account-card .gc-receipt-head + form { margin-top: 2px; }


/* ---- Signed in: your stamp in the header ------------------------------------------
   Your initials inside the logo's coffee ring (orange), with "Aloha, Name" and an
   account menu. On phones the stamp sits next to the Menu button. */
.gc-me { position: relative; }
.gc-me > summary { display: flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; list-style: none; cursor: pointer; border-radius: 999px; color: var(--paper); }
.gc-me > summary::-webkit-details-marker { display: none; }
.gc-me > summary:hover, .gc-me[open] > summary { background: rgba(247, 244, 239, .1); }
.gc-me > summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.gc-me-stamp {
    position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none;
    font: 600 0.95rem/1 var(--serif); letter-spacing: 0.02em; color: var(--paper); isolation: isolate;
}
.gc-me-stamp::before {
    content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--orange); transform: rotate(-24deg);
    -webkit-mask: url("/assets/img/motif-ring.png") center / contain no-repeat; mask: url("/assets/img/motif-ring.png") center / contain no-repeat;
}
.gc-me-hi { font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.gc-me-hi em { font-family: var(--serif); font-weight: 400; color: rgba(247, 244, 239, .75); }
.gc-me-menu {
    position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 240px; padding: 8px 0;
    background: #fffef9; color: var(--ink); border-top: 4px solid var(--orange); border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 14px 34px rgba(42, 25, 16, .22);
}
.gc-me-who { margin: 0 0 6px; padding: 8px 16px 10px; font-weight: 700; color: var(--brown); border-bottom: 1px dashed var(--line-strong); }
.gc-me-who span { display: block; font-weight: 400; font-size: 0.85rem; color: var(--muted); overflow-wrap: anywhere; }
.gc-me-menu a, .gc-me-menu button { display: block; width: 100%; padding: 9px 16px; text-align: left; color: var(--ink); text-decoration: none; font: 600 0.95rem var(--sans); background: none; border: 0; cursor: pointer; }
.gc-me-menu a:hover, .gc-me-menu button:hover { background: var(--cream); color: var(--brown); }
.gc-me-menu form { margin: 6px 0 0; border-top: 1px dashed var(--line-strong); padding-top: 4px; }
.gc-me-menu button { color: #a3321f; }
.gc-me-mini { display: none; }
@media (max-width: 1100px) {
    .gc-me-mini { display: inline-flex; margin-left: auto; text-decoration: none; }
    .gc-header.is-signed-in .gc-menu-btn { margin-left: 0; }
    .gc-header.is-open .gc-me > summary { padding-left: 0; }
    .gc-header.is-open .gc-me-menu { position: static; box-shadow: none; margin-top: 8px; min-width: 0; }
    .gc-header.is-open .gc-me { flex: 1 1 100%; }
}

/* ==========================================================================
   Contact us (/contact-us/) and Partners (/partners/)
   ========================================================================== */

/* Their openings have no photo: one column, and the section after follows close. */
.gc-page-contact .gc-hero-grid, .gc-page-partners .gc-hero-grid { grid-template-columns: minmax(0, 1fr); }
.gc-page-contact .gc-hero-copy, .gc-page-partners .gc-hero-copy { max-width: 820px; }
.gc-page-contact .gc-block-hero, .gc-page-partners .gc-block-hero { padding-bottom: clamp(24px, 3vw, 40px); }

/* Contact: an underlined order form on the left, the HQ jar label on the right. */
.gc-contact { padding-top: clamp(16px, 2vw, 28px); }
.gc-contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: clamp(36px, 6vw, 88px); align-items: start; position: relative; }
.gc-contact-main > h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.gc-contact-form { display: grid; gap: 26px; margin-top: 8px; }
.gc-contact-form[hidden] { display: none; }
.gc-contact-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.gc-contact-phone { max-width: calc(50% - 13px); }
.gc-contact-form .gc-line--dark textarea { min-height: 170px; line-height: 1.55; }
.gc-contact-form .gc-line--dark textarea[aria-invalid="true"] { border-bottom-color: #a3321f; }
.gc-contact-topics[aria-invalid="true"] legend { color: #a3321f; }
.gc-contact-hint { display: block; margin-top: 6px; font-size: 0.9rem; color: var(--muted); }
.gc-contact-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.gc-contact-send p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.gc-contact-submit { min-width: 190px; justify-content: center; }
.gc-contact-submit .busy { display: none; }
.gc-contact-submit.is-busy .idle { display: none; }
.gc-contact-submit.is-busy .busy { display: inline-flex; align-items: center; gap: 10px; }
.gc-contact-submit[disabled] { opacity: .85; cursor: progress; transform: none; }
.gc-contact-form.is-sending input, .gc-contact-form.is-sending textarea, .gc-contact-form.is-sending .gc-choices { opacity: .55; cursor: progress; }
.gc-form-error[hidden] { display: none; }
.gc-form-error:focus { outline: none; }

.gc-spinner {
    display: inline-block; width: 16px; height: 16px; flex: none; border-radius: 50%;
    border: 2px solid rgba(42, 25, 16, .25); border-top-color: var(--ink); animation: gc-spin .7s linear infinite;
}
@keyframes gc-spin { to { transform: rotate(360deg); } }

/* Status region: hidden when empty; visible and announced while sending and on error. */
.gc-contact-status { display: none; }
.gc-contact-status.is-visible { display: block; padding: 12px 16px; font-weight: 600; }
.gc-contact-status.is-sending { background: var(--cream); color: var(--brown); border-top: 2px solid var(--brown); }
.gc-contact-status.is-error { background: #fbe5df; color: #7a2414; border-top: 2px solid #a3321f; }
.gc-status-line { display: flex; align-items: center; gap: 12px; }
.gc-progress { display: block; height: 3px; margin-top: 10px; background: rgba(98, 59, 42, .15); overflow: hidden; }
.gc-progress::after { content: ""; display: block; width: 40%; height: 100%; background: var(--brown); animation: gc-indeterminate 1.15s ease-in-out infinite; }
@keyframes gc-indeterminate { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* Completion: a coffee-ring stamp from the logo with a tick drawn in CSS. */
.gc-contact-done { padding: 28px 0 8px; max-width: 34em; }
.gc-contact-done:focus { outline: none; }
.gc-contact-done h3 { margin-top: 18px; }
.gc-contact-done-mark { position: relative; display: block; width: 92px; height: 92px; animation: gc-pop .35s cubic-bezier(.2, .8, .3, 1.2); }
.gc-contact-done-mark::before {
    content: ""; position: absolute; inset: 0; background: var(--brown); transform: rotate(-18deg);
    -webkit-mask: url("/assets/img/motif-ring.png") center / contain no-repeat; mask: url("/assets/img/motif-ring.png") center / contain no-repeat;
}
.gc-contact-done-mark::after {
    content: ""; position: absolute; left: 36px; top: 20px; width: 17px; height: 34px;
    border: solid var(--orange-deep); border-width: 0 4px 4px 0; transform: rotate(45deg);
    animation: gc-check .3s ease-out .16s backwards;
}
@keyframes gc-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes gc-check { from { opacity: 0; transform: rotate(45deg) scale(.5); } to { opacity: 1; transform: rotate(45deg) scale(1); } }
@media (prefers-reduced-motion: reduce) {
    .gc-spinner { animation-duration: 2.4s; }
    .gc-progress::after { animation-duration: 3s; }
    .gc-contact-done-mark, .gc-contact-done-mark::after { animation: none; }
}

/* HQ details as a jar label, standing on its own rather than stuck to a photo. */
.gc-contact-side { display: grid; gap: 40px; padding-top: 10px; }
.gc-jar-label.gc-hq-label { position: relative; left: auto; top: auto; width: auto; max-width: 380px; margin: 0; transform: rotate(-1.5deg); padding: 18px 20px 16px; }
.gc-hq-label .brand { font-size: 1.35rem; }
.gc-hq-label dl > div { font-size: 0.95rem; align-items: baseline; }
.gc-hq-label dd { overflow-wrap: anywhere; }
.gc-hq-label dd a { color: var(--brown); }
.gc-hq-label address { font-style: normal; }
.gc-hq-note { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--brown); font-family: var(--serif); font-style: italic; font-size: 0.92rem; color: var(--muted); }

/* The desks, set as dictionary entries: headword, part of speech, sense. */
.gc-desks h3 { font-size: 1.25rem; margin-bottom: 14px; }
.gc-desks dl { margin: 0; }
.gc-desks dl > div { padding: 10px 0; border-top: 1px solid var(--line); }
.gc-desks dt { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--brown); line-height: 1.2; }
.gc-desks dt .pos { font-weight: 400; font-style: italic; font-size: 0.95rem; color: var(--muted); margin-left: 4px; }
.gc-desks dd { margin: 2px 0 0; font-size: 0.95rem; color: var(--ink); }
.gc-desks dd a { overflow-wrap: anywhere; }

@media (max-width: 900px) {
    .gc-contact-grid { grid-template-columns: minmax(0, 1fr); }
    .gc-contact-side { padding-top: 0; }
}
@media (max-width: 560px) {
    .gc-contact-row { grid-template-columns: minmax(0, 1fr); }
    .gc-contact-phone { max-width: none; }
    .gc-contact-submit { width: 100%; }
}
.gc-desk-more { display: block; margin-top: 4px; font-family: var(--serif); font-style: italic; color: var(--muted); }

/* Custom tour enquiry (/tours/custom/): the contact form's parts, a dictionary entry beside the opening. */
.gc-ct-intro { padding-top: clamp(56px, 6vw, 84px); }
.gc-ct-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.gc-ct-copy .gc-prose { margin-top: 18px; max-width: 38em; }
.gc-ct-entry { padding-top: clamp(0px, 4vw, 56px); }
.gc-ct-word { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; color: var(--brown); margin: 0 0 14px; font-variation-settings: "opsz" 144, "SOFT" 100; }
.gc-ct-word .pos { font-style: italic; font-size: 0.45em; color: var(--muted); margin-left: 6px; }
.gc-ct-entry ol { margin: 0; padding: 0; list-style: none; counter-reset: sense; }
.gc-ct-entry li { counter-increment: sense; position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.12rem; line-height: 1.45; }
.gc-ct-entry li::before { content: counter(sense) "."; position: absolute; left: 0; top: 12px; font-family: var(--sans); font-weight: 700; font-size: 0.9rem; color: var(--brown); }
.gc-ct-see { margin: 12px 0 0; font-size: 0.95rem; color: var(--muted); font-style: italic; }
.gc-ct-form { padding-top: clamp(40px, 5vw, 64px); }
.gc-choices legend em { font-style: normal; font-family: var(--sans); font-size: 0.85rem; }
.gc-choices--multi input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gc-choices--multi label > span::before { content: "+"; display: inline-block; width: 1em; margin-right: 4px; font-weight: 700; color: var(--muted); }
.gc-choices--multi input:checked + span::before { content: "\2713"; color: #fff; }
.gc-ct-heard { max-width: none; }
.gc-ct-heard-other[hidden] { display: none; }

/* /harc-waivers/: HARC's archive of signed tour waivers (a printed schedule of dates). */
.gc-harc-wrap { max-width: 980px; }
.gc-harc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.gc-harc-gate { max-width: 420px; }
.gc-harc-count { margin: 0 0 6px; font-weight: 600; }
.gc-harc-list { list-style: none; margin: 0; padding: 0; }
.gc-harc-list li { padding: 3px 0; overflow-wrap: anywhere; }
.gc-harc-list li span { color: var(--muted); font-size: 0.9rem; margin-left: 6px; }
.gc-harc-table td.gc-harc-dl { text-align: right; padding-right: 0; white-space: nowrap; }
@media (max-width: 640px) {
    .gc-harc-table td.gc-harc-dl { white-space: normal; padding-top: 8px; }
    .gc-harc-table td.gc-harc-dl::before { content: none; }
}
.gc-line--dark select {
    width: 100%; background: transparent; border: 0; border-bottom: 2px solid var(--line-strong);
    color: var(--ink); font: 1.1rem var(--sans); padding: 8px 2px; border-radius: 0;
}
.gc-line--dark select:focus { outline: none; border-bottom-color: var(--orange); }
.gc-line--dark select:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.gc-line--dark textarea[aria-invalid="true"] { border-bottom-color: #a3321f; }

/* "Design a custom tour" link block on /tours/ and each tour page. */
.gc-ct-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 28px; align-items: center; padding: 22px 0; border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); }
.gc-ct-cta h2, .gc-ct-cta h3 { margin: 0 0 4px; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.gc-ct-cta p { margin: 0; color: var(--muted); }
.gc-ct-cta--side { grid-template-columns: minmax(0, 1fr); margin-top: 28px; padding: 18px 0; }
@media (max-width: 900px) { .gc-ct-top { grid-template-columns: minmax(0, 1fr); } .gc-ct-entry { padding-top: 0; } }
@media (max-width: 560px) { .gc-ct-heard { max-width: none; } .gc-ct-cta { grid-template-columns: minmax(0, 1fr); } .gc-ct-cta .gc-btn { width: 100%; justify-content: center; } }

/* Partners: a wall of jar labels, one per roaster, each a little askew. */
.gc-roasters-count { font-family: var(--serif); font-style: italic; color: var(--brown); margin: 0 0 22px; }
.gc-roasters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: clamp(22px, 3vw, 34px) clamp(16px, 2.4vw, 28px); position: relative; }
.gc-pr-label {
    position: relative; height: 100%; display: flex; flex-direction: column;
    background: #fffdf8; border: 3px double var(--brown); padding: 12px 14px 10px;
    box-shadow: 0 6px 16px rgba(42, 25, 16, .10); transform: rotate(-1deg);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.gc-pr-item:nth-child(3n+2) .gc-pr-label { transform: rotate(.8deg); }
.gc-pr-item:nth-child(3n) .gc-pr-label { transform: rotate(-.4deg); }
.gc-pr-item .gc-pr-label:hover, .gc-pr-item .gc-pr-label:focus-within { transform: rotate(0) translateY(-3px); box-shadow: 0 12px 26px rgba(42, 25, 16, .16); }
.gc-pr-logo { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: #fff; border-bottom: 1px solid var(--brown); margin: -2px -4px 10px; padding: 10px; }
.gc-pr-logo img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.gc-pr-mono { font: 500 3.4rem/1 var(--serif); color: var(--brown); opacity: .55; }
.gc-pr-label h3 { font-size: 1.15rem; line-height: 1.2; margin: 0 0 6px; }
.gc-pr-label h3 a { color: var(--brown); text-decoration: none; }
.gc-pr-label h3 a::after { content: ""; position: absolute; inset: 0; }   /* the whole label is the link */
.gc-pr-label h3 a:focus-visible { outline: none; }
.gc-pr-label:focus-within { outline: 3px solid var(--orange); outline-offset: 4px; }
.gc-pr-label dl { margin: auto 0 0; }
.gc-pr-label dl > div { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-top: 1px dotted var(--line-strong); font-size: 0.84rem; }
.gc-pr-label dt { font-family: var(--serif); font-style: italic; color: var(--muted); }
.gc-pr-label dd { margin: 0; font-weight: 700; color: var(--brown); text-align: right; overflow-wrap: anywhere; min-width: 0; }
.gc-roasters-empty { max-width: 40em; padding: 22px 24px; background: #fffdf8; border: 3px double var(--brown); }
.gc-roasters-empty p { margin: 0; }
@media (max-width: 520px) {
    .gc-roasters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
    .gc-pr-label { padding: 10px 10px 8px; }
    .gc-pr-label h3 { font-size: 1rem; }
    .gc-pr-label dl > div { flex-direction: column; gap: 0; }
    .gc-pr-label dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .gc-pr-label { transition: none; } }

/* "I liked this" (account/beans/): an ink stamp with the logo's bean; pressed, the ink fills. */
.gc-account-orders .gc-bn-tasted { grid-column: 1 / -1; font-size: 0.95rem; }
.gc-bn-tasted > summary, .gc-bn-likenote > summary { cursor: pointer; font-family: var(--serif); font-style: italic; color: var(--muted); }
.gc-bn-tasted > summary:hover, .gc-bn-likenote > summary:hover { color: var(--brown); }
.gc-bn-like { padding: 10px 0; border-bottom: 1px dotted var(--line); }
.gc-bn-like:last-child { border-bottom: 0; padding-bottom: 2px; }
.gc-bn-tasted-flat { border-top: 1px solid var(--brown); margin-bottom: 12px; }
.gc-bn-likerow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.gc-bn-likerow .coffee { margin: 0; flex: 1 1 12em; min-width: 0; overflow-wrap: anywhere; }
.gc-bn-likerow .coffee strong { color: var(--brown); }
.gc-bn-likerow .coffee .sub { display: block; font-size: 0.88rem; color: var(--muted); }
.gc-bn-stamp {
    display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 40px; padding: 5px 13px 5px 9px;
    font: italic 500 0.98rem var(--serif); color: var(--brown); background: transparent; cursor: pointer;
    border: 3px double var(--brown); border-radius: var(--radius); transform: rotate(-1.5deg);
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.gc-bn-stamp .bean { flex: none; }
.gc-bn-stamp:hover { background: var(--cream); transform: rotate(0deg); }
.gc-bn-stamp[aria-pressed="true"] { background: var(--brown); color: #fffdf8; border-color: var(--brown); border-style: solid; border-width: 3px; outline: 1px solid #fffdf8; outline-offset: -5px; }
.gc-bn-stamp[aria-pressed="true"]:hover { background: var(--brown-deep); }
.gc-bn-stamp:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.gc-bn-stamp:disabled { opacity: .6; cursor: progress; }
.gc-bn-likenote { margin-top: 6px; }
.gc-bn-likenote .gc-line { display: block; margin-top: 6px; }
.gc-bn-likenote .gc-line span { font-size: 0.86rem; line-height: 1.35; }
.gc-bn-likenote textarea { width: 100%; min-width: 0; box-sizing: border-box; }
.gc-bn-likeacts { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.gc-bn-liked { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--brown); }
.gc-bn-liked > li { padding: 14px 0; border-bottom: 1px dotted var(--line-strong); }
.gc-bn-liked .entry { margin: 0; overflow-wrap: anywhere; }
.gc-bn-liked .hw { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--brown); }
.gc-bn-liked .sub { font-family: var(--serif); font-style: italic; color: var(--muted); }
.gc-bn-liked .wk { display: block; font-size: 0.86rem; color: var(--muted); }
.gc-bn-liked .note { margin: 8px 0 0; padding-left: 1em; text-indent: -0.4em; overflow-wrap: anywhere; }
.gc-bn-liked .note::before { content: "\201C"; }
.gc-bn-liked .note::after { content: "\201D"; }
.gc-bn-liked form { margin-top: 6px; }
.gc-bn-liked .gc-linkbtn { margin-top: 6px; }
.gc-bn-likedsay { margin-bottom: 10px; }
.gc-bn-liketoast {
    position: fixed; left: 50%; bottom: 18px; z-index: 50; margin: 0; max-width: calc(100vw - 32px); padding: 9px 16px; transform: translate(-50%, 12px);
    background: var(--brown); color: #fffdf8; border-radius: var(--radius); font-size: 0.95rem; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.gc-bn-liketoast.is-on { opacity: 1; transform: translate(-50%, 0); }
.gc-bn-liketoast.is-bad { background: #a3321f; }
@media (prefers-reduced-motion: reduce) { .gc-bn-stamp, .gc-bn-liketoast { transition: none; } }

/* ---- Grok page: the book passage (grok-definition.php) ----------------------------------- */
/* A page from the book: paper, the book's own type, page reference at the foot. */
.gc-passage-link { white-space: nowrap; font-style: italic; }
.gc-passage { border: 0; padding: 0; max-width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); background: transparent; color: var(--ink); }
.gc-passage::backdrop { background: rgba(42, 25, 16, .62); }
.gc-passage-sheet { position: relative; background: var(--paper); padding: 40px 36px 28px; border-radius: 3px; overflow: auto; max-height: calc(100vh - 48px); }
.gc-passage-sheet h2 { margin: 0 32px 18px 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.45rem; }
.gc-passage-text { font-family: var(--serif); font-size: 1.08rem; line-height: 1.7; }
.gc-passage-text p { margin: 0 0 1em; text-indent: 1.4em; }
.gc-passage-text p:first-child { text-indent: 0; }
.gc-passage-cite { margin: 20px 0 0; padding-top: 12px; border-top: 1px solid rgba(98, 59, 42, .25); font-size: .9rem; color: var(--brown); text-align: center; }
.gc-passage-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; color: var(--brown); font-size: 1.8rem; line-height: 1; cursor: pointer; border-radius: 50%; }
.gc-passage-close:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (max-width: 520px) { .gc-passage-sheet { padding: 34px 20px 22px; } }

/* Checkout: "Have an account? Sign in" stands out for a guest (Shawn, 2026-12). */
.gc-co-signin { margin: 0 0 18px; padding: 12px 16px; background: var(--lilac-soft); border-radius: var(--radius); font-size: 1.02rem; color: var(--ink); }
.gc-co-signin a { font-weight: 700; }

/* Jar & Bean: order history and liked coffees as tabs; coffee tags; pickup and order dates (Shawn, 2026-12). */
.gc-bn-tablist { display: flex; gap: 6px; margin: 34px 0 6px; border-bottom: 1px solid var(--brown); }
.gc-bn-tablist button { font: inherit; font-family: var(--serif); font-size: 1.25rem; color: var(--muted); background: none; border: 0; border-bottom: 3px solid transparent; padding: 8px 12px 6px; margin-bottom: -1px; cursor: pointer; }
.gc-bn-tablist button[aria-selected="true"] { color: var(--brown); border-bottom-color: var(--orange); }
.gc-bn-tablist button span { font-family: var(--sans); font-size: 0.8rem; color: var(--muted); margin-left: 2px; }
.gc-bn-tabs.is-tabbed [role=tabpanel] > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gc-bn-tabs.is-tabbed .gc-account-orders { border-top: 0; }
.gc-bn-history .kind strong { font-style: normal; font-weight: 600; color: var(--brown); }
.gc-bn-ordered { display: block; font-size: 0.82rem; }
.gc-account-orders .what .gc-bn-coffees { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 4px; }
.gc-bn-coffee { display: inline-block; padding: 1px 8px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.82rem; color: var(--ink); background: var(--paper); }
.gc-bn-coffee small { color: var(--muted); font-size: 0.78rem; }
.gc-bn-pages { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; justify-content: space-between; margin: 14px 0 0; font-size: 0.92rem; }
.gc-bn-pages span { color: var(--muted); }
.gc-bn-likedbefore { margin: -4px 0 8px; font-family: var(--serif); font-style: italic; font-size: 0.92rem; color: var(--brown); }
.gc-bn-likedbefore::before { content: "\2665"; color: var(--orange); margin-right: 5px; font-style: normal; }
