/* == /shared/sense-of-place/sense-of-place.css == */
/* A Sense of Place — website feature, scoped to this guide.
   Visual system from the UX prototype (eat-ux/place-stories-20261112),
   tokens inherit the guide's --berry-deep, --paper, --ink, --accent-text,
   --display (Newsreader) and Libre Franklin. Gold #e2b04a is not used.
   Dark theme follows prefers-color-scheme, matching the live site. */

#eat-sop-root,
#place-stories,
#ps-backdrop {
  /* Theme-derived tokens: follow each guide's --berry-deep, --paper,
     --on-deep, --ink, --accent-text, --muted, --line, --paper-2.
     Fallbacks keep the feature readable if a guide omits a var.
     Gold #e2b04a is not used. */
  --sense-mat: var(--berry-deep, #1f3a40);
  /* Light cream for text on --berry-deep: the guide's --paper (a light
     page colour in light mode). */
  --sense-cream: var(--paper, #f6f1e7);
  --sense-sand: color-mix(in srgb, var(--paper, #f6f1e7) 82%, var(--berry-deep, #1f3a40));
  --sense-radius: 16px;
  --sop-muted: var(--muted, #4f5655);
  --sop-line: var(--line, #d4d1c9);
  --sop-shadow: rgba(31, 42, 44, .18);
  --sop-shadow-deep: rgba(31, 42, 44, .36);
  --sop-scrim: rgba(14, 22, 24, .48);
  /* Text on deep surfaces: the guide's --on-deep (stays light in both themes). */
  --sop-on-deep: var(--on-deep, var(--paper, #f6f1e7));
  --sop-on-deep-soft: color-mix(in srgb, var(--on-deep, var(--paper, #f6f1e7)) 72%, var(--berry-deep, #1f3a40));
  --sop-white: var(--paper-2, var(--paper, #faf7f1));
  --sop-sans: "Libre Franklin", system-ui, sans-serif;
  --sop-display: var(--display, "Newsreader", Georgia, serif);
  --sop-focus: 2px solid var(--accent-text, var(--berry-deep));
  --sop-focus-on-deep: 2px solid var(--on-deep, var(--paper, #f6f1e7));
  --sheet-h: 96dvh;
  --header-h: 168px;
  box-sizing: border-box;
  font-family: var(--sop-sans);
}
#eat-sop-root *,
#eat-sop-root *::before,
#eat-sop-root *::after,
#place-stories *,
#place-stories *::before,
#place-stories *::after,
#ps-backdrop *,
#ps-backdrop *::before,
#ps-backdrop *::after { box-sizing: border-box; }

@media (prefers-color-scheme: dark) {
  #eat-sop-root,
  #place-stories,
  #ps-backdrop {
    /* In dark mode --paper is a dark page colour, so cream/sand (text on
       the berry-deep band) are derived as light tints of --paper mixed
       toward white, and --on-deep (which guides keep light) is preferred
       where it exists. */
    --sense-cream: var(--on-deep, color-mix(in srgb, var(--paper, #181309) 14%, white));
    --sense-sand: color-mix(in srgb, var(--on-deep, color-mix(in srgb, var(--paper, #181309) 14%, white)) 78%, var(--berry-deep, #16292d));
    --sense-mat: var(--berry-deep, #16292d);
    --sop-muted: var(--muted, #b3b9b7);
    --sop-line: var(--line, #3a3830);
    --sop-shadow: rgba(0, 0, 0, .55);
    --sop-shadow-deep: rgba(0, 0, 0, .7);
    --sop-scrim: rgba(6, 8, 9, .62);
    --sop-on-deep: var(--on-deep, color-mix(in srgb, var(--paper, #181309) 14%, white));
    --sop-on-deep-soft: color-mix(in srgb, var(--on-deep, color-mix(in srgb, var(--paper, #181309) 14%, white)) 72%, var(--berry-deep, #16292d));
    --sop-white: var(--paper-2, var(--paper, #2b271e));
    --sop-focus: 2px solid var(--accent-text, var(--berry-deep));
  }
}

/* Defeat the guide's 34em cap on main paragraphs */
#eat-sop-root p,
#eat-sop-root li,
#eat-sop-root h2,
#eat-sop-root h3,
#place-stories p,
#place-stories li,
#place-stories h2,
#place-stories h3,
#place-stories h4 { max-width: none; }

#eat-sop-root .eat-sop-close-focus:focus-visible,
#place-stories .ps-close:focus-visible,
#place-stories .ps-rail-close:focus-visible {
  outline: var(--sop-focus-on-deep);
  outline-offset: 3px;
}

/* ----- Guide page, 390: full-bleed cinematic band ----- */
#eat-sop-root {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--berry-deep);
  color: var(--sense-cream);
}
#eat-sop-root .sense {
  background: var(--berry-deep);
  color: var(--sense-cream);
  padding: 22px 18px 22px;
  margin: 0;
  text-align: left;
  border: 0;
  width: 100%;
  display: block;
  position: relative;
  /* overflow visible so the Open pill's 2px border is not clipped.
     The horizontal rail still clips via .sense-rail-wrap. */
  overflow: visible;
  cursor: default;
}
#eat-sop-root .sense-kicker,
#eat-sop-root .sense-copy .sense-kicker {
  margin: 0 0 6px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sense-sand);
  font-family: var(--sop-sans);
}
#eat-sop-root .sense h2,
#eat-sop-root .sense-copy h2 {
  font-family: var(--sop-display);
  font-weight: 650;
  font-size: 2.05rem;
  letter-spacing: -.025em;
  line-height: 1.02;
  color: var(--sense-cream);
  margin: 0 0 8px;
}
#eat-sop-root .sense h2 em,
#eat-sop-root .sense-copy h2 em {
  font-style: italic;
  font-weight: 500;
}
#eat-sop-root .sense-lede {
  font-family: var(--sop-display);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--sense-sand);
  margin: 0 0 14px;
  max-width: 28em;
}
#eat-sop-root .sense-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
}
#eat-sop-root .sense-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--sense-cream) 38%, transparent);
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sense-cream);
  background: color-mix(in srgb, var(--sense-cream) 8%, transparent);
  font-family: var(--sop-sans);
}
#eat-sop-root .sense-badge svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  flex: 0 0 auto;
}
#eat-sop-root .sense-rail-wrap {
  position: relative;
  margin: 0 -18px 16px;
}
#eat-sop-root .sense-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0;
  padding: 0 18px 10px;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--sense-cream) 55%, transparent) color-mix(in srgb, var(--sense-cream) 12%, transparent);
  -webkit-overflow-scrolling: touch;
}
#eat-sop-root .sense-rail::-webkit-scrollbar { display: block; height: 4px; }
#eat-sop-root .sense-rail::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--sense-cream) 55%, transparent);
  border-radius: 4px;
}
#eat-sop-root .sense-rail::-webkit-scrollbar-track { background: transparent; }
#eat-sop-root .sense-rail-wrap::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 10px;
  width: 40px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--berry-deep));
  z-index: 1;
  opacity: 1;
  transition: opacity 180ms ease;
}
#eat-sop-root .sense-rail-wrap.is-end::after { opacity: 0; }
#eat-sop-root .sense-rail-more {
  position: absolute;
  top: 42%;
  right: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--berry-deep) 78%, black);
  color: var(--sense-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.28);
}
#eat-sop-root .sense-rail-more svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
#eat-sop-root .sense-rail-more:focus-visible { outline: var(--sop-focus-on-deep); outline-offset: 2px; }
#eat-sop-root .sense-rail-wrap.is-end .sense-rail-more { display: none; }
#eat-sop-root .sense-card { scroll-margin-inline: 18px; }

#eat-sop-root .sense-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--sense-mat);
  border-radius: var(--sense-radius);
  padding: 8px;
  color: var(--sense-cream);
  border: 0;
  cursor: pointer;
  min-width: 0;
  width: 132px;
  scroll-snap-align: start;
  font-family: inherit;
}
#eat-sop-root .sense-card .poster {
  width: 100%;
  aspect-ratio: 8 / 11;
  border-radius: 9px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}
#eat-sop-root .sense-card .poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#eat-sop-root .sense-card b {
  font-family: var(--sop-display);
  font-weight: 650;
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--sense-cream);
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}
#eat-sop-root .sense-card span {
  font-family: var(--sop-sans);
  font-size: .72rem;
  font-weight: 600;
  color: var(--sense-sand);
  margin: 4px 0 2px;
  line-height: 1.3;
}
#eat-sop-root .sense-card:hover { filter: brightness(1.08); }
#eat-sop-root .sense-card:focus-visible {
  outline: var(--sop-focus-on-deep);
  outline-offset: 3px;
}

#eat-sop-root .sense-cta,
#eat-sop-root .sense-cta-desk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 22px;
  border-radius: 999px;
  border: 2px solid var(--sense-cream);
  background: transparent;
  color: var(--sense-cream);
  font-family: var(--sop-sans);
  font-weight: 700;
  font-size: .95rem;
  /* Sit inside .sense's 18px side padding — the same inset as
     .sense-badges ("chips") — with the 2px border fully visible.
     box-sizing is already border-box on all #eat-sop-root children. */
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
  cursor: pointer;
}
#eat-sop-root .sense-cta:hover,
#eat-sop-root .sense-cta:focus-visible,
#eat-sop-root .sense-cta-desk:hover,
#eat-sop-root .sense-cta-desk:focus-visible {
  background: var(--sense-cream);
  color: var(--berry-deep);
  outline: none;
}
#eat-sop-root .sense-cta svg,
#eat-sop-root .sense-cta-desk svg {
  width: 16px; height: 16px; stroke: currentColor; fill: none;
}

