/* ---------- self-hosted fonts (no Google Fonts request) ---------- */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/figtree-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/figtree-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-display: swap; src: url(fonts/bricolage-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-display: swap; src: url(fonts/bricolage-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* metric-matched fallbacks, so text doesn't jump when the real font arrives */
@font-face { font-family: "Figtree Fallback"; src: local("Arial"), local("Helvetica"), local("Roboto"); size-adjust: 100.7%; ascent-override: 94.4%; descent-override: 24.8%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback"; src: local("Arial Bold"), local("Arial"), local("Helvetica"), local("Roboto"); font-weight: 700 800; size-adjust: 101.8%; ascent-override: 91.4%; descent-override: 26.5%; line-gap-override: 0%; }

/* ---------- BudapestFlow tokens (from the BudapestFlow Design System) ---------- */
:root {
  --surface-paper: #FBF9F4;
  --surface-cream: #F3ECDD;
  --cream-line: #E2D6BE;
  --surface-card: #FFFFFF;
  --line: #E6DDCB;
  --tint-ochre: #FBF1DC;
  --tint-ochre-line: #EBD6A8;
  --tint-ochre-hover: #F6E4BC;
  --heading: #1A2B49;
  --ink: #16233A;
  --ink-muted: #3B4660;
  --yellow: #F4B942;
  --yellow-hover: #E2A42C;
  --on-yellow: #16233A;
  --ochre-text: #8A6212;
  --navy-deep: #031A32;
  --navy-deep-mid: #0C2A4A;
  --on-dark: #FFFFFF;
  --on-dark-muted: #B8BFC6;
  --tripadvisor-green: #00852F;
  --focus-ring: #16233A;
  --focus-ring-on-dark: #F4B942;

  --shadow-card: 0 10px 30px rgba(22, 35, 58, 0.05);
  --shadow-panel: 0 24px 60px rgba(22, 35, 58, 0.18);
  --shadow-photo: 0 16px 34px rgba(22, 35, 58, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --font-display: "Bricolage Grotesque", "Bricolage Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: Figtree, "Figtree Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: Caveat, "Segoe Print", "Bradley Hand", cursive;

  --logo-filter: none;
  --page-pad: 20px;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
/* dark: a quiet navy variant so the page follows the phone's setting */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface-paper: #031A32; --surface-cream: #0C2A4A; --cream-line: #1E3D60; --surface-card: #102F52;
    --line: #1E3D60; --tint-ochre: #1A3350; --tint-ochre-line: #3A5270; --tint-ochre-hover: #22405F;
    --heading: #FFFFFF; --ink: #FFFFFF; --ink-muted: #B8BFC6; --ochre-text: #F4B942;
    --navy-deep: #01101F; --navy-deep-mid: #062038; --focus-ring: #F4B942;
    --shadow-card: none; --logo-filter: invert(1);
  }
}
:root[data-theme="dark"] {
  --surface-paper: #031A32; --surface-cream: #0C2A4A; --cream-line: #1E3D60; --surface-card: #102F52;
  --line: #1E3D60; --tint-ochre: #1A3350; --tint-ochre-line: #3A5270; --tint-ochre-hover: #22405F;
  --heading: #FFFFFF; --ink: #FFFFFF; --ink-muted: #B8BFC6; --ochre-text: #F4B942;
  --navy-deep: #01101F; --navy-deep-mid: #062038; --focus-ring: #F4B942;
  --shadow-card: none; --logo-filter: invert(1);
}

*, *::before, *::after { box-sizing: inherit; }
/* <details> content sits in a shadow slot, so inheritance breaks there: set it explicitly */
details, details *, details *::before, details *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 72px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface-paper); color: var(--ink-muted);
  font: 450 18px/1.55 var(--font-text); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.app { max-width: 520px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.app > main { flex: 1 0 auto; }
.pad { padding-left: var(--page-pad); padding-right: var(--page-pad); }

/* ---------- brand bar ---------- */
.brandbar { display: flex; align-items: center; justify-content: space-between; padding-top: calc(env(safe-area-inset-top, 0px) + 12px); padding-bottom: 12px; margin-top: calc(-1 * env(safe-area-inset-top, 0px)); }
/* header strip: white background + divider line running edge to edge of the screen
   (border-image with outset paints outside the 520px column without causing sideways scroll) */
.brandbar, .topbar {
  border-image: linear-gradient(to top, var(--line) 1px, var(--surface-card) 1px) fill 0 / 0 / 0 100vmax;
  box-shadow: 0 6px 16px -14px rgba(22, 35, 58, 0.35);
}
.brandbar a.logo { display: inline-block; line-height: 0; }
.brandbar img { height: 34px; width: auto; filter: var(--logo-filter); }
.brandbar .site { font-size: 14px; font-weight: 600; color: var(--ink-muted); text-decoration: none; }
.sig { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-top: 6px; }
.sig .hand { margin-top: 0; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding-top: 18px; padding-bottom: 8px; }
.portrait {
  width: 104px; height: 104px; border-radius: 50%; background: var(--surface-cream);
  box-shadow: 0 0 0 4px rgba(244, 185, 66, 0.55), var(--shadow-photo);
  display: grid; place-items: center; overflow: hidden;
  font: 800 24px/1 var(--font-display); color: var(--heading); letter-spacing: -0.5px;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
/* size follows screen width so the title stays on two lines next to the photo (with some safety margin) */
.hero h1 { margin: 0; font: 800 clamp(23px, calc((100vw - 158px) / 8.3), 29px)/1.08 var(--font-display); letter-spacing: -0.8px; color: var(--heading); }
.hero-text { grid-column: 1 / -1; }
.hero .lead { margin: 2px 0 0; font-size: 19px; line-height: 1.45; font-weight: 500; }
.hand { height: 20px; width: auto; color: var(--ochre-text); display: inline-block; transform: rotate(-3deg); margin: 6px 0 0 2px; overflow: visible; } /* signature is an inline SVG, no handwriting font needed */

/* ---------- tour banner ---------- */
.near { margin-top: 18px; background: var(--tint-ochre); border: 1px solid var(--tint-ochre-line); border-radius: var(--radius-lg); padding: 18px 16px 8px; }
.eyebrow { font: 700 12px/1.3 var(--font-text); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ochre-text); margin: 0; }
h1, h2 { text-wrap: balance; }
.near h2 { margin: 4px 0 8px; font: 700 23px/1.15 var(--font-display); color: var(--heading); letter-spacing: -0.3px; }

/* ---------- category grid ---------- */
.section-head { margin: 30px 0 14px; }
.section-head h2 { margin: 0; font: 800 26px/1.1 var(--font-display); letter-spacing: -0.6px; color: var(--heading); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  position: relative; display: block; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; cursor: pointer; text-align: left;
  border: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-card); background: var(--surface-cream);
  outline-offset: 3px; transition: transform .15s ease;
}
.tile:active { transform: scale(.975); }
/* photo layer: a real photo goes in --img; until then a tinted placeholder with the category icon */
.tile-img {
  position: absolute; inset: 0; background: var(--img, linear-gradient(135deg, var(--c1), var(--c2)));
  background-size: cover; background-position: center; display: grid; place-items: center;
}
.tile-img .icon { width: 54px; height: 54px; stroke-width: 1.4; color: rgba(255,255,255,.55); transform: translateY(-28px); }
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(3,26,50,.9) 0%, rgba(3,26,50,.5) 45%, rgba(3,26,50,0) 78%);
}
.tile-label {
  position: absolute; left: 12px; right: 12px; bottom: 11px; z-index: 1;
  font: 800 clamp(20px, 6vw, 26px)/1.05 var(--font-display); letter-spacing: -0.6px; color: #fff;
  text-shadow: 0 2px 12px rgba(3,26,50,.6); text-wrap: balance;
}
.tile-ph { position: absolute; top: 8px; right: 8px; z-index: 1; font: 700 9.5px/1 var(--font-text); letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.45); border-radius: 5px; padding: 4px 6px; }

