/* PHL Events public pages: Wes Anderson / retro film skin.
 * Loaded AFTER marketing.css (and landing.css on the home page) by index, about,
 * how-it-works, links, privacy, terms and 404. It only overrides; marketing.css
 * and landing.css are untouched. Remove the <link> to marketing-theme.css from a
 * page to put that page back to the old look.
 *
 * Mirrors public/theme.css (the logged-in app skin) so the two feel like one
 * site: same palette tokens, Bevan display + Jost body, double rules, framed
 * parchment cards with a hard burgundy shadow, graded photos, film grain, the
 * wainscot band under heroes, and the teal footer block with a cream double rule.
 *
 * Contrast rules (same as theme.css):
 *   ink on cream/parchment/gold ........ fine at any size
 *   cream/white on green/accent/teal ... bold and 14px+ only (4.5-5.5:1)
 *   gold on teal ....................... large display text only (4.3:1)
 *   gold is never body text on cream.
 *
 * Dark mode (theme.js toggle, shared with the app): page = teal, cards stay
 * parchment, text sitting directly on the page turns cream. That is done with
 * three custom properties (--muted, --link, --border) that cards reset back to
 * their light values, so a card looks identical in both modes. */

/* ------------------------------------------------------------------ tokens */
:root,
:root[data-theme="light"] {
  color-scheme: light;
  --page-bg: #FBF7EF;
  --page-ink: #2E2118;
  --brand-gold: #FFDE59;
  --gold-deep: #E6B800;
  --green: #007A3F;
  --accent: #B93F08;
  --accent-hover: #AB3A07;
  --accent-text: #AB3A07;      /* accent for small text on parchment/cream (4.8:1 and 5.2:1); plain accent is 4.2:1 on parchment */
  --teal: #287174;
  --teal-shadow: #12383A;
  --shadow: #6E2A25;
  --wine: #9E3224;             /* was plum #7A1E3D; now the site tomato (Nov 2026). Name kept so existing rules still work. */
  --aubergine: #52306B;
  --blue: #2F5FA8;             /* About page only: the middle stat tile and card stripe. Echoes the shirt in the photo. */
  --cream: #F8ECD0;
  --parchment: #EFDFB6;
  --ink: #2E2118;
  --inkfix: #2E2118;
  --rule: rgba(46, 33, 24, .55);

  /* Exact copies of colours that used to be typed straight into rules. Values
   * are unchanged, so nothing looks different. The --raw-* and --rgb-* names are
   * placeholders for one-off values (several are near-duplicates of the named
   * palette above): merge or rename them once those decisions are made. The -rgb
   * names are for rgba(var(--x-rgb), .5) when only the opacity varies. */
  --white: #ffffff;
  --black: #000000;
  --white-rgb: 255, 255, 255;
  --black-rgb: 0, 0, 0;
  --ink-rgb: 46, 33, 24;
  --gold-rgb: 255, 222, 89;
  --cream-rgb: 248, 236, 208;
  --khaki: #C2A96B;
  --raw-151210: #151210;
  --raw-221d1a: #221d1a;
  --raw-2a2030: #2a2030;
  --raw-3a2a22: #3a2a22;
  --raw-7fbf7a: #7fbf7a;
  --raw-d9cbb9: #d9cbb9;
  --raw-e0d2be: #e0d2be;
  --raw-e7dfd3: #e7dfd3;
  --raw-e8786c: #e8786c;
  --raw-f0c45a: #f0c45a;
  --raw-f3e3d9: #f3e3d9;
  --raw-f3eae0: #f3eae0;
  --raw-fbf8f3: #fbf8f3;
  --raw-ffe97f: #ffe97f;
  --rgb-140d09: 20, 13, 9;
  --rgb-221d1a: 34, 29, 26;
  --rgb-6e6259: 110, 98, 89;
  --rgb-b23a2e: 178, 58, 46;
  --rgb-fbf8f3: 251, 248, 243;

  /* marketing.css / landing.css token names, remapped to the palette */
  --card: var(--parchment);
  --rust: var(--accent);
  --rust-dim: var(--accent-hover);
  --yellow: var(--brand-gold);
  --shadow-1: 0 1px 0 rgba(46, 33, 24, .14);
  --shadow-2: 4px 4px 0 var(--shadow);
  --shadow-3: 6px 6px 0 var(--shadow);
  --headline-shadow-color: var(--shadow);
  --headline-outline: 0 transparent;

  --font-headline: "Bevan", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Futura", "Century Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-card: 14px;

  /* Section bands (the Live Demo band): teal in light, wine in dark. */
  --band-bg: var(--teal);
  --band-shadow: var(--teal-shadow);

  /* FILM GRADE: same recipe as theme.css. The inline SVG filter #film-grade in
   * each page does the curve; these fine-tune on top. */
  --grade-lift: 0;
  --grade-warmth: .06;
  --grade-contrast: 1.06;
  --grade-saturation: 1.04;
  --grain-opacity: .09;
  --vignette: .14;
  --grade-text-dark: 44, 10, 20;
  --grade: brightness(calc(1 + var(--grade-lift))) contrast(var(--grade-contrast)) saturate(var(--grade-saturation)) sepia(var(--grade-warmth));
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .13 0 0 0 0 .09 0 0 0 1.1 -.2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 14'%3E%3Cpath d='M0 5h64M0 9h64M96 5h64M96 9h64' stroke='black' stroke-width='1.6' fill='none'/%3E%3Cpath d='M80 0l7 7-7 7-7-7z' fill='black'/%3E%3C/svg%3E");
}
@supports (filter: url(#film-grade)) {
  :root { --grade: url(#film-grade) brightness(calc(1 + var(--grade-lift))) contrast(var(--grade-contrast)) saturate(var(--grade-saturation)) sepia(var(--grade-warmth)); }
}

/* Category colors: the ones theme.css changed, so ticker cards match the app. */
body.landing {
  --catclr-cultural: #AD1230; --catclr-market: #D04226; --catclr-theater: #F2711C;
  --catclr-film: #5B6670; --catclr-misc: #6E5E94;
  --inkfix: var(--ink);
}

/* Text that sits directly on the page. Cards reset these (see CARDS below). */
body {
  --muted: #5C4A3A;
  --link: var(--accent-text);
  --border: rgba(46, 33, 24, .38);
}
:root[data-theme="dark"] {
  color-scheme: light;
  --page-bg: #287174;
  --page-ink: #F8ECD0;
  --cream: #F8ECD0;
  --card: #EFDFB6;
  --ink: #2E2118;
  --rule: rgba(46, 33, 24, .55);
  --band-bg: var(--wine);
  --band-shadow: color-mix(in srgb, #9E3224 55%, #000);
}
:root[data-theme="dark"] body {
  --muted: #F8ECD0;
  --link: #F8ECD0;
  --border: rgba(248, 236, 208, .55);
}

/* -------------------------------------------------------------------- base */
html { scrollbar-color: var(--accent) var(--parchment); }
body {
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  background: var(--page-bg); color: var(--page-ink);
}
::selection { background: var(--brand-gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--page-ink); outline-offset: 2px; border-radius: 3px; }
::-webkit-scrollbar-thumb { background: var(--teal); border-color: var(--parchment); }

/* Film grain over the whole page, never clickable. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2500; pointer-events: none;
  background: var(--grain); opacity: var(--grain-opacity);
}

a { color: var(--link); text-underline-offset: 3px; }
.m-page a:hover, .m-faq-more a:hover { text-decoration-thickness: 2px; }

/* ------------------------------------------------------------------ CARDS */
/* One recipe for every parchment panel: ink frame, thin inner line, hard
 * burgundy shadow. They reset the on-page text properties to light values. */
.m-stat-tile, .m-card, .m-feature, .m-bio-card, .m-optcards li, .m-link-btn, .m-ol li,
.m-facets li, .m-demo, .l-tile, .l-plan, .l-card, .l-browser, .m-menu-panel, .site-edit-bar,
.m-ig-embed, .m-searchbar, .m-bio-block, .l-faq details, .m-faq details {
  --muted: #5C4A3A; --link: var(--accent-text); --border: rgba(46, 33, 24, .38);
  color: var(--ink);
}
.m-stat-tile, .m-card, .m-feature, .m-bio-card, .m-optcards li, .m-link-btn, .m-ol li,
.m-demo, .l-tile, .l-plan, .l-card, .l-browser, .m-ig-embed {
  background: var(--parchment); border: 2px solid var(--ink); border-radius: var(--radius-card);
  box-shadow: inset 0 0 0 2px var(--parchment), inset 0 0 0 3px var(--rule), 4px 4px 0 var(--shadow);
}
.m-card:hover, .m-link-btn:hover, .l-card:hover, .l-tile:hover {
  transform: translate(-2px, -2px); border-color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--parchment), inset 0 0 0 3px var(--rule), 6px 6px 0 var(--shadow);
}
@media (prefers-reduced-motion: reduce) { .m-card:hover, .m-link-btn:hover, .l-card:hover, .l-tile:hover { transform: none; } }

/* ------------------------------------------------------------ nav + wordmark */
.m-nav, .landing .m-nav {
  background: var(--cream); backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 3px double var(--ink); position: relative; z-index: 50;
}
.landing .m-nav { position: sticky; top: 0; }
:root[data-theme="dark"] .m-nav, :root[data-theme="dark"] .landing .m-nav { background: var(--page-bg); border-bottom-color: var(--cream); }
.m-nav-in { gap: 14px; padding: 10px 20px; }
.m-brand {
  font-family: var(--font-headline); font-weight: 400; font-size: 19px; color: var(--ink);
  background: var(--brand-gold); border: 2px solid var(--ink); border-radius: 999px;
  gap: 0; padding: 5px 15px 4px; box-shadow: 2px 2px 0 var(--shadow); min-height: 44px; align-items: center;
  transition: transform .12s ease, box-shadow .12s ease;
}
.m-brand::before { display: none; }
.m-brand span { color: var(--ink); }
.m-brand:hover { background: var(--gold-deep); }
.m-brand:active { transform: translate(2px, 2px); box-shadow: none; }

/* Wordmark diamonds: "PHL Events" sits between two tomato diamonds (replaces the old trailing period). */
.m-brand { white-space: nowrap; flex-shrink: 0; }
.brand-dia { flex: none; display: inline-block; width: .42em; height: .42em; background: #9E3224; border: 1.5px solid var(--ink); box-sizing: border-box; transform: rotate(45deg); }
.brand-dia:first-child { margin: 0 .65em 0 .05em; }
.brand-dia:last-child { margin: 0 .05em 0 .65em; }
.m-nav-links { gap: 6px; align-items: center; }
.m-nav-links a {
  font-size: 16px; font-weight: 600; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 14px; border-radius: 999px; border: 2px solid transparent;
}
.m-nav-links a:hover { color: var(--ink); background: var(--brand-gold); border-color: var(--ink); }
:root[data-theme="dark"] .m-nav-links a:not(.m-login) { color: var(--cream); }
:root[data-theme="dark"] .m-nav-links a:not(.m-login):hover { color: var(--ink); }
.m-nav-links a.m-login, .m-nav-links a.m-login:hover {
  background: var(--accent); color: var(--cream); font-weight: 700; border-color: var(--ink); box-shadow: 2px 2px 0 var(--shadow);
}
.m-nav-links a.m-login:hover { background: var(--accent-hover); }
.m-nav-links a.m-login:active { transform: translate(2px, 2px); box-shadow: none; }
@media (max-width: 720px) { .m-nav-links a.l-nav-hide { display: none; } }
:root[data-theme="dark"] .m-nav-links a.m-login { border-color: var(--cream); }
.theme-toggle {
  background: var(--parchment); border: 2px solid var(--ink); color: var(--ink);
  width: 44px; height: 44px; min-width: 44px; border-radius: 999px;
}
.theme-toggle:hover { background: var(--brand-gold); color: var(--ink); border-color: var(--ink); }
:root[data-theme="dark"] .theme-toggle { border-color: var(--cream); }
.theme-toggle svg { width: 20px; height: 20px; }

.m-menu > summary::after { color: var(--ink); }
:root[data-theme="dark"] .m-menu > summary::after { color: var(--ink); }
.m-menu-panel { background: var(--parchment); border: 2px solid var(--ink); border-radius: var(--radius-card); box-shadow: 4px 4px 0 var(--shadow); }
.m-menu-panel a { color: var(--ink); font-size: 17px; }
.m-menu-panel a:hover, .m-menu-panel a:focus-visible { background: var(--brand-gold); color: var(--ink); }

/* ------------------------------------------------------------------- heroes */
/* Graded photo, no color overlay; a soft wine-dark gradient only behind the
 * text; a cream double-rule frame inset like a title card; wainscot band at the
 * foot (replaces the wavy divider). */
.m-hero-photo, .m-about-hero-photo { filter: var(--grade); }
.m-hero-photo::after, .m-about-hero-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 58%, rgba(var(--grade-text-dark), var(--vignette)) 100%);
}
.m-hero-scrim, .m-about-hero-scrim {
  background:
    radial-gradient(ellipse 62% 46% at 50% 55%, rgba(var(--grade-text-dark), .42) 0%, rgba(var(--grade-text-dark), 0) 100%),
    linear-gradient(180deg, rgba(var(--grade-text-dark), 0) 8%, rgba(var(--grade-text-dark), .42) 40%, rgba(var(--grade-text-dark), .5) 72%, rgba(var(--grade-text-dark), .12) 100%);
}
.l-hero .m-hero-scrim {
  background:
    radial-gradient(ellipse 62% 46% at 50% 55%, rgba(var(--grade-text-dark), .42) 0%, rgba(var(--grade-text-dark), 0) 100%),
    linear-gradient(180deg, rgba(var(--grade-text-dark), .3) 0%, rgba(var(--grade-text-dark), .52) 24%, rgba(var(--grade-text-dark), .52) 70%, rgba(var(--grade-text-dark), .15) 100%);
}
.m-links-hero .m-about-hero-photo { filter: var(--grade) brightness(1.1); }
.m-links-hero .m-about-hero-scrim {
  background: linear-gradient(180deg, rgba(var(--grade-text-dark), .1) 0%, rgba(var(--grade-text-dark), .5) 60%, rgba(var(--grade-text-dark), .5) 100%);
}
.m-hero-banner::before, .m-about-hero::before {
  content: ""; position: absolute; inset: 14px 14px 32px; z-index: 0; pointer-events: none;
  border: 2px solid var(--cream); border-radius: 8px;
  box-shadow: inset 0 0 0 6px transparent, inset 0 0 0 7px var(--cream);
}
.m-hero-banner::after, .m-about-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; z-index: 1; pointer-events: none;
  background: linear-gradient(var(--parchment) 50%, var(--teal) 50%); border-top: 3px solid var(--ink);
}
.m-wave-divider { display: none; }
.m-hero-banner { margin: 0; }
.m-hero-content, .l-hero .m-hero-content { padding-left: 32px; padding-right: 32px; }
.m-about-hero-in { padding-left: 32px; padding-right: 32px; padding-bottom: 70px; }
.m-about-hero h1 { font-size: clamp(30px, 7vw, 62px); }
.m-hero-content h1, .m-about-hero h1 {
  font-family: var(--font-headline); font-weight: 400; letter-spacing: 0;
  color: var(--brand-gold); -webkit-text-stroke: 0; paint-order: normal;
  text-shadow: .06em .06em 0 var(--shadow);
}
.m-kicker {
  color: var(--cream); -webkit-text-stroke: 0; font-weight: 700; font-size: clamp(17px, 2vw, 22px);
  letter-spacing: .06em; line-height: 1.3; text-shadow: 0 1px 2px rgba(var(--grade-text-dark), .7);
}
.m-hero-content p.lede, .m-about-sub {
  color: var(--cream); font-size: clamp(18px, 2vw, 22px); line-height: 1.45; font-weight: 500;
  text-shadow: 0 1px 2px rgba(var(--grade-text-dark), .7);
}
.l-hero .m-hero-content p.lede { font-size: clamp(18px, 2vw, 22px); }
.l-hero-fine { font-size: 17px; color: var(--cream); font-weight: 500; text-shadow: 0 1px 2px rgba(var(--grade-text-dark), .7); }
@media (max-width: 560px) {
  .m-hero-banner::before, .m-about-hero::before { inset: 10px 10px 28px; }
  .m-hero-content, .l-hero .m-hero-content, .m-about-hero-in { padding-left: 30px; padding-right: 30px; }
  .m-kicker { font-size: 16px; letter-spacing: .04em; }
  .m-hero-photo { background-position: center 86%; }
  /* Short, tall-text heroes: an even scrim so the small cream kicker stays legible over the sky. */
  .m-hero-scrim, .m-about-hero-scrim { background: linear-gradient(180deg, rgba(var(--grade-text-dark), .66) 0%, rgba(var(--grade-text-dark), .66) 70%, rgba(var(--grade-text-dark), .45) 100%); }
  .m-links-hero .m-about-hero-scrim { background: linear-gradient(180deg, rgba(var(--grade-text-dark), .55) 0%, rgba(var(--grade-text-dark), .6) 100%); }
}

/* ----------------------------------------------------------------- buttons */
.m-btn {
  font-family: var(--font-body); font-weight: 600; font-size: 17px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 28px; border-radius: 999px; border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--shadow);
  transition: transform .1s ease, box-shadow .1s ease, background-color .15s ease;
}
.m-btn:active { transform: translate(3px, 3px); box-shadow: none; }
.m-btn-solid, .l-btn-yellow { background: var(--brand-gold); color: var(--ink); border-color: var(--ink); }
.m-btn-solid:hover, .l-btn-yellow:hover { background: var(--gold-deep); border-color: var(--ink); color: var(--ink); transform: none; }
.m-btn-outline, .l-btn-ghost { background: var(--cream); color: var(--ink); border-color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.m-btn-outline:hover, .l-btn-ghost:hover { background: var(--parchment); color: var(--ink); }
.l-btn-yellow, .l-btn-ghost { font-size: 18px; padding: 10px 30px; box-shadow: 3px 3px 0 var(--shadow); }
.m-btn:active.l-btn-yellow { transform: translate(3px, 3px); }

/* ------------------------------------------------------- section headings */
/* Chapter-title cards: small kicker, Bevan title, a double rule with a diamond. */
.m-about-head .m-section-kicker, .m-section-kicker, .m-part-kicker, .m-link-group {
  font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: .14em; color: var(--page-ink);
}
.m-section-head h2, .m-page .m-about-head h2 {
  font-family: var(--font-headline); font-weight: 400; letter-spacing: 0; line-height: 1.15;
  color: var(--page-ink); text-shadow: .06em .06em 0 var(--brand-gold);
}
:root[data-theme="dark"] .m-section-head h2, :root[data-theme="dark"] .m-page .m-about-head h2 { text-shadow: .06em .06em 0 var(--teal-shadow); }
.m-section-head::after {
  content: ""; display: block; width: 180px; height: 14px; margin: 16px auto 0;
  background: var(--page-ink);
  -webkit-mask: var(--orn) center / contain no-repeat; mask: var(--orn) center / contain no-repeat;
}
.m-wave-rule, .m-wave-between {
  height: 8px; margin: 52px 0 28px; background: none; -webkit-mask: none; mask: none;
  border-top: 2px solid var(--page-ink); border-bottom: 1px solid var(--page-ink);
}

/* Wide cards' headings and prose */
.m-page h1, .m-page h2, .m-page h3 { font-family: var(--font-headline); font-weight: 400; letter-spacing: 0; color: var(--page-ink); }
.m-page h1 { font-size: clamp(32px, 5.4vw, 46px); line-height: 1.12; text-shadow: .06em .06em 0 var(--brand-gold); margin: 12px 0 10px; }
:root[data-theme="dark"] .m-page h1 { text-shadow: .06em .06em 0 var(--teal-shadow); }
.m-page h2 { font-size: 26px; line-height: 1.2; margin: 40px 0 12px; }
.m-page h3 { font-size: 21px; line-height: 1.25; }
.m-page p, .m-page li { font-size: 17px; line-height: 1.7; }
.m-page p.m-sub { font-size: 18px; color: var(--page-ink); }
/* The wavy swash under Privacy / Terms titles becomes the diamond double rule. */
.m-swash, .m-swash.m-swash-center {
  display: block; width: 180px; height: 14px; margin: 4px 0 22px; background: var(--page-ink);
  -webkit-mask: var(--orn) left center / contain no-repeat; mask: var(--orn) left center / contain no-repeat;
}
.m-swash path { display: none; }
.m-page .m-bio-card p, .m-page .m-feature p, .m-page .m-optcards li { color: var(--ink); }
.m-page .m-feature p, .m-optcards span { color: var(--muted); }
.m-page .m-bio-card p { font-size: 18px; }

/* ----------------------------------------------------------------- footer */
.m-footer, .landing .m-footer {
  position: relative; isolation: isolate; max-width: 900px; width: calc(100% - 32px); margin: 56px auto 22px;
  padding: 44px 28px 46px; background: var(--teal); color: var(--cream);
  border: 2px solid var(--ink); border-radius: var(--radius-card); box-shadow: 4px 4px 0 var(--teal-shadow);
  font-size: 0; /* hides the loose "·" separators between links; the links are laid out with gaps instead */
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 20px;
}
.landing .m-footer { max-width: 1120px; }
/* Tomato footer on every public page except the homepage (same red as the app footer) */
body:not(.landing) .m-footer { background: #9E3224; box-shadow: 4px 4px 0 color-mix(in srgb, #9E3224 55%, #000); }
.m-footer::before, .m-footer::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.m-footer::before { inset: 10px; border: 2px solid var(--cream); border-radius: 8px; }
.m-footer::after { inset: 16px; border: 1px solid var(--cream); border-radius: 5px; }
.m-footer a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; padding: 8px 4px; min-height: 44px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.m-footer a:hover { color: var(--cream); text-decoration-thickness: 3px; }
.m-footer :focus-visible { outline-color: var(--cream); }

/* --------------------------------------------------------------- home page */
/* Ticker cards */
.l-ticker-note, .l-demo-foot, .l-demo-sub, .l-faq-more { font-size: 17px; color: var(--page-ink); }
.l-ticker-note-lead { font-size: 18px; color: var(--page-ink); }
.l-card { width: 288px; border-top: 8px solid var(--cat-color); border-radius: var(--radius-card); }
.l-card:hover { transform: translate(-2px, -2px); }
.l-card-photo { height: 150px; margin: 10px 10px 0; border: 1.5px solid var(--ink); border-radius: 10px; background-color: var(--khaki, var(--khaki)); filter: var(--grade); }
.l-card-photo::after { height: auto; inset: 0; background: radial-gradient(ellipse at center, transparent 58%, rgba(var(--grade-text-dark), var(--vignette)) 100%); }
.l-card-body { padding: 12px 16px 16px; gap: 6px; }
.l-card-when { font-size: 14px; letter-spacing: .05em; color: var(--accent-text); font-weight: 800; }
.l-card-title { font-size: 18px; font-weight: 700; line-height: 1.25; }
.l-card-where { font-size: 15.5px; color: var(--muted); }
.l-card-tags { gap: 6px; flex-wrap: wrap; }
.l-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; letter-spacing: 0; padding: 2px 11px 3px;
  background: var(--cream); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px;
}
.l-pill:not(.free)::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--cat-color); border: 1.5px solid var(--ink); flex: none; }
.l-pill.free { background: var(--green); color: var(--cream); font-weight: 800; }
.l-card.cat-theater .l-pill:not(.free), .l-card.cat-outdoor .l-pill:not(.free) { color: var(--ink); }