#eat-sop-root .sense-desk { display: none; }

@media (max-width: 1023px) {
  #eat-sop-root .sense-badges { flex-wrap: nowrap; gap: 5px; }
  #eat-sop-root .sense-badge { padding: 0 7px; font-size: .58rem; min-height: 28px; letter-spacing: .05em; gap: 3px; }
  #eat-sop-root .sense-badge svg { width: 12px; height: 12px; }
  #eat-sop-root .sense { padding-bottom: 20px; overflow: visible; }
  #eat-sop-root .sense-card { width: 124px; }
}

/* ----- Guide page, 1280: genuinely different split band ----- */
@media (min-width: 1024px) {
    #eat-sop-root .sense,
  #eat-sop-root .sense-cta { display: none !important; }
  #eat-sop-root .sense-desk {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(420px, 1.25fr);
    gap: 48px 56px;
    align-items: center;
    background: var(--berry-deep);
    color: var(--sense-cream);
    position: relative;
    overflow: hidden;
    padding: 64px max(32px, calc((100vw - 1180px) / 2 + 32px));
    margin: 0;
    width: 100%;
    max-width: none;
    border: 0;
    border-radius: 0;
    text-align: left;
    cursor: default;
  }
  #eat-sop-root .sense-desk-bg {
    position: absolute;
    inset: 0 0 0 38%;
    overflow: hidden;
    pointer-events: none;
  }
  #eat-sop-root .sense-desk-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    opacity: .22;
    filter: saturate(.75) contrast(.95);
  }
  #eat-sop-root .sense-desk-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--berry-deep) 0%, color-mix(in srgb, var(--berry-deep) 55%, transparent) 45%, transparent 100%);
  }
  #eat-sop-root .sense-copy { position: relative; z-index: 1; }
  #eat-sop-root .sense-copy h2 { font-size: 3.35rem; letter-spacing: -.03em; margin-bottom: 14px; }
  #eat-sop-root .sense-copy .sense-lede { font-size: 1.28rem; margin-bottom: 20px; }
  #eat-sop-root .sense-cta-desk { width: auto; min-width: 240px; margin-top: 8px; }
  #eat-sop-root .sense-cards-lg {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }
  #eat-sop-root .sense-cards-lg .sense-card {
    width: auto;
    padding: 10px;
    background: color-mix(in srgb, black 30%, var(--berry-deep));
    box-shadow: 0 18px 40px rgba(8, 14, 16, .35);
  }
  #eat-sop-root .sense-cards-lg .sense-card b { font-size: 1.15rem; min-height: 2.5em; }
  #eat-sop-root .sense-cards-lg .sense-card span { font-size: .78rem; }
}

/* ---------- Overlay ---------- */
#ps-backdrop {
  position: fixed;
  inset: 0;
  background: var(--sop-scrim);
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
#ps-backdrop.is-open { opacity: 1; pointer-events: auto; }

#place-stories {
  position: fixed;
  z-index: 8010;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
}
#place-stories.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 1023px) {
  #place-stories {
    left: 0; right: 0; bottom: 0;
    height: var(--sheet-h);
    max-height: 96dvh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -12px 48px var(--sop-shadow-deep);
    transform: translateY(16px);
    transition: transform 280ms ease, opacity 280ms ease;
  }
  #place-stories.is-open { transform: translateY(0); }
  #place-stories .ps-rail { display: none; }
  #place-stories .ps-desktop-head { display: none; }
}

@media (min-width: 1024px) {
  #place-stories {
    top: 50%; left: 50%;
    width: 880px;
    height: min(740px, calc(100dvh - 48px));
    max-height: 90dvh;
    transform: translate(-50%, -48%) scale(.985);
    border-radius: 16px;
    box-shadow: 0 28px 72px var(--sop-shadow-deep);
    flex-direction: row;
    overflow: hidden;
    transition: transform 280ms ease, opacity 280ms ease;
  }
  #place-stories.is-open { transform: translate(-50%, -50%) scale(1); }
  #place-stories .ps-handle,
  #place-stories .ps-mobile-head,
  #place-stories .ps-chips { display: none !important; }
  #place-stories .ps-rail { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  #ps-backdrop, #place-stories, #place-stories .ps-band img, #eat-sop-root .sense-card {
    transition: none !important;
    animation: none !important;
  }
  #place-stories { transform: none; }
  #place-stories.is-open { transform: none; }
  @media (min-width: 1024px) {
    #place-stories, #place-stories.is-open { transform: translate(-50%, -50%); }
  }
}
html[data-motion="0"] #ps-backdrop,
html[data-motion="0"] #place-stories,
html[data-motion="0"] #place-stories.is-open {
  transition: none !important;
  animation: none !important;
}
html[data-motion="0"] #place-stories.is-open { transform: none; }
@media (min-width: 1024px) {
  html[data-motion="0"] #place-stories.is-open,
  html[data-motion="0"] #place-stories {
    transform: translate(-50%, -50%);
  }
}

