/* Cafeography — design tokens and components.
   Palette and type follow the "dark roast on cream" system: Cormorant serif
   headings, Playfair italic eyebrows, near-square corners, brown-tinted shadows.
   Ornaments: a compass rose, a tick band and rolling hills as section dividers. */

:root {
  --roast: #2D1810;
  --roast-2: #3B2318;
  --medium: #5C3D2E;
  --terracotta: #B7410E;
  --terracotta-text: #9A3700;
  --red: #8B2500;
  --orange: #D2691E;
  --jade: #2D4A3E;
  --leaf: #4A7C59;
  --gold: #C9A227;
  --gold-text: #8B7000;
  --cream: #F5F0E8;
  --paper: #FBF8F3;
  --mist: #E8E4DC;
  --sand: #D4C4A8;
  --ink: #1A1A1A;
  --muted: #525252;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Playfair Display", Georgia, serif;

  --shadow: 0 4px 14px 0 rgba(45, 24, 16, .15);
  --shadow-lg: 0 10px 40px -10px rgba(45, 24, 16, .25);
  --shadow-xl: 0 25px 50px -12px rgba(45, 24, 16, .35);
  --shadow-gold: 0 4px 20px 0 rgba(201, 162, 39, .3);
  --radius: 2px;
  --wrap: 1240px;
  --gutter: 16px;

  /* Drum-band tick strip, used as a thin border ornament */
  --band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8'%3E%3Cpath d='M0 8 L6 0 L12 8 Z' fill='%23C9A227'/%3E%3Ccircle cx='18' cy='4' r='1.6' fill='%23C9A227'/%3E%3C/svg%3E");
  --band-jade: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8'%3E%3Cpath d='M0 8 L6 0 L12 8 Z' fill='%232D4A3E'/%3E%3Ccircle cx='18' cy='4' r='1.6' fill='%232D4A3E'/%3E%3C/svg%3E");
  /* Concentric rings, a faint background texture for dark sections */
  --rings: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23F5F0E8' stroke-width='.6'%3E%3Ccircle cx='60' cy='60' r='20'/%3E%3Ccircle cx='60' cy='60' r='34' stroke-dasharray='2 4'/%3E%3Ccircle cx='60' cy='60' r='48'/%3E%3C/g%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
::selection { background: rgba(183, 65, 14, .3); color: var(--roast); }
*:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; color: var(--roast); margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--roast); padding: 8px 14px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 104px 0; } }
.section--mist { background: var(--mist); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--roast); color: var(--cream); }
.section--dark::before { content: ""; position: absolute; inset: 0; background-image: var(--rings); opacity: .05; pointer-events: none; }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--tight { padding: 48px 0; }

