/* GENERATED by scripts/build-museums-pages.py: look "original" (scripts/site/look.json) =
   /landing-base.css + /landing.css. Do not edit; edit those files and rebuild. */

/* ==== /landing-base.css ==== */
/* The /museums landing page's own styles: brand.css as it was on 21 Oct 2026, frozen (owner, 23 Oct:
   keep the original landing; the look switch in scripts/site/look.json restyles every other page).
   Light only, no dark mode (owner, 23 Oct). */
/* talesof.app — the brand system. Zero external resources, no build step.
   Every rule uses logical properties, so RTL needs only <html dir="rtl">.
   The deployed CSP is style-src 'self', which forbids <style> blocks and
   style="" attributes, so page-scoped rules (see .policy) live here too.
   The one exception is the product page museums.html, which adds
   museums.css on top of these tokens. */

:root {
  /* Colour — the only five. */
  --paper: #F6F2E9;
  --ink:   #241C16;
  --muted: #686057;
  --rule:  #D9D0C2;
  --brass: #A68426;
  --brass-text: #7D6316; /* brass for small text: 5.1:1 on paper (WCAG AA) */

  /* Type */
  --font-serif: "Iowan Old Style", Baskerville, Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Space */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 20px;
  --s5: 32px;
  --s6: 56px;

  /* Geometry */
  --container-max: 40rem;
  --measure: 66ch;
  --radius: 14px;
  --btn-min-h: 58px;
  --rule-w: 1px;

  color-scheme: light;
}


*, *::before, *::after { box-sizing: border-box; }

body { margin: 0; }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Layout ---- */

.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  text-align: start;
}

.container {
  inline-size: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--s4);
  padding-block: var(--s5);
}

/* ---- Type ---- */

.wordmark {
  margin: 0 0 var(--s5) 0;
  font: 400 36px/1.05 var(--font-serif);
  letter-spacing: .01em;
  color: var(--ink);
}

.h1 { margin: 0 0 var(--s4) 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 6vw, 36px); line-height: 1.14; text-wrap: balance; }
.h2 { margin: var(--s5) 0 var(--s3) 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(21px, 4.2vw, 25px); line-height: 1.2; text-wrap: balance; }
.h3 { margin: var(--s4) 0 var(--s2) 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(18px, 3.4vw, 20px); line-height: 1.25; text-wrap: balance; }

.body {
  margin: 0 0 var(--s4) 0;
  max-width: var(--measure);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

.muted {
  margin: 0 0 var(--s4) 0;
  max-width: var(--measure);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---- Structure ---- */

.rule {
  border: 0;
  border-block-start: var(--rule-w) solid var(--rule);
  margin-block: var(--s5);
}

.panel {
  border: var(--rule-w) solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s4);
}

/* ---- Controls ---- */

.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-min-h);
  padding-inline: var(--s5);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  text-transform: none;
  text-decoration: none;
}

.btn { background: var(--ink); color: var(--paper); border: var(--rule-w) solid var(--ink); }
.btn-secondary { background: transparent; color: var(--ink); border: var(--rule-w) solid var(--rule); }

@media (max-width: 30rem) {
  .btn, .btn-secondary { display: flex; inline-size: 100%; }
}

.btn-text {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* State. Set by confirmed.html's script only; the no-JS page never dims. */
.is-dim { opacity: .55; }

/* ---- Scoped policy typography ----
   privacy.html drops an authored fragment inside .policy. Its own <h1>/<h2>
   get the .h1/.h2 treatment by element selector, scoped here so no other page
   is affected. */

.policy h1 { margin: 0 0 var(--s4) 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 6vw, 36px); line-height: 1.14; text-wrap: balance; }
.policy h2 { margin: var(--s5) 0 var(--s3) 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(21px, 4.2vw, 25px); line-height: 1.2; text-wrap: balance; }
.policy p,
.policy li { max-width: var(--measure); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--ink); }
.policy p { margin: 0 0 var(--s3) 0; }
.policy ul { margin: 0 0 var(--s3) 0; padding-inline-start: var(--s4); }
.policy li { margin-block-end: var(--s2); }
/* Links follow the theme (browser defaults are blue/purple in both modes). */
.policy a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ==== /landing.css ==== */
/* The /museums landing page's own styles: museums.css as it was on 21 Oct 2026, frozen (owner, 23 Oct:
   keep the original landing; the look switch in scripts/site/look.json restyles every other page).
   Light only, no dark mode (owner, 23 Oct). */