#place-stories .ps-handle {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding-top: 8px;
  cursor: grab;
  touch-action: none;
}
#place-stories .ps-handle-bar {
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: var(--sop-line);
}
#place-stories .ps-close,
#place-stories .ps-rail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(14, 22, 24, .45);
  color: var(--sop-on-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
#place-stories .ps-close:hover,
#place-stories .ps-rail-close:hover { background: rgba(14, 22, 24, .7); }
#place-stories .ps-close svg,
#place-stories .ps-rail-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

#place-stories .ps-mobile-head {
  position: relative;
  flex: 0 0 auto;
  height: var(--header-h);
  overflow: hidden;
  color: var(--sop-on-deep);
}
#place-stories .ps-band { position: absolute; inset: 0; }
#place-stories .ps-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 72%; /* baked-in poster titles sit in the top ~40%; crop to the landscape below */
  display: block;
}
#place-stories .ps-band-wash {
  position: absolute;
  inset: 0;
  /* Deep bottom scrim so the place label sits on a dark, even field (AA on light ice and water). */
  background: linear-gradient(180deg,
    rgba(14,22,24,.10) 0%,
    rgba(14,22,24,.22) 38%,
    rgba(14,22,24,.72) 68%,
    rgba(14,22,24,.92) 100%);
}
@media (prefers-color-scheme: dark) {
  #place-stories .ps-band-wash {
    background: linear-gradient(180deg,
      rgba(6,8,9,.18) 0%,
      rgba(6,8,9,.32) 38%,
      rgba(6,8,9,.80) 68%,
      rgba(6,8,9,.94) 100%);
  }
}
#place-stories .ps-band-copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 16px 20px 14px;
}
#place-stories .ps-band-copy .ps-kicker {
  text-shadow: 0 1px 2px rgba(0,0,0,.55);
}
#place-stories .ps-band-copy h2 {
  text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 2px 12px rgba(0,0,0,.35);
}
#place-stories .ps-kicker {
  margin: 0 0 4px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sense-sand);
  font-family: var(--sop-sans);
}
#place-stories .ps-band-copy h2 {
  font-family: var(--sop-display);
  font-weight: 650;
  font-size: 1.85rem;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--sop-on-deep);
}

#place-stories .ps-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  scrollbar-width: none;
  flex: 0 0 auto;
  background: var(--paper);
  border-bottom: 1px solid var(--sop-line);
}
#place-stories .ps-chips::-webkit-scrollbar { display: none; }
#place-stories .ps-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--sop-line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sop-sans);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
#place-stories .ps-chip img {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
}
#place-stories .ps-chip .ps-day {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sop-muted);
}
#place-stories .ps-chip[aria-pressed="true"] {
  background: var(--berry-deep);
  color: var(--sense-cream);
  border-color: var(--berry-deep);
}
#place-stories .ps-chip[aria-pressed="true"] .ps-day { color: var(--sop-on-deep-soft); }
#place-stories .ps-chip:focus-visible {
  outline: var(--sop-focus);
  outline-offset: 2px;
}

#place-stories .ps-tabs {
  display: flex;
  gap: 0;
  flex: 0 0 auto;
  border-bottom: 1px solid var(--sop-line);
  padding: 0 8px;
  background: var(--paper);
}
#place-stories .ps-tab {
  flex: 1 1 0;
  min-height: 48px;
  padding: 8px 6px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--sop-muted);
  font-family: var(--sop-sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}
#place-stories .ps-tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
#place-stories .ps-tab:focus-visible {
  outline: var(--sop-focus);
  outline-offset: -2px;
}

#place-stories .ps-pane {
  flex: 1 1 auto;
  overflow: auto;
  padding: 20px 22px 32px;
  -webkit-overflow-scrolling: touch;
}
#place-stories .sample-banner {
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent-text) 12%, var(--paper));
  color: var(--ink);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  font-family: var(--sop-sans);
}
#place-stories .sample-banner[hidden] { display: none !important; }
#place-stories .ps-headline {
  font-family: var(--sop-display);
  font-weight: 650;
  font-size: 1.65rem;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--ink);
}
#place-stories .ps-intro {
  font-family: var(--sop-display);
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0 0 22px;
  color: var(--ink);
}

#place-stories .opt-block { margin: 0 0 22px; }
#place-stories .opt-block h3 {
  margin: 0 0 12px;
  font-family: var(--sop-sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

#place-stories .words { display: grid; gap: 0; }
#place-stories .word-row {
  display: grid;
  grid-template-columns: minmax(7em, .4fr) 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--sop-line);
}
#place-stories .word-row:last-child { border-bottom: 1px solid var(--sop-line); }
#place-stories .word-row dt {
  margin: 0;
  font-family: var(--sop-display);
  font-weight: 650;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
}
#place-stories .word-row dd { margin: 0; color: var(--sop-muted); font-size: .95rem; }

#place-stories .dishes { display: grid; gap: 10px; }
#place-stories .dish {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--sop-line);
}
#place-stories .dish:last-child { border-bottom: 1px solid var(--sop-line); }
#place-stories .dish-num {
  font-family: var(--sop-display);
  font-weight: 650;
  font-size: 1.15rem;
  color: var(--accent-text);
  line-height: 1.2;
}
#place-stories .dish b { display: block; font-size: 1.02rem; font-weight: 700; margin-bottom: 2px; }
#place-stories .dish p { font-size: .92rem; color: var(--sop-muted); margin: 0; }

#place-stories .timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
#place-stories .tl-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  position: relative;
  padding-bottom: 16px;
}
#place-stories .tl-item:last-child { padding-bottom: 0; }
#place-stories .tl-item:last-child .tl-dot::after { display: none; }
#place-stories .tl-dot {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
#place-stories .tl-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent-text);
  flex: 0 0 auto;
}
#place-stories .tl-dot::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: -16px;
  left: 50%;
  width: 1px;
  background: var(--sop-line);
  transform: translateX(-50%);
}
#place-stories .tl-item b {
  display: block;
  font-family: var(--sop-display);
  font-weight: 650;
  font-size: 1.02rem;
  margin-bottom: 2px;
}
#place-stories .tl-item p { font-size: .92rem; color: var(--sop-muted); margin: 0; }