/* Stats: solid fills like the app's Quick Tour tiles. */
.l-stats { gap: 16px; }
.l-stat { border: 2px solid var(--ink); border-radius: var(--radius-card); box-shadow: 4px 4px 0 var(--shadow); color: var(--white); padding: 26px 16px; }
.l-stat:nth-child(1) { background: var(--wine); }
.l-stat:nth-child(2) { background: var(--green); }
.l-stat:nth-child(3) { background: var(--accent); }
.l-stat:nth-child(4) { background: var(--aubergine); }
.l-stat-num { color: var(--brand-gold); font-size: clamp(32px, 4.4vw, 44px); text-shadow: .05em .05em 0 rgba(var(--grade-text-dark), .55); }
.l-stat-label { color: var(--white); font-size: 17px; font-weight: 600; line-height: 1.35; }

/* Bento */
.l-tile { border-top: 8px solid var(--tile-c, var(--teal)); border-radius: var(--radius-card); padding: 24px 24px 22px; }
.l-bento > .l-tile:nth-child(1) { --tile-c: var(--accent); }
.l-bento > .l-tile:nth-child(2) { --tile-c: var(--wine); }
.l-bento > .l-tile:nth-child(3) { --tile-c: var(--green); }
.l-bento > .l-tile:nth-child(4) { --tile-c: var(--aubergine); }
.l-bento > .l-tile:nth-child(5) { --tile-c: var(--accent); }
.l-bento > .l-tile:nth-child(6) { --tile-c: var(--wine); }
.l-bento > .l-tile-wide { background: var(--parchment); }
.l-tile-tag {
  font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--ink); background: var(--brand-gold);
  border: 1.5px solid var(--ink); padding: 3px 12px 4px;
}
.l-tile h3 { font-family: var(--font-headline); font-weight: 400; font-size: clamp(21px, 2.4vw, 25px); line-height: 1.2; color: var(--ink); }
.l-tile-wide h3 { font-size: clamp(24px, 3vw, 32px); }
.l-tile p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.l-try { font-size: 17px; font-weight: 700; color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; padding: 0; }
.l-try:hover { color: var(--accent-hover); text-decoration-thickness: 3px; }