/* ---------- Eyebrow + section heads ---------- */
.eyebrow { display: block; font: italic 400 1.2rem/1.3 var(--font-accent); color: var(--terracotta-text); margin-bottom: .35rem; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--gold); }
.kicker { font: 600 .72rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .lede { color: var(--muted); font-size: 1.125rem; font-weight: 300; max-width: 640px; margin: 0 auto; }
.section--dark .section-head .lede { color: rgba(245, 240, 232, .75); }
.section-head--left { text-align: left; margin-left: 0; }
.section-head--left .lede { margin-left: 0; }
.ornament { display: block; margin: 0 auto 14px; color: var(--terracotta); }
.section--dark .ornament { color: var(--gold); }
.beans { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px auto 0; color: var(--medium); }
.beans::before, .beans::after { content: ""; height: 1px; width: 72px; background: linear-gradient(90deg, transparent, var(--sand)); }
.beans::after { background: linear-gradient(90deg, var(--sand), transparent); }
.section--dark .beans { color: var(--gold); }
.section--dark .beans::before, .section--dark .beans::after { background: linear-gradient(90deg, transparent, rgba(201, 162, 39, .5)); }
.band { height: 8px; background: var(--band) repeat-x; background-size: 24px 8px; opacity: .9; }
.band--jade { background-image: var(--band-jade); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 15px 30px; border: 2px solid transparent; border-radius: var(--radius);
  font: 500 .9rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform .3s ease, box-shadow .3s ease, color .3s ease;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn:hover::before { transform: scaleX(1); }
.btn-primary { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta); }
.btn-primary::before { background: var(--red); }
.btn-primary:hover { color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--roast); border-color: var(--gold); }
.btn-gold::before { background: var(--orange); }
.btn-gold:hover { color: var(--cream); }
.btn-outline { background: transparent; color: var(--roast); border-color: var(--roast); }
.btn-outline::before { background: var(--roast); transform: scaleY(0); transform-origin: bottom; }
.btn-outline:hover::before { transform: scaleY(1); }
.btn-outline:hover { color: var(--cream); }
.btn-light { background: transparent; color: var(--cream); border-color: rgba(245, 240, 232, .4); }
.btn-light::before { background: rgba(245, 240, 232, .12); }
.btn-light:hover { color: var(--cream); }
.btn-sm { padding: 10px 16px; font-size: .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; font-size: .95rem; text-decoration: none; color: var(--terracotta-text); }
.link-arrow svg { transition: transform .3s; }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--gold); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; padding: 18px 0; transition: background .4s, padding .4s, box-shadow .4s; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid, .site-header--solid { background: rgba(245, 240, 232, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow); padding: 10px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font: 600 1.5rem/1 var(--font-display); letter-spacing: -.01em; }
.brand svg { flex: none; }
.is-solid .brand, .site-header--solid .brand { color: var(--roast); }
.nav { display: none; align-items: center; gap: 28px; }
.nav a { position: relative; color: var(--cream); text-decoration: none; font-size: .9rem; font-weight: 500; letter-spacing: .02em; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 6px; background: var(--band) repeat-x; background-size: 18px 6px; transform: scaleX(0); transition: transform .3s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.is-solid .nav a, .site-header--solid .nav a { color: var(--roast); }
.nav .nav-cta { padding: 9px 16px; border-radius: 999px; background: linear-gradient(90deg, var(--terracotta), var(--orange)); color: var(--cream) !important; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.nav .nav-cta::after { display: none; }
.nav-toggle { display: inline-flex; background: none; border: 0; color: var(--cream); padding: 8px; cursor: pointer; }
.is-solid .nav-toggle, .site-header--solid .nav-toggle { color: var(--roast); }
.nav-search { display: inline-flex; margin-left: auto; padding: 8px; color: var(--cream); border-radius: 999px; transition: background .2s; }
.nav-search:hover, .nav-search[aria-current="page"] { background: rgba(245, 240, 232, .14); }
.is-solid .nav-search, .site-header--solid .nav-search { color: var(--roast); }
.is-solid .nav-search:hover, .site-header--solid .nav-search:hover { background: var(--mist, rgba(45, 24, 16, .06)); }
@media (min-width: 1024px) { .nav { display: flex; margin-left: auto; } .nav-search { margin-left: -8px; } .nav-toggle { display: none; } }
.mobile-nav { position: fixed; inset: 0; z-index: 50; background: var(--roast); color: var(--cream); padding: 24px var(--gutter); display: none; flex-direction: column; }
.mobile-nav.is-open { display: flex; }
.mobile-nav .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-nav a { color: var(--cream); text-decoration: none; font: 500 2rem/1.2 var(--font-display); padding: 10px 0; border-bottom: 1px solid rgba(245, 240, 232, .12); }
.mobile-nav a.nav-cta { margin-top: 24px; border: 0; font: 600 .9rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--roast); padding: 16px; text-align: center; }
.mobile-nav button { background: none; border: 0; color: var(--cream); padding: 8px; cursor: pointer; }

/* ---------- Hero ---------- */
/* Every photo hero fills the first screen (svh: the visible height on phones, without the URL bar).
   The cap keeps it from stretching in renderers that use one very tall viewport (search engines, full-page captures). */
.hero { position: relative; min-height: min(100vh, 1400px); min-height: min(100svh, 1400px); display: flex; align-items: center; color: var(--cream); overflow: hidden; padding: 128px 0 140px; background: var(--roast); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(45, 24, 16, .88) 0%, rgba(45, 24, 16, .7) 45%, rgba(45, 24, 16, .94) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background-image: var(--rings); opacity: .06; }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero__inner { max-width: 860px; margin: 0 auto; text-align: center; }
.hero--left .hero__inner { margin: 0; text-align: left; }
.hero h1 { color: var(--cream); margin-bottom: .3em; }
.hero h1 .accent { display: block; background: linear-gradient(135deg, var(--gold), var(--orange) 55%, #E0703A); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(245, 240, 232, .82); max-width: 640px; margin: 0 auto 2rem; line-height: 1.6; }
.hero--left .hero__sub { margin-left: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero--left .hero__actions { justify-content: flex-start; }
.hero__rose { color: var(--gold); margin: 0 auto 18px; animation: spin 140s linear infinite; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 2.2rem; padding: 0; list-style: none; }
.hero--left .trust { justify-content: flex-start; }
.trust li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(245, 240, 232, .28); background: rgba(245, 240, 232, .1); border-radius: var(--radius); font-size: .85rem; color: rgba(245, 240, 232, .8); }
.trust svg { color: var(--gold); }
.hills { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; pointer-events: none; }
.hills svg { width: 100%; height: 72px; }
@media (min-width: 768px) { .hills svg { height: 120px; } }
/* The hero must fit the first screen. On short screens (1366x768 and 1280x720 laptops) the rose
   ornament goes, the headline scales with the screen height and the spacing tightens; phones
   also keep only the first trust chip. Tall screens keep the full layout. */
@media (max-height: 900px) {
  .hero { padding: 100px 0 104px; }
  .hero__rose { display: none; }
  .hero h1 { font-size: min(clamp(2.4rem, 6vw, 4.75rem), 8.2vh); }
  .hero__sub { margin-bottom: 1.3rem; }
  .hero .search { margin-bottom: 1.1rem; }
  .hero .trust { margin-top: 1.3rem; }
  .hero .hills svg { height: 72px; }
}
@media (max-height: 760px) {
  .hero { padding: 92px 0 96px; }
  .hero h1 { font-size: min(clamp(2.4rem, 6vw, 4.75rem), 7.6vh); }
  .hero__sub { font-size: 1rem; line-height: 1.5; }
  .hero .trust li:nth-child(n+3) { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 0 88px; }
  .hero__rose { display: none; }
  .hero__sub { font-size: 1rem; line-height: 1.5; margin-bottom: 1.2rem; }
  .hero .trust li + li { display: none; }
}
.credit { position: absolute; right: 12px; bottom: 8px; z-index: 4; font-size: .68rem; color: rgba(245, 240, 232, .55); }
.credit a { color: inherit; }

/* Search in hero */
.search { display: flex; max-width: 620px; margin: 0 auto 1.6rem; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-xl); padding: 6px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 14px; font: 400 1rem var(--font-body); color: var(--ink); }
.search input:focus { outline: none; }
.search:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .82rem; color: rgba(245, 240, 232, .7); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.hero__inner .crumbs ol { justify-content: center; }
.hero--left .crumbs ol { justify-content: flex-start; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 28px; } }

/* ---------- Café cards (free) ---------- */
.cafe-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 2px solid var(--sand); border-radius: var(--radius); padding: 22px 22px 18px;
  box-shadow: var(--shadow); transition: transform .35s ease, border-color .35s, box-shadow .35s;
}
.cafe-card:hover { transform: translateY(-4px); border-color: rgba(201, 162, 39, .6); box-shadow: var(--shadow-lg); }
.cafe-card:target { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.cafe-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.cafe-card h3 { font-size: 1.6rem; margin: 0 0 2px; line-height: 1.1; overflow-wrap: anywhere; }
.cafe-card h3 a { color: inherit; text-decoration: none; }
.cafe-card .alt { font: italic 400 .95rem var(--font-accent); color: var(--muted); margin: 0 0 8px; }
.meta { list-style: none; margin: 10px 0 14px; padding: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.meta li { display: flex; gap: 8px; align-items: flex-start; }
.meta svg { flex: none; margin-top: 3px; color: var(--terracotta); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border: 1px solid var(--sand); border-radius: 999px; font-size: .75rem; font-weight: 500; color: var(--medium); background: var(--paper); white-space: nowrap; }
a.chip { text-decoration: none; }
a.chip:hover { border-color: var(--terracotta); color: var(--terracotta-text); }
.chip--open { border-color: rgba(74, 124, 89, .45); color: var(--leaf); background: rgba(74, 124, 89, .08); }
.chip--closed { color: var(--muted); }
/* Home "Pick an hour": chips beyond the first few fold behind a toggle */
.chips-more { margin-top: -6px; }
.chips-more summary { display: inline-block; cursor: pointer; list-style: none; margin-bottom: 10px; font-size: .78rem; font-weight: 600; color: var(--terracotta-text); text-decoration: underline; text-underline-offset: 3px; }
.chips-more summary::-webkit-details-marker { display: none; }
.chips-more summary:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.chips-more__close, .chips-more[open] .chips-more__open { display: none; }
.chips-more[open] .chips-more__close { display: inline; }
.chips-more[open] summary { order: 2; }
.chips-more[open] { display: flex; flex-direction: column-reverse; align-items: flex-start; }
.cafe-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--sand); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: .85rem; }
.cafe-card__foot a { text-decoration: none; font-weight: 500; }
.cafe-card__foot .claim { margin-left: auto; color: var(--muted); font-weight: 400; font-size: .78rem; }
.cafe-card__foot .draft-link { color: var(--roast); background: var(--gold); padding: 2px 8px; border-radius: 2px; }
.status { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--radius); white-space: nowrap; }
.status--checked { background: rgba(45, 74, 62, .1); color: var(--jade); }
.status--source { background: var(--mist); color: var(--muted); }
.status--featured { background: var(--gold); color: var(--roast); }
.cafe-card.is-hidden, .photo-tile.is-hidden { display: none; }