#place-stories .tip {
  /* Override the guide's unscoped `.tip { background: var(--berry-deep);
     color: var(--on-deep) }` (meant for day-copy tips on a deep mat).
     This component sits on a paper-tinted surface, so body text must
     use --ink in both themes. Specificity (#place-stories .tip) wins
     over the guide rule. No gold. */
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-text) 10%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--accent-text) 22%, transparent);
  color: var(--ink);
}
#place-stories .tip svg { width: 22px; height: 22px; stroke: var(--accent-text); fill: none; margin-top: 1px; }
#place-stories .tip p {
  font-size: .98rem;
  line-height: 1.5;
  margin: 0;
  color: var(--ink);
}
#place-stories .tip strong { color: var(--ink); } /* defeat guide `.tip strong { color: var(--gold-soft) }` */

#place-stories .dyk { margin: 0 0 22px; }
#place-stories .dyk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
#place-stories .dyk-head h3 {
  margin: 0;
  font-family: var(--sop-sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
#place-stories .dyk-controls { display: flex; align-items: center; gap: 4px; }
#place-stories .dyk-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--sop-line);
  background: var(--paper);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
#place-stories .dyk-btn:disabled { opacity: .38; cursor: default; }
#place-stories .dyk-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }
#place-stories .dyk-btn:focus-visible { outline: var(--sop-focus); outline-offset: 2px; }
#place-stories .dyk-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
#place-stories .dyk-track::-webkit-scrollbar { display: none; }
#place-stories .dyk-card {
  flex: 0 0 auto;
  width: min(100%, 280px);
  scroll-snap-align: start;
  padding: 16px 16px 18px;
  border: 1px solid var(--sop-line);
  border-radius: 14px;
  background: var(--paper);
}
@media (min-width: 1024px) {
  #place-stories .dyk-track { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  #place-stories .dyk-card { width: auto; }
  #place-stories .dyk-controls,
  #place-stories .dyk-dots { display: none; }
}
#place-stories .dyk-card .n {
  margin: 0 0 8px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sop-muted);
}
#place-stories .dyk-card h4 {
  font-family: var(--sop-display);
  font-weight: 650;
  font-size: 1.08rem;
  margin: 0 0 6px;
  color: var(--ink);
}
#place-stories .dyk-card p { font-size: .92rem; color: var(--ink); line-height: 1.45; margin: 0; }
#place-stories .dyk-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
#place-stories .dyk-dots button {
  width: 16px;
  height: 16px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#place-stories .dyk-dots button i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--sop-line);
}
#place-stories .dyk-dots button[aria-current="true"] i { background: var(--ink); width: 10px; height: 10px; }

#place-stories .see-it {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-text);
  font-family: var(--sop-sans);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  min-height: 44px;
}
#place-stories .see-it:hover { text-decoration: underline; }
#place-stories .see-it svg { width: 18px; height: 18px; stroke: currentColor; fill: none; flex: 0 0 auto; }
#place-stories .see-it:focus-visible { outline: var(--sop-focus); outline-offset: 3px; }

#place-stories .ps-rail {
  flex: 0 0 260px;
  flex-direction: column;
  background: var(--berry-deep);
  color: var(--sense-cream);
  padding: 24px 16px 20px;
  overflow: auto;
  position: relative;
}
#place-stories .ps-rail-kicker {
  margin: 0 48px 16px 4px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sense-sand);
  font-family: var(--sop-sans);
}
#place-stories .ps-rail-close {
  top: 16px;
  right: 14px;
}
#place-stories .ps-place {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 8px;
  margin: 0 0 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--sense-cream);
  cursor: pointer;
  font-family: inherit;
}
#place-stories .ps-place img {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
}
#place-stories .ps-place .ps-day {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sense-sand);
  margin-bottom: 2px;
}
#place-stories .ps-place b {
  font-family: var(--sop-display);
  font-weight: 650;
  font-size: 1.05rem;
  color: var(--sense-cream);
  display: block;
}
#place-stories .ps-place[aria-pressed="true"] {
  background: color-mix(in srgb, var(--sop-on-deep) 14%, transparent);
}
#place-stories .ps-place:hover { background: color-mix(in srgb, var(--sop-on-deep) 8%, transparent); }
#place-stories .ps-place:focus-visible {
  outline: var(--sop-focus-on-deep);
  outline-offset: 2px;
}

#place-stories .ps-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: var(--paper);
}
#place-stories .ps-desktop-head { display: none; }
@media (min-width: 1024px) {
  #place-stories .ps-desktop-head {
    display: block;
    padding: 28px 32px 8px;
    flex: 0 0 auto;
  }
  #place-stories .ps-desktop-head .ps-kicker { color: var(--accent-text); }
  #place-stories .ps-desktop-head h2 {
    font-family: var(--sop-display);
    font-weight: 650;
    font-size: 2.15rem;
    letter-spacing: -.02em;
    margin: 0;
    color: var(--ink);
  }
  #place-stories .ps-tabs { padding: 0 24px; }
  #place-stories .ps-pane { padding: 20px 32px 36px; }
  #place-stories .ps-close { display: none; }
}

#place-stories[hidden],
#ps-backdrop[hidden] { display: none !important; }

/* Highlight a day after "See it on your trip" */
.day-target {
  outline: 2px solid var(--accent-text, var(--berry-deep));
  outline-offset: 6px;
  border-radius: 8px;
  transition: outline-color 400ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .day-target { transition: none; }
}

/* Defeat the guide's .day card styles if any leftover class leaks */
#place-stories .ps-chip .ps-day,
#place-stories .ps-place .ps-day {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  display: block;
  width: auto;
  box-shadow: none;
}

@media (min-width: 1024px) {
  #place-stories .ps-rail { display: flex !important; }
}
@media (max-width: 1023px) {
  #place-stories .ps-rail { display: none !important; }
}

/* ========================================================================
   r4 block library — same design language, tokens, type and dark mode.
   No gold. Tokens inherit the guide's theme. Each block is single-column
   below 1024px; then_now, senses and qa may use two columns at >=1024
   inside the 880 modal pane.
   ======================================================================== */

#place-stories .ps-kicker {
  margin: 0 0 6px;
  font-family: var(--sop-sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

#place-stories .blk {
  margin: 0 0 22px;
  color: var(--ink);
  width: 100%;
}
#place-stories .blk-senses,
#place-stories .blk-thennow,
#place-stories .blk-qa,
#place-stories .blk-facts,
#place-stories .blk-spotlight {
  width: 100%;
}
#place-stories .blk h3 {
  margin: 0 0 12px;
  font-family: var(--sop-sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
#place-stories .blk h4 {
  font-family: var(--sop-display);
  font-weight: 650;
  font-size: 1.12rem;
  margin: 0 0 6px;
  color: var(--ink);
}
#place-stories .blk p { color: var(--ink); }

/* --- story: italic lead + drop-cap --- */
#place-stories .blk-story .blk-lead {
  font-family: var(--sop-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.28rem;
  line-height: 1.4;
  margin: 0 0 14px;
  color: var(--ink);
}
#place-stories .blk-story p {
  font-family: var(--sop-display);
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0 0 12px;
  color: var(--ink);
}
#place-stories .blk-story p:last-child { margin-bottom: 0; }
#place-stories .blk-story .blk-drop::first-letter {
  font-family: var(--sop-display);
  font-weight: 650;
  font-size: 3.05rem;
  line-height: .82;
  float: left;
  padding: 6px 10px 0 0;
  color: var(--ink);
}

