/* Store pages (/stores/<slug>) and the /stores hub: the store blocks (templates/_includes/store/*). House style: the
   suiting pages' type and colours; the London sheet in the provenance map's engraved hand (paper, sepia, thread). */
.st { --ink: #2b2b2b; --ink-2: rgba(43,43,43,.74); --ink-3: rgba(43,43,43,.52); --rule: #e3dfd7; --paper: #f2ede3;
  --paper-2: #f8f4ec; --sepia: #43392e; --sepia-2: rgba(67,57,46,.64); --sepia-3: rgba(67,57,46,.3); --thread: #9b3d2c;
  --water: #dfe5e8; --water-ink: #6f8799; --open: #4f6b4a;
  color: var(--ink); font-family: 'DM Sans', sans-serif; font-weight: 300; }
.st-in { max-width: 1248px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .st-in { padding: 0 24px; } }
.st h1, .st h2, .st h3 { font-family: 'Noto Serif', serif; font-weight: 300; color: var(--ink); text-wrap: balance; margin: 0; }
.st p { margin: 0; }
.st a { color: inherit; }
.st :focus-visible { outline: 1.5px solid #a4bacf; outline-offset: 3px; }

/* Buttons: one dark, one outlined, one plain link */
.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px;
  font: 400 11px/1 'DM Sans', sans-serif; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--ink); transition: background .2s, color .2s; white-space: nowrap; }
.st-btn--dark { background: var(--ink); color: #fdfdfd !important; }
.st-btn--dark:hover { background: #000; }
.st-btn:not(.st-btn--dark):hover { background: var(--ink); color: #fdfdfd !important; }
.st-link { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ink-3); }
.st-link:hover { text-decoration-color: var(--ink); }

/* Hero */
.st-hero { padding: 28px 0 56px; }
@media (min-width: 900px) { .st-hero { padding: 48px 0 88px; } }
.st-crumbs { font-size: 12.5px; color: var(--ink-3); }
.st-crumbs a { text-decoration: none; }
.st-crumbs a:hover { color: var(--ink); }
.st-hero-grid { display: grid; gap: 28px; margin-top: 18px; }
@media (min-width: 900px) { .st-hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; margin-top: 28px; } }
.st-hero h1 { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.06; }
.st-hero-intro { margin-top: 18px; font: 300 17px/1.65 'Noto Serif', serif; color: var(--ink-2); max-width: 46ch; }
.st-facts { margin-top: 26px; display: grid; gap: 10px; font-size: 14.5px; }
.st-status { display: flex; align-items: baseline; gap: 10px; }
.st-status i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); transform: translateY(-1px); flex: none; }
.st-status[data-open="true"] i { background: var(--open); box-shadow: 0 0 0 4px rgba(79,107,74,.14); }
.st-status b { font-weight: 500; }
.st-rating { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.st-rating .st-stars { letter-spacing: .12em; color: var(--ink); font-size: 13px; }
.st-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.st-photo { position: relative; }
@media (max-width: 899px) { .st-photo { order: -1; } }
.st-photo-frame { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--paper); }
.st-photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s ease; }
.st-photo-frame img:not(.is-on) { opacity: 0; }
.st-photo-cap { margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--ink-3); }
.st-photo-dots { display: flex; gap: 6px; }
.st-photo-dots button { width: 22px; height: 2px; padding: 8px 0; border: 0; background: none; cursor: pointer; position: relative; }
.st-photo-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--rule); }
.st-photo-dots button[aria-current="true"]::after { background: var(--ink); }