/* Jost 400 is thin at body sizes; the secondary text on parchment is set at 500. */
.l-tile p, .m-feature p, .l-card-where, .m-link-desc, .m-optcards span, .l-plan-note, .l-plan-price { font-weight: 500; }

/* Mini graphics inside tiles */
.l-mini-cal { background: var(--cream); border: 2px solid var(--ink); border-radius: 10px; box-shadow: none; }
.l-mini-cal-head { background: var(--parchment); border-bottom: 2px solid var(--ink); font-size: 14px; color: var(--ink); }
.l-mini-col { border-left: 1px solid var(--rule); }
.l-mini-cal-body { height: 230px; }
.mc { border: 1.5px solid var(--ink); border-radius: 6px; box-shadow: none; left: 3px; right: 3px; }
.mc b { font-size: 12px; font-weight: 700; line-height: 1.15; }
.l-mock-search, .l-chips span, .l-mock-lists span { border: 2px solid var(--ink); background: var(--cream); color: var(--ink); }
.l-mock-search { font-size: 16px; }
.l-chips span { font-size: 15px; font-weight: 600; }
.l-chips span.on { background: var(--brand-gold); border-color: var(--ink); color: var(--ink); }
.l-mock-map { border: 2px solid var(--ink); border-radius: 10px; }
.l-mock-map i { background: var(--accent); border: 2px solid var(--ink); color: var(--cream); font: 700 14px/14px var(--font-body); box-shadow: 1px 1px 0 var(--shadow); }
.l-venue-photos a { border: 2px solid var(--ink); border-radius: 10px; }
.l-venue-photos img { filter: var(--grade); }
.l-venue-photos span { font-size: 14px; font-weight: 700; color: var(--cream); background: linear-gradient(0deg, rgba(var(--grade-text-dark), .85), transparent); }
.l-mock-lists span { font-size: 16px; }
.l-mock-lists span:first-child { color: var(--accent-text); }
.l-mock-lists em { font-size: 14px; background: var(--parchment); border: 1.5px solid var(--ink); color: var(--ink); }