/* centered-label variant (TILE_LABELS = "center"); delete this block + the constant to remove it entirely */
.labels-center .tile::after { background: radial-gradient(ellipse at 50% 50%, rgba(46, 24, 10, .74) 0%, #04172b9e 60%, rgba(46, 24, 10, .56) 100%); }
.labels-center .tile-label {
  inset: 0; display: grid; place-items: center; padding: 10px 12px; text-align: center;
  text-shadow: 0 2px 14px rgba(40,20,8,.75);
}
.labels-center .tile-img .icon { display: none; }

.more { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.more button {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 2px; background: none; border: 0;
  border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; color: var(--ink); font-weight: 600; font-size: 16px;
}
.more button .icon:first-child { color: var(--ochre-text); }
.more button .grow { flex: 1; }
.more button .icon:last-child { width: 18px; height: 18px; color: var(--ink-muted); }

/* ---------- buttons (design system hierarchy) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px/1.2 var(--font-text); letter-spacing: .3px; padding: 12px 20px; min-height: 46px;
  border-radius: var(--radius-pill); border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--yellow); color: var(--on-yellow); }
.btn-secondary { background: var(--surface-card); border-color: var(--tint-ochre-line); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- utility strips ---------- */
.tools { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
.tools .btn { width: 100%; white-space: nowrap; }

.review {
  margin-top: 26px; background: var(--surface-cream); border: 1px solid var(--cream-line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: 20px;
}
.review h2 { margin: 0 0 8px; font: 700 23px/1.15 var(--font-display); letter-spacing: -0.3px; color: var(--heading); }
.review p { margin: 0 0 16px; font-size: 18px; line-height: 1.5; }
.review .btn-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
.review .btn { width: 100%; gap: 10px; white-space: nowrap; }
.ta-dots { display: inline-flex; gap: 3px; }
.ta-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--tripadvisor-green); display: block; }
.g-stars { color: var(--yellow-hover); letter-spacing: 1px; font-size: 13px; }
/* same-width icon + label slots, so the dots/stars and the names line up across both buttons */
.review .ta-dots, .review .g-stars { width: 64px; display: inline-flex; justify-content: flex-start; align-items: center; flex: none; }
.review .ta-dots { gap: 4px; }
.review .ta-dots i { width: 9px; height: 9px; }
.review .rv-label { width: 92px; text-align: left; }

.panel {
  margin-top: 26px; background: var(--navy-deep); color: var(--on-dark-muted); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel); padding: 24px 20px;
}
.panel h2 { margin: 0 0 8px; font: 800 23px/1.1 var(--font-display); letter-spacing: -0.6px; color: var(--on-dark); }
.panel p { margin: 0 0 16px; }
.panel :focus-visible { outline-color: var(--focus-ring-on-dark); }

/* ---------- footer ---------- */
footer {
  margin-top: 0; background: var(--navy-deep); color: var(--on-dark-muted); font-size: 14px;
  padding-top: 32px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 32px); margin-bottom: calc(-1 * env(safe-area-inset-bottom, 0px));
  /* paint the navy edge to edge of the screen, while the content stays in the 520px column */
  box-shadow: 0 0 0 100vmax var(--navy-deep); clip-path: inset(0 -100vmax -100vmax);
}
footer img { height: 46px; width: auto; filter: invert(1); margin-bottom: 12px; }
footer .tagline { margin: 0 0 18px; color: var(--on-dark); font: 700 18px/1.3 var(--font-display); letter-spacing: -0.2px; max-width: 30ch; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
footer nav a { color: var(--on-dark); text-decoration: none; font-weight: 600; }
footer small { display: block; font-size: 13px; }
footer :focus-visible { outline-color: var(--focus-ring-on-dark); }

/* ---------- category view ---------- */
.topbar {
  position: sticky; top: 0; z-index: 5; background: var(--surface-paper);
  padding-top: calc(env(safe-area-inset-top, 0px) + 10px); padding-bottom: 10px; margin-top: calc(-1 * env(safe-area-inset-top, 0px));
  display: flex; align-items: center; gap: 12px;
}
.back {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-card);
  display: grid; place-items: center; cursor: pointer; color: var(--ink); flex: none;
}
.topbar h1 { margin: 0; flex: 1; font: 800 23px/1.1 var(--font-display); letter-spacing: -0.5px; color: var(--heading); }
.topbar img { height: 26px; width: auto; filter: var(--logo-filter); }
.intro { margin: 16px 0 12px; font-size: 19px; line-height: 1.5; font-weight: 500; }

.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 8px 14px; border-radius: var(--radius-pill); border: 1px solid var(--line);
  background: var(--surface-card); color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 600;
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface-paper); }
.group-title { margin: 22px 0 2px; }