/* ---------- Featured cards (paid) ---------- */
.feat-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 2px solid var(--gold); transition: transform .5s, box-shadow .5s; text-decoration: none; color: inherit; }
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); color: inherit; }
.feat-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--roast); }
.feat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.feat-card:hover .feat-card__img img { transform: scale(1.08); }
.feat-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(45, 24, 16, .85), rgba(45, 24, 16, .15) 55%, transparent); }
.feat-card__title { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; color: var(--cream); }
.feat-card__title h3 { color: var(--cream); font-size: 2rem; margin: 0; }
.feat-card__title span { font: italic 400 1rem var(--font-accent); color: rgba(245, 240, 232, .85); }
.feat-card .status--featured { position: absolute; top: 14px; left: 14px; z-index: 1; }
.feat-card__body { padding: 18px 20px 20px; }
.feat-card__body p { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.feat-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 2; background: linear-gradient(90deg, var(--gold), var(--orange), var(--gold)); }

/* ---------- Tiles (areas, categories, cities) ---------- */
.tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .4s, box-shadow .4s; overflow: hidden; }
.tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--terracotta), var(--gold), var(--jade), var(--gold), var(--terracotta)); opacity: 0; transition: opacity .4s; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 1.65rem; margin: 0; }
.tile .vi { font: italic 400 .95rem var(--font-accent); color: var(--terracotta-text); }
.tile p { color: var(--muted); font-size: .92rem; margin: 4px 0 10px; }
.tile .count { margin-top: auto; font: 600 .72rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--medium); }
.tile .tile__rose { position: absolute; right: -26px; top: -26px; color: var(--sand); opacity: .55; transition: transform 1.2s ease; }
.tile:hover .tile__rose { transform: rotate(40deg); }
.tile--dark { background: var(--roast-2); color: var(--cream); }
.tile--dark h3 { color: var(--cream); }
.tile--dark p { color: rgba(245, 240, 232, .7); }
.tile--dark .count { color: var(--gold); }
.tile--soon { opacity: .75; box-shadow: none; border: 1px dashed var(--sand); background: transparent; }
.tile--soon:hover { transform: none; box-shadow: none; }
.corner { position: absolute; width: 14px; height: 14px; border: 0 solid rgba(183, 65, 14, .35); }
.corner.tl { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; }
.corner.br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }

/* ---------- Photo tile (city cards) ---------- */
.photo-tile { position: relative; display: block; min-height: 340px; border-radius: var(--radius); overflow: hidden; color: var(--cream); text-decoration: none; box-shadow: var(--shadow-lg); }
.photo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.photo-tile:hover img { transform: scale(1.06); }
.photo-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(45, 24, 16, .92), rgba(45, 24, 16, .2) 60%); }
.photo-tile__body { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; }
.photo-tile h3 { color: var(--cream); font-size: 2.4rem; margin: 0; }
.photo-tile .vi { font: italic 400 1.05rem var(--font-accent); color: var(--gold); }
.photo-tile p { color: rgba(245, 240, 232, .8); font-size: .95rem; margin: 6px 0 0; }

/* ---------- Glance table / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--sand); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; margin: 0 0 32px; }
@media (max-width: 767px) { .stats > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* One row of equal columns, however many stats a page has (3 on /destinations, 4 on city pages) */
@media (min-width: 768px) { .stats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; } }
.stat { background: var(--paper); padding: 20px 18px; }
.stat b { display: block; font: 600 2.4rem/1 var(--font-display); color: var(--terracotta); font-variant-numeric: lining-nums tabular-nums; }
.plan .price, .menu-list .p, .hours td { font-variant-numeric: lining-nums tabular-nums; }
.stat span { display: block; margin-top: 6px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; box-shadow: var(--shadow); }
table.data th, table.data td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--mist); vertical-align: top; }
table.data th { font: 600 .75rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--medium); background: var(--paper); }
table.data td:first-child { font-weight: 500; }

/* ---------- Filters ---------- */
.filters { position: sticky; top: 64px; z-index: 20; background: rgba(245, 240, 232, .97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sand); padding: 14px 0; margin-bottom: 28px; }
.filters .wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters input[type="search"], .filters select { font: 400 .92rem var(--font-body); padding: 10px 12px; border: 1px solid var(--sand); border-radius: var(--radius); background: #fff; color: var(--ink); min-width: 0; }
.filters input[type="search"] { flex: 1 1 220px; }
.filters select { flex: 0 1 auto; }
.toggle { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border: 1px solid var(--sand); border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 500; color: var(--medium); cursor: pointer; user-select: none; }
.toggle input { accent-color: var(--terracotta); margin: 0; }
.toggle:has(input:checked) { border-color: var(--terracotta); background: rgba(183, 65, 14, .07); color: var(--terracotta-text); }
.filters .count { margin-left: auto; font-size: .82rem; color: var(--muted); }
.filters__chips { display: flex; flex-wrap: wrap; gap: 10px; }
/* Phones: one row of chips that scrolls sideways, so the sticky bar stays short */
@media (max-width: 640px) {
  .filters__chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; width: calc(100% + 32px); }
  .filters__chips::-webkit-scrollbar { display: none; }
  .filters__chips .toggle { flex: 0 0 auto; }
}
.empty { display: none; text-align: center; padding: 48px 16px; color: var(--muted); }
.empty.is-shown { display: block; }

/* ---------- Prose ---------- */
.prose { font-size: 1.075rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 2.2em 0 .5em; }
.prose h3 { font-size: 1.6rem; margin: 1.8em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--roast); font-weight: 600; }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.prose figcaption, .figcap { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.prose figcaption a, .figcap a { color: inherit; }
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--medium); }
.note { position: relative; padding: 22px 24px; margin: 2em 0; background: linear-gradient(135deg, rgba(45, 74, 62, .06), rgba(183, 65, 14, .05)); border-left: 4px solid var(--terracotta); border-radius: 0 var(--radius) var(--radius) 0; }
.note p:last-child { margin: 0; }
.note--gold { border-left-color: var(--gold); }