/* talesof.app/museums — the Tales of Museums product page.
   Builds on brand.css tokens (--paper, --ink, --muted, --rule, --brass).
   Everything renders without JavaScript; museums.js only adds motion.
   The deployed CSP allows style-src 'self' only, so no inline styles. */

:root {
  --highlight: #EBDDB0;
  --card: #FFFDF7;
  --phone-bezel: #1D1915;
  --wide-max: 72rem;
}


html { scroll-behavior: auto; }

.m-page {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.m-page a { color: inherit; }

/* Hidden only while museums.js prepares its entrance (see the head script). */
.motion [data-hero] { opacity: 0; }

/* ---- Header ---- */

.m-header {
  max-width: var(--wide-max);
  margin-inline: auto;
  padding: var(--s4) var(--s4) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}

.m-brand {
  font: 400 20px/1 var(--font-serif);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: .01em;
}

.m-nav { display: flex; gap: var(--s4); }
.m-nav a {
  font-size: 15px;
  white-space: nowrap;
  color: var(--muted);
  text-decoration: none;
}
.m-nav a:hover { color: var(--ink); }

/* ---- Language menu (details/summary: works without JS) ---- */

.m-nav { align-items: center; }

.m-lang { position: relative; }
.m-lang summary {
  list-style: none;
  cursor: pointer;
  padding: 6px 12px;
  border: var(--rule-w) solid var(--rule);
  border-radius: 999px;
  font-size: 15px;
  white-space: nowrap;
}
.m-lang summary::-webkit-details-marker { display: none; }
.m-lang summary span { margin-inline-end: 6px; }
.m-lang[open] summary { border-color: var(--ink); }

.m-lang-list {
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: calc(100% + 8px);
  z-index: 10;
  margin: 0;
  padding: var(--s2) 0;
  list-style: none;
  min-inline-size: 11rem;
  background: var(--card);
  border: var(--rule-w) solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px -16px rgba(36, 28, 22, .35);
}
.m-lang-list a {
  display: block;
  padding: 8px var(--s4);
  font-size: 16px;
  text-decoration: none;
  color: var(--ink);
}
.m-lang-list a:hover { background: var(--highlight); }
.m-lang-list a[aria-current="page"] { color: var(--brass-text); font-weight: 600; }

/* ---- Shared type ---- */

.m-eyebrow {
  margin: 0 0 var(--s3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-text);
}

.m-h2 {
  margin: 0 0 var(--s4);
  font: 400 clamp(30px, 5vw, 48px)/1.1 var(--font-serif);
  text-wrap: balance;
}

.m-h3 {
  margin: 0 0 var(--s2);
  font: 400 clamp(21px, 3vw, 24px)/1.2 var(--font-serif);
}

.m-body, .m-step p, .m-card p {
  margin: 0;
  max-width: 34rem;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.m-muted {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.m-link {
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.m-store {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: var(--s2);
  padding: var(--s3) var(--s4);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  font-weight: 600;
}
.m-store-sub { font-weight: 400; opacity: .7; white-space: nowrap; }

@media (max-width: 30rem) {
  .m-nav a[href="#how"] { display: none; }
  .m-store { font-size: 15px; }
}

/* ---- Hero ---- */

.m-hero {
  max-width: var(--wide-max);
  margin-inline: auto;
  padding: var(--s6) var(--s4) var(--s5);
  display: grid;
  gap: var(--s5);
  align-items: center;
}

.m-hero-title {
  margin: 0 0 var(--s4);
  font: 400 clamp(42px, 8vw, 84px)/1.02 var(--font-serif);
  letter-spacing: -.01em;
}
.m-line { display: block; }
.m-accent { font-style: italic; color: var(--brass); }

.m-lead {
  margin: 0 0 var(--s5);
  max-width: 32rem;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.55;
  color: var(--muted);
}

.m-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s4);
}

.m-hero-art {
  /* Illustration and phone side by side: the phone is taller than the
     illustration, so it must take its own space instead of floating over
     the copy above it (it covered the App Store pill on phones). */
  display: grid;
  grid-template-columns: 60% 34%;
  column-gap: 6%;
  align-items: end;
  max-width: 34rem;
  inline-size: 100%;
  margin-inline: auto;
}

.m-kid-wrap { inline-size: 100%; }
.m-kid {
  display: block;
  inline-size: 100%;
  height: auto;
}

/* The illustrations are transparent cut-outs; the spotlight is transparent on the
   light page (it only showed on the dark page, which is gone). */
.m-spot { position: relative; isolation: isolate; }
.m-spot::before {
  content: "";
  position: absolute;
  inset: -6% -4%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(246, 242, 233, 0), transparent);
  pointer-events: none;
}

.m-phone {
  margin: 0;
  inline-size: clamp(200px, 30vw, 300px);
  padding: 7px;
  border-radius: 40px;
  background: var(--phone-bezel);
  box-shadow: 0 30px 60px -20px rgba(36, 28, 22, .35), 0 8px 18px -8px rgba(36, 28, 22, .25);
}
.m-phone img {
  display: block;
  inline-size: 100%;
  height: auto;
  border-radius: 33px;
}

.m-phone-hero {
  position: relative;
  z-index: 1;
  inline-size: 100%;
  border-radius: 30px;
  padding: 5px;
}
.m-phone-hero img { border-radius: 25px; }

@media (min-width: 56rem) {
  .m-hero {
    grid-template-columns: 1.1fr 1fr;
    padding-block: var(--s6) calc(var(--s6) * 1.5);
    min-height: 82svh;
  }
}

/* ---- Read-along demo ---- */

.m-demo {
  max-width: 52rem;
  margin-inline: auto;
  padding: calc(var(--s6) * 1.5) var(--s4);
  text-align: center;
}

.m-demo-text {
  margin: var(--s5) 0;
  font: 400 clamp(22px, 3.4vw, 32px)/1.6 var(--font-serif);
  text-align: start;
}

.m-sentence {
  padding: 2px 0;
  border-radius: 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-color .5s ease, color .5s ease;
  color: var(--muted);
}
.m-sentence.is-on {
  background-color: var(--highlight);
  color: var(--ink);
}

/* ---- How it works ---- */

.m-how {
  max-width: var(--wide-max);
  margin-inline: auto;
  padding: var(--s6) var(--s4);
  border-block-start: var(--rule-w) solid var(--rule);
}

.m-steps {
  list-style: none;
  margin: var(--s5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s5);
}

@media (min-width: 48rem) {
  .m-steps { grid-template-columns: repeat(3, 1fr); }
}

.m-stamp {
  display: inline-grid;
  place-items: center;
  inline-size: 64px;
  block-size: 64px;
  margin-block-end: var(--s4);
  border: 2px solid #3D4A7A;
  border-radius: 50%;
  outline: 2px dashed #3D4A7A;
  outline-offset: 4px;
  color: #3D4A7A;
  font: 400 28px/1 var(--font-serif);
  transform: rotate(-8deg);
}


/* ---- Features ---- */

.m-features {
  max-width: var(--wide-max);
  margin-inline: auto;
  padding: 0 var(--s4);
}

.m-feature {
  display: grid;
  gap: var(--s5);
  align-items: center;
  justify-items: center;
  padding-block: var(--s6);
  border-block-start: var(--rule-w) solid var(--rule);
}

.m-feature-copy { justify-self: stretch; }

@media (min-width: 56rem) {
  .m-feature {
    grid-template-columns: 1fr 1fr;
    gap: var(--s6);
    padding-block: calc(var(--s6) * 1.5);
  }
  .m-feature-flip .m-feature-copy { order: 2; }
}

/* ---- Languages ---- */

.m-langs {
  padding: var(--s6) 0;
  border-block-start: var(--rule-w) solid var(--rule);
  overflow: hidden;
}

.m-langs-head {
  max-width: var(--wide-max);
  margin-inline: auto;
  padding: 0 var(--s4) var(--s5);
}

.m-marquee { overflow: hidden; }

.m-marquee-track {
  list-style: none;
  margin: 0;
  padding: 0 var(--s4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s5);
  font: 400 clamp(30px, 6vw, 56px)/1.2 var(--font-serif);
}

/* museums.js turns the wrapped list into one moving line. */
.m-marquee-track.is-moving {
  flex-wrap: nowrap;
  inline-size: max-content;
  padding: 0;
  gap: 0;
}
/* Spacing lives on the items so two copies are exactly half the track. */
.m-marquee-track.is-moving li { padding-right: var(--s5); } /* physical: the line moves left in every language, and the Hebrew item is dir=rtl */
.m-marquee-track li:nth-child(even) { color: var(--brass); }
.m-marquee-toggle {
  display: block;
  margin: var(--s3) var(--s4) 0;
  padding: 6px 14px;
  font: 600 13px/1.2 var(--font-sans, inherit);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  cursor: pointer;
}
.m-marquee-toggle:hover { background: var(--highlight); }
.m-marquee-toggle[hidden] { display: none; }

/* ---- Pricing and fine print ---- */

.m-facts {
  max-width: var(--wide-max);
  margin-inline: auto;
  padding: var(--s6) var(--s4);
  display: grid;
  gap: var(--s4);
}

@media (min-width: 56rem) {
  .m-facts { grid-template-columns: repeat(2, 1fr); }
}

.m-card {
  padding: var(--s5) var(--s4);
  border: var(--rule-w) solid var(--rule);
  border-radius: var(--radius);
  background: var(--card);
}
.m-card p { font-size: 16px; }

/* ---- Closing ---- */

.m-close {
  padding: var(--s6) var(--s4) calc(var(--s6) * 1.5);
  text-align: center;
}

.m-kid-small {
  display: block;
  inline-size: min(300px, 70vw);
  height: auto;
}
.m-close-art {
  inline-size: min(300px, 70vw);
  margin: 0 auto var(--s4);
}

/* ---- Footer ---- */

.m-footer {
  max-width: var(--wide-max);
  margin-inline: auto;
  padding: var(--s5) var(--s4) var(--s6);
  border-block-start: var(--rule-w) solid var(--rule);
}

.m-footer-links {
  margin: 0 0 var(--s3);
  font-size: 15px;
}

/* ---- Lenis (from lenis/dist/lenis.css, MIT) ---- */

html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ---- Museum visitor guides (/museums/guides) ---- */

.g-main {
  max-width: 46rem;
  margin-inline: auto;
  padding: var(--s5) var(--s4) var(--s6);
}
.g-crumbs { margin-block-end: var(--s4); font-size: 14px; color: var(--muted); }
.g-crumbs a { color: var(--muted); }
.g-title {
  margin: 0 0 var(--s4);
  font: 400 clamp(32px, 6vw, 52px)/1.1 var(--font-serif);
  text-wrap: balance;
}
.g-facts {
  margin-block: var(--s5);
  padding: var(--s4);
  border: var(--rule-w) solid var(--rule);
  border-radius: var(--radius);
  background: var(--card);
}
.g-facts dl { margin: 0 0 var(--s4); }
.g-fact { padding-block: var(--s3); border-block-end: var(--rule-w) solid var(--rule); }
.g-fact:last-child { border-block-end: 0; }
/* Comparison hubs (audio-guide languages): the table scrolls inside its own
   box on narrow screens so the page itself never scrolls sideways. */
.g-table-wrap { margin: var(--s5) 0 var(--s3); overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); }
.g-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.g-table th, .g-table td { padding: 12px 14px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--rule); }
.g-table tbody tr:last-child th, .g-table tbody tr:last-child td { border-bottom: 0; }
.g-table thead th { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-text); }
.g-table tbody th { font-weight: 600; min-width: 9rem; }
.g-table a { color: var(--ink); }
/* How-to comparison (four options x three columns): on phones each option
   becomes a card with labelled lines instead of a sideways-scrolling table. */