/* Live demo band */
.l-demo-sec {
  background: var(--band-bg); border-block: 3px double var(--ink); color: var(--cream);
  --muted: var(--cream); --link: var(--cream); --border: rgba(248, 236, 208, .55);
}
:root[data-theme="dark"] .l-demo-sec { background: var(--band-bg); border-block-color: var(--cream); }
.l-demo-sec .m-section-kicker, .l-demo-sub, .l-demo-foot, .l-demo-picks-label { color: var(--cream); }
.l-demo-sec .m-section-head h2 { color: var(--brand-gold); text-shadow: .06em .06em 0 var(--band-shadow); }
.l-demo-sec .m-section-head::after { background: var(--cream); }
.l-demo-sub { font-size: 18px; }
.l-demo-picks-label { font-size: 17px; font-weight: 700; }
.l-demo-picks button {
  font-size: 16px; font-weight: 600; min-height: 44px; padding: 8px 18px; background: var(--cream); color: var(--ink);
  border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--band-shadow);
}
.l-demo-picks button:hover { background: var(--brand-gold); color: var(--ink); border-color: var(--ink); transform: none; }
.l-demo-picks button:active { transform: translate(2px, 2px); box-shadow: none; }
.l-demo-foot a { color: var(--cream); }
.l-browser, .m-demo { box-shadow: 6px 6px 0 var(--band-shadow, var(--shadow)); border-radius: var(--radius-card); }
.m-demo { box-shadow: 6px 6px 0 var(--shadow); }
.l-browser-bar, .m-demo-bar { background: var(--parchment); border-bottom: 2px solid var(--ink); }
.l-dots i, .m-demo-dots i { border: 1.5px solid var(--ink); }
.l-dots i:nth-child(1), .m-demo-dots i:nth-child(1) { background: var(--accent); }
.l-dots i:nth-child(2), .m-demo-dots i:nth-child(2) { background: var(--brand-gold); }
.l-dots i:nth-child(3), .m-demo-dots i:nth-child(3) { background: var(--green); }
.l-url, .m-demo-url { font-size: 14.5px; background: var(--cream); border: 1.5px solid var(--ink); color: var(--ink); }
.l-fullscreen, .m-demo-full { font-size: 14.5px; font-weight: 700; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.l-demo-frame, .m-demo-frame { background: var(--cream); }

/* Steps */
.m-step-num, .l-steps .m-step-num {
  font-family: var(--font-headline); font-size: 22px; color: var(--white); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--shadow);
}
.m-step:nth-child(1) .m-step-num { background: var(--wine); }
.m-step:nth-child(2) .m-step-num { background: var(--green); }
.m-step:nth-child(3) .m-step-num { background: var(--accent); }
.m-step-connector { border-top: 2px dashed var(--page-ink); }
.m-step-title, .l-steps .m-step-title { font-size: 20px; font-weight: 700; color: var(--page-ink); }
.m-step-desc, .l-steps .m-step-desc { font-size: 17px; color: var(--page-ink); max-width: 28ch; }