/* place card (always open) */
.card {
  background: var(--surface-cream); border: 1px solid var(--cream-line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); margin: 16px 0; transition: border-color .15s ease;
}
.card .head { padding: 18px 18px 14px; display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; }
.card .name { margin: 0; font: 700 22px/1.2 var(--font-display); letter-spacing: -0.3px; color: var(--heading); }
.pick {
  display: inline-block; vertical-align: 3px; margin-left: 6px; font: 700 10.5px/1 var(--font-text); letter-spacing: 1.2px;
  text-transform: uppercase; padding: 5px 8px; border-radius: var(--radius-sm); background: var(--yellow); color: var(--on-yellow);
}
.card .price { font-weight: 700; color: var(--ink); font-size: 15px; letter-spacing: 1px; padding-top: 3px; }
.card .price b { color: var(--cream-line); font-weight: 700; }
.card .why { grid-column: 1 / -1; margin: 0; font-size: 18px; line-height: 1.55; }
.card .meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.near-to { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; }
.near-to .icon { width: 16px; height: 16px; color: var(--ochre-text); stroke-width: 2.2; }
.tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; font: 600 11px/1 var(--font-text); letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 10px; border-radius: 7px; border: 1px solid var(--cream-line); background: var(--surface-card); color: var(--ink-muted);
}
.tag.best { border-color: var(--tint-ochre-line); background: var(--tint-ochre); color: var(--ochre-text); }
.tag .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.card .body { padding: 14px 18px 18px; border-top: 1px solid var(--cream-line); }
.card .body .btn-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 12px; }
.card .body .btn { padding-left: 10px; padding-right: 10px; white-space: nowrap; gap: 6px; }
.facts { list-style: none; padding: 0; margin: 0 0 16px; }
.facts li { display: flex; gap: 10px; margin: 0 0 10px; color: var(--ink); line-height: 1.5; }
.facts li:last-child { margin-bottom: 0; }
.facts li strong { font-weight: 700; }
.facts .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--ochre-text); stroke-width: 2.5; }

