/* Boards N' Beans — shared styles */
/* Fonts, self-hosted like the live site (copied from boardsnbeans.shop/fonts). */
@font-face { font-family: "Acrylic Hand Thick"; src: url("/assets/fonts/AcrylicHandThick.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans.woff2") format("woff2-variations"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("/assets/fonts/bebas-neue-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --brown: #4F2A22;   /* burgundy */
  --brown-2: #6B3B2F;
  --sand: #DCD3BC;    /* gunnysack */
  --sand-2: #CFC5AA;
  --foam: #FFFEF0;    /* shop white */
  --sea: #6E6B52;     /* sage, darkened for text contrast */
  --sea-2: #57553F;
  --sun: #2C2C2C;     /* shop black: primary buttons */
  --sun-2: #4F2A22;
  --ink: #2C2C2C;
  --muted: #6B6B6B;   /* shopfront grey */
  --ok: #2F7D4F;
  --err: #B3261E;
  --radius: 14px;
  --max: 1080px;
  --font-head: "Acrylic Hand Thick", Georgia, serif;          /* headlines, like the live site */
  --font-num: "Bebas Neue", Impact, "Arial Narrow", sans-serif; /* prices and numbers */
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; /* product names */
  --sage: #908C6E;
  --truck: #AD9372;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--foam); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sea-2); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
h1, h2 { font-family: var(--font-head); font-weight: 400; line-height: .95; text-transform: uppercase; letter-spacing: .01em; }
h1, h2, h3 { margin: 0 0 .5em; color: var(--brown); }
h3 { font-family: var(--font-body); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.8rem, 8vw, 4.8rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 56px 0; }
@media (min-width: 720px) { section { padding: 80px 0; } }

/* header */
.top { background: var(--foam); color: var(--ink); border-bottom: 1px solid var(--sand-2); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand img { height: 46px; width: auto; }
.brand:hover { opacity: .8; }
.brand { display: block; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nav a:hover { opacity: 1; text-decoration: underline; }
.nav .btn { padding: 9px 16px; color: #fff; }
@media (max-width: 640px) { .nav a:not(.btn) { display: none; } }

/* buttons */
.btn {
  display: inline-block; padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 .9rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; text-align: center; line-height: 1.2;
  background: var(--sun); color: #fff; transition: background .15s ease, transform .1s ease;
}
.btn:hover { background: var(--sun-2); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--brown); box-shadow: inset 0 0 0 2px var(--brown); }
.btn.ghost:hover { background: var(--brown); color: var(--sand); }
.btn.sea { background: var(--sea); }
.btn.sea:hover { background: var(--sea-2); }
.btn.block { display: block; width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* hero */
.hero { background: var(--brown); color: var(--sand); padding: 64px 0 0; position: relative; }
.hero h1 { color: var(--foam); max-width: 16ch; }
.hero .lead { color: var(--sand-2); }
.hero .offer { display: inline-block; background: var(--sand); color: var(--brown); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 600; margin-bottom: 20px; }
.hero .grid { display: grid; gap: 32px; align-items: end; padding-bottom: 48px; }
@media (min-width: 820px) { .hero .grid { grid-template-columns: 1.1fr .9fr; } }
.hero-art { aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(160deg, var(--brown-2), var(--truck)); position: relative; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .cap { position: absolute; left: 16px; bottom: 14px; background: rgba(44,44,44,.78); color: var(--sand); padding: 6px 12px; border-radius: 8px; font-size: .85rem; }
.wave { display: block; width: 100%; height: 56px; }
.wave path { fill: var(--foam); }

/* sections on sand */
.sand { background: var(--sand); }
.eyebrow-free h2 + .lead { margin-bottom: 28px; }

/* product cards */
.cards { display: grid; gap: 18px; }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } .card .art { aspect-ratio: 1/1; } }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(4, 1fr); } .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--sand-2); }
.card .art { aspect-ratio: 16/9; background: var(--sand-2); display: grid; place-items: center; color: var(--brown); font-family: var(--font-head); font-size: 2rem; font-weight: 400; text-transform: uppercase; padding: 12px; text-align: center; }
.card .art.lav { background: #E4D8EA; } .card .art.coco { background: #F2E9D3; } .card .art.ban { background: #F3DDB0; } .card .art.spc { background: #E9C7A0; }
.card .art.gift { background: linear-gradient(135deg, #E4E2D2, #C9C6AE); } .card .art.bean { background: #D8C8B5; } .card .art.tee { background: #D9D8CC; }
.card .art img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; font-size: 1.15rem; }
.card .unit { color: var(--muted); font-size: .92rem; }
.card .price { font-weight: 700; font-size: 1.1rem; margin-top: auto; padding-top: 8px; }
.card .btn { margin-top: 10px; padding: 12px 16px; }
.badge { display: inline-block; align-self: flex-start; font-size: .78rem; font-weight: 600; color: var(--sea-2); background: #E6E4D6; padding: 3px 9px; border-radius: 999px; }

/* banded gift block */
.gift-band { background: var(--sea); color: #fff; }
.gift-band .eyebrow { color: var(--sand); }
.gift-band h2, .gift-band h3 { color: #fff; }
.gift-band .lead { color: #EDEBDF; }
.gift-band .card { color: var(--ink); }
.gift-band .btn.ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.gift-band .btn.ghost:hover { background: #fff; color: var(--sea-2); }

/* why / visit */
.two { display: grid; gap: 28px; }
@media (min-width: 800px) { .two { grid-template-columns: 1fr 1fr; } }
.facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.facts li { padding-left: 26px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--sand-2); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.open-now { font-weight: 600; color: var(--ok); }
.closed-now { font-weight: 600; color: var(--muted); }

/* forms */
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--sand-2); border-radius: 10px;
  font: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--sea); outline: none; box-shadow: 0 0 0 3px rgba(144,140,110,.3); }
textarea { min-height: 110px; resize: vertical; }
.row { display: grid; gap: 14px; }
@media (min-width: 640px) { .row { grid-template-columns: 1fr 1fr; } }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--sea); }
.consent { background: #fff; border: 1.5px solid var(--sand-2); border-radius: 10px; padding: 14px; }
.consent strong { display: block; margin-bottom: 4px; }
.help { color: var(--muted); font-size: .9rem; font-weight: 400; }
.msg { padding: 14px 16px; border-radius: 10px; display: none; }
.msg.ok { display: block; background: #E3F1E8; color: #1E5A38; }
.msg.err { display: block; background: #FBE5E3; color: var(--err); }
.hp { position: absolute; left: -9999px; top: -9999px; }
.order-lines { display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 1fr 90px; gap: 10px; align-items: center; background: #fff; border: 1.5px solid var(--sand-2); border-radius: 10px; padding: 10px 12px; }
.line .n { font-weight: 600; } .line .u { color: var(--muted); font-size: .88rem; font-weight: 400; display: block; }
.line input { text-align: center; }
.total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.15rem; padding-top: 8px; border-top: 2px solid var(--sand-2); }

/* signup strip */
.signup { background: var(--brown); color: var(--sand); }
.signup h2 { color: var(--foam); }
.signup form { max-width: 560px; }
.signup .check { color: var(--sand-2); }
.signup input[type=email], .signup input[type=tel] { border-color: transparent; }

/* footer */
footer { background: var(--ink); color: #BDB6A4; padding: 36px 0; font-size: .92rem; }
footer .wrap { display: grid; gap: 14px; }
footer a { color: var(--sand); }
footer .links { display: flex; flex-wrap: wrap; gap: 14px; }

/* prose pages */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.small { font-size: .9rem; color: var(--muted); }

/* ===== easter eggs: subtle motion, all disabled under reduced motion ===== */
.wave { overflow: hidden; }
.wave .roll { animation: roll 14s linear infinite; }
@keyframes roll { from { transform: translateX(0); } to { transform: translateX(-1440px); } }

.board { position: absolute; left: -80px; bottom: 30px; width: 64px; height: 24px; pointer-events: none; opacity: 0; }
.board.ride { animation: ride 3.2s cubic-bezier(.45,.05,.55,.95) forwards; }
@keyframes ride {
  0%   { opacity: 0; transform: translateX(0) rotate(-6deg); }
  8%   { opacity: 1; }
  25%  { transform: translateX(28vw) translateY(-10px) rotate(4deg); }
  50%  { transform: translateX(56vw) translateY(4px) rotate(-5deg); }
  75%  { transform: translateX(84vw) translateY(-8px) rotate(3deg); }
  92%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(112vw) translateY(0) rotate(0); }
}

.offer { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-.6deg); } }

.card .art { position: relative; overflow: hidden; }
.card .art.lav::after, .card .art.coco::after, .card .art.ban::after, .card .art.spc::after {
  content: ""; position: absolute; top: -14px; left: 50%; width: 9px; height: 14px; margin-left: -4px;
  border-radius: 50% 50% 60% 60%; background: rgba(79,42,34,.35); opacity: 0;
}
.card:hover .art.lav::after, .card:hover .art.coco::after, .card:hover .art.ban::after, .card:hover .art.spc::after { animation: drip 1.6s ease-in forwards; }
@keyframes drip { 0% { opacity: 0; top: -14px; } 15% { opacity: 1; } 100% { opacity: 0; top: 100%; } }

.card .art.bean::before, .card .art.bean::after {
  content: ""; position: absolute; bottom: 22%; width: 6px; height: 22px; border-radius: 6px;
  background: rgba(255,255,255,.55); opacity: 0; filter: blur(1.5px);
}
.card .art.bean::before { left: 44%; } .card .art.bean::after { left: 54%; }
.card:hover .art.bean::before { animation: steam 2.2s ease-out forwards; }
.card:hover .art.bean::after { animation: steam 2.2s ease-out .35s forwards; }
@keyframes steam { 0% { opacity: 0; transform: translateY(0) scaleX(1); } 20% { opacity: .9; } 100% { opacity: 0; transform: translateY(-46px) translateX(6px) scaleX(1.6); } }

.btn { position: relative; overflow: hidden; }
.btn .ring { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); pointer-events: none; animation: splash .55s ease-out forwards; }
@keyframes splash { from { transform: scale(1); opacity: .9; } to { transform: scale(22); opacity: 0; } }

.open-now::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); margin-right: 8px; vertical-align: -1px; animation: sunrise 1.4s ease-out both; }
@keyframes sunrise { from { transform: translateY(8px); opacity: 0; clip-path: inset(50% 0 0 0); } to { transform: translateY(0); opacity: 1; clip-path: inset(0); } }

@media (prefers-reduced-motion: reduce) {
  .wave .roll, .offer, .board.ride, .btn .ring, .open-now::before,
  .card:hover .art::before, .card:hover .art::after { animation: none !important; }
  .board { display: none; }
}

/* live-brand contrast fixes on dark bands */
.signup .lead, footer .small { color: var(--sand); }
.hero .btn:not(.ghost), .signup .btn { background: var(--foam); color: var(--ink); }
.hero .btn:not(.ghost):hover, .signup .btn:hover { background: var(--sand); color: var(--ink); }
.hero .btn .ring, .signup .btn .ring { border-color: rgba(44,44,44,.5); }

/* syrup bottle photos */
.card .art.bottle { background: #EFECE3; padding: 0; aspect-ratio: 1/1; }
.card .art.bottle img { object-fit: contain; }
.card button.btn[disabled] { background: var(--sand-2); color: var(--muted); }

/* Shopify cart bar */
.cart-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 30; display: flex; align-items: center; gap: 14px;
  background: var(--ink); color: var(--foam); padding: 10px 10px 10px 20px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.25); max-width: calc(100% - 32px); }
.cart-bar[hidden] { display: none; }
.cart-bar .cart-sum { font-weight: 600; white-space: nowrap; }
.cart-bar .cart-clear { background: none; border: 0; color: var(--sand); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }
.cart-bar .btn { background: var(--foam); color: var(--ink); padding: 10px 18px; }
.cart-bar .btn:hover { background: var(--sand); color: var(--ink); }
.badge[hidden] { display: none; }

/* ===== landing page ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sea); margin-bottom: 10px; }
.announce { display: block; background: var(--sage); color: var(--foam); text-align: center; padding: 9px 16px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.announce:hover { background: var(--sea); color: var(--foam); }

.landing-hero { background: var(--brown); color: var(--sand); padding: 48px 0 0; }
.landing-hero .wrap:first-child { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .landing-hero .wrap:first-child { grid-template-columns: 1.05fr .95fr; } }
.landing-hero h1 { color: var(--foam); font-size: clamp(3rem, 9vw, 5.6rem); max-width: 11ch; }
.landing-hero .lead { color: var(--sand); }
.landing-hero .eyebrow { color: var(--sand); opacity: .85; }
.landing-hero .photos { position: relative; padding: 0 0 40px 40px; }
.landing-hero .photos .big { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 70%; border-radius: var(--radius); }
.landing-hero .photos .small { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); border: 5px solid var(--brown); }
.proof { list-style: none; margin: 40px auto 0; padding: 22px 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; border-top: 1px solid rgba(255,254,240,.18); }
@media (min-width: 760px) { .proof { grid-template-columns: repeat(4, 1fr); } }
.proof strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--foam); }
.proof span { font-size: .9rem; color: var(--sand); }

.btn.ghost.light { color: var(--foam); box-shadow: inset 0 0 0 2px var(--foam); background: transparent; }
.btn.ghost.light:hover { background: var(--foam); color: var(--ink); }
.btn-row.center { justify-content: center; margin-top: 32px; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: .3em; }
.section-head .more { font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; margin-bottom: 14px; }
section .section-head + .lead { margin-bottom: 28px; }
section .section-head + .cards { margin-top: 20px; }

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.photo-stack img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.perks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; }
.perks li { background: #fff; border: 1px solid var(--sand-2); border-radius: 12px; padding: 14px 16px; }
.perks strong { color: var(--brown); }
.culture-split { background: var(--sand); }

.card.product .art.photo { aspect-ratio: 1/1; padding: 0; background: #EFECE3; }
.card.product .art.photo img { width: 100%; height: 100%; object-fit: cover; }
.pick select { width: 100%; padding: 10px 12px; border: 1.5px solid var(--sand-2); border-radius: 10px; font: inherit; font-size: .92rem; background: #fff; color: var(--ink); margin-top: 6px; }
.cards.two-up { grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards.two-up { grid-template-columns: repeat(2, 1fr); } }
.cards.one-up { grid-template-columns: 1fr; max-width: 380px; }
@media (min-width: 900px) { .cards.one-up { grid-template-columns: 1fr; } }

.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 10px; margin-top: 20px; }
@media (min-width: 760px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; } }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.mosaic .tall { grid-row: span 2; }

.surf { background: var(--ink); color: var(--sand); }
.surf h2 { color: var(--foam); }
.surf .lead { color: var(--sand); }
.surf .eyebrow { color: var(--sage); }
.surf .split { margin-bottom: 48px; }
.surf .card { color: var(--ink); }

.menu-list { list-style: none; padding: 0; margin: 0 0 8px; counter-reset: m; }
.menu-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--sand-2); counter-increment: m; }
.menu-list li span:first-child::before { content: counter(m, decimal-leading-zero) "  "; font-family: var(--font-head); color: var(--sea); margin-right: 6px; }
.menu-list li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.drinks .menu-list li span:first-child { font-weight: 600; }
.landing-hero .btn:not(.ghost), .surf .split .btn:not(.ghost) { background: var(--foam); color: var(--ink); }
.landing-hero .btn:not(.ghost):hover, .surf .split .btn:not(.ghost):hover { background: var(--sand); color: var(--ink); }
.landing-hero .btn .ring, .surf .split .btn .ring { border-color: rgba(44,44,44,.5); }
.gift-band .card h3 { color: var(--brown); }
.card.product .art.photo.contain img { object-fit: contain; background: #fff; }

/* ===== hero texture + embossed origins map ===== */
.landing-hero, .origins-band {
  position: relative; isolation: isolate;
  background-color: var(--brown);
  background-image:
    radial-gradient(120% 80% at 15% 0%, rgba(255,254,240,.07), transparent 60%),
    radial-gradient(90% 70% at 100% 100%, rgba(0,0,0,.28), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
.origins { margin-top: 44px; }
.origins-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
.origins-head .eyebrow { margin: 0; color: var(--sand); }
.origins-head p { margin: 0; color: var(--sand); opacity: .8; font-size: .95rem; }
.origins-frame { position: relative; margin-top: 14px; height: clamp(220px, 34vw, 400px); overflow: hidden;
  border-top: 1px solid rgba(255,254,240,.12); border-bottom: 1px solid rgba(255,254,240,.12);
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.05)); }
.origins-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.origins-map .grat path { stroke: rgba(255,254,240,.06); stroke-width: 1; fill: none; }
.origins-map .land.shadow { fill: rgba(0,0,0,.55); }
.origins-map .land.light { fill: rgba(255,236,210,.24); }
.origins-map .land.face { fill: #5B3329; }
.origins-map .route { fill: none; stroke: var(--sand); stroke-width: 2.4; stroke-dasharray: 8 10; opacity: .75; animation: route 30s linear infinite; }
@keyframes route { to { stroke-dashoffset: -600; } }
.origins-map .pin .dot { fill: #F2C14E; stroke: var(--brown); stroke-width: 2; }
.origins-map .pin .pulse { fill: rgba(242,193,78,.35); transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.origins-map .pin.home .dot { fill: var(--foam); }
.origins-map .pin.home .pulse { fill: rgba(255,254,240,.35); }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.origins-map .lbl { font-family: var(--font-body); fill: var(--foam); paint-order: stroke; stroke: rgba(40,20,15,.85); stroke-width: 6px; stroke-linejoin: round; }
.origins-map .lbl .n { font-weight: 700; font-size: 28px; }
.origins-map .lbl .s { font-size: 21px; fill: var(--sand); }
.origins-key { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 12px; padding-bottom: 0; margin: 0 auto; font-size: .85rem; color: var(--sand); }
.origins-key i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #F2C14E; margin-right: 7px; vertical-align: 0; }
.origins-key .home i { background: var(--foam); }
@media (min-width: 761px) { .origins-key { display: none; } }
@media (max-width: 760px) { .origins-map .lbl { display: none; } }
@media (prefers-reduced-motion: reduce) { .origins-map .route, .origins-map .pin .pulse { animation: none; } }
.proof { margin-top: 0; }
@media (max-width: 760px) { .origins-frame { height: auto; aspect-ratio: 1800 / 740; } }

/* ===== textured storefront print ===== */
.landing-hero, .origins-band { background-size: auto, auto, 180px 180px; }
.landing-hero::before, .origins-band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .6' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 .95  0 0 0 0 .88  0 0 0 .9 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); }
.shop-shot { position: relative; margin: 0 0 70px; transform: rotate(-1.4deg); }
.shop-shot .print { position: relative; background: #efe6d2; padding: 12px 12px 34px; box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 2px 0 rgba(0,0,0,.2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.08' numOctaves='3' seed='2'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='9'/%3E%3C/filter%3E%3Crect x='5' y='5' width='390' height='490' fill='%23fff' filter='url(%23r)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.08' numOctaves='3' seed='2'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='9'/%3E%3C/filter%3E%3Crect x='5' y='5' width='390' height='490' fill='%23fff' filter='url(%23r)'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.shop-shot .print img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: sepia(.22) saturate(.85) contrast(1.1) brightness(.97); }
.shop-shot .print::after { content: ""; position: absolute; inset: 12px 12px 34px; pointer-events: none; mix-blend-mode: overlay; opacity: .75;
  box-shadow: inset 0 0 60px rgba(40,20,10,.55);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
.shop-shot .tape { position: absolute; z-index: 2; width: 110px; height: 30px; background: rgba(220,211,188,.72); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.shop-shot .t1 { top: -10px; left: 14%; transform: rotate(-7deg); }
.shop-shot .t2 { top: -8px; right: 10%; transform: rotate(6deg); }
.shop-shot .crew-frame { position: absolute; z-index: 3; left: 50%; bottom: -62px; width: 86%; transform: translateX(-50%) rotate(1.4deg);
  filter: drop-shadow(0 6px 8px rgba(0,0,0,.45)); animation: crew-bob 4.5s ease-in-out infinite; transform-origin: 50% 100%; cursor: pointer; }
@keyframes crew-bob { 0%,100% { transform: translateX(-50%) rotate(1.4deg) translateY(0); } 50% { transform: translateX(-50%) rotate(.6deg) translateY(-5px); } }
@media (max-width: 859px) { .shop-shot { margin: 8px 6px 60px; } .shop-shot .crew-frame { bottom: -46px; } }

/* ===== crew easter eggs ===== */
.critter { user-select: none; -webkit-user-drag: none; }
.critter.hop { animation: hop .6s cubic-bezier(.3,1.6,.5,1) !important; }
@keyframes hop { 0%,100% { translate: 0 0; } 40% { translate: 0 -18px; } }

.has-peek { overflow: visible; position: relative; }
.has-peek .art { border-radius: var(--radius) var(--radius) 0 0; }
section:has(.has-peek) { isolation: isolate; }
.peek { position: absolute; z-index: -1; bottom: 100%; right: 14%; width: 92px; transform: translateY(100%); transition: transform .45s cubic-bezier(.3,1.4,.5,1); pointer-events: none; }
.has-peek:hover .peek { transform: translateY(12%); }
.has-peek.in .peek { animation: peek 3.8s cubic-bezier(.3,1.3,.5,1) .5s backwards; }
@keyframes peek { 0% { transform: translateY(100%); } 18%, 78% { transform: translateY(12%); } 24%, 70% { transform: translateY(16%); } 100% { transform: translateY(100%); } }

.surf-wave { position: relative; height: 150px; margin-top: 40px; overflow: hidden; }
.surf-wave svg { position: absolute; left: 0; right: 0; bottom: 0; width: 200%; height: 70px; animation: wave-roll 12s linear infinite; }
.surf-wave .chalk { fill: none; stroke: var(--sand); stroke-width: 3; stroke-linecap: round; opacity: .55; stroke-dasharray: 2 5 40 6; }
.surf-wave .chalk.thin { stroke-width: 2; opacity: .3; }
@keyframes wave-roll { to { transform: translateX(-50%); } }
.surf-wave .surfer { position: absolute; bottom: 28px; left: -260px; width: 240px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
.surf-wave.in .surfer { animation: surf-ride 12s linear .3s both; }
@keyframes surf-ride {
  0% { transform: translate(0, 0) rotate(-4deg); }
  20% { transform: translate(24vw, -12px) rotate(4deg); }
  40% { transform: translate(48vw, 4px) rotate(-3deg); }
  60% { transform: translate(72vw, -10px) rotate(3deg); }
  80% { transform: translate(96vw, 2px) rotate(-2deg); }
  100% { transform: translate(calc(100vw + 300px), -4px) rotate(0deg); } }

.drinks { position: relative; overflow: hidden; }
.machine-mark { position: absolute; right: -40px; bottom: -30px; width: 520px; max-width: 70%; opacity: .12; pointer-events: none; }

.signup { position: relative; overflow: hidden; }
.peek-up { position: absolute; right: 8%; bottom: 0; width: 110px; transform: translateY(100%); transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.signup.in .peek-up { transform: translateY(10%); transition-delay: .6s; }

.origins-frame .rider { left: -180px; bottom: 6px; width: 160px; height: auto; z-index: 2; filter: drop-shadow(0 3px 4px rgba(0,0,0,.5)); }

.origins-map .land.speck { opacity: .22; }
.origins-map .land.pits { opacity: .5; }

@media (prefers-reduced-motion: reduce) {
  .shop-shot .crew-frame, .surf-wave svg { animation: none; }
  .has-peek .peek { transform: translateY(14%); animation: none; }
  .surf-wave .surfer { left: 8%; animation: none; }
  .signup .peek-up { transform: translateY(10%); transition: none; }
}
.shop-shot .crew-frame img { display: block; width: 100%; height: auto; }
.crew-frame .drip { position: absolute; top: 16%; width: 11px; height: 15px; margin-left: -5px; background: #7A4A33; border: 2px solid var(--foam);
  border-radius: 50% 50% 55% 55% / 35% 35% 65% 65%; opacity: 0; animation: drip-fall 3.6s cubic-bezier(.5,0,.9,.6) infinite; }
.crew-frame .d1 { left: 17.4%; animation-delay: .2s; }
.crew-frame .d2 { left: 50.4%; animation-delay: 1.4s; }
.crew-frame .d3 { left: 85%; animation-delay: 2.5s; }
@keyframes drip-fall { 0% { transform: translateY(-150px) scale(.6); opacity: 0; } 12% { opacity: 1; } 62% { transform: translateY(0) scale(1); opacity: 1; } 70%, 100% { transform: translateY(4px) scale(.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .crew-frame .drip { display: none; } }
.surf-wave svg { z-index: 2; }
.surf-wave .water { fill: var(--ink); }
.surf-wave .surfer { bottom: -14px; z-index: 1; }
.cards:has(.has-peek) { margin-top: 84px; }
section .section-head + .cards:has(.has-peek) { margin-top: 96px; }

/* map v3: shorter band, logo + bean badges under pins */
.origins-frame { height: clamp(200px, 30vw, 380px); }
@media (max-width: 760px) { .origins-frame { height: auto; aspect-ratio: 1800 / 580; } }
.origins-map .bean-badge circle { fill: rgba(35,18,12,.6); stroke: var(--foam); stroke-width: 2.5; }
.origins-map .bean-badge circle.in { fill: none; stroke: var(--sand); stroke-width: 1.5; stroke-dasharray: 3 4; opacity: .8; }
.origins-map .bean-badge .bean { fill: #F2C14E; stroke: #3B2016; stroke-width: 2.2; }
.origins-map .bean-badge .crease { fill: none; stroke: #3B2016; stroke-width: 2.6; stroke-linecap: round; }
.origins-map .logo-mark { filter: drop-shadow(0 2px 2px rgba(0,0,0,.6)); }

/* featured wide card (tumbler color range; hover shows the printed designs) */
@media (min-width: 600px) { .card.product.wide { grid-column: span 2; } .card.product.wide .art.photo { aspect-ratio: auto; height: 100%; min-height: 300px; } }
.card.product.wide { display: grid; grid-template-rows: auto 1fr; }
.card.product.wide .art { position: relative; }
.card.product.wide .art .alt { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
/* no photo swap on hover: the card keeps the photo you see */
@media (min-width: 900px) { .card.product.wide .art.photo { min-height: 0; aspect-ratio: 16/9; height: auto; } }
@media (min-width: 900px) { .card.product.wide .art.photo { aspect-ratio: 820 / 582; } }
.card.product.wide .art.photo img { object-position: center 40%; }

/* hero v4: a bit shorter and smaller overall */
.announce { padding: 7px 16px; font-size: .85rem; }
.top .wrap { min-height: 56px; }
.brand img { height: 40px; }
.landing-hero { padding-top: 30px; }
.landing-hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.3rem); }
.landing-hero .lead { font-size: 1.05rem; }
.landing-hero .eyebrow { margin-bottom: 6px; }
@media (min-width: 860px) { .landing-hero .wrap:first-child { grid-template-columns: 1.2fr .8fr; gap: 40px; } }
.shop-shot { max-width: 390px; justify-self: center; width: 100%; margin-bottom: 56px; }
.shop-shot .crew-frame { bottom: -52px; }
.origins { margin-top: 24px; }
.origins-frame { height: clamp(180px, 25vw, 320px); }
.proof { padding-top: 16px; padding-bottom: 16px; }
.proof strong { font-size: 1.8rem; }
@media (max-width: 859px) { .shop-shot { max-width: 340px; margin: 4px auto 50px; } .shop-shot .crew-frame { bottom: -40px; } }
@media (max-width: 760px) { .origins-frame { height: auto; aspect-ratio: 1800 / 580; } }
.origins-frame { contain: paint; }

/* tighter vertical rhythm between sections */
section { padding: 40px 0; }
@media (min-width: 720px) { section { padding: 56px 0; } }
.landing-hero { padding-bottom: 0; }
.btn-row.center { margin-top: 22px; }
section .section-head + .lead { margin-bottom: 18px; }
.peek { width: 78px; }
.cards:has(.has-peek), section .section-head + .cards:has(.has-peek) { margin-top: 64px; }
section .section-head + .lead + .cards:has(.has-peek) { margin-top: 56px; }
.surf .split { margin-bottom: 32px; }
.surf-wave { margin-top: 16px; height: 130px; }

/* map band below the syrups */
.origins-band { color: var(--sand); padding: 36px 0 28px; }
.origins-band .origins { margin-top: 0; }
.origins-band .origins-key { padding-bottom: 0; }
.landing-hero .proof { margin-top: 36px; }

/* half-size syrup cards (home page): same vertical layout, whole bottle shown, everything scaled down */
#syrups .cards { gap: 12px; }
.card.syrup-mini .art.bottle { aspect-ratio: 2 / 1; padding: 0; }
.card.syrup-mini .art.bottle img { position: absolute; inset: 6px 0; width: 100%; height: calc(100% - 12px); object-fit: contain; }
.card.syrup-mini .unit { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card.syrup-mini .body { padding: 9px 10px 11px; gap: 3px; }
.card.syrup-mini .badge { font-size: .66rem; padding: 2px 7px; }
.card.syrup-mini h3 { font-size: .95rem; }
.card.syrup-mini .unit { font-size: .78rem; line-height: 1.3; }
.card.syrup-mini .price { font-size: .95rem; padding-top: 2px; }
.card.syrup-mini .btn { margin-top: 5px; padding: 8px 10px; font-size: .72rem; }
@media (min-width: 600px) and (max-width: 899px) { #syrups .cards { grid-template-columns: repeat(2, 1fr); } }

/* hero v5: a quarter shorter, everything kept */
.landing-hero { padding-top: 22px; }
.landing-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.landing-hero .lead { font-size: .98rem; margin-bottom: .6em; }
.landing-hero .btn { padding: 11px 18px; font-size: .82rem; }
@media (min-width: 860px) { .landing-hero .wrap:first-child { grid-template-columns: 1.25fr .75fr; gap: 32px; } }
.shop-shot { max-width: 300px; margin-bottom: 44px; }
.shop-shot .print { padding: 9px 9px 26px; }
.shop-shot .tape { width: 84px; height: 24px; }
.shop-shot .crew-frame { bottom: -42px; }
.landing-hero .proof { margin-top: 22px; padding: 12px 20px; gap: 12px; }
.proof strong { font-size: 1.5rem; }
.proof span { font-size: .82rem; }
@media (max-width: 859px) { .shop-shot { max-width: 270px; margin: 2px auto 42px; } .shop-shot .crew-frame { bottom: -34px; } }

/* gift band: keep the copy level with the top of the card instead of floating mid-band */
.gift-band .split { align-items: start; }

/* photo strips: tap a thumbnail to see that photo (different colors, back prints) */
.thumbs { display: flex; gap: 6px; padding: 8px 10px 0; overflow-x: auto; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: 0 0 auto; width: 42px; height: 42px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #EFECE3; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.active { border-color: var(--ink); }
.thumb:focus-visible { outline: 2px solid var(--sage); outline-offset: 1px; }

/* counter grid: short mug and matcha cards, backpack under them beside the tall tumbler card */
#counter .cards { align-items: start; }
@media (min-width: 600px) { .card.product.under { grid-column: span 2; } }
@media (min-width: 900px) {
  .card.product.wide { grid-row: span 2; }
  .card.product.under { grid-column: 3 / span 2; }
}
.card.product.under { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
.card.product.under .art.photo { flex: 0 0 42%; aspect-ratio: auto; min-height: 220px; }
.card.product.under .body { flex: 1 1 0; min-width: 0; }
.card.product.under .thumbs { flex-basis: 100%; order: 3; padding: 0 10px 10px; }
@media (max-width: 599px) { .card.product.under { flex-direction: column; } .card.product.under .art.photo { flex: none; aspect-ratio: 1/1; } }
/* keep grid columns equal even when a card holds a long, scrolling photo strip */
.cards > .card { min-width: 0; }
.thumbs { min-width: 0; }


/* ===== type system matched to the live site ===== */
h1, h2 { font-family: var(--font-head); font-weight: 400; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.03; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.55rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
h3 { font-family: var(--font-head); font-weight: 400; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; font-size: 1.75rem; }
.card h3, .line .n, .prose h3 { font-family: var(--font-serif); font-weight: 600; text-transform: none; letter-spacing: -.01em; line-height: 1.3; font-size: 1.25rem; }
.card.syrup-mini h3 { font-size: 1.05rem; }
.landing-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.55rem); }
.card .art { font-family: var(--font-head); font-weight: 400; text-transform: uppercase; }
.price, .total, .proof strong, .menu-list li span:first-child::before, .menu-list li span:last-child, .cart-bar .cart-sum { font-family: var(--font-num); font-weight: 400; letter-spacing: .01em; }
.price { font-size: 1.5rem; line-height: 1; }
.card.syrup-mini .price { font-size: 1.25rem; }
.proof strong { font-size: 1.6rem; }
.total { font-size: 1.4rem; }
.cart-bar .cart-sum { font-size: 1.15rem; }
.btn { font: 600 .8125rem var(--font-body); letter-spacing: .22em; text-transform: uppercase; }
.nav a { font-size: .6875rem; letter-spacing: .22em; }
.eyebrow { font-size: .75rem; letter-spacing: .22em; }
.section-head .more, .announce { letter-spacing: .18em; }
.badge { letter-spacing: .04em; }
.origins-map .lbl { font-family: var(--font-body); }
.landing-hero .eyebrow { opacity: .9; }
.card .price, .card.syrup-mini .price { font-weight: 400; }  /* Bebas Neue only comes in one weight */
.eyebrow { font-weight: 600; }

/* ===== "Add to cart": creamy coffee swirl on hover ===== */
.btn.add-cart { isolation: isolate; transition: background .15s ease, transform .1s ease, color .2s ease; }
.btn.add-cart::before, .btn.add-cart::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 240%; aspect-ratio: 1; border-radius: 50%;
  margin: -120% 0 0 -120%; z-index: -1; opacity: 0; pointer-events: none; transition: opacity .4s ease;
  filter: blur(6px) saturate(1.1);
}
.btn.add-cart::before {
  background: conic-gradient(from 0deg at 46% 52%, #2C2C2C 0%, #4F2A22 14%, #8B5A3C 24%, #D9B48A 31%, #F5E9D4 36%, #C99B6E 42%, #5A3226 54%, #2C2C2C 62%, #7A4A33 74%, #E8D2B3 82%, #6B3B2F 90%, #2C2C2C 100%);
}
.btn.add-cart::after {
  width: 180%; margin: -90% 0 0 -90%; filter: blur(9px);
  background: conic-gradient(from 180deg at 58% 44%, transparent 0%, rgba(245,233,212,.85) 12%, transparent 26%, rgba(139,90,60,.8) 44%, transparent 58%, rgba(245,233,212,.7) 72%, transparent 100%);
  mix-blend-mode: screen;
}
.btn.add-cart:hover, .btn.add-cart:focus-visible { background: #3A2620; color: var(--foam); text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.btn.add-cart:hover::before, .btn.add-cart:focus-visible::before { opacity: 1; animation: swirl-cw 2.6s cubic-bezier(.4,.1,.6,.9) infinite; }
.btn.add-cart:hover::after,  .btn.add-cart:focus-visible::after  { opacity: 1; animation: swirl-ccw 3.4s cubic-bezier(.4,.1,.6,.9) infinite; }
@keyframes swirl-cw  { from { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.08); } to { transform: rotate(360deg) scale(1); } }
@keyframes swirl-ccw { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn.add-cart:hover::before, .btn.add-cart:hover::after { animation: none; opacity: .9; }
}

/* ===== origins map as torn construction paper ===== */
.origins-map .land.shadow { fill: rgba(20,8,5,.42); }
.origins-map .land.rim { fill: #E9E1CC; }           /* the paper's pale torn core */
.origins-map .land.face { fill: var(--truck); }      /* minitruck tan paper */
.origins-map .land.fiber { opacity: .55; }
.origins-map .grat path { stroke: rgba(255,254,240,.05); }
.origins-map .route { stroke: var(--foam); opacity: .8; }
.origins-map .bean-badge circle { fill: rgba(60,28,20,.72); }

/* ===== Add to cart: creamier, frothier, slower ===== */
.btn.add-cart::before {
  filter: blur(7px) saturate(1.05);
  background: conic-gradient(from 0deg at 46% 52%, #4F2A22 0%, #8B5A3C 9%, #E0C39C 18%, #F7EDDD 27%, #EAD6B8 36%, #B98B63 44%, #F3E6D0 52%, #D9B48A 60%, #6B3B2F 68%, #ECD9BE 77%, #F7EDDD 86%, #A0714E 94%, #4F2A22 100%);
}
.btn.add-cart::after {
  filter: blur(8px);
  background: conic-gradient(from 180deg at 58% 44%, transparent 0%, rgba(255,250,240,.95) 10%, transparent 24%, rgba(232,210,179,.9) 40%, transparent 56%, rgba(255,250,240,.9) 70%, transparent 100%);
}
/* froth: soft clouds of milk foam drifting over the crema (no hard bubbles) */
.btn.add-cart .froth { position: absolute; inset: -40% -20%; z-index: -1; opacity: 0; pointer-events: none; transition: opacity .7s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='160'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .03' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 .98  0 0 0 0 .93  0 0 0 1.6 -.55'/%3E%3CfeGaussianBlur stdDeviation='1.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  background-size: 320px 160px; background-repeat: repeat; mix-blend-mode: screen; filter: blur(1.5px); }
.btn.add-cart:hover, .btn.add-cart:focus-visible { background: #7A4A33; color: var(--ink); text-shadow: 0 0 6px rgba(255,250,240,.9), 0 0 1px rgba(255,250,240,1); }
.btn.add-cart:hover::before, .btn.add-cart:focus-visible::before { animation-duration: 7s; }
.btn.add-cart:hover::after,  .btn.add-cart:focus-visible::after  { animation-duration: 9.5s; }
.btn.add-cart:hover .froth, .btn.add-cart:focus-visible .froth { opacity: .95; animation: froth-drift 18s linear infinite; }
@keyframes froth-drift { from { background-position: 0 0; } to { background-position: 320px -160px; } }
@media (prefers-reduced-motion: reduce) { .btn.add-cart:hover .froth { animation: none; } }

/* footer: owner sign-in */
footer .joint-link { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
footer .joint-link .btn.ghost { color: var(--sand); box-shadow: inset 0 0 0 2px rgba(220,211,188,.5); padding: 9px 16px; font-size: .72rem; }
footer .joint-link .btn.ghost:hover { background: var(--sand); color: var(--ink); }
footer .joint-link .small { color: #8F8878; }

/* Surf check (home, under syrups): live conditions from Open-Meteo + NOAA */
.surf-check { background: var(--sand, #DCD3BC); padding: 48px 0 44px; }
.surf-check .eyebrow { color: var(--sea); }
.surf-check h2 { margin-bottom: .2em; }
.sc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
@media (min-width: 720px) { .sc-grid { grid-template-columns: repeat(5, 1fr); } }
.sc-cell { background: var(--foam); border-radius: var(--radius); padding: 14px 16px 12px; box-shadow: 0 1px 0 rgba(79,42,34,.08); display: flex; flex-direction: column; }
.sc-l { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sc-v { font-family: var(--font-num); font-size: 2.4rem; line-height: 1; color: var(--brown); margin: 6px 0 4px; }
.sc-v small { font-size: 1rem; margin-left: 3px; }
.sc-d { font-size: .86rem; color: var(--muted); line-height: 1.3; }
.sc-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; margin-top: 18px; }
.sc-read { margin: 0; font-size: 1.05rem; color: var(--brown); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sc-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--brown); color: var(--foam); }
.sc-pill.good { background: var(--sage); }
.sc-pill.ok { background: var(--truck); color: var(--brown); }
.sc-days { display: flex; gap: 6px; flex-wrap: wrap; }
.sc-day { background: rgba(255,254,240,.6); border-radius: 10px; padding: 6px 10px; font-size: .8rem; color: var(--brown); text-align: center; line-height: 1.25; min-width: 64px; }
.sc-day b { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sc-src { flex-basis: 100%; margin: 4px 0 0; font-size: .76rem; color: var(--muted); }

/* Surfboard rental booking (home, surf section) */
.rental { background: rgba(255,254,240,.08); border: 1px solid rgba(255,254,240,.22); border-radius: var(--radius); padding: 18px 18px 14px; margin: 6px 0 18px; }
.rental-row { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 10px; }
@media (max-width: 520px) { .rental-row { grid-template-columns: 1fr; } }
.rental label { display: flex; flex-direction: column; gap: 5px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); }
.rental input[type=date], .rental select { font: inherit; font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--foam); border: 0; border-radius: 10px; padding: 10px 12px; min-height: 44px; }
.rental-avail { margin: 12px 0 8px; font-size: .95rem; color: var(--foam); }
.rental-avail.low { color: var(--sun, #E8B84A); }
.rental-avail.none { color: #F0A19A; }
.rental-agree { flex-direction: row !important; align-items: flex-start !important; gap: 10px !important; font-size: .92rem !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--foam) !important; margin: 4px 0 14px; cursor: pointer; }
.rental-agree input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--sage); }
.rental-agree a { color: var(--foam); }
.rental .btn-row { margin: 0; }
.rental button.btn { font: inherit; cursor: pointer; }
.rental button.btn[disabled] { opacity: .55; cursor: not-allowed; }
.rental-msg { margin: 10px 0 0; font-size: .9rem; color: var(--sand); min-height: 1.2em; }
.rental-msg.ok { color: var(--foam); font-weight: 600; }
.rental-msg.err { color: #F0A19A; }
.cart-bar .cart-rel { font-size: .78rem; color: var(--sand); white-space: nowrap; }

/* Halloween gift-card band (set GIFT_THEME in tools/build_home.py) */
.gift-band.spooky { --pumpkin: #E07A2F; --night: #17110F; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 70% 60% at 30% 20%, rgba(79,42,34,.75), transparent 70%), radial-gradient(ellipse 50% 40% at 85% 90%, rgba(224,122,47,.18), transparent 70%), var(--night); color: var(--foam); }
.gift-band.spooky .eyebrow { color: var(--pumpkin); }
.gift-band.spooky h2 { color: var(--foam); }
.gift-band.spooky h2 .glow { color: var(--pumpkin); text-shadow: 0 0 18px rgba(224,122,47,.55), 0 0 40px rgba(224,122,47,.25); }
.gift-band.spooky .lead { color: var(--sand); }
.gift-band.spooky .btn.pumpkin { background: var(--pumpkin); color: var(--night); box-shadow: 0 0 0 0 rgba(224,122,47,.5); animation: pulse-pumpkin 2.8s ease-in-out infinite; }
.gift-band.spooky .btn.pumpkin:hover { background: #F08D45; color: var(--night); }
@keyframes pulse-pumpkin { 0%, 100% { box-shadow: 0 0 0 0 rgba(224,122,47,.45); } 50% { box-shadow: 0 0 0 10px rgba(224,122,47,0); } }
.gift-band.spooky .btn.ghost { color: var(--foam); box-shadow: inset 0 0 0 2px var(--sand); }
.gift-band.spooky .btn.ghost:hover { background: var(--sand); color: var(--night); }
.gift-band.spooky .spooky-note { color: var(--sand); opacity: .8; margin-top: 12px; }
.gift-band.spooky .card { border-color: rgba(224,122,47,.35); box-shadow: 0 0 0 6px rgba(224,122,47,.08), 0 24px 50px rgba(0,0,0,.5); }
.gift-band.spooky .card .art { background: #fff; }
.gift-band.spooky .card .body::before { content: "🎃 Halloween pick"; display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--night); background: var(--pumpkin); border-radius: 999px; padding: 4px 10px; }
/* sky: moon and bats */
.spooky-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.spooky-sky .moon { position: absolute; top: 34px; right: 12%; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF6D6, #E9D9A8 60%, #CDBB86); box-shadow: 0 0 60px 18px rgba(255,240,200,.18), 0 0 120px 40px rgba(255,240,200,.08); opacity: .9; }
.spooky-sky .moon::after { content: ""; position: absolute; top: 18px; left: 30px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.08); box-shadow: 34px 38px 0 -4px rgba(0,0,0,.07), 14px 52px 0 -8px rgba(0,0,0,.07); }
.spooky-sky .bat { position: absolute; width: 56px; height: 28px; fill: #0E0A09; opacity: .9; animation: bat-fly 22s linear infinite, bat-flap .5s ease-in-out infinite alternate; transform-origin: 50% 50%; }
.spooky-sky .b1 { top: 12%; left: -6%; }
.spooky-sky .b2 { top: 26%; left: -14%; width: 40px; animation-duration: 27s, .42s; animation-delay: -9s, .1s; }
.spooky-sky .b3 { top: 8%; left: -20%; width: 32px; animation-duration: 33s, .6s; animation-delay: -18s, .2s; }
@keyframes bat-fly { 0% { translate: 0 0; } 25% { translate: 30vw -18px; } 50% { translate: 60vw 14px; } 75% { translate: 90vw -22px; } 100% { translate: 120vw 0; } }
@keyframes bat-flap { from { scale: 1 .55; } to { scale: 1 1; } }
/* the haunted cup: jack-o'-lantern face, ghosts of steam rising */
.cauldron { position: relative; width: 200px; height: 150px; margin: 6px 0 18px; }
.cauldron .cup { position: absolute; left: 0; bottom: 0; width: 200px; height: 150px; overflow: visible; }
.cauldron .cup-body { fill: var(--pumpkin); }
.cauldron .cup-top { fill: #2A1A12; }
.cauldron .cup-handle { stroke: var(--pumpkin); stroke-width: 10; stroke-linecap: round; }
.cauldron .face { fill: #FFE9A6; filter: drop-shadow(0 0 6px rgba(255,220,120,.9)); animation: flicker 3.2s ease-in-out infinite; }
.cauldron .saucer { fill: #3B2A22; }
@keyframes flicker { 0%, 100% { opacity: 1; } 42% { opacity: .85; } 47% { opacity: .55; } 52% { opacity: .95; } 80% { opacity: .8; } }
.cauldron .ghost { position: absolute; left: 60px; bottom: 96px; width: 34px; height: 44px; background: rgba(255,254,240,.85); border-radius: 17px 17px 4px 4px; opacity: 0; animation: ghost-rise 5.5s ease-in-out infinite; }
.cauldron .ghost::before { content: ""; position: absolute; top: 14px; left: 8px; width: 6px; height: 8px; border-radius: 50%; background: #17110F; box-shadow: 12px 0 0 #17110F; }
.cauldron .ghost::after { content: ""; position: absolute; bottom: -4px; left: 0; width: 100%; height: 8px; background: radial-gradient(circle at 6px 0, transparent 5px, rgba(255,254,240,.85) 5.5px) 0 0 / 11px 8px repeat-x; }
.cauldron .g2 { left: 84px; width: 26px; height: 34px; animation-delay: -1.9s; animation-duration: 6.2s; }
.cauldron .g3 { left: 42px; width: 22px; height: 30px; animation-delay: -3.7s; animation-duration: 7s; }
@keyframes ghost-rise { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 15% { opacity: .9; } 50% { transform: translate(10px, -60px) rotate(6deg); } 85% { opacity: .5; } 100% { transform: translate(-8px, -120px) rotate(-8deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .spooky-sky .bat, .cauldron .ghost, .cauldron .face, .gift-band.spooky .btn.pumpkin { animation: none; } .cauldron .ghost { opacity: .7; transform: translateY(-40px); } .spooky-sky .bat { translate: 30vw 0; } }
@media (max-width: 720px) { .spooky-sky .moon { width: 70px; height: 70px; top: 18px; right: 6%; } .cauldron { width: 160px; height: 120px; } .cauldron .cup { width: 160px; height: 120px; } }
/* Halloween band, about a quarter shorter */
.gift-band.spooky { padding: 48px 0 44px; }
.gift-band.spooky h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.gift-band.spooky .lead { font-size: 1.02rem; margin-bottom: .6em; }
.gift-band.spooky .cauldron, .gift-band.spooky .cauldron .cup { width: 150px; height: 112px; }
.gift-band.spooky .cauldron { margin: 0 0 12px; }
.gift-band.spooky .cauldron .ghost { left: 45px; bottom: 72px; width: 26px; height: 34px; }
.gift-band.spooky .cauldron .g2 { left: 63px; width: 20px; height: 26px; }
.gift-band.spooky .cauldron .g3 { left: 32px; width: 17px; height: 23px; }
.gift-band.spooky .spooky-note { margin-top: 8px; font-size: .8rem; }
.gift-band.spooky .card .art { aspect-ratio: 16/8; }
.gift-band.spooky .card .body { padding: 12px 14px 14px; gap: 5px; }
.gift-band.spooky .spooky-sky .moon { width: 84px; height: 84px; top: 22px; }
.gift-band.spooky .split { align-items: center; }

/* Surf check charts */
.sc-charts { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
@media (min-width: 720px) { .sc-charts { grid-template-columns: 1fr 1fr; } }
.sc-fig { margin: 0; background: var(--foam); border-radius: var(--radius); padding: 12px 14px 8px; box-shadow: 0 1px 0 rgba(79,42,34,.08); }
.sc-fig figcaption { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brown); display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.sc-fig figcaption span { font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.sc-chart { width: 100%; height: auto; display: block; font-family: var(--font-body); }
.sc-chart .axis { fill: var(--muted); font-size: 10px; }
.sc-chart .grid { stroke: rgba(79,42,34,.1); stroke-width: 1; }
.sc-chart .wave { fill: rgba(144,140,110,.28); stroke: var(--sage); stroke-width: 2; stroke-linejoin: round; }
.sc-chart .wind { fill: rgba(173,147,114,.55); }
.sc-chart .wind.good { fill: rgba(144,140,110,.9); }
.sc-chart .wind.bad { fill: rgba(138,75,61,.75); }
.sc-chart .tide { fill: rgba(79,42,34,.1); stroke: var(--brown); stroke-width: 2; stroke-linejoin: round; }
.sc-chart .now { stroke: var(--sea); stroke-width: 1.5; stroke-dasharray: 3 3; }
.sc-chart .now-l { fill: var(--sea); font-size: 10px; font-weight: 700; }
.sc-chart .pt { fill: var(--foam); stroke: var(--brown); stroke-width: 2; }
.sc-chart .lbl { fill: var(--brown); font-size: 10px; font-weight: 700; text-anchor: middle; }
.sc-chart .val { fill: var(--brown); font-size: 10px; text-anchor: middle; }
/* Surf check, about a fifth shorter */
.surf-check { padding: 28px 0 22px; }
.surf-check h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.sc-grid { gap: 8px; margin-top: 12px; }
.sc-cell { padding: 10px 14px 9px; }
.sc-v { font-size: 2rem; margin: 4px 0 2px; }
.sc-d { font-size: .8rem; }
.sc-charts { gap: 8px; margin-top: 8px; }
.sc-fig { padding: 8px 12px 4px; }
.sc-fig figcaption { margin-bottom: 2px; }
.sc-chart { max-height: 118px; }
.sc-foot { margin-top: 10px; gap: 8px 20px; }
.sc-read { font-size: .98rem; }
.sc-day { padding: 4px 8px; font-size: .76rem; }
.sc-src { margin-top: 2px; }
.sc-cta { padding: 9px 16px; font-size: .8rem; margin-left: 4px; white-space: nowrap; }
@media (max-width: 520px) { .sc-cta { margin: 6px 0 0; } }
#rental { scroll-margin-top: 90px; }
/* Beans section, half height */
#beans { padding: 28px 0 24px; }
#beans .split { align-items: start; gap: 24px; }
#beans h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-bottom: .25em; }
#beans .lead { font-size: 1rem; margin-bottom: .6em; }
#beans .photo-stack img { aspect-ratio: 4/3; }
#beans .perks { gap: 6px; margin-bottom: 10px; }
#beans .perks li { padding: 8px 12px; font-size: .86rem; line-height: 1.35; }
#beans .cards.two-up { gap: 10px; margin-top: 0; }
#beans .card .art { aspect-ratio: 16/7; }
#beans .card .body { padding: 10px 12px 12px; gap: 4px; }
#beans .card h3 { font-size: 1rem; }
#beans .card .unit { font-size: .82rem; }
#beans .card .btn { padding: 9px 14px; font-size: .78rem; }
@media (min-width: 900px) { #beans .split { grid-template-columns: 1fr 1.6fr; } }
#beans .card .art, #beans .card .thumbs { display: none; }
#beans .perks li { padding: 6px 10px; font-size: .8rem; }
#beans .lead { margin-bottom: .4em; }
#beans .card .body { padding: 10px 12px 10px; gap: 3px; }
#beans .card .btn { padding: 8px 12px; }
/* Counter-by-the-numbers, a quarter shorter */
.drinks { padding: 44px 0 40px; }
.drinks .split { align-items: center; gap: 28px; }
.drinks h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin-bottom: .35em; }
.drinks .photo-stack img { aspect-ratio: 4/3; }
.drinks .menu-list li { padding: 7px 0; font-size: .95rem; }
.drinks .menu-list { margin-bottom: 14px; }
.drinks .btn-row .btn { padding: 10px 16px; font-size: .8rem; }

/* Witch's brew behind the haunted cup */
.gift-band.spooky .cauldron { width: 300px; height: 150px; overflow: visible; }
.gift-band.spooky .cauldron .cup { left: 0; z-index: 2; }
.gift-band.spooky .cauldron .ghost { z-index: 3; }
.brew { position: absolute; left: 70px; bottom: -6px; width: 230px; height: 156px; z-index: 1; }
.brew .pot { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.brew .pot-body { fill: #1E1A1C; }
.brew .pot-rim { fill: #2B2528; }
.brew .brew-top { fill: url(#brewglow); filter: drop-shadow(0 0 10px rgba(120,230,90,.7)); }
.brew .pot-feet, .brew .pot-handle { stroke: #1E1A1C; stroke-width: 7; fill: none; }
.brew .logs { stroke: #4A2E1E; stroke-width: 6; fill: none; }
.brew .flame { fill: #E07A2F; opacity: .9; transform-origin: 50% 100%; animation: flame 1.1s ease-in-out infinite alternate; }
.brew .f2 { fill: #F2A23A; animation-duration: .9s; animation-delay: .2s; }
.brew .f3 { animation-duration: 1.3s; animation-delay: .4s; }
@keyframes flame { from { transform: scaleY(.85) scaleX(1.05); } to { transform: scaleY(1.1) scaleX(.95); } }
.brew .bub { fill: #CFFF8A; opacity: 0; animation: bubble 2.4s ease-in infinite; }
.brew .b2 { animation-delay: .8s; animation-duration: 2.9s; }
.brew .b3 { animation-delay: 1.6s; animation-duration: 2.1s; }
@keyframes bubble { 0% { transform: translateY(0) scale(.4); opacity: 0; } 30% { opacity: .95; } 100% { transform: translateY(-26px) scale(1.3); opacity: 0; } }
.brew .haze { position: absolute; left: 50%; bottom: 96px; width: 120px; height: 90px; margin-left: -60px; border-radius: 50%; filter: blur(18px); opacity: 0; pointer-events: none; animation: haze 7s ease-in-out infinite; }
.brew .h1 { background: rgba(122, 214, 92, .55); }
.brew .h2 { background: rgba(150, 90, 200, .55); animation-delay: -2.2s; animation-duration: 8s; width: 140px; }
.brew .h3 { background: rgba(90, 200, 120, .5); animation-delay: -4.5s; animation-duration: 9s; width: 100px; }
.brew .h4 { background: rgba(120, 70, 170, .5); animation-delay: -6s; animation-duration: 7.5s; width: 160px; height: 110px; }
@keyframes haze { 0% { transform: translate(0, 10px) scale(.7); opacity: 0; } 20% { opacity: .9; } 60% { transform: translate(22px, -60px) scale(1.15); opacity: .6; } 100% { transform: translate(-16px, -130px) scale(1.5); opacity: 0; } }
.gift-band.spooky .spooky-copy { position: relative; }
.gift-band.spooky .spooky-copy::before { content: ""; position: absolute; left: 40px; top: 40%; width: 360px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(140,80,190,.28), rgba(110,200,110,.14) 45%, transparent 70%); filter: blur(20px); z-index: 0; pointer-events: none; }
.gift-band.spooky .spooky-copy > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .brew .flame, .brew .bub, .brew .haze { animation: none; } .brew .haze { opacity: .5; transform: translateY(-50px); } .brew .bub { opacity: .8; } }
@media (max-width: 720px) { .gift-band.spooky .cauldron { width: 240px; height: 120px; } .brew { left: 56px; width: 184px; height: 125px; } .brew .haze { bottom: 76px; } }
.brew .haze { filter: blur(14px); }
.brew .h1 { background: rgba(140, 240, 100, .8); }
.brew .h2 { background: rgba(170, 100, 230, .85); }
.brew .h3 { background: rgba(110, 230, 140, .75); }
.brew .h4 { background: rgba(150, 80, 210, .8); }
@keyframes haze { 0% { transform: translate(0, 10px) scale(.7); opacity: 0; } 20% { opacity: 1; } 60% { transform: translate(22px, -60px) scale(1.2); opacity: .8; } 100% { transform: translate(-16px, -130px) scale(1.6); opacity: 0; } }
.gift-band.spooky .spooky-copy::before { background: radial-gradient(circle, rgba(150,80,210,.42), rgba(110,220,110,.22) 45%, transparent 70%); }
.visit .photo-stack img.busy { object-position: 50% 78%; }

/* Gordon & Smith */
:root { --gs-red: #E63329; }
.gs-cred { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255,254,240,.08); border: 1px solid rgba(255,254,240,.22); color: var(--sand); text-decoration: none; font-size: .86rem; line-height: 1.25; max-width: 100%; }
.gs-cred:hover { background: rgba(255,254,240,.14); color: var(--foam); }
.gs-cred img { height: 24px; width: auto; border-radius: 3px; flex: none; }
.gs-band { background: var(--ink); color: var(--sand); position: relative; overflow: hidden; }
.gs-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 55%, rgba(230,51,41,.16) 55.2%, rgba(230,51,41,.16) 62%, transparent 62.2%), linear-gradient(65deg, transparent 70%, rgba(230,51,41,.1) 70.2%, rgba(230,51,41,.1) 75%, transparent 75.2%); pointer-events: none; }
.gs-band .wrap { position: relative; }
.gs-head { max-width: 46rem; margin-bottom: 26px; }
.gs-logo { width: 300px; max-width: 70%; height: auto; margin-bottom: 18px; border-radius: 4px; }
.gs-band .eyebrow { color: var(--gs-red); }
.gs-band h2, .gs-band h3 { color: var(--foam); }
.gs-band .lead { color: var(--sand); max-width: 46rem; }
.gs-feature { display: grid; gap: 22px; align-items: stretch; margin-bottom: 34px; }
@media (min-width: 860px) { .gs-feature { grid-template-columns: 1fr 1.15fr; } }
.gs-photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; }
.gs-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.gs-photo figcaption { position: absolute; left: 14px; bottom: 12px; background: rgba(44,44,44,.8); color: var(--foam); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.gs-buy { background: rgba(255,254,240,.06); border: 1px solid rgba(255,254,240,.16); border-radius: var(--radius); padding: 24px 24px 22px; }
.gs-tag { display: inline-block; background: var(--gs-red); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; margin-bottom: 12px; }
.gs-buy h3 { font-family: var(--font-head); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; line-height: .95; margin-bottom: .4em; }
.gs-buy p { color: var(--sand); }
.gs-points { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.gs-points li { padding-left: 22px; position: relative; font-size: .95rem; color: var(--sand); }
.gs-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 4px; background: var(--gs-red); }
.gs-points strong { color: var(--foam); }
.btn.gs-red { background: var(--gs-red); color: #fff; }
.btn.gs-red:hover { background: #C42A21; color: #fff; }
.gs-band .btn.ghost.light { color: var(--foam); box-shadow: inset 0 0 0 2px rgba(255,254,240,.5); }
.gs-band .btn.ghost.light:hover { background: var(--foam); color: var(--ink); }
.gs-gear-head h3 { font-family: var(--font-head); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; margin-bottom: .3em; }
.gs-gear-head .more { color: var(--foam); }
.gs-cards .card { color: var(--ink); }
.gs-cards .card .art { background: #fff; }
.gs-cards .card .art img { object-fit: cover; }
.gs-cards .badge { background: var(--gs-red); color: #fff; }
.rental-row.four { grid-template-columns: 1.3fr 1.3fr .9fr .7fr; }
@media (max-width: 720px) { .rental-row.four { grid-template-columns: 1fr 1fr; } }
.gs-foot { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .86rem; }
.gs-foot img { height: 20px; width: auto; border-radius: 2px; }
.cards.three-up { grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards.three-up { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards.three-up { grid-template-columns: repeat(3, 1fr); } }
.gs-cards .card .art { aspect-ratio: 4/3; }
.gs-foot a { color: var(--foam); }
/* G&S: narrow strip on the home page; the full story lives at /gordon-and-smith/ */
.gs-strip { background: var(--ink); color: var(--sand); padding: 22px 0; }
.gs-strip .wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.gs-strip-logo { height: 34px; width: auto; border-radius: 3px; flex: none; }
.gs-strip p { margin: 0; flex: 1 1 320px; color: var(--foam); }
.gs-strip .btn { flex: none; }
.gs-page { padding: 48px 0 64px; min-height: 60vh; }
.gs-page .gs-head { margin-top: 0; }
/* G&S strip: white borders, like the logo's frame */
.gs-strip { border-top: 4px solid #fff; border-bottom: 4px solid #fff; }
.gs-strip .wrap { border: 2px solid #fff; border-radius: 12px; padding: 16px 22px; }
.gs-strip-logo { border: 2px solid #fff; border-radius: 4px; }
/* Community section, 30% shorter */
#community { padding: 66px 0 62px; }
#community .split { align-items: center; gap: 24px; }
#community h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-bottom: .3em; }
#community .lead { font-size: 1rem; margin-bottom: .6em; }
#community .photo-stack img { aspect-ratio: 4/3; }
#community .perks { gap: 6px; margin-bottom: 12px; }
#community .perks li { padding: 7px 12px; font-size: .86rem; line-height: 1.35; }
#community .btn-row .btn { padding: 10px 16px; font-size: .8rem; }

/* counter grid, take two: tumbler + mug + matcha in one row at equal height; the backpack runs the full width underneath */
@media (min-width: 900px) {
  #counter .cards { align-items: stretch; }
  .card.product.wide { grid-row: auto; grid-column: span 2; }
  .card.product.under { grid-column: 1 / -1; }
  #counter .card.product:not(.under) .art { aspect-ratio: auto; height: 330px; flex: none; }
  #counter .card.product:not(.under) .body { flex: 1; }
  #counter .card.product:not(.under) .btn { margin-top: auto; }
}
.card.product.under { position: relative; flex-wrap: nowrap; align-items: center; }
.card.product.under .art.photo { flex: 0 0 22%; min-height: 0; height: 170px; }
.card.product.under .body { flex: 1 1 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 14px 18px; }
.card.product.under .body h3 { flex-basis: 100%; margin: 0; }
.card.product.under .body .unit { flex: 1 1 200px; }
.card.product.under .body .pick { flex: 0 1 200px; }
.card.product.under .body .price { flex: none; }
.card.product.under .body .btn { flex: none; }
.card.product.under .body .badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--brown); color: var(--foam); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.card.product.under .thumbs { flex: 0 0 auto; order: 3; padding: 0 14px 0 0; display: flex; flex-wrap: wrap; width: 132px; gap: 6px; }
.card.product.under .thumbs .thumb { width: 60px; height: 60px; }
@media (max-width: 899px) { .card.product.under { flex-wrap: wrap; } .card.product.under .thumbs { width: auto; flex-basis: 100%; padding: 0 14px 12px; } }
@media (max-width: 599px) { .card.product.under .art.photo { height: auto; } .card.product.under .body { flex-direction: column; align-items: stretch; } }
/* pickers, prices and buttons line up across a row: the description takes up the slack */
.cards .card.product:not(.under) .body .unit { flex: 1 0 auto; }
.cards .card.product:not(.under) .body .pick { margin-top: 6px; }
/* beans: the little guy behind the Espresso Blend card sneaks his head up through the perks every few seconds */
#beans .perks { position: relative; z-index: 1; }
#beans .has-peek { z-index: 3; }
#beans .has-peek .art, #beans .has-peek .body { position: relative; z-index: 3; background: #fff; }
#beans .has-peek .peek { z-index: 2; width: 74px; right: 10%; animation: sneak 9s ease-in-out 2.5s infinite; transform: translateY(100%); }
#beans .has-peek.in .peek { animation: sneak 9s ease-in-out 2.5s infinite; }
#beans .has-peek:hover .peek { animation: none; transform: translateY(8%); }
@keyframes sneak { 0%, 80% { transform: translateY(100%); } 84%, 92% { transform: translateY(8%); } 86% { transform: translateY(12%) rotate(-4deg); } 90% { transform: translateY(10%) rotate(4deg); } 96%, 100% { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { #beans .has-peek .peek { animation: none; transform: translateY(100%); } }
/* beans: right column sized to the photo */
@media (min-width: 900px) {
  #beans .split { grid-template-columns: 1fr 1.45fr; align-items: center; }
  #beans .photo-stack img { aspect-ratio: 1/1; }
  #beans h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
  #beans .perks { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
  #beans .perks li { padding: 6px 9px; font-size: .74rem; line-height: 1.3; }
  #beans .card .body { padding: 10px 12px; gap: 4px; flex-direction: row; flex-wrap: wrap; align-items: center; }
  #beans .card .body .badge { position: absolute; top: -10px; left: 10px; }
  #beans .card { position: relative; overflow: visible; margin-top: 8px; }
  #beans .card .body h3 { flex-basis: 100%; font-size: .98rem; }
  #beans .card .body .unit { flex-basis: 100%; font-size: .78rem; }
  #beans .card .body .pick { flex: 1 1 120px; margin: 0; }
  #beans .card .body .pick select { min-height: 36px; padding: 6px 8px; font-size: .85rem; }
  #beans .card .body .price { flex: none; font-size: 1rem; }
  #beans .card .body .btn { flex: 1 1 100%; padding: 8px 10px; font-size: .74rem; }
}
.card .price small { font-family: var(--font-body); font-size: .78rem; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 4px; }

/* FAQ (home): plain questions and one-paragraph answers, also emitted as FAQPage JSON-LD by tools/build_home.py */
.faq .section-head { margin-bottom: 18px; }
.faq-list { display: grid; gap: 10px; max-width: 52rem; }
.faq-list details { background: #fff; border: 1px solid var(--sand-2); border-radius: 12px; padding: 0 18px; }
.faq-list summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--font-body, inherit); font-size: 1.4rem; line-height: 1; color: var(--brown); flex: none; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0 0 16px; }

/* Gordon & Smith page: the headline is the page's h1, styled like the band's h2 */
.gs-band h1 { color: var(--foam); font-size: clamp(2.2rem, 5vw, 3.2rem); }
.gs-band .gs-facts { color: var(--sand); margin: 18px 0 0; }
.gs-band .gs-facts strong { color: var(--foam); }

/* ---- Phones and touch screens ---- */
/* Nothing may push the page wider than the screen. */
html, body { overflow-x: clip; }
@media (max-width: 640px) { .btn { max-width: 100%; white-space: normal; text-align: center; } }
/* Effects that only start on mouse hover can't play on a touch screen (a tap leaves them stuck on), so they are off there. */
@media (hover: none) {
  .card:hover .art::before, .card:hover .art::after { animation: none !important; }
  .btn.add-cart:hover::before, .btn.add-cart:hover::after { animation: none; opacity: 0; }
  .btn.add-cart:hover .froth { animation: none; opacity: 0; }
  #beans .has-peek:hover .peek { animation: sneak 9s ease-in-out 2.5s infinite; transform: translateY(100%); }
}
/* On a narrow screen the cauldron's glow and ghosts drift over the gift-card text, so they are left out; flame, bubbles and bats stay. */
@media (max-width: 720px) { .brew .haze, .cauldron .ghost { display: none; } }
/* The backpack card stacks in one column on a phone; without this its price, picker and button wrapped into a second column off the edge. */
@media (max-width: 599px) { .card.product.under .body { flex-wrap: nowrap; flex: none; } .card.product.under .body h3, .card.product.under .body .unit, .card.product.under .body .pick { flex: none; } }
/* The bean section photo is a tall shot of the bags; keep the bags in the frame. */
#beans .photo-stack img { object-fit: cover; object-position: 50% 72%; }

/* Rotating holiday gift band: assets/site.js holidays() sets data-holiday by date. Each holiday is a background and an accent. */
.gift-band.season .season-art:empty { display: none; }
.gift-band.season .season-note { opacity: .85; margin-top: 12px; }
.gift-band.season .season-btn { background: var(--foam); color: var(--ink); }
.gift-band.season .season-btn:hover { background: var(--sand); color: var(--ink); }
.gift-band.themed { --acc: var(--sand); --bg1: var(--sea-2); --bg2: var(--sea); position: relative; overflow: hidden; isolation: isolate; padding: 48px 0 44px; color: var(--foam);
  background: radial-gradient(ellipse 60% 70% at 18% 15%, var(--bg2), transparent 70%), radial-gradient(ellipse 45% 45% at 88% 92%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%), var(--bg1); }
.gift-band.themed .eyebrow { color: var(--acc); }
.gift-band.themed h2 { color: var(--foam); font-size: clamp(1.8rem, 4vw, 2.5rem); }
.gift-band.themed h2 .glow { color: var(--acc); }
.gift-band.themed .lead { color: var(--sand); font-size: 1.02rem; margin-bottom: .6em; }
.gift-band.themed .season-note { color: var(--sand); }
.gift-band.themed .season-btn { background: var(--acc); color: var(--night, #17110F); }
.gift-band.themed .season-btn:hover { background: var(--foam); }
.gift-band.themed .card { border-color: color-mix(in srgb, var(--acc) 40%, transparent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--acc) 10%, transparent), 0 24px 50px rgba(0,0,0,.4); }
.gift-band.themed .card .art { background: #fff; }
.gift-band.themed .card .body[data-badge]::before { content: attr(data-badge); display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #17110F; background: var(--acc); border-radius: 999px; padding: 4px 10px; }
.gift-band.themed .season-art { display: flex; gap: 14px; align-items: flex-end; margin: 4px 0 16px; font-size: 2.6rem; line-height: 1; }
.gift-band.themed .season-art .bob { display: inline-block; animation: season-bob 3.6s ease-in-out infinite; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.gift-band.themed .season-art .b2 { font-size: 3.4rem; animation-delay: -1.2s; }
.gift-band.themed .season-art .b3 { animation-delay: -2.4s; }
@keyframes season-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .gift-band.themed .season-art .bob { animation: none; } }
.gift-band[data-holiday="thanksgiving"] { --bg1: #3A1F19; --bg2: #6B3B2F; --acc: #E8A14A; }
.gift-band[data-holiday="holidays"]     { --bg1: #23301F; --bg2: #57553F; --acc: #E9C877; }
.gift-band[data-holiday="newyear"]      { --bg1: #17110F; --bg2: #4F2A22; --acc: #E9C877; }
.gift-band[data-holiday="valentines"]   { --bg1: #4A1F23; --bg2: #6B3B2F; --acc: #F4B4AC; }
.gift-band[data-holiday="stpatricks"]   { --bg1: #2E3A29; --bg2: #57553F; --acc: #A9D98C; }
.gift-band[data-holiday="easter"]       { --bg1: #57553F; --bg2: #908C6E; --acc: #F6E3A1; }
.gift-band[data-holiday="mothers"]      { --bg1: #5A2F33; --bg2: #6B3B2F; --acc: #F6C6C0; }
.gift-band[data-holiday="fathers"]      { --bg1: #2F3F45; --bg2: #57553F; --acc: #DCD3BC; }
.gift-band[data-holiday="july4"]        { --bg1: #1F2B45; --bg2: #6B3B2F; --acc: #F3E9D2; }
.gift-band.themed .card .art { aspect-ratio: 16/8; }
.gift-band.themed .card .body { padding: 12px 14px 14px; gap: 5px; }
.gift-band.themed .split { align-items: center; }