/* Pricing */
.l-plan { padding: 32px 26px 28px; }
.l-plan-best { border: 2px solid var(--ink); box-shadow: inset 0 0 0 2px var(--parchment), inset 0 0 0 3px var(--rule), 6px 6px 0 var(--shadow); }
.l-plan-flag { background: var(--brand-gold); color: var(--ink); border: 2px solid var(--ink); font-size: 14px; font-weight: 800; box-shadow: 2px 2px 0 var(--shadow); }
.l-plan-name { font-size: 16px; color: var(--ink); }
.l-plan-price { font-size: 18px; color: var(--muted); }
.l-plan-price span { color: var(--accent-text); }
.l-plan-note { font-size: 17px; color: var(--muted); }
.l-includes li { font-size: 18px; color: var(--page-ink); padding-left: 32px; }
.l-includes li::before { width: 22px; height: 22px; top: .1em; background: var(--accent); border: 2px solid var(--ink); box-sizing: border-box; }
.l-includes li::after { left: 7.5px; top: calc(.1em + 3px); border-color: var(--cream); }
:root[data-theme="dark"] .l-includes li::before { background: var(--brand-gold); }
:root[data-theme="dark"] .l-includes li::after { border-color: var(--ink); }

/* Closing call to action: accent block with a cream double rule. */
.m-cta-band {
  background: var(--accent); color: var(--cream); border: 2px solid var(--ink); border-radius: var(--radius-card);
  box-shadow: 6px 6px 0 var(--shadow); isolation: isolate;
}
.m-cta-band::before { content: ""; position: absolute; inset: 10px; border: 2px solid var(--cream); border-radius: 8px; pointer-events: none; z-index: -1; }
.m-cta-band h2 { font-family: var(--font-headline); color: var(--brand-gold); text-shadow: .06em .06em 0 var(--shadow); }
.m-cta-band p, .l-cta p { color: var(--cream); font-size: clamp(18px, 2.2vw, 22px); font-weight: 500; }
.m-cta-band .m-btn { border-color: var(--ink); }
.m-cta-band .m-btn-solid { background: var(--brand-gold); color: var(--ink); }
.m-cta-band .m-btn-solid:hover { background: var(--gold-deep); }
.m-cta-band .m-btn-outline { background: var(--cream); color: var(--ink); }
.m-cta-band .m-btn-outline:hover { background: var(--parchment); }
.l-cta-login { font-size: 17px !important; color: var(--cream) !important; }
.l-cta-login a { color: var(--cream); text-decoration: underline; font-weight: 700; display: inline-block; padding: 10px 4px; }