/* Guide author: byline under the hero, box at the end, profile page */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 1.6em; }
.article-meta .kicker { margin: 0; }
.byline { display: inline-flex; align-items: center; gap: 10px; color: var(--medium); text-decoration: none; font-size: .92rem; }
.byline b { color: var(--roast); font-weight: 600; }
.byline:hover b { color: var(--terracotta-text); text-decoration: underline; }
.byline__img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.author-box { display: flex; gap: 20px; align-items: flex-start; margin: 3em 0 0; padding: 24px; background: var(--mist, #EFE8DC); border-radius: var(--radius); }
.author-box__img { width: 96px; height: 96px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.author-box p { margin: 0 0 .5em; font-size: .95rem; }
.author-box .kicker { margin-bottom: .4em; }
.author-box .author-box__name { font: 600 1.5rem/1.2 var(--font-display); margin-bottom: .35em; }
.author-box__name a { color: var(--roast); text-decoration: none; }
.author-box__links { font-size: .88rem; }
@media (max-width: 520px) { .author-box { flex-direction: column; } }
.author-page__head { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; margin-bottom: 2.2em; }
.author-page__img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.author-facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 0; font-size: .95rem; }
.author-facts dt { font-weight: 600; color: var(--medium); }
.author-facts dd { margin: 0; }
@media (max-width: 640px) { .author-page__head { grid-template-columns: 1fr; } .author-page__img { max-width: 240px; } .author-facts { grid-template-columns: 1fr; gap: 2px; } .author-facts dd { margin-bottom: 10px; } }
.author-page__h { margin-top: 2em; }
.author-guides { list-style: none; padding: 0; margin: 0; }
.author-guides li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--sand); }
.author-guides a { font-weight: 600; }
.author-guides span { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.drink { display: grid; gap: 20px; align-items: start; padding: 28px 0; border-top: 1px solid var(--sand); }
@media (min-width: 768px) { .drink { grid-template-columns: 220px 1fr; gap: 36px; } }
.drink h3 { margin-top: 0; }
.drink .vi { font: italic 400 1.1rem var(--font-accent); color: var(--terracotta-text); display: block; margin-bottom: 8px; }
.drink img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.phrase { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-bottom: 1px dashed var(--sand); }
@media (min-width: 640px) { .phrase { grid-template-columns: 1.1fr 1fr; gap: 16px; } }
.phrase b { font: 600 1.25rem var(--font-display); color: var(--roast); }
.phrase span { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--sand); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 500 1.4rem/1.25 var(--font-display); color: var(--roast); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--terracotta); border-bottom: 2px solid var(--terracotta); transform: rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 22px; color: var(--muted); }
.faq h3 { font: inherit; color: inherit; margin: 0; display: inline; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 28px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--sand); border-radius: var(--radius); padding: 34px 28px 40px; box-shadow: var(--shadow); transition: transform .4s, box-shadow .4s, border-color .4s; }
.plan::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--band-jade) repeat-x; background-size: 24px 8px; opacity: .8; }
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--gold); }
.plan--highlight { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.plan--highlight::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--orange), var(--gold)); }
.plan .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--roast); font: 700 .7rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; white-space: nowrap; }
.plan h3 { font-size: 1.9rem; margin-bottom: 6px; }
.plan .price { font: 600 2.3rem/1 var(--font-display); color: var(--terracotta); margin: 8px 0 2px; font-variant-numeric: tabular-nums; }
.plan .price small { font: 400 .9rem var(--font-body); color: var(--muted); }
.plan .usd { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.plan .summary { color: var(--medium); font-size: .95rem; min-height: 3em; }
.plan ul { list-style: none; padding: 0; margin: 10px 0 26px; display: grid; gap: 10px; font-size: .92rem; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex: none; margin-top: 4px; color: var(--leaf); }
.plan .btn { margin-top: auto; }

/* ---------- Steps ---------- */
.step { position: relative; background: #fff; padding: 36px 28px 28px; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .4s, box-shadow .4s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step .num { position: absolute; top: -14px; right: -10px; width: 42px; height: 42px; background: var(--roast); transform: rotate(45deg); display: grid; place-items: center; }
.step .num span { transform: rotate(-45deg); color: var(--cream); font: 600 1.15rem var(--font-display); }
.step h3, .section--dark .step h3, .section--dark .tile h3 { font-size: 1.5rem; color: var(--roast); }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Featured café page ---------- */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; } .gallery figure:first-child { grid-row: span 2; } }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--roast); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
@media (min-width: 768px) { .gallery img { aspect-ratio: auto; } }
.layout-side { display: grid; gap: 40px; }
@media (min-width: 1024px) { .layout-side { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; } }
.side-card { background: #fff; border: 2px solid var(--sand); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; }
@media (min-width: 1024px) { .side-card { position: sticky; top: 96px; } }
.side-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.hours { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 18px; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--mist); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { font-weight: 600; color: var(--terracotta-text); }
.menu-list { list-style: none; padding: 0; margin: 0 0 1.5em; }
.menu-list li { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; }
.menu-list .dots { flex: 1; border-bottom: 1px dotted var(--sand); transform: translateY(-4px); }
.menu-list b { font: 600 1.2rem var(--font-display); color: var(--roast); }
.menu-list small { display: block; color: var(--muted); font-size: .85rem; }
.menu-list .p { font: 600 1.1rem var(--font-display); color: var(--terracotta); white-space: nowrap; }
.amen { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.amen li { display: flex; gap: 8px; align-items: center; font-size: .92rem; }
.amen svg { color: var(--leaf); }
.map-frame { width: 100%; height: 280px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--mist); }
.sample-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; box-shadow: 0 -4px 20px rgba(45, 24, 16, .25); background: var(--gold); color: var(--roast); text-align: center; font-size: .88rem; font-weight: 500; padding: 10px var(--gutter); }
.sample-banner a { color: var(--roast); font-weight: 700; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; background: #fff; padding: 32px 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 2px solid var(--sand); }
@media (min-width: 768px) { .form { padding: 40px; grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 500; color: var(--medium); }
.form input, .form select, .form textarea { font: 400 1rem var(--font-body); padding: 12px 14px; border: 1px solid var(--sand); border-radius: var(--radius); background: var(--paper); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, .25); }
.form textarea { min-height: 120px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form .radios { display: flex; flex-wrap: wrap; gap: 10px; }
.form .radios label { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--sand); border-radius: 999px; cursor: pointer; font-weight: 500; }
.form .radios input { width: auto; accent-color: var(--terracotta); }
.form .radios label:has(input:checked) { border-color: var(--terracotta); background: rgba(183, 65, 14, .06); color: var(--terracotta-text); }
.form .fine { font-size: .8rem; color: var(--muted); margin: 0; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius); font-size: .95rem; }
.form-status.ok { display: block; background: rgba(74, 124, 89, .12); color: var(--jade); }
.form-status.err { display: block; background: rgba(139, 37, 0, .08); color: var(--red); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--jade); color: var(--cream); padding: 72px 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: var(--rings); opacity: .07; }
.cta-band .wrap { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { color: var(--cream); margin-bottom: .3em; }
.cta-band p { color: rgba(245, 240, 232, .8); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band .actions { justify-content: flex-end; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--roast); color: var(--cream); padding: 0 0 28px; margin-top: 0; }
.site-footer .hills-top { line-height: 0; background: var(--cream); }
.site-footer .hills-top svg { width: 100%; height: 64px; }
.site-footer--after-mist .hills-top { background: var(--mist); }
.site-footer--after-jade .hills-top { background: var(--jade); }
.footer-grid { display: grid; gap: 36px; padding: 48px 0 40px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid .about { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid .about { grid-column: auto; } }
.footer-grid h4 { font: 500 1.15rem var(--font-display); color: var(--cream); margin-bottom: 14px; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-grid a { color: rgba(245, 240, 232, .7); text-decoration: none; font-size: .9rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid .about p { color: rgba(245, 240, 232, .65); font-size: .92rem; max-width: 360px; }
.footer-legal { border-top: 1px solid rgba(245, 240, 232, .12); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .78rem; color: rgba(245, 240, 232, .5); }
.footer-legal a { color: rgba(245, 240, 232, .65); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: rgba(245, 240, 232, .65); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--cream); }

/* Analytics consent: a bar at the bottom of the screen until the visitor chooses */
.cc-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--roast); color: rgba(245, 240, 232, .9); border-top: 1px solid rgba(201, 162, 39, .45); box-shadow: 0 -6px 24px rgba(45, 24, 16, .25); }
.cc-text { margin: 0; max-width: 68ch; font-size: .9rem; line-height: 1.5; }
.cc-text a { color: var(--gold); }
.cc-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cc-btn { padding: 10px 20px; font-size: .78rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .filters, .site-footer, .hills { display: none; } .hero { min-height: 0; padding: 24px 0; } }
.drink__orn { display: none; color: var(--sand); }
@media (min-width: 768px) { .drink__orn { display: grid; place-items: center; aspect-ratio: 3 / 4; border: 1px dashed var(--sand); border-radius: var(--radius); } }

/* ---------- Featured café page: full site sections ---------- */
.page-nav { position: sticky; top: 56px; z-index: 20; background: rgba(245, 240, 232, .97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sand); }
.page-nav .wrap { display: flex; gap: 4px 22px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.page-nav a { flex: none; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--medium); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.page-nav a:hover { color: var(--terracotta-text); border-bottom-color: var(--gold); }
.motto { font: italic 400 1.6rem/1.3 var(--font-accent); color: var(--terracotta-text); margin-top: 1.4em; }
.menu-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -12px auto 40px; max-width: 900px; }
.menu-sections { columns: 1; column-gap: 28px; }
@media (min-width: 760px) { .menu-sections { columns: 2; } }
@media (min-width: 1180px) { .menu-sections { columns: 3; } }
.menu-sec { break-inside: avoid; background: #fff; border: 2px solid var(--sand); border-radius: var(--radius); padding: 24px 22px 14px; margin: 0 0 28px; box-shadow: var(--shadow); scroll-margin-top: 130px; position: relative; }
.menu-sec::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--band) repeat-x; background-size: 18px 6px; opacity: .8; }
.menu-sec h3 { font-size: 1.55rem; margin: 0 0 4px; }
.menu-sec__note { font: italic 400 .95rem var(--font-accent); color: var(--terracotta-text); margin: 0 0 8px; }
.menu-sec ul { list-style: none; margin: 0; padding: 0; }
.menu-item { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--mist); }
.menu-item:last-child { border-bottom: 0; }
.menu-item b { font: 600 1.12rem/1.25 var(--font-display); color: var(--roast); }
.menu-item small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.menu-item small.allergen { color: var(--terracotta-text); font-size: .76rem; font-weight: 500; }
.menu-item .p { font: 600 1.05rem var(--font-display); color: var(--terracotta); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.must { display: inline-block; vertical-align: 2px; margin-left: 4px; padding: 2px 7px; border: 1px solid var(--terracotta); border-radius: 2px; font: 700 .6rem/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta-text); }
.bakes { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .bakes { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
.bakes__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bakes__photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 4; }
.bakes__photos img { width: 100%; height: 100%; object-fit: cover; }
.bakes__photos figure:nth-child(2) { transform: translateY(24px); }
.sample-banner ~ main { padding-bottom: 44px; }

/* ---------- Filters: more filters, near me, map ---------- */
.more-filters { position: relative; }
.more-filters > summary { list-style: none; }
.more-filters > summary::-webkit-details-marker { display: none; }
.more-filters[open] > summary { border-color: var(--terracotta); color: var(--terracotta-text); }
.more-filters__panel { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: min(92vw, 760px); max-height: 70vh; overflow: auto; background: #fff; border: 2px solid var(--sand); border-radius: var(--radius); box-shadow: var(--shadow-xl); padding: 18px 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 24px; }
@media (max-width: 640px) { .more-filters { position: static; } .more-filters__panel { left: var(--gutter); right: var(--gutter); width: auto; } }
.more-filters__panel fieldset { border: 0; margin: 0; padding: 0; }
.more-filters__panel legend { font: 600 .7rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--medium); margin-bottom: 8px; }
.more-filters__panel label { display: flex; align-items: center; gap: 8px; font-size: .9rem; padding: 4px 0; cursor: pointer; }
.more-filters__panel input { accent-color: var(--terracotta); }
.more-filters__panel small { color: var(--muted); margin-left: auto; font-variant-numeric: tabular-nums; }
.more-filters__panel .fine { grid-column: 1 / -1; font-size: .78rem; color: var(--muted); margin: 4px 0 0; }
button.toggle { font: inherit; font-size: .82rem; font-weight: 500; }
.toggle[aria-pressed="true"] { border-color: var(--terracotta); background: rgba(183, 65, 14, .07); color: var(--terracotta-text); }
.toggle.is-busy { opacity: .6; cursor: progress; }
.toggle.is-denied { text-decoration: line-through; }
.chip--dist { border-color: rgba(45, 74, 62, .35); color: var(--jade); background: rgba(45, 74, 62, .06); }
.chip--warn { border-color: rgba(139, 37, 0, .4); color: var(--red); background: rgba(139, 37, 0, .06); }
.chip--new { border-color: var(--gold); color: var(--gold-text); background: rgba(201, 162, 39, .1); }
.cafe-card.is-paused { opacity: .75; }
.cafe-card.is-flash { border-color: var(--gold); box-shadow: var(--shadow-gold); }
/* cards added from the city's card file carry their area; lists of one area don't need it */
.listing[data-hide-area] [data-group] .cafe-card__top .kicker { visibility: hidden; }
.show-all { text-align: center; margin: 28px 0 0; }
.show-all .btn[disabled] { opacity: .6; cursor: progress; }
/* site search */
.search--page { margin: 0 0 12px; max-width: none; box-shadow: var(--shadow); border: 1px solid var(--sand); }
.site-search h2 { font-size: 1.6rem; margin: 32px 0 12px; }
.search-results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sand); }
.search-results a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 14px 4px; border-bottom: 1px solid var(--sand); color: var(--ink); text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--paper); }
.search-results strong { font-weight: 600; }
.search-results span { color: var(--muted); font-size: .88rem; }
.map-panel { margin: -12px 0 28px; }
.map { position: relative; width: 100%; background: var(--mist); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; z-index: 1; }
.map--city { height: min(68vh, 620px); border: 2px solid var(--sand); }
.map--single { height: 280px; }
.map__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 500; text-decoration: none; }
.map .leaflet-popup-content { font: 400 .88rem/1.45 var(--font-body); margin: 12px 14px; }
.map .leaflet-popup-content strong { font: 600 1.1rem var(--font-display); color: var(--roast); }
.map .leaflet-popup-content a { color: var(--terracotta-text); font-weight: 500; }
.map .leaflet-tooltip { font: 600 .8rem var(--font-body); color: var(--roast); border-color: var(--sand); }
.map .leaflet-control-attribution { font-size: .68rem; }