/* Story: the store's description */
.st-story { padding: 64px 0; border-top: 1px solid var(--rule); }
.st-story-grid { display: grid; gap: 28px 64px; }
@media (min-width: 900px) { .st-story-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.st-lede p { font: 300 clamp(19px, 1.7vw, 23px)/1.55 'Noto Serif', serif; color: var(--ink); }
.st-lede p + p { margin-top: 16px; }
.st-sections { display: grid; gap: 28px 40px; align-content: start; }
@media (min-width: 640px) { .st-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.st-sections h2 { font-size: 21px; padding-top: 14px; border-top: 1px solid var(--ink); }
.st-sections p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }

/* Visit: hours, address, the London sheet */
.st-visit { padding: 64px 0 72px; border-top: 1px solid var(--rule); }
.st-visit h2, .st-steps-head h2, .st-others h2 { font-size: clamp(26px, 3vw, 36px); }
.st-visit-grid { margin-top: 30px; display: grid; gap: 32px; }
@media (min-width: 900px) { .st-visit-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: start; } }
/* Scoped hard against the site's general table styles (first row as a grey header, uppercase cells) */
.st table.st-hours { width: 100%; border-collapse: collapse; margin: 0; font-size: 14.5px; font-variant-numeric: tabular-nums; background: none; }
/* (the page's .prose wrapper styles "tbody tr:first-child td"; these are more specific) */
.st table.st-hours tbody tr, .st table.st-hours tbody tr:first-child { background: none; border: 0; border-bottom: 1px solid var(--rule); }
.st table.st-hours tbody tr th, .st table.st-hours tbody tr td { background: none; border: 0; text-transform: none; letter-spacing: 0; font-size: 14.5px; }
.st table.st-hours tbody tr th { text-align: left; font-weight: 300; padding: 10px 0; width: 42%; color: var(--ink); }
.st table.st-hours tbody tr td { text-align: right; padding: 10px 0; color: var(--ink-2); }
.st table.st-hours tbody tr.is-closed td, .st table.st-hours tbody tr.is-closed th { color: var(--ink-3); }
.st table.st-hours tbody tr.is-today th, .st table.st-hours tbody tr.is-today td { color: var(--ink); font-weight: 500; }
.st table.st-hours tbody tr.is-today th::after { content: " · today"; font-weight: 300; color: var(--ink-3); }
.st-contact { margin-top: 26px; display: grid; gap: 14px; font-size: 14.5px; line-height: 1.6; }
.st-contact h3 { font: 400 11px 'DM Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.st-contact address { font-style: normal; }
.st-contact a { text-decoration: none; border-bottom: 1px solid var(--ink-3); }
.st-contact a:hover { border-color: var(--ink); }

/* The London sheet (store-page.js draws it into [data-london]) */
.st-sheet { position: relative; background: var(--paper); border: 1px solid #e3dccf; padding: 8px; }
.st-sheet::before { content: ""; position: absolute; inset: 3px; border: .5px solid var(--sepia-3); pointer-events: none; z-index: 1; }
.st-sheet svg { display: block; width: 100%; height: auto; touch-action: manipulation; }
.st-sheet svg, .st-sheet svg * { outline: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.st-sheet:not(.is-drawn) { aspect-ratio: 1000 / 536; }
.lm-park { fill: url(#lm-stipple); }
.lm-water { fill: var(--water); stroke: var(--water-ink); stroke-opacity: .55; stroke-width: .6; fill-rule: evenodd; }
.lm-road { fill: none; stroke: var(--sepia); stroke-linecap: round; stroke-linejoin: round; }
.lm-road--major { stroke-opacity: .55; stroke-width: 2.2; }
.lm-road--primary { stroke-opacity: .42; stroke-width: 1.2; }
.lm-road--minor { stroke-opacity: .22; stroke-width: .7; }
.lm-district { font: italic 300 11px 'Noto Serif', serif; letter-spacing: .32em; text-transform: uppercase; fill: var(--sepia-2); pointer-events: none; }
.lm-river { font: italic 300 13px 'Noto Serif', serif; letter-spacing: .4em; fill: var(--water-ink); pointer-events: none; }
.lm-station circle { fill: var(--paper-2); stroke: var(--sepia); stroke-width: 1; }
.lm-station text { font: 300 10.5px 'Noto Serif', serif; fill: var(--sepia); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; }
.lm-station.is-near circle { stroke: var(--thread); }
.lm-station.is-near text { font-weight: 400; fill: var(--ink); }
.lm-store { cursor: pointer; }
.lm-store line { stroke: var(--sepia); stroke-width: 2; stroke-linecap: round; }
.lm-store text { font-family: 'Homemade Apple', cursive; font-size: 17px; fill: var(--sepia); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.lm-store.is-current line { stroke: var(--thread); stroke-width: 2.6; }
.lm-store.is-current text { fill: var(--thread); }
.lm-store:hover text, .lm-store:focus-visible text { fill: var(--thread); }
.lm-hit { fill: transparent; }
.lm-card { position: absolute; z-index: 2; min-width: 210px; max-width: 260px; background: var(--paper-2); border: 1px solid var(--sepia-3); padding: 14px 16px; color: var(--sepia); box-shadow: 0 1px 0 rgba(67,57,46,.12); font-size: 13px; }
.lm-card[hidden] { display: none; }
.lm-card h3 { font: 400 17px 'Noto Serif', serif; color: var(--sepia); }
.lm-card p { margin-top: 4px; color: var(--sepia-2); }
.lm-card a { display: inline-block; margin-top: 8px; color: var(--sepia); }
.st-sheet-credit { margin-top: 8px; font: 300 11px 'Noto Serif', serif; color: var(--ink-3); }

/* First visit */
.st-steps { padding: 64px 0 72px; background: var(--paper); }
.st-steps-head { display: grid; gap: 14px 48px; align-items: end; }
@media (min-width: 900px) { .st-steps-head { grid-template-columns: minmax(0, 1fr) auto; } }
.st-steps ol { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 26px 32px; counter-reset: st; }
@media (min-width: 760px) { .st-steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .st-steps ol { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.st-steps li { counter-increment: st; border-top: 1px solid var(--sepia-3); padding-top: 16px; }
.st-steps li::before { content: counter(st); display: block; font: 300 30px/1 'Noto Serif', serif; color: var(--thread); }
.st-steps h3 { margin-top: 14px; font-size: 19px; }
.st-steps li p { margin-top: 8px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }

/* Other stores (also the /stores hub's cards) */
.st-others { padding: 64px 0 80px; border-top: 1px solid var(--rule); }
.st-cards { margin-top: 30px; display: grid; gap: 28px; }
@media (min-width: 700px) { .st-cards { grid-template-columns: repeat(var(--st-cols, 2), minmax(0, 1fr)); } }
.st-card { display: block; text-decoration: none; }
.st-card-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); }
.st-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.st-card:hover .st-card-img img { transform: scale(1.03); }
.st-card h3 { margin-top: 16px; font-size: 22px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.st-card h3 span { font: 300 13px 'DM Sans', sans-serif; color: var(--ink-3); white-space: nowrap; }
.st-card p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.st-card .st-card-more { margin-top: 12px; display: inline-block; font-size: 13.5px; border-bottom: 1px solid var(--ink-3); }
.st-card:hover .st-card-more { border-color: var(--ink); }
.st-card-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }

/* The /stores hub */
.st-hub-head { padding: 40px 0 28px; display: grid; gap: 14px 64px; align-items: end; }
@media (min-width: 900px) { .st-hub-head { grid-template-columns: minmax(0, 1fr) minmax(0, 46ch); padding: 64px 0 36px; } }
.st-hub-head h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.06; }
.st-hub-head p { font: 300 16px/1.65 'Noto Serif', serif; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .st * { transition: none !important; } }