/* --------------------------------------------------------------- FAQ rows */
/* Same as the app's FAQ: solid question rows (wine / green / accent /
 * aubergine, white bold text), white +/- circle, parchment answer panel. */
.m-faq { --c: var(--wine); gap: 14px; margin-top: 12px; }
.m-faq details:nth-of-type(4n+1) { --c: var(--wine); }
.m-faq details:nth-of-type(4n+2) { --c: var(--green); }
.m-faq details:nth-of-type(4n+3) { --c: var(--accent); }
.m-faq details:nth-of-type(4n+4) { --c: var(--aubergine); }
/* How It Works FAQ: one color per group instead of per row. */
#faq .m-faq:nth-of-type(1) details { --c: var(--wine); }
#faq .m-faq:nth-of-type(2) details { --c: var(--green); }
#faq .m-faq:nth-of-type(3) details { --c: var(--accent); }
.m-faq details {
  background: var(--parchment); border: 2px solid var(--ink); border-radius: var(--radius-card); box-shadow: 4px 4px 0 var(--shadow); overflow: hidden;
}
.m-faq details:hover { border-color: var(--ink); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--shadow); }
.m-faq details[open] { border-color: var(--ink); box-shadow: 4px 4px 0 var(--shadow); transform: none; }
.m-faq details::before { display: none; }
.m-faq summary { background: var(--c); color: var(--white); font-size: 18px; font-weight: 700; min-height: 44px; padding: 14px 18px; }
.m-faq details[open] summary { border-bottom: 2px solid var(--ink); }
.m-faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; box-shadow: inset 0 0 0 6px var(--white); }
.m-faq summary::after, .m-faq details:hover summary::after, .m-faq details[open] summary::after {
  content: "+"; background: var(--white); color: var(--c); transform: none; font-size: 22px; font-weight: 700; width: 30px; height: 30px; padding-bottom: 2px;
}
.m-faq details[open] summary::after { content: "\2212"; }
.m-faq details > p { background: var(--parchment); color: var(--ink); font-size: 18px; line-height: 1.6; padding: 16px 20px 18px; }
.m-faq details > p a { color: var(--accent-text); font-weight: 600; }
#faq h3 { font-family: var(--font-body); font-size: 15px; font-weight: 800; letter-spacing: .12em; color: var(--page-ink); margin: 40px 0 6px; }
#faq h3::before { background: var(--page-ink); border-radius: 0; }
#faq h3::after { background: var(--page-ink); opacity: .45; }
.l-faq-more { font-weight: 600; }
.l-faq-more a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------------------------------------------------------- How It Works */
/* Photo tiles and part banners: the photo moves to ::after so the film grade
 * only touches the picture, never the text on top of it. */