/* ---------- Form additions ---------- */
.attr-picker { border: 1px dashed var(--sand); border-radius: var(--radius); padding: 12px 16px; background: var(--paper); }
.attr-picker > summary { cursor: pointer; font-size: .9rem; font-weight: 500; color: var(--medium); }
.attr-picker[open] > summary { margin-bottom: 12px; }
.attr-picker fieldset { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.attr-picker legend { width: 100%; font: 600 .7rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--medium); margin-bottom: 8px; }
.attr-picker label, .form label.check { display: inline-flex; flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; color: var(--ink); }
.attr-picker input, .form label.check input { width: auto; margin-top: 3px; accent-color: var(--terracotta); }
.form input[type="file"] { padding: 10px; background: #fff; }

/* ---------- Offers and "new" ---------- */
.offer { padding: 16px 18px; margin: 0 0 12px; background: #fff; border: 2px dashed var(--gold); border-radius: var(--radius); }
.offer b { font: 600 1.3rem var(--font-display); color: var(--roast); display: block; }
.offer p { margin: 4px 0; color: var(--muted); }
.offer small { color: var(--gold-text); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.offer-tile { border: 2px dashed var(--gold); }
.tile--more { justify-content: center; border: 2px dashed var(--sand); background: var(--paper); box-shadow: none; min-height: 180px; }
.tile--more h3 { font-size: 1.5rem; }
/* While a search or filter is on, a capped hub shows every match, so the "N more" links go. */
.listing.is-filtering .tile--more, .listing.is-filtering [data-cap-note] { display: none; }

/* ---------- Get listed: the listing form ---------- */
.lf-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .lf-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; } .lf-aside { position: sticky; top: 96px; } }
.lf, .lf-done { background: #fff; border: 2px solid var(--sand); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 32px 28px 28px; }
@media (max-width: 640px) { .lf, .lf-done { padding: 24px 18px; } }
.lf-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.lf-set + .lf-set { margin-top: 30px; padding-top: 26px; border-top: 1px dashed var(--sand); }
.lf-set[hidden] { display: none; }
.lf-set > legend { float: left; width: 100%; font: 500 1.6rem/1.2 var(--font-display); color: var(--roast); padding: 0; margin: 0 0 4px; }
.lf-set > legend + * { clear: both; }
.lf-note { margin: 0 0 18px; font-size: .9rem; color: var(--muted); }
.lf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lf-grid .full, .lf-field.full { grid-column: 1 / -1; }
.lf-sub { margin: 0; }
.lf-sub[hidden], .lf-field[hidden], [data-hide-in-report][hidden] { display: none; }
@media (max-width: 640px) { .lf-grid { grid-template-columns: minmax(0, 1fr); } }
.lf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lf-field > label, .lf-label { font-size: .88rem; font-weight: 600; color: var(--medium); }
.lf-opt { font-weight: 400; color: var(--muted); font-size: .8rem; }
.lf-hint { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.lf input[type="text"], .lf input[type="email"], .lf input[type="tel"], .lf input[type="url"], .lf textarea { font: 400 1rem var(--font-body); padding: 12px 14px; border: 1px solid var(--sand); border-radius: var(--radius); background: var(--paper); color: var(--ink); width: 100%; }
.lf input:focus, .lf textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, .25); }
.lf textarea { min-height: 110px; resize: vertical; }
.lf input[type="file"] { padding: 10px; border: 1px dashed var(--sand); background: var(--paper); }
.lf .radios { display: flex; flex-wrap: wrap; gap: 8px; }
.lf .radios label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--sand); border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .9rem; }
.lf .radios input { accent-color: var(--terracotta); }
.lf .radios label:has(input:checked) { border-color: var(--terracotta); background: rgba(183, 65, 14, .06); color: var(--terracotta-text); }
.lf-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-bottom: 8px; }
.lf-plan { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--sand); border-radius: 2px; cursor: pointer; }
.lf-plan input { margin-top: 3px; accent-color: var(--terracotta); }
.lf-plan:has(input:checked) { border-color: var(--terracotta); background: rgba(183, 65, 14, .06); }
.lf-plan:has(input:focus-visible) { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.lf-plan__body { display: flex; flex-direction: column; gap: 4px; }
.lf-plan__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.lf-plan__head strong { font-size: .92rem; color: var(--medium); }
.lf-plan:has(input:checked) .lf-plan__head strong { color: var(--terracotta-text); }
.lf-plan__price { font-size: .85rem; font-weight: 600; color: var(--roast); white-space: nowrap; }
.lf-plan__sum { font-size: .82rem; line-height: 1.45; color: var(--muted); }
.lf label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); font-size: .9rem; }
.lf label.check input { margin-top: 3px; accent-color: var(--terracotta); }
.lf-field.is-invalid input, .lf-field.is-invalid textarea { border-color: var(--red); }
.lf-err { margin: 0; font-size: .82rem; color: var(--red); }
.lf-err:empty { display: none; }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-submit-row { margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--sand); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.lf-privacy { margin: 0; flex: 1 1 260px; font-size: .84rem; color: var(--muted); }
.lf-submit-row .btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.lf .form-status { margin-top: 18px; }
.lf .form-status[hidden] { display: none; }
.lf-banner { margin: 0 0 24px; padding: 16px 18px; border-left: 4px solid var(--jade); background: rgba(45, 74, 62, .07); color: var(--jade); font-size: .95rem; }
.lf-banner[hidden] { display: none; }
.lf-banner p { margin: 0 0 8px; }
.lf-banner p:last-child { margin: 0; }
.lf-banner__head { display: flex; align-items: center; gap: 8px; font: 500 1.35rem/1.2 var(--font-display); color: var(--jade); }
.lf-banner__tip { font-size: .84rem; opacity: .9; }
.lf-banner--report { border-left-color: var(--terracotta); background: rgba(183, 65, 14, .06); color: var(--terracotta-text); }
.lf-banner--report .lf-banner__head { color: var(--terracotta-text); }
.lf-done { text-align: center; padding: 48px 28px; }
.lf-done:focus { outline: none; }
.lf-done[hidden], .lf[hidden] { display: none; }
.lf-done__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(74, 124, 89, .14); color: var(--leaf); margin-bottom: 14px; }
.lf-done h2 { font-size: 2rem; }
.lf-done p { color: var(--muted); max-width: 52ch; margin: 0 auto 20px; }
.lf-card { background: #fff; border: 2px solid var(--sand); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); }
.lf-card + .lf-card { margin-top: 14px; }
.lf-card--quiet { background: var(--paper); box-shadow: none; }
.lf-card h2 { font-size: 1.35rem; margin: 0 0 8px; }
.lf-card p { margin: 0; font-size: .92rem; color: var(--medium); }
.lf-points { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.lf-points li { display: flex; gap: 8px; align-items: flex-start; }
.lf-points svg { flex: none; margin-top: 2px; color: var(--leaf); }

/* ---------- Badge page ---------- */
.badge-previews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 1.4em 0; }
.badge-preview { display: flex; align-items: center; justify-content: center; padding: 28px 14px; border: 1px solid var(--sand); }
.badge-preview.is-dark { background: var(--mist); }
.badge-preview.is-light { background: #fff; }
.badge-preview img, .badge-live img { width: 320px; max-width: 100%; height: auto; }
.badge-get { padding: 22px; background: var(--paper); border: 2px solid var(--sand); margin: 1em 0 1.4em; }
.badge-get label { font-weight: 600; font-size: .9rem; }
.badge-get select, .badge-get textarea { width: 100%; font: inherit; font-size: .95rem; padding: 10px 12px; border: 1px solid var(--sand); background: #fff; color: var(--ink); margin-top: 6px; }
.badge-get textarea { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; min-height: 7rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin: 14px 0 6px; }
.badge-variant { display: inline-flex; gap: 14px; font-size: .9rem; }
.badge-variant label { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; }
.badge-live { margin-top: 14px; padding: 18px; display: flex; justify-content: center; border: 1px dashed var(--sand); }
.badge-live.is-dark { background: var(--mist); }
.badge-live.is-light { background: #fff; }
.lf-set[hidden] + .lf-set { margin-top: 0; padding-top: 0; border-top: 0; }
.lf-set > .lf-field.full { margin-bottom: 16px; }
.lf-set .lf-field.full[data-owner-only] { margin: 18px 0 0; }

/* ---------- Researched copy: citations, sources, at a glance ---------- */
sup.cite { font-size: .68em; line-height: 0; margin-left: 1px; }
sup.cite a { color: var(--terracotta); text-decoration: none; font-weight: 600; }
sup.cite a:hover { text-decoration: underline; }
sup.cite + sup.cite::before { content: ","; color: var(--terracotta); margin-right: 1px; }
.sources-h { font-size: 1.6rem; margin-bottom: 12px; }
.sources { margin: 0 0 16px; padding-left: 1.4em; font-size: .86rem; color: var(--muted); }
.sources li { margin-bottom: 6px; }
.sources li:target { background: rgba(201, 162, 39, .18); }
.glance { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.glance li { padding: 6px 0; border-bottom: 1px solid var(--sand); }
.photo-tile--soon { background: var(--roast); }
.photo-tile--soon img { filter: saturate(.8); }
.photo-tile--soon .soon-tag { display: inline-block; margin-top: 10px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.photo-tile--soon .soon-tag a { color: var(--cream); }
.photo-tile .tile-count { display: inline-block; margin-top: 10px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.photo-tile--sm { min-height: 200px; }
.photo-tile--sm h3 { font-size: 1.6rem; }
.photo-tile--sm .photo-tile__body { left: 18px; right: 18px; bottom: 16px; }

/* ---------- Chain cards: one card, every branch ---------- */
ul.chain-locs { list-style: none; margin: 10px 0 14px; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
ul.chain-locs li a { text-decoration: none; }
ul.chain-locs li small { display: block; color: var(--muted); font-size: .8rem; }
.chain-locs__area { font: italic 400 .95rem var(--font-accent); color: var(--muted); margin-top: 6px; }
details.chain-locs { margin: 10px 0 14px; }
details.chain-locs > summary { cursor: pointer; font-weight: 500; font-size: .9rem; color: var(--terracotta-text); }
details.chain-locs > ul.chain-locs { max-height: 22rem; overflow-y: auto; padding-right: 6px; }
.grid > .chain-card { align-self: start; }

/* ---------- Brand themes ----------
   A featured page can wear the café's own design (page.theme, rendered by brandTheme()).
   brand-theme remaps the tokens inside <main>; each bt-* class switches on one treatment. */
/* The body font is set on <body>; a theme redefines it inside <main>, so <main> has to pick it up again. */
.brand-theme main { font-family: var(--font-body); color: var(--ink); }
.brand-theme main h1, .brand-theme main h2, .brand-theme main h3, .brand-theme main .faq summary { font-weight: var(--bt-display-weight, 500); letter-spacing: var(--bt-display-tracking, -.02em); }
.bt-display-upper main h1, .bt-display-upper main h2 { text-transform: uppercase; line-height: var(--bt-display-leading, 1.05); }
.brand-theme main .btn-gold, .brand-theme main .btn-primary { background: var(--bt-btn); border-color: var(--bt-btn); color: var(--bt-btn-text); }
.brand-theme main .btn-gold::before, .brand-theme main .btn-primary::before { background: var(--terracotta-text); }
.brand-theme main .btn-gold:hover, .brand-theme main .btn-primary:hover { color: var(--bt-btn-text); }
.brand-theme main .btn-light, .brand-theme main .btn-outline { background: transparent; color: var(--roast); border-color: var(--sand); }
.brand-theme main .btn-light::before, .brand-theme main .btn-outline::before { background: var(--mist); }
.brand-theme main .btn-light:hover, .brand-theme main .btn-outline:hover { color: var(--roast); }
.brand-theme main .btn:hover { box-shadow: none; }
.brand-theme main .btn { border-radius: var(--bt-btn-radius, var(--radius)); }
.brand-theme main h1 { font-family: var(--font-title, var(--font-display)); }
/* Brand fonts load only the weights they need; never fake bold or italic (a one-weight Hangul face smears) */
.brand-theme main { font-synthesis: none; }
.brand-theme main .side-card, .brand-theme main .tile { background: var(--paper); box-shadow: none; border: 1px solid var(--sand); }
.brand-theme main .tile::before { display: none; }
.brand-theme main .page-nav { background: var(--cream); }
.brand-theme main .amen svg { color: var(--terracotta-text); }
.bt-label-caps main .eyebrow, .bt-label-caps main .kicker, .bt-label-caps main .page-nav a, .bt-label-caps main .btn, .bt-label-caps main .trust li,
.bt-label-plain main .eyebrow, .bt-label-plain main .kicker, .bt-label-plain main .page-nav a, .bt-label-plain main .btn, .bt-label-plain main .trust li {
  font-family: var(--font-label); font-style: normal; font-weight: var(--bt-label-weight, 400); font-stretch: var(--bt-label-width, 100%);
  letter-spacing: var(--bt-label-tracking, .16em); text-transform: uppercase;
}
/* Plain labels: the label font in sentence case, as set */
.bt-label-plain main .eyebrow, .bt-label-plain main .kicker, .bt-label-plain main .page-nav a, .bt-label-plain main .btn, .bt-label-plain main .trust li { text-transform: none; }
.bt-label-plain main .eyebrow { font-size: .95rem; line-height: 1.5; color: var(--terracotta-text); margin-bottom: .6rem; }
.bt-label-caps main .eyebrow { font-size: .72rem; line-height: 1.6; color: var(--terracotta-text); margin-bottom: 1rem; }
.bt-label-caps main .trust li { font-size: .66rem; }

/* Section heads as a rule with end ticks instead of the rose and beans */
.bt-rule-ticks main .ornament, .bt-rule-ticks main .beans { display: none; }
.bt-rule-ticks main .section-head:not(.section-head--left) { max-width: 1000px; }
.bt-rule-ticks main .section-head:not(.section-head--left) h2 { display: flex; align-items: center; gap: .45em; }
.bt-rule-ticks main .section-head:not(.section-head--left) h2::before,
.bt-rule-ticks main .section-head:not(.section-head--left) h2::after {
  content: ""; flex: 1 1 2rem; height: 11px;
  background: linear-gradient(var(--terracotta), var(--terracotta)) center / 100% 1px no-repeat, linear-gradient(var(--terracotta), var(--terracotta)) left center / 1px 11px no-repeat;
}
.bt-rule-ticks main .section-head:not(.section-head--left) h2::after { background-position: center, right center; }

/* Ticket frame: quarter-circle notches cut from each corner */
.bt-frame-ticket main .bt-frame, .bt-frame-ticket main .gallery figure, .bt-frame-ticket main .bakes__photos figure {
  --notch: clamp(16px, 3vw, 36px);
  -webkit-mask: radial-gradient(circle at 0 0, #0000 var(--notch), #000 calc(var(--notch) + .5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, #0000 var(--notch), #000 calc(var(--notch) + .5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, #0000 var(--notch), #000 calc(var(--notch) + .5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--notch), #000 calc(var(--notch) + .5px)) 100% 100% / 51% 51% no-repeat;
  mask: radial-gradient(circle at 0 0, #0000 var(--notch), #000 calc(var(--notch) + .5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, #0000 var(--notch), #000 calc(var(--notch) + .5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, #0000 var(--notch), #000 calc(var(--notch) + .5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--notch), #000 calc(var(--notch) + .5px)) 100% 100% / 51% 51% no-repeat;
}
.bt-frame-ticket main .gallery figure, .bt-frame-ticket main .bakes__photos figure { --notch: 14px; background: transparent; box-shadow: none; }

/* Framed hero: name on the café's own ground, photo in a frame below */
.bhero { position: relative; padding: 112px 0 0; background: var(--cream); text-align: center; color: var(--roast); }
.bhero .crumbs { color: var(--muted); }
.bhero .crumbs ol { justify-content: center; }
.bhero .crumbs a:hover { color: var(--terracotta-text); }
.bhero__logo { display: block; width: auto; height: var(--bt-logo-h, 96px); margin: 18px auto 22px; }
.bhero h1 { font-size: clamp(3.6rem, 12vw, 9rem); color: var(--terracotta); margin: 0 0 .12em; }
.bhero h1 .accent { display: block; margin-top: .25em; font-size: .3em; color: var(--roast); }
.bhero__sub { max-width: 640px; margin: 0 auto 30px; font: 400 clamp(1.3rem, 2.6vw, 1.7rem)/1.3 var(--font-display); color: var(--roast); }
.bhero .hero__actions { justify-content: center; }
.bhero .trust li { border-color: var(--sand); background: transparent; color: var(--muted); }
.bhero .trust svg { color: var(--terracotta-text); }
.bhero__frame { max-width: var(--wrap); margin: 56px auto 0; padding: 0 var(--gutter); }
.bhero__frame img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
@media (max-width: 640px) { .bhero__frame img { aspect-ratio: 4 / 3; } }
.bhero__credit { margin: 8px 0 0; text-align: right; font-size: .7rem; color: var(--muted); }
.bhero__credit a { color: inherit; }
.bhero__stem { position: relative; display: block; width: 1px; height: 64px; margin: 8px auto 0; background: var(--terracotta); }
.bhero__stem::after { content: ""; position: absolute; left: -6px; top: 70%; width: 13px; height: 1px; background: inherit; }

/* Cards and panels on a themed page take the theme's surface, so dark themes work too */
.brand-theme main .cafe-card, .brand-theme main .feat-card, .brand-theme main .menu-sec, .brand-theme main .offer { background: var(--paper); box-shadow: none; }
.brand-theme main .cafe-card, .brand-theme main .feat-card { border: 1px solid var(--sand); }
.bt-dark main .note { background: var(--paper); }
.bt-dark main .map { filter: brightness(.9); }

/* Section heads: a short accent bar, or nothing at all */
.bt-rule-bar main .ornament, .bt-rule-bar main .beans, .bt-rule-none main .ornament, .bt-rule-none main .beans { display: none; }
.bt-rule-bar main h2::before { content: ""; display: block; width: 48px; height: 4px; margin: 0 0 .6em; background: var(--terracotta); }
.bt-rule-bar main .section-head:not(.section-head--left) h2::before { margin: 0 auto .6em; }
.hero__logo { display: block; width: auto; height: var(--bt-logo-h, 88px); margin: 0 0 20px; }
.hero:not(.hero--left) .hero__logo { margin: 0 auto 20px; }
.bt-no-hills main .hills { display: none; }

/* Split hero: text on the theme's ground, the first photo filling the other half */
.shero { display: grid; grid-template-columns: 1fr; background: var(--cream); color: var(--roast); padding-top: 72px; }
.shero__text { padding: 40px var(--gutter) 48px; align-self: center; }
.shero .crumbs { color: var(--muted); }
.shero .crumbs a:hover { color: var(--terracotta-text); }
.shero__logo { display: block; width: auto; height: var(--bt-logo-h, 72px); margin: 8px 0 24px; }
.shero h1 { font-size: clamp(3rem, 7vw, 6.2rem); color: var(--roast); margin: 0 0 .25em; }
.shero h1 .accent { display: block; margin-top: .2em; font-size: .36em; color: var(--terracotta-text); }
.shero__sub { max-width: 34rem; margin: 0 0 28px; font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--muted); line-height: 1.55; }
.shero .hero__actions { justify-content: flex-start; }
.shero .trust { justify-content: flex-start; }
.shero .trust li { border-color: var(--sand); background: transparent; color: var(--muted); }
.shero .trust svg { color: var(--terracotta-text); }
.shero__photo { margin: 0; padding: 0 var(--gutter) 24px; }
.shero__photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .shero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(86vh, 820px); padding-top: 64px; }
  .shero__text { padding: 48px clamp(24px, 5vw, 80px); }
  .shero__photo { padding: 0; display: flex; flex-direction: column; }
  .shero__photo .bt-frame { flex: 1; }
  .shero__photo img { aspect-ratio: auto; min-height: 100%; }
  .shero__photo .bhero__credit { padding: 0 12px 6px; }
}

/* Arched frame: a round-topped window, wide on the hero, taller on gallery and bake photos */
.bt-frame-arch main .bt-frame { border-radius: 50% 50% 0 0 / 34% 34% 0 0; overflow: hidden; }
.bt-frame-arch main .gallery figure, .bt-frame-arch main .bakes__photos figure { border-radius: 999px 999px 0 0; background: transparent; box-shadow: none; }
.bt-frame-arch main .gallery figure:first-child { border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.bt-display-italic main h1, .bt-display-italic main h2 { font-style: italic; }
/* Over a photo hero the outline buttons keep the light text color (--cream is onPhoto inside .hero) */
.brand-theme main .hero .btn-light, .brand-theme main .hero .btn-outline { color: var(--cream); border-color: color-mix(in srgb, var(--cream) 45%, transparent); }
.brand-theme main .hero .btn-light::before, .brand-theme main .hero .btn-outline::before { background: color-mix(in srgb, var(--cream) 14%, transparent); }
.brand-theme main .hero .btn-light:hover, .brand-theme main .hero .btn-outline:hover { color: var(--cream); }

/* ---------- Owner pages: two plans, and the two looks of a featured page ---------- */
@media (min-width: 900px) { .plans--2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; } }
.looks { display: grid; gap: 28px; }
@media (min-width: 900px) { .looks { grid-template-columns: 1fr 1fr; } }
.look { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--sand); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .4s, box-shadow .4s, border-color .4s; }
.look:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); color: var(--ink); }
.look__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); border-bottom: 1px solid var(--sand); }
.look__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.look__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.look__body h3 { margin: 0; }
.look__body p { color: var(--muted); margin: 0 0 10px; }
.look__body .link-arrow { margin-top: auto; }
.look--own { border-color: var(--gold); }
.design-points { max-width: 900px; margin: 40px auto 0; }