@media (max-width: 40rem) {
  .g-table-wrap--stack { overflow-x: visible; border: 0; background: none; }
  .g-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .g-table--stack, .g-table--stack tbody, .g-table--stack tr, .g-table--stack th, .g-table--stack td { display: block; width: 100%; }
  .g-table--stack tr { margin-bottom: var(--s3); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); }
  .g-table--stack tbody th { min-width: 0; font-size: 17px; border-bottom: 1px solid var(--rule); }
  .g-table--stack td { border-bottom: 0; padding-top: 6px; padding-bottom: 6px; }
  .g-table--stack td:last-child { padding-bottom: 14px; }
  .g-table--stack td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-text); }
  .g-table--stack tbody tr:last-child th { border-bottom: 1px solid var(--rule); }
}
.g-ans { font-weight: 600; white-space: nowrap; }
.g-ans-yes { color: var(--ink); }
.g-ans-partly, .g-ans-no, .g-ans-none { color: var(--muted); }
.g-hub-note { margin-top: var(--s3); }
/* The language-gap box on a guide: our app's pitch where the museum's audio guide
   doesn't speak the visitor's language. */
/* Highlights and stories: cards that scroll sideways with snap points (no script). In
   right-to-left pages the row runs the other way on its own. */
.g-local-name { margin: calc(-1 * var(--s2)) 0 var(--s3); font: 400 18px/1.35 var(--font-serif); color: var(--muted); }
.g-visit { margin-top: var(--s4); }
.g-tips-title { margin: var(--s4) 0 var(--s2); }
.g-tips { margin: 0 0 var(--s3); padding-inline-start: var(--s4); }
.g-tips li { margin-bottom: var(--s2); font-size: 16px; line-height: 1.55; color: var(--ink); }
.g-hl { display: flex; gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--s2) 2px var(--s3);
  scrollbar-width: thin; overscroll-behavior-x: contain; }