.m-tile, .m-part-banner {
  border: 2px solid var(--ink); border-radius: var(--radius-card); box-shadow: 4px 4px 0 var(--shadow); background-color: var(--khaki, var(--khaki));
}
.m-tile-cal, .m-tile-web, .m-part-banner-cal, .m-part-banner-web { background-image: none; }
.m-tile::after, .m-part-banner::after { content: ""; position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; filter: var(--grade); }
.m-tile-cal::after { background-image: url("img/nav-calendar.jpg"); background-position: center 16%; }
.m-tile-web::after { background-image: url("img/nav-website.jpg"); background-position: center; }
.m-part-banner-cal::after { background-image: url("img/hiw-cal.jpg"); background-position: center 40%; }
.m-part-banner-web::after { background-image: url("img/hiw-web.jpg"); background-position: center 35%; }
.m-tile::before, .m-part-banner::before {
  background: linear-gradient(0deg, rgba(var(--grade-text-dark), .82) 0%, rgba(var(--grade-text-dark), .45) 55%, rgba(var(--grade-text-dark), .08) 100%);
}
.m-tile:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow); }
.m-tile:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: 3px; }
.m-tile-kicker, .m-part-banner .m-part-kicker { font-size: 16px; letter-spacing: .12em; color: var(--cream); text-shadow: 0 1px 2px rgba(var(--grade-text-dark), .8); }
.m-tile-title { font-size: clamp(26px, 4vw, 32px); color: var(--brand-gold); text-shadow: .06em .06em 0 var(--shadow); }
.m-tile-title::after { color: var(--brand-gold); }
.m-tile-blurb { font-size: 18px; line-height: 1.4; color: var(--cream); font-weight: 500; max-width: 30ch; text-shadow: 0 1px 2px rgba(var(--grade-text-dark), .8); }
.m-page .m-part-banner h2.m-part-title { color: var(--brand-gold); font-size: clamp(30px, 5vw, 42px); text-shadow: .06em .06em 0 var(--shadow); }
.m-jump-faq { font-size: 17px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; color: var(--link); }

/* Numbered cards */
.m-ol li { font-size: 17px; line-height: 1.55; color: var(--ink); }
.m-ol li strong { font-size: 19px; }
.m-ol li::before { font-size: 17px; width: 38px; height: 38px; color: var(--white); border: 2px solid var(--ink); }
.m-ol li:nth-child(1)::before { background: var(--wine); }
.m-ol li:nth-child(2)::before { background: var(--green); }
.m-ol li:nth-child(3)::before { background: var(--accent); }

/* Search facets, chips, example search bars */
.m-facets li { --c: var(--wine); border: 2px solid var(--ink); border-left: 8px solid var(--c); border-radius: 10px; background: var(--parchment); box-shadow: 3px 3px 0 var(--shadow); }
.m-facets li:nth-child(7n+1) { --c: var(--wine) !important; }
.m-facets li:nth-child(7n+2) { --c: var(--green) !important; }
.m-facets li:nth-child(7n+3) { --c: var(--accent) !important; }
.m-facets li:nth-child(7n+4) { --c: var(--aubergine) !important; }
.m-facets li:nth-child(7n+5) { --c: var(--teal) !important; }
.m-facets li:nth-child(7n+6) { --c: var(--wine) !important; }
.m-facets li:nth-child(7n+7) { --c: var(--green) !important; }
.m-facets b { font-size: 15px; letter-spacing: .08em; color: var(--ink); }
.m-chips i { font-size: 16px; font-weight: 600; background: var(--cream); border: 1.5px solid var(--ink); color: var(--ink); padding: 3px 12px 4px; }
.m-tip-head { font-family: var(--font-headline); font-weight: 400; font-size: 19px; color: var(--page-ink); }
.m-tip-head::before { width: 32px; height: 32px; background: var(--accent); color: var(--white); border: 2px solid var(--ink); }
.m-q { font-size: 17px; color: var(--page-ink); }
.m-searchbar { background: var(--cream); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--shadow); font-size: 16px; }
.m-searchbar::before { background: var(--ink); }
.m-examples code { font-size: 15.5px; background: var(--parchment); border: 1.5px solid var(--ink); color: var(--ink); }
.m-page p.m-demo-foot { font-size: 17px; color: var(--page-ink); }
.m-page p.m-callout { background: var(--parchment); border: 2px solid var(--ink); border-left: 8px solid var(--accent); border-radius: 10px; color: var(--ink); font-size: 17px; box-shadow: 3px 3px 0 var(--shadow); }
.m-page p.m-callout a { color: var(--accent-text); }

/* Feature cards: Quick-Tour colors on the top edge. */
.m-feature { border-top: 8px solid var(--fc, var(--accent)); padding: 20px 22px 20px; }
.m-feature:nth-child(1) { --fc: var(--wine); }
.m-feature:nth-child(2) { --fc: var(--green); }
.m-feature:nth-child(3) { --fc: var(--accent); }
.m-feature:nth-child(4) { --fc: var(--aubergine); }
.m-feature:nth-child(5) { --fc: var(--wine); }
.m-feature:nth-child(6) { --fc: var(--green); }
.m-page .m-feature h3 { font-size: 20px; color: var(--ink); }
.m-page .m-feature p, .m-page .m-optcards li, .m-optcards li { font-size: 17px; line-height: 1.55; }
.m-optcards strong { font-size: 18px; color: var(--accent-text); }
.m-optcards span { color: var(--muted); }

/* ------------------------------------------------------------- About page */
.m-about .m-bio-photo {
  border: 6px solid var(--cream); border-radius: var(--radius-card); filter: var(--grade);
  box-shadow: 0 0 0 2px var(--ink), 10px 10px 0 var(--brand-gold), 10px 10px 0 2px var(--ink);
}
.m-bio-sticker { background: var(--accent); color: var(--brand-gold); border: 3px double var(--cream); box-shadow: 3px 3px 0 var(--shadow); font-size: 17px; }
.m-bio-card p.m-bio-name { font-size: 15px; letter-spacing: .14em; color: var(--accent-text); font-weight: 800; }
.m-bio-card p.m-bio-lead { font-family: var(--font-body); font-weight: 600; font-size: clamp(21px, 2.8vw, 25px); line-height: 1.45; }
.m-about .m-bio-card { border-radius: var(--radius-card); }
.m-bio-block {
  border: 2px solid var(--ink); border-left: 8px solid var(--c); border-radius: 10px; background: var(--parchment); box-shadow: 4px 4px 0 var(--shadow);
}
.m-bio-b1 { --c: var(--wine); } .m-bio-b2 { --c: var(--blue); } .m-bio-b3 { --c: var(--green); } /* tomato / blue / green, same order as the stat tiles below */
.m-bio-card .m-bio-block p, .m-bio-blocks .m-bio-block p { font-size: 17.5px; line-height: 1.65; color: var(--ink); }
.m-bio-card .m-bio-block p.m-bio-tag, .m-bio-blocks .m-bio-block p.m-bio-tag { font-size: 15px; letter-spacing: .12em; color: var(--ink); font-weight: 800; }