/* --- quote --- */
#place-stories .blk-quote {
  margin: 0;
  padding: 0;
  border: 0;
}
#place-stories .blk-quote blockquote {
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 2px solid var(--accent-text);
  background: transparent;
}
#place-stories .blk-quote blockquote p {
  font-family: var(--sop-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.3;
  letter-spacing: -.015em;
  margin: 0;
  color: var(--ink);
}
#place-stories .blk-quote .blk-quote-attr,
#place-stories .blk-quote figcaption {
  margin: 12px 0 0 18px;
  font-family: var(--sop-sans);
  font-size: .88rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--sop-muted);
}

/* --- spotlight: optional crop of existing day art --- */
#place-stories .blk-spotlight {
  display: grid;
  gap: 14px;
  margin: 0;
}
#place-stories .spot-art {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sense-mat, var(--berry-deep));
  aspect-ratio: 16 / 10;
}
#place-stories .spot-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#place-stories .spot-body h4 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}
#place-stories .spot-body p {
  font-family: var(--sop-display);
  font-size: 1.02rem;
  line-height: 1.5;
  margin: 0;
  color: var(--ink);
}
@media (min-width: 1024px) {
  #place-stories .blk-spotlight {
    grid-template-columns: 200px 1fr;
    gap: 20px;
    align-items: start;
  }
  #place-stories .spot-art { aspect-ratio: 4 / 5; }
}

/* --- how_made --- */
#place-stories .blk-howmade {
  list-style: none;
  margin: 0;
  padding: 0;
}
#place-stories .blk-howmade li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 44px;
  padding: 10px 0;
  border-top: 1px solid var(--sop-line);
}
#place-stories .blk-howmade li:last-child { border-bottom: 1px solid var(--sop-line); }
#place-stories .hm-num {
  font-family: var(--sop-display);
  font-weight: 650;
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--accent-text);
}
#place-stories .blk-howmade p {
  margin: 0;
  padding-top: 4px;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink);
}

/* --- then_now: stack on mobile, two columns on desktop --- */
#place-stories .blk-thennow {
  display: grid;
  gap: 14px;
}
#place-stories .tn-col {
  padding: 16px 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--sop-line);
  background: color-mix(in srgb, var(--accent-text) 7%, var(--paper));
}
#place-stories .tn-col h3 {
  margin: 0 0 8px;
}
#place-stories .tn-col p {
  margin: 0;
  font-family: var(--sop-display);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
}
@media (min-width: 1024px) {
  #place-stories .blk-thennow {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* --- senses: 2–4 rows, line icons; two columns on desktop --- */
#place-stories .blk-senses {
  display: grid;
  gap: 10px;
}
#place-stories .sense-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--sop-line);
  background: var(--paper);
}
#place-stories .sense-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-text) 12%, var(--paper));
  color: var(--accent-text);
  flex: 0 0 auto;
}
#place-stories .sense-ico svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}
#place-stories .sense-row h4 {
  margin: 0 0 2px;
  font-family: var(--sop-sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-text);
}
#place-stories .sense-row p {
  margin: 0;
  font-size: .98rem;
  line-height: 1.45;
  color: var(--ink);
}
@media (min-width: 1024px) {
  #place-stories .blk-senses {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* --- qa: stack on mobile, two columns on desktop --- */
#place-stories .blk-qa {
  display: grid;
  gap: 12px;
}
#place-stories .qa-item {
  padding: 14px 16px 16px;
  border-radius: 12px;
  border: 1px solid var(--sop-line);
  background: var(--paper);
}
#place-stories .qa-q {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
  font-family: var(--sop-display);
  font-weight: 650;
  font-size: 1.08rem;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--ink);
}
#place-stories .qa-mark {
  font-family: var(--sop-sans);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--accent-text);
  padding-top: 4px;
}
#place-stories .qa-a {
  margin: 0 0 0 30px;
  font-size: .98rem;
  line-height: 1.5;
  color: var(--ink);
}
@media (min-width: 1024px) {
  #place-stories .blk-qa {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

/* --- facts: stacked cards on mobile, grid on desktop (no mandatory carousel) --- */
#place-stories .blk-facts {
  display: grid;
  gap: 12px;
}
#place-stories .fact-card {
  padding: 16px 16px 18px;
  border: 1px solid var(--sop-line);
  border-radius: 14px;
  background: var(--paper);
}
#place-stories .fact-card .n {
  margin: 0 0 8px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sop-muted);
  font-family: var(--sop-sans);
}
#place-stories .fact-card h4 {
  font-family: var(--sop-display);
  font-weight: 650;
  font-size: 1.08rem;
  margin: 0 0 6px;
  color: var(--ink);
}
#place-stories .fact-card p {
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.45;
  margin: 0;
}
@media (min-width: 1024px) {
  #place-stories .blk-facts {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
  }
}

/* Block titles (timeline / words / dishes / how_made) already use .blk h3.
   Existing .words, .dishes, .timeline, .tip styles are reused. */

/* Gold ban: never introduce #e2b04a in this file. */


/* Sense of Place affiliate inline links. Gold #e2b04a is never used.
   Dialog body is paper with ink; the hero band is deep. */