.tipcard { background: var(--surface-cream); border: 1px solid var(--cream-line); border-radius: var(--radius-md); padding: 16px; margin: 12px 0; box-shadow: var(--shadow-card); }
.tipcard h2 { margin: 0 0 6px; font: 700 21px/1.2 var(--font-display); color: var(--heading); }
.tipcard p { margin: 0; }
.tipcard.avoid { background: var(--surface-card); border-color: var(--tint-ochre-line); box-shadow: inset 4px 0 0 #D0443A, var(--shadow-card); padding-left: 20px; }
.tag-avoid .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.tag-avoid { display: inline-flex; align-items: center; gap: 5px; font: 700 10.5px/1 var(--font-text); letter-spacing: 1.2px; text-transform: uppercase; padding: 5px 8px; border-radius: var(--radius-sm); border: 1px solid #D0443A; color: #B42318; background: #FDEEEC; margin-bottom: 8px; }

.empty { padding: 18px 0; font-size: 18px; }
.empty button { background: none; border: 0; padding: 0; color: var(--ochre-text); font-weight: 700; cursor: pointer; text-decoration: underline; }

.contact {
  margin-top: 16px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-decoration: none; color: var(--ink);
  background: var(--surface-cream); border: 1px solid var(--cream-line); border-radius: var(--radius-md); box-shadow: var(--shadow-card);
}
.contact:active { border-color: var(--yellow); }
.contact .grow { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.contact strong { font-weight: 700; font-size: 16px; }
.contact .grow span { font-size: 14px; color: var(--ink-muted); }
.contact-ico { width: 42px; height: 42px; border-radius: 50%; background: var(--surface-card); display: grid; place-items: center; color: var(--heading); flex: none; }
.contact > .icon:last-child { width: 18px; height: 18px; color: var(--ink-muted); }
.tipping {
  margin-top: 16px; margin-bottom: 0; padding: 20px; background: var(--surface-cream); border: 1px solid var(--cream-line);
  border-radius: var(--radius-md); box-shadow: var(--shadow-card);
}
.tipping h2 { margin: 0 0 8px; font: 700 23px/1.15 var(--font-display); letter-spacing: -0.3px; color: var(--heading); }
.tipping p { margin: 0 0 16px; }
.tipping .btn { width: 100%; }
.tip-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tip-amounts .btn { padding-left: 4px; padding-right: 4px; font-size: 16px; min-height: 50px; }
.tipping .tip-note { margin: 12px 0 0; font-size: 13px; color: var(--ink-muted); text-align: center; }
.ask { margin-top: 16px; padding: 20px; background: var(--surface-cream); border: 1px solid var(--cream-line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.ask h2 { margin: 0 0 8px; font: 700 23px/1.15 var(--font-display); letter-spacing: -0.3px; color: var(--heading); }
.ask p { margin: 0 0 16px; }
.ask .btn { width: 100%; }
.ask .ask-addr { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--ink-muted); user-select: all; }
main.pad { padding-bottom: 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.proto { text-align: center; font-size: 12px; color: var(--on-dark-muted); opacity: .8; margin-top: 12px; }

/* hover only where a real mouse exists; on touch it would "stick" after a tap */
@media (hover: hover) and (pointer: fine) {
  .tile:hover { box-shadow: 0 0 0 2px var(--yellow), var(--shadow-card); }
  .card:hover, .back:hover, .contact:hover, .tipping:hover { border-color: var(--yellow); }
  .more button:hover .grow, .brandbar .site:hover { color: var(--ochre-text); }
  .btn-primary:hover { background: var(--yellow-hover); }
  .btn-secondary:hover { background: var(--tint-ochre-hover); }
  footer nav a:hover { color: var(--yellow); }
}
/* touch feedback: a short pressed state instead */

.btn-primary:active { background: var(--yellow-hover); }
.btn-secondary:active, .back:active { background: var(--tint-ochre-hover); }

/* "Link copied" toast for the share fallback */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px;
  background: var(--navy-deep); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 8px 24px rgba(3,26,50,.25);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast::before { content: "✓"; color: var(--yellow); font-weight: 800; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