.m-stat-tile { padding: 24px 16px; }
.m-stat-tile:nth-child(1) { background: var(--wine); } .m-stat-tile:nth-child(2) { background: var(--blue); } .m-stat-tile:nth-child(3) { background: var(--green); }
.m-about-stats .m-stat-tile { color: var(--white); box-shadow: 4px 4px 0 var(--shadow); }
.m-about-stats .m-stat-num, .m-stat-num { font-size: clamp(24px, 3.4vw, 30px); }
.m-stat-num { color: var(--brand-gold); text-shadow: .05em .05em 0 rgba(var(--grade-text-dark), .55); }
.m-stat-label { font-size: 17px; font-weight: 600; color: var(--white); }
.m-contact-card { border: 2px solid var(--ink); border-radius: var(--radius-card); box-shadow: 4px 4px 0 var(--shadow); }
.m-contact-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow); }
.m-contact-mail { background: var(--brand-gold); color: var(--ink); }
.m-contact-ig { background: var(--wine); color: var(--white); }
.m-contact-label { font-size: 15px; opacity: 1; letter-spacing: .12em; }
.m-contact-val { font-family: var(--font-body); font-weight: 700; font-size: clamp(19px, 2.6vw, 22px); }
.m-contact-ico { border: 2px solid currentColor; background: transparent; }
.m-contact-ig .m-contact-ico { background: transparent; }
.m-contact-card::after { opacity: 1; }
.m-ig-card { background: var(--brand-gold); border: 2px solid var(--ink); border-radius: var(--radius-card); box-shadow: 4px 4px 0 var(--shadow); color: var(--ink); }
.m-about .m-ig-card { border-radius: var(--radius-card); }
.m-ig-tile { border: 2px solid var(--ink); border-radius: 10px; }
.m-ig-tile img { filter: var(--grade); }
.m-ig-name { font-size: 21px; }
.m-ig-handle { font-size: 17px; color: var(--ink); }
.m-ig-follow-btn { background: var(--ink); color: var(--cream); border: 2px solid var(--ink); font-size: 18px; min-height: 44px; box-shadow: 3px 3px 0 var(--shadow); }
.m-ig-follow-btn:hover { opacity: 1; background: var(--wine); }

/* ------------------------------------------------------------- Links page */
.m-link-group { margin: 34px 0 12px; }
.m-links-page .m-link-btn { border-radius: var(--radius-card); padding: 16px 20px; min-height: 44px; }
.m-links-page .m-link-btn:hover { transform: translate(-2px, -2px); }
.m-links-page .m-link-title { font-family: var(--font-headline); font-weight: 400; font-size: 20px; line-height: 1.2; }
.m-links-page .m-link-desc, .m-link-desc { font-size: 16.5px; color: var(--muted); }
.m-link-ico { background: var(--cream); border: 2px solid var(--ink); color: var(--ink); }
.m-link-arrow { color: var(--ink); font-size: 22px; }
.m-links-page .m-link-rust .m-link-arrow { color: var(--cream); }
.m-link-badge { font-family: var(--font-body); font-size: 14px; letter-spacing: .06em; background: var(--brand-gold); color: var(--ink); border: 1.5px solid var(--ink); font-weight: 800; }
.m-links-page .m-link-yellow { background: var(--brand-gold); border-color: var(--ink); color: var(--ink); }
.m-links-page .m-link-yellow .m-link-desc { color: var(--ink); }
.m-links-page .m-link-yellow .m-link-ico { background: var(--cream); color: var(--ink); }
.m-links-page .m-link-yellow .m-link-arrow { color: var(--ink); }
.m-links-page .m-link-rust { background: var(--accent); border-color: var(--ink); color: var(--cream); }
.m-links-page .m-link-rust .m-link-desc { color: var(--cream); }
.m-links-page .m-link-rust .m-link-ico { background: var(--cream); color: var(--accent-text); }

/* ------------------------------------------- Privacy / Terms / 404 prose */
.m-contact-list li { font-size: 17px; line-height: 1.6; align-items: flex-start; border-bottom-color: var(--border); }
.m-contact-list a { color: var(--link); }
.m-wrap.m-page { padding-top: 36px; }
.m-page h2 { border-bottom: 4px double var(--page-ink); padding-bottom: 6px; }
.m-page h2.m-part-title, .m-page .m-about-head h2 { border-bottom: 0; padding-bottom: 0; }
.m-page .m-part-banner h2.m-part-title { border: 0; }

/* Creator-only editing bar keeps working, just in the palette. */
.site-edit-bar { background: var(--parchment); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--shadow); }
.site-edit-btn { border: 2px solid var(--ink); color: var(--ink); background: var(--cream); font-size: 15px; min-height: 44px; }
.site-edit-btn:hover { background: var(--brand-gold); }
.site-edit-btn-save { background: var(--brand-gold); color: var(--ink); }
.site-edit-btn-save:hover { background: var(--gold-deep); }
.site-edit-status { font-size: 14.5px; }
body.site-editing [data-editable] { outline-color: var(--page-ink); }

/* ------------------------------------------------------- phones (<=620px) */
@media (max-width: 620px) {
  .m-section-head::after { width: 150px; }
  .l-card { width: 264px; }
  .l-stat { padding: 20px 12px; }
  .m-footer, .landing .m-footer { padding: 38px 20px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .m-btn, .m-brand, .m-faq details { transition: none; }
}

/* Hero text centered vertically inside the cream frame (About and How It Works).
 * The Links hero keeps its own layout (.m-links-hero). The frame is inset 14px 14px 32px
 * with an 18px strip under it, so bottom padding = top padding + 18px keeps the text
 * on the frame's center line. */
.m-about-hero:not(.m-links-hero) { align-items: center; }
.m-about-hero:not(.m-links-hero) .m-about-hero-in { padding-top: 40px; padding-bottom: 58px; }
@media (max-width: 560px) {
  .m-about-hero:not(.m-links-hero) .m-about-hero-in { padding-top: 36px; padding-bottom: 54px; }
}

/* Keep the page put on touch screens: no sideways drag of the whole page (it revealed a blank strip). Swipeable rows
   (ticker, photo strips, filter chips) are their own scrollers and still swipe. Vertical scrolling and pinch-zoom are unchanged. */
html { overflow-x: hidden; overscroll-behavior-x: none; }
body { overflow-x: clip; touch-action: pan-y pinch-zoom; }