.eat-sop-aff-disc {
  margin: 16px 0 0;
  max-width: 52ch;
  font-family: var(--sop-sans, "Libre Franklin", system-ui, sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted, #4f5254);
}
.eat-sop-aff-disc[hidden] { display: none; }
#ps-pane .eat-sop-aff-disc {
  color: var(--muted, #4f5254);
}

a.eat-sop-aff {
  position: relative;
  display: inline-block;
  margin-left: 0.35em;
  max-width: 100%;
  vertical-align: baseline;
  padding: 0;
  font-family: var(--sop-sans, "Libre Franklin", system-ui, sans-serif);
  font-size: 0.92em;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: inherit;
  color: var(--ink, #17191c);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--ink, #17191c) 50%, transparent);
  background: none;
  border: 0;
  white-space: normal;
  cursor: pointer;
}
a.eat-sop-aff .eat-sop-aff-end { white-space: nowrap; }
a.eat-sop-aff::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max(100%, 44px);
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}
a.eat-sop-aff:hover,
a.eat-sop-aff:focus-visible {
  text-decoration-thickness: 2px;
  text-decoration-color: var(--ink, #17191c);
}
a.eat-sop-aff:focus-visible {
  outline: var(--sop-focus-on-deep, 2px solid var(--ink, #17191c));
  outline-offset: 3px;
  border-radius: 2px;
}
.eat-sop-aff-fallback {
  margin: 0.75rem 0 0;
  max-width: 52ch;
  font-family: var(--sop-sans, "Libre Franklin", system-ui, sans-serif);
}

@media (prefers-color-scheme: dark) {
  #ps-pane .eat-sop-aff-disc,
  .eat-sop-aff-disc { color: var(--muted, #c4c0b8); }
  a.eat-sop-aff {
    color: var(--ink, #ece9e2);
    text-decoration-color: color-mix(in srgb, var(--ink, #ece9e2) 50%, transparent);
  }
  a.eat-sop-aff:hover,
  a.eat-sop-aff:focus-visible {
    text-decoration-color: var(--ink, #ece9e2);
  }
  a.eat-sop-aff:focus-visible {
    outline-color: var(--ink, #ece9e2);
  }
}
/* == /shared/membership/fp-band.css == */
/* Freedom Passport band — r2 explorer's passport (12 Nov 2026)
   Warm, tactile, cinematic. Adventure-serial spirit only:
   no film names, logos, characters, title-fonts, hats or whips.

   Motif is CSS and inline SVG only. Never Custom gold (#e2b04a),
   never Your Edition / --cv-forest green.

   Tokens (theme + new --fp-*). Override on .fp-band for other hosts. */

.fp-band {
  /* Leather: oxblood into dark tobacco. Mid-tone stands apart from a
     near-black page; the amber glow lifts the centre further. */
  --fp-leather-deep: #2a1410;
  --fp-leather: #5c2a20;
  --fp-leather-lit: #6b3a1e;
  --fp-tobacco: #3a2414;
  --fp-field: var(--fp-leather);
  /* Parchment: aged map paper. Stays a light document in both schemes. */
  --fp-page: #e8dcc0;
  --fp-page-tan: #d4c4a0;
  --fp-ink: #2a1810;            /* 12.5:1 on parchment, 9.9:1 on tan */
  --fp-muted: #5c3a18;          /* bronze-deep; 7.4:1 on parchment, 5.9:1 on tan */
  --fp-oxblood: #5a1c18;        /* stamp ink; 9.6:1 on parchment, 7.6:1 on tan */
  --fp-teal-ink: #1e484c;       /* faded-deep teal stamp; 7.4:1 / 5.9:1 */
  --fp-brass: #b5793d;
  --fp-brass-deep: #8a5a2b;
  --fp-brass-hi: #d29a5a;
  --fp-stitch: color-mix(in srgb, #d4c4a0 48%, var(--fp-leather-deep));
  --fp-pad-y: clamp(2.5rem, 6vw, 5.6rem);
  --fp-pad-x: clamp(1.15rem, 3.2vw, 2.5rem);
  --fp-title: clamp(1.75rem, 1.7vw + 1.1rem, 2.4rem);
  --fp-body: clamp(0.95rem, 0.4vw + 0.88rem, 1.08rem);
  --fp-compass: clamp(8.4rem, 26vw, 22.5rem);
  --fp-copy-clear: 6.1rem;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fp-ink);
  font-family: "Libre Franklin", system-ui, sans-serif;
}

/* Dark: same leather and a slightly dimmed parchment (still light, for 4.5:1). */
@media (prefers-color-scheme: dark) {
  .fp-band {
    --fp-page: #d9cdb0;
    --fp-page-tan: #c9ba94;
    --fp-leather-deep: #2c1410;
    --fp-leather: #7a3c2a;
    --fp-leather-lit: #8a4e2c;
    --fp-field: var(--fp-leather);
    --fp-stitch: color-mix(in srgb, #d4c4a0 40%, var(--fp-leather-deep));
  }
}
html.dark .fp-band,
html[data-theme="dark"] .fp-band {
  --fp-page: #d9cdb0;
  --fp-page-tan: #c9ba94;
  --fp-leather-deep: #2c1410;
  --fp-leather: #7a3c2a;
  --fp-leather-lit: #8a4e2c;
  --fp-field: var(--fp-leather);
  --fp-stitch: color-mix(in srgb, #d4c4a0 40%, var(--fp-leather-deep));
}

.fp-band[data-fp-variant="b"] .fp-perks-flag { display: none; }

/* ---------- Shared leather grain (SVG noise), used on the cover ---------- */
/* The grain lives on ::after; the gradient and vignette too. */

/* ---------- Mobile <1024: contained leather wallet ---------- */
.fp-band-inner {
  position: relative;
  box-sizing: border-box;
  margin: 28px auto;
  padding: 22px 16px 20px;
  max-width: 24.5rem;
  background:
    radial-gradient(ellipse 80% 70% at 30% 20%,
      color-mix(in srgb, var(--fp-leather-lit) 70%, var(--fp-leather)) 0%,
      transparent 58%),
    linear-gradient(165deg, var(--fp-leather-lit) 0%, var(--fp-leather) 42%, var(--fp-tobacco) 100%);
  border-radius: 6px;
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--fp-brass-deep) 35%, transparent),
    0 18px 40px color-mix(in srgb, black 38%, transparent);
  overflow: hidden; /* compass cropped at the top-right */
}

/* Saddle-stitch inset on the wallet. */
.fp-band-inner::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1.4px dashed var(--fp-stitch);
  border-radius: 3px;
  pointer-events: none;
  z-index: 2;
}

/* Amber lamplight, behind the booklet. */
.fp-glow {
  position: absolute;
  inset: -8% -6%;
  background: radial-gradient(
    ellipse 70% 80% at 38% 48%,
    rgba(230, 160, 65, 0.62) 0%,
    rgba(190, 100, 35, 0.28) 42%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
}

.fp-passport {
  position: relative;
  z-index: 1;
  display: block;
  box-sizing: border-box;
  margin: 0;
  padding: clamp(1.35rem, 4.5vw, 1.7rem) clamp(1.05rem, 4vw, 1.45rem) clamp(1.4rem, 4.5vw, 1.8rem);
  padding-right: clamp(1.4rem, 8vw, 2.8rem); /* room for the cropped compass */
  /* Clear the deckle teeth — the mask bites ~8–10% of width (~36px at 390). */
  padding-left: 2.65rem;
  background:
    /* foxing — a few rust blooms, quiet */
    radial-gradient(ellipse 80px 50px at 12% 80%, rgba(110, 60, 28, 0.14), transparent 70%),
    radial-gradient(ellipse 60px 40px at 88% 18%, rgba(90, 40, 20, 0.10), transparent 70%),
    radial-gradient(ellipse 50px 36px at 70% 90%, rgba(120, 70, 30, 0.10), transparent 70%),
    radial-gradient(ellipse 40px 28px at 30% 12%, rgba(100, 55, 25, 0.09), transparent 70%),
    linear-gradient(160deg, var(--fp-page) 0%, var(--fp-page-tan) 100%);
  color: var(--fp-ink);
  /* Deckle on the left: irregular bite into the leather. */
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 800' preserveAspectRatio='none'><path fill='white' d='M16,0 L200,0 L200,800 L16,800 C12,788 20,776 14,764 C8,752 18,740 12,728 C20,716 8,704 15,692 C7,680 19,668 13,656 C21,644 9,632 16,620 C8,608 20,596 12,584 C18,572 8,560 15,548 C7,536 19,524 11,512 C20,500 8,488 16,476 C9,464 18,452 12,440 C20,428 8,416 15,404 C7,392 19,380 13,368 C21,356 8,344 16,332 C9,320 19,308 11,296 C20,284 8,272 16,260 C7,248 18,236 12,224 C21,212 8,200 15,188 C9,176 19,164 11,152 C20,140 8,128 16,116 C7,104 19,92 13,80 C21,68 8,56 15,44 C9,32 18,20 12,8 C16,4 14,0 16,0 Z'/></svg>");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 800' preserveAspectRatio='none'><path fill='white' d='M16,0 L200,0 L200,800 L16,800 C12,788 20,776 14,764 C8,752 18,740 12,728 C20,716 8,704 15,692 C7,680 19,668 13,656 C21,644 9,632 16,620 C8,608 20,596 12,584 C18,572 8,560 15,548 C7,536 19,524 11,512 C20,500 8,488 16,476 C9,464 18,452 12,440 C20,428 8,416 15,404 C7,392 19,380 13,368 C21,356 8,344 16,332 C9,320 19,308 11,296 C20,284 8,272 16,260 C7,248 18,236 12,224 C21,212 8,200 15,188 C9,176 19,164 11,152 C20,140 8,128 16,116 C7,104 19,92 13,80 C21,68 8,56 15,44 C9,32 18,20 12,8 C16,4 14,0 16,0 Z'/></svg>");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--fp-ink) 12%, transparent),
    0 16px 36px color-mix(in srgb, black 28%, transparent);
}

/* Map contours + route: behind the copy, never competing with it. */
.fp-map-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
}
.fp-map-layer .fp-map {
  width: 100%;
  height: 100%;
  display: block;
}

/* Compass: mobile — top-right, partly cropped by the wallet. */
.fp-compass {
  position: absolute;
  top: -1.85rem;
  right: -2.15rem;
  width: var(--fp-compass);
  height: var(--fp-compass);
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(20, 8, 4, 0.45));
}
.fp-compass-svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* Needle settles 2° on scroll-in; still when the user prefers less motion. */
.fp-needle {
  transform-origin: 200px 200px;
  transform-box: view-box;
  transform: rotate(-2deg);
}
.fp-needle.fp-needle-in {
  transform: rotate(0deg);
  transition: transform 1.45s cubic-bezier(.22,.7,.2,1);
}
@media (prefers-reduced-motion: reduce) {
  .fp-needle,
  .fp-needle.fp-needle-in {
    transform: rotate(0deg);
    transition: none !important;
  }
}

.fp-leaf-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  /* Clear the cropped compass at the top-right so heading and perks
     wrap in the open page, never under the instrument. */
  padding-right: var(--fp-copy-clear);
}

.fp-band .fp-kicker,
.fp-kicker {
  margin: 0 0 0.4rem;
  font: 700 0.68rem/1.25 "Libre Franklin", system-ui, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fp-muted);
  /* Embossed foil: a light catch from the lamp, a press into the page.
     The face colour itself stays bronze-deep, ≥4.5:1. */
  text-shadow:
    0 1px 0 color-mix(in srgb, var(--fp-page) 80%, white),
    0 -0.5px 0 color-mix(in srgb, var(--fp-ink) 28%, transparent),
    0 0 10px color-mix(in srgb, var(--fp-brass) 28%, transparent);
}

.fp-band h2,
.fp-band #fp-next-h {
  margin: 0 0 0.65rem;
  font: 550 var(--fp-title)/1.18 "Newsreader", Georgia, serif;
  letter-spacing: -0.02em;
  color: var(--fp-ink);
  max-width: none;
  text-wrap: pretty;
}

.fp-band .fp-perks,
.fp-perks {
  margin: 0 0 1rem;
  font: 450 var(--fp-body)/1.5 "Libre Franklin", system-ui, sans-serif;
  color: var(--fp-ink);
  max-width: 38em;
  overflow-wrap: anywhere;
}

/* Exact price sentence: for screen readers, not shown (stamps carry the visual). */
.fp-band .fp-price,
.fp-price {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.fp-stamps {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.7rem 0.9rem;
  margin: 0.1rem 0 1.15rem;
}

.fp-stamp {
  --fp-rot: -8deg;
  width: clamp(7.2rem, 38%, 8.6rem);
  flex: 0 1 auto;
  transform: rotate(var(--fp-rot));
  transform-origin: 50% 50%;
}
.fp-stamp-mo { --fp-rot: -8deg; color: var(--fp-oxblood); }
.fp-stamp-yr { --fp-rot: 6.5deg; color: var(--fp-teal-ink); }
.fp-stamp-svg { width: 100%; height: auto; display: block; overflow: visible; }

.fp-band .fp-btn,
.fp-band a.fp-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: calc(100% + var(--fp-copy-clear, 0px));
  max-width: none;
  padding: 0.75rem 1.45rem;
  white-space: nowrap;
  margin: 0;
  border-radius: 3px;
  border: 1px solid var(--fp-brass);          /* brass hairline, not #e2b04a */
  background: var(--fp-leather-deep);
  background-image: linear-gradient(
    180deg,
    color-mix(in srgb, var(--fp-leather) 40%, var(--fp-leather-deep)) 0%,
    var(--fp-leather-deep) 100%
  );
  color: var(--fp-page) !important;
  font: 700 0.95rem/1.15 "Libre Franklin", system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--fp-brass-hi) 22%, transparent),
    0 1px 0 color-mix(in srgb, black 35%, transparent);
}
.fp-band .fp-btn:hover,
.fp-band .fp-btn:focus-visible {
  background: var(--fp-leather);
  color: var(--fp-page) !important;
  outline: none;
}
.fp-band .fp-btn:focus-visible {
  outline: 3px solid var(--fp-brass);
  outline-offset: 3px;
}
.fp-band .fp-btn:active { transform: translateY(1px); }

.fp-band .fp-member-only,
.fp-band [data-fp-member] {
  margin: 0.7rem 0 0;
  font: 650 0.88rem/1.35 "Libre Franklin", system-ui, sans-serif;
  color: var(--fp-ink);
}

@media (prefers-reduced-motion: reduce) {
  .fp-band *,
  .fp-band *::before,
  .fp-band *::after {
    animation: none !important;
    transition: none !important;
  }
  .fp-band .fp-btn:active { transform: none; }
}

/* ---------- Desktop ≥1024: full-span weathered leather ---------- */
@media (min-width: 1024px) {
  .fp-band {
    margin-top: 48px;
    margin-bottom: 48px;
    padding-top: var(--fp-pad-y);
    padding-bottom: var(--fp-pad-y);
    background: var(--fp-leather-deep);
    overflow: visible;
  }

  /* Full-span leather: oxblood → tobacco, grain, vignette. */
  .fp-band::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    pointer-events: none;
    z-index: -1;
    box-sizing: border-box;
    background-color: var(--fp-leather-deep);
    background-image:
      radial-gradient(ellipse 80% 85% at 50% 50%,
        transparent 40%,
        color-mix(in srgb, black 42%, var(--fp-leather-deep)) 100%),
      linear-gradient(
        165deg,
        var(--fp-leather-lit) 0%,
        var(--fp-leather) 38%,
        var(--fp-tobacco) 72%,
        var(--fp-leather-deep) 100%
      ),
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.06  0 0 0 0 0.03  0 0 0 0.38 0'/></filter><rect width='100%' height='100%' filter='url(/shared/membership/%23g)'/></svg>");
    background-size: auto, auto, 180px 180px;
    background-blend-mode: multiply, normal, multiply;
  }

  /* Saddle-stitch, inset from the band edge, full span. */
  .fp-band::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    top: 12px;
    bottom: 12px;
    box-sizing: border-box;
    border: 1.5px dashed var(--fp-stitch);
    pointer-events: none;
    z-index: 0;
  }

  .fp-band-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 3vw, 2.5rem);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }
  .fp-band-inner::before { content: none; } /* stitch is on the band */

  .fp-glow {
    inset: -12% 4%;
    background: radial-gradient(
      ellipse 62% 82% at 36% 50%,
      rgba(230, 160, 65, 0.70) 0%,
      rgba(190, 100, 35, 0.32) 40%,
      transparent 70%
    );
    z-index: 0;
  }

  .fp-passport {
    display: block;
    min-height: 24rem;
    padding: clamp(2rem, 3.4vw, 2.85rem) clamp(2.1rem, 4vw, 3.4rem) clamp(2rem, 3.4vw, 2.85rem) clamp(15.25rem, 28vw, 19rem);
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400' preserveAspectRatio='none'><path fill='white' d='M0,0 L800,0 L800,400 L0,400 L0,0 Z M0,0 C6,12 -4,24 4,36 C-4,48 8,60 2,72 C10,84 -2,96 5,108 C-3,120 9,132 1,144 C10,156 -2,168 6,180 C-4,192 8,204 2,216 C10,228 -2,240 5,252 C-3,264 9,276 1,288 C10,300 -2,312 6,324 C-4,336 8,348 2,360 C10,372 -2,384 4,396 L0,400 Z'/></svg>");
    /* The 'hole' on the left of that path was a botched subtraction.
       Use a left-edge deckle only: */
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 500' preserveAspectRatio='none'><path fill='white' d='M22,0 L800,0 L800,500 L22,500 C16,488 26,476 18,464 C28,452 14,440 22,428 C12,416 26,404 18,392 C28,380 14,368 22,356 C12,344 26,332 18,320 C28,308 14,296 22,284 C12,272 26,260 18,248 C28,236 14,224 22,212 C12,200 26,188 18,176 C28,164 14,152 22,140 C12,128 26,116 18,104 C28,92 14,80 22,68 C12,56 26,44 18,32 C28,20 14,8 22,0 Z'/></svg>");
    mask-size: 100% 100%;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 500' preserveAspectRatio='none'><path fill='white' d='M22,0 L800,0 L800,500 L22,500 C16,488 26,476 18,464 C28,452 14,440 22,428 C12,416 26,404 18,392 C28,380 14,368 22,356 C12,344 26,332 18,320 C28,308 14,296 22,284 C12,272 26,260 18,248 C28,236 14,224 22,212 C12,200 26,188 18,176 C28,164 14,152 22,140 C12,128 26,116 18,104 C28,92 14,80 22,68 C12,56 26,44 18,32 C28,20 14,8 22,0 Z'/></svg>");
    -webkit-mask-size: 100% 100%;
    box-shadow:
      0 1px 0 color-mix(in srgb, var(--fp-ink) 10%, transparent),
      0 28px 64px color-mix(in srgb, black 38%, transparent),
      -8px 0 24px color-mix(in srgb, black 18%, transparent);
  }

  /* Compass: large, overlapping leather and the deckled page edge. */
  .fp-compass {
    top: 50%;
    left: -6.75rem;
    right: auto;
    width: var(--fp-compass);
    height: var(--fp-compass);
    transform: translateY(-50%);
    z-index: 4;
    filter:
      drop-shadow(0 10px 22px rgba(20, 8, 4, 0.5))
      drop-shadow(0 0 18px rgba(210, 140, 55, 0.22));
  }

  .fp-leaf-copy {
    max-width: 42rem;
    padding-right: 0;
  }

  .fp-stamps {
    justify-content: flex-start;
    gap: 1.15rem 1.4rem;
    margin: 0.15rem 0 1.35rem;
  }
  .fp-stamp { width: 8.5rem; }
  .fp-stamp-yr { margin-top: 0.55rem; }

  /* Desktop CTA is content-sized, not full-bleed. */
  .fp-band .fp-btn,
  .fp-band a.fp-btn {
    width: auto;
    min-width: 14.5rem;
    align-self: start;
    padding: 0.75rem 1.7rem;
  }
}