.g-hl:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; border-radius: var(--radius); }
.g-hl-card { flex: 0 0 min(85%, calc((100% - 2 * var(--s3)) / 2.3)); scroll-snap-align: start; margin: 0; padding: var(--s4); border: 1px solid var(--rule);
  border-radius: var(--radius); background: var(--card); display: flex; flex-direction: column; }
.g-hl-card p { margin: 0 0 var(--s3); font-size: 16px; line-height: 1.55; color: var(--ink); }
.g-hl-card .g-src { margin: auto 0 0; white-space: normal; }
.g-hl-title { margin: 0 0 var(--s2); font: 400 20px/1.25 var(--font-serif); color: var(--ink); }
.g-hl-hint { margin: 0 0 var(--s2); }
.g-hl-nav { display: flex; align-items: center; justify-content: center; gap: var(--s3); margin: 0 0 var(--s2); }
.g-hl-nav[hidden] { display: none; }
.g-hl-btn { width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; background: var(--card); color: var(--ink);
  font: 400 22px/1 var(--font-serif); cursor: pointer; }
.g-hl-btn:hover:not(:disabled) { border-color: var(--brass); }
.g-hl-btn:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.g-hl-btn:disabled { opacity: .35; cursor: default; }
.g-hl-bar { position: relative; flex: 0 1 220px; height: 4px; border-radius: 2px; background: var(--rule); overflow: hidden; }
.g-hl-fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: 2px; background: var(--brass); transition: width .15s linear; }
.g-gap { margin: var(--s5) 0 0; padding: var(--s4) var(--s4) var(--s3); border: 1px solid var(--brass); border-radius: var(--radius); background: var(--card); }
.g-beyond { border-color: var(--rule); }
.g-gap-title { margin: 0 0 var(--s2); font: 400 clamp(20px, 3.6vw, 24px)/1.25 var(--font-serif); color: var(--ink); }
.g-gap-body { margin: 0 0 var(--s3); font-size: 16px; line-height: 1.55; color: var(--ink); }
.m-store-link { text-decoration: none; }
.g-byline { margin: var(--s2) 0 0; font-size: 14px; color: var(--muted); }
.g-byline a { color: var(--ink); }
.g-independent { margin: var(--s3) 0 0; font-size: 14px; color: var(--muted); }
.g-fact dt { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-text); }
.g-fact dd { margin: var(--s1) 0 0; font-size: 16px; line-height: 1.55; }
.g-src { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.g-src a { color: var(--muted); }
.g-section { margin-block: var(--s6); }
.g-steps { padding-inline-start: var(--s4); font-size: 17px; line-height: 1.6; color: var(--muted); }
.g-steps li { margin-block-end: var(--s3); }
.g-steps strong { color: var(--ink); font-weight: 600; }
.g-more { margin-inline-start: var(--s3); }
.g-faq { padding-block: var(--s3); border-block-end: var(--rule-w) solid var(--rule); }
.g-faq summary { cursor: pointer; font: 400 19px/1.35 var(--font-serif); }
.g-faq-q { margin: 0; font: 400 19px/1.35 var(--font-serif); color: var(--ink); }
.g-faq p { margin: var(--s2) 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.g-list { padding-inline-start: var(--s4); font-size: 17px; line-height: 1.9; }

/* Never let long words, URLs or source lists push past the page edge. */
body { overflow-wrap: break-word; }
.m-nav { flex-wrap: wrap; }
.g-maps { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); white-space: nowrap; }
.g-maps:hover { color: var(--ink); }
.g-maps-pin { flex: none; }
/* Desktop QR code to the tracked App Store link (phones use the button). */
/* The page's question answered from data, under the heading (SEO plan v2). */
.g-answer { margin: var(--s2) 0 var(--s3); font-size: 16px; line-height: 1.45; }
.g-answer-label { color: var(--brass-text); font-weight: 600; margin-inline-end: 4px; }
.g-gap-more { margin: var(--s3) 0 0; font-size: 15px; }
.g-fact dt a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.g-qr { display: flex; align-items: center; gap: var(--s3); margin: var(--s3) 0 0; color: var(--muted); font-size: 14px; }
.g-qr-img { width: 112px; height: 112px; flex: none; background: #fff; border-radius: 8px; padding: 4px; }
@media (max-width: 760px), (pointer: coarse) { .g-qr { display: none; } }

/* City pages (render_city): Monday-to-Sunday closing matrix. The symbol is decorative; the
   visually hidden text carries "Monday: closed" for screen readers. */
.g-matrix th[scope="col"]:not(:first-child), .g-matrix td.g-day { text-align: center; padding-inline: 6px; min-width: 2.2rem; }
.g-matrix abbr { text-decoration: none; }
.g-day { font-weight: 600; }
.g-day.c-open { color: var(--ink); }
.g-day.c-closed { color: var(--muted); }
.g-day.c-part { color: var(--brass-text); }
.g-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 40rem) {
  .g-matrix { font-size: 14px; }
  .g-matrix th, .g-matrix td { padding: 10px 3px; }
  .g-matrix tbody th { min-width: 0; padding-inline-start: 8px; padding-inline-end: 4px; hyphens: auto; overflow-wrap: anywhere; }
  .g-matrix th[scope="col"]:not(:first-child), .g-matrix td.g-day { min-width: 1.6rem; padding-inline: 1px; }
  .g-matrix thead th { letter-spacing: 0; font-size: 11px; }
}
/* Long nav labels (ru "Путеводители по музеям") pushed the header past 375 px: on phones the
   nav may shrink and its labels wrap. */
@media (max-width: 40rem) {
  .m-nav { min-width: 0; justify-content: flex-end; row-gap: 4px; }
  .m-nav a { white-space: normal; text-align: end; }
}

/* Added 23 Oct for the "original" look on guide pages (scripts/site/look.json): markup that
   came after 21 Oct. The store button's "iOS / App Store" tab belongs to the later looks, and
   the highlights count is shown only by the heritage look. */
.m-store-tab, .g-hl-count { display: none; }