@media (min-width: 1440px) {
  .fp-band-inner { max-width: 74rem; }
  .fp-band { --fp-compass: 24rem; }
}

/* Beat fp.css’s contained paper-card defaults. */
html.gsig section.fp-band,
section.fp-band#fp-next {
  max-width: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
@media (min-width: 1024px) {
  html.gsig section.fp-band,
  section.fp-band#fp-next {
    background: var(--fp-leather-deep);
    margin-top: 48px;
    margin-bottom: 48px;
  }
}

/* r1 band-count decision, kept: Checks is a contained plate. */
@media (min-width: 1024px) {
  html.gsig section.checks {
    margin-top: 28px;
    margin-bottom: 28px;
    margin-left: auto;
    margin-right: auto;
    max-width: 72rem;
    width: calc(100% - 48px);
    border-radius: 4px;
    box-sizing: border-box;
  }
  html.gsig section.checks::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    margin-left: 0 !important;
  }
}

/* Owner 11:43 PM ET Nov 13 2026: desktop Passport band card hugged the left
   (compass clipped, right half of the leather empty) when the section sat
   in the guide column. At >=1024px the band is full-bleed, the card is
   centered with a content-column max-width, and inner padding keeps the
   compass unclipped. Mobile is unchanged. */
@media (min-width: 1024px) {
  html.gsig section.fp-band,
  section.fp-band#fp-next,
  .fp-band {
    width: 100vw;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    overflow: visible;
    position: relative;
    box-sizing: border-box;
  }
  /* Beat site-pages.css `.fp-band { display:grid; grid-template-columns:1.2fr .9fr }`
     which left-aligned the passport card and left the right track empty. */
  html.gsig section.fp-band,
  section.fp-band#fp-next {
    display: block;
    grid-template-columns: none;
    gap: 0;
  }
  html.gsig .fp-band-inner,
  .fp-band-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: none;
    margin-left: auto !important;
    margin-right: auto !important;
    /* Symmetric pad: room for the left-hanging compass, card stays centered. */
    padding-left: 7.5rem;
    padding-right: 7.5rem;
    box-sizing: border-box;
    overflow: visible;
    position: relative;
  }
  html.gsig .fp-passport,
  .fp-passport {
    flex: 0 0 auto;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  html.gsig .fp-compass,
  .fp-compass {
    left: -6.75rem;
    z-index: 4;
  }
}
