/* sip&seek landing: scroll-driven, editorial, warm. Builds on the tokens in style.css. */
:root {
  /* S&S palette (flat, retro, warm with a navy accent) */
  --coral: #e0603f; --coral-dk: #b8452a;
  --navy: #2a3566; --navy-dk: #1f2850;
  --marigold: #f2b24c; --peach: #f6cfa8; --sky: #a8d0d8; --cream: #fff4e6;
  --wood: #c98a55; --wood-dk: #8a5632; --leaf: #6f9a4e; --leaf-dk: #4f7a35; --paperbag: #e9c79c;
  --script: "Shrikhand", "Cooper Black", Georgia, serif;   /* diner sign lettering */
  --amber: #eba800;
  --red: #e21806;
  --brown: #584038;
  --paper: #f6e7d3;
  --big: "Alfa Slab One", Rockwell, Georgia, serif;
}
html { scroll-behavior: smooth; }
html.lock, html.lock body { overflow: hidden; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* landing nav */
.lnav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 1400; display: flex; align-items: center; gap: 22px; padding: 8px 8px 8px 14px; width: min(980px, calc(100% - 28px)); border-radius: 999px; background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s, opacity .4s; }
.lnav.hide { transform: translate(-50%, -140%); opacity: 0; }
.lbrand .wordmark { font-size: 19px; }
.lnav-links { display: flex; gap: 18px; margin-left: auto; font-size: 13px; font-weight: 500; }
.lnav-links a { color: var(--ink-2); text-decoration: none; position: relative; }
.lnav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.lnav-links a:hover::after { transform: scaleX(1); }
.pill-cta { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: background .2s; }
.pill-cta:hover { background: var(--accent-deep); }
.pill-cta.dark { background: var(--ink); color: var(--bg); }

/* hero */
.landing { background: var(--grain), var(--paper); color: var(--ink); }
:root[data-theme="dark"] .landing { background: var(--grain), #1b130d; }
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 110px clamp(18px, 5vw, 72px) 60px; overflow: hidden; }
.kicker { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mega { font-family: var(--big); font-weight: 400; font-size: clamp(52px, 11.5vw, 180px); line-height: .9; letter-spacing: 0; margin: 18px 0 28px; position: relative; z-index: 2; }
.mega .line { display: block; overflow: hidden; padding-bottom: .04em; }
.mega .word { display: inline-block; transform: translateY(110%); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.mega .line:nth-child(2) .word { transition-delay: .12s; }
.ready .mega .word { transform: none; }
.accent-word em { font-family: var(--display); font-style: italic; font-weight: 500; color: var(--accent); letter-spacing: -.02em; }
.hero-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; z-index: 2; }
.hero-lede { max-width: 420px; font-size: clamp(16px, 1.6vw, 20px); color: var(--ink-2); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s .4s, transform .8s .4s; }
.ready .reveal { opacity: 1; transform: none; }

/* round sticker CTA with spinning text */
.sticker { position: relative; width: 132px; height: 132px; flex: none; border-radius: 50%; border: 0; background: var(--amber); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px rgba(120,70,0,.3); }
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.sticker text { font: 700 11px var(--mono); letter-spacing: .2em; fill: var(--ink); }
.sticker span { font-size: 34px; transition: transform .3s; color: var(--cream); text-shadow: 2px 2px 0 var(--navy); }
.sticker:hover span { transform: scale(1.25) rotate(-12deg); }
@keyframes spin { to { transform: rotate(360deg); } }

/* floating photo / emoji stickers with mouse parallax */
.hero-stickers { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.fl { position: absolute; pointer-events: auto; transition: transform .25s ease-out, box-shadow .25s; will-change: transform; cursor: pointer; }
.fl.photo { width: clamp(110px, 13vw, 190px); aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; border: 6px solid var(--surface); box-shadow: 0 18px 40px rgba(50,25,10,.25); }
.fl.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fl.photo figcaption { position: absolute; left: 6px; bottom: 6px; right: 6px; font: 500 10px var(--mono); color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.fl.emoji { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); box-shadow: 0 10px 24px rgba(50,25,10,.18); }
.fl.emoji svg { width: 78%; height: auto; aspect-ratio: 240/200; }
.fl:hover { box-shadow: 0 24px 50px rgba(50,25,10,.35); z-index: 3; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--ink-2); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink-2); animation: cue 1.6s infinite; }
@keyframes cue { 60% { transform: translateY(12px); opacity: 0; } }

/* manifesto: words fill in as you scroll */
.manifesto { min-height: 120vh; display: flex; align-items: center; padding: 10vh clamp(18px, 6vw, 90px); }
.fill-text { font-family: var(--big); font-weight: 400; font-size: clamp(24px, 4vw, 58px); line-height: 1.12; letter-spacing: .01em; text-transform: uppercase; }
.fill-text .w { color: color-mix(in srgb, var(--ink) 16%, transparent); transition: color .3s; }
.fill-text .w.on { color: var(--ink); }
.fill-text .w.hl.on { color: var(--accent); }

/* personas: sticky stage, scroll changes persona */
.personas { position: relative; height: 380vh; }
.persona-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto 1fr auto; align-content: center; column-gap: 40px; padding: 90px clamp(18px, 5vw, 72px) 40px; color: var(--ink); }
.persona-bg { position: absolute; inset: 0; z-index: -1; background: var(--amber); transition: background .6s ease; }
.persona-bg::after { content: ""; position: absolute; inset: 0; background: var(--grain); }
.persona-kicker { grid-column: 1; font: 600 14px var(--mono); letter-spacing: .3em; }
.persona-name { grid-column: 1; font-family: var(--big); font-weight: 400; font-size: clamp(40px, 7vw, 112px); line-height: .95; letter-spacing: .01em; margin: 10px 0 18px; }
.persona-name .pw { display: inline-block; white-space: nowrap; }
.persona-name .ch { display: inline-block; animation: pop-in .5s cubic-bezier(.2,.9,.3,1.3) both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(40%) rotate(6deg); } }
.persona-line { grid-column: 1; max-width: 460px; font-size: 18px; }
.persona-art { grid-column: 2; grid-row: 1 / span 3; align-self: center; justify-self: center; font-size: clamp(120px, 20vw, 300px); line-height: 1; filter: drop-shadow(0 30px 40px rgba(0,0,0,.25)); animation: float 4s ease-in-out infinite; transition: transform .5s; }
@keyframes float { 50% { transform: translateY(-16px) rotate(-4deg); } }
.persona-picks { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0 18px; }
.pick { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: rgba(255,250,244,.82); color: #2a1b12; border: 0; text-align: left; cursor: pointer; transition: transform .25s, background .25s; animation: fadeUp .5s both; }
.pick:nth-child(2) { animation-delay: .07s; } .pick:nth-child(3) { animation-delay: .14s; }
.pick:hover { transform: translateY(-4px) rotate(-1deg); background: #fffaf4; }
.pick .thumb { width: 54px; height: 54px; flex: none; border-radius: 12px; overflow: hidden; display: grid; place-items: center; }
.pick .thumb .mono { font-size: 15px; }
.pick .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pick b { display: block; font: 400 14px var(--display); letter-spacing: .01em; }
.pick small { font: 11px var(--mono); color: #6b5545; }
#personaGo { grid-column: 1; justify-self: start; }
.persona-dots { position: absolute; right: clamp(14px, 3vw, 40px); top: 50%; transform: translateY(-50%); list-style: none; padding: 0; display: grid; gap: 10px; }
.persona-dots { gap: 4px !important; }
.persona-dots button { position: relative; width: 28px; height: 28px; border: 0; background: none; padding: 0; color: inherit; }
.persona-dots button::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 2px solid currentColor; transition: transform .2s, background .2s; }
.persona-dots button[aria-current="true"]::after { background: currentColor; transform: scale(1.3); }

/* galaxy: bubble chart */
.galaxy { padding: 14vh clamp(18px, 5vw, 72px) 10vh; }
.galaxy-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 30px; margin-bottom: 26px; }
.galaxy-head p { grid-column: 1; max-width: 520px; color: var(--ink-2); }
.big-title { font-family: var(--big); font-weight: 400; font-size: clamp(36px, 6.4vw, 96px); line-height: .95; letter-spacing: .01em; }
.big-title em { font-family: var(--display); font-style: italic; font-weight: 500; color: var(--accent); letter-spacing: -.02em; }
.galaxy-seg { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.galaxy-field { position: relative; height: 640px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.cluster-label { position: absolute; transform: translate(-50%, 0); font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); pointer-events: none; transition: left .8s cubic-bezier(.2,.8,.2,1), top .8s cubic-bezier(.2,.8,.2,1), opacity .4s; white-space: nowrap; }
.bubble { position: absolute; left: 0; top: 0; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; overflow: hidden; cursor: pointer; transition: transform .9s cubic-bezier(.2,.8,.2,1), box-shadow .2s, filter .2s; box-shadow: 0 4px 14px rgba(60,30,10,.15); }
.bubble img { width: 100%; height: 100%; object-fit: cover; }
.bubble .mono.bub { font-size: clamp(9px, 1.1vw, 15px); border: 3px solid var(--surface); border-radius: 50%; }
.bubble:hover, .bubble:focus-visible { z-index: 5; box-shadow: 0 0 0 4px var(--surface), 0 0 0 7px var(--accent), 0 14px 30px rgba(60,30,10,.3); outline: none; }
.bubble.dim { filter: grayscale(1) opacity(.35); }
.bubble-tip { position: absolute; z-index: 10; pointer-events: none; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 13px; box-shadow: var(--shadow-lg); white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); }
.bubble-tip small { display: block; font: 11px var(--mono); opacity: .75; }

/* photo cards in the finder */
.card.has-photo .ico { padding: 0; overflow: hidden; }
.card .ico img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .ico img { transform: scale(1.12); }
.rating { display: inline-flex; align-items: center; gap: 4px; font: 500 12px var(--mono); color: var(--ink); }
.rating i { color: var(--amber); font-style: normal; }
.d-photo { position: relative; height: 230px; margin: -1px -1px 0; overflow: hidden; background: var(--surface-2); }
.d-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .3s; }
.d-photo .credit { position: absolute; left: 10px; bottom: 8px; right: 60px; font: 10.5px var(--mono); color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.d-photo .credit a { color: #fff; }
.d-photo .nav { position: absolute; right: 8px; bottom: 6px; display: flex; gap: 4px; }
.d-photo .nav button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: #2a1b12; font-size: 12px; }
.d-nophoto { display: grid; place-items: center; align-content: center; gap: 8px; height: 150px; background: var(--grain), var(--peach); }
.d-nophoto small { font: 500 10.5px var(--mono); color: var(--navy); opacity: .7; }
.rating-box { display: flex; align-items: center; gap: 12px; font-size: 13px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.rating-box:hover { border-color: var(--accent); }
.rating-box .big { font: 600 26px var(--display); }
.rating-box .stars { color: var(--amber); letter-spacing: 1px; }
.rating-box small { color: var(--muted); }

/* footer */
.lfoot { padding: 12vh clamp(18px, 5vw, 72px) 6vh; background: var(--ink); color: var(--bg); }
.lfoot-big { font-family: var(--big); font-weight: 800; font-size: clamp(70px, 18vw, 280px); line-height: .8; letter-spacing: -.05em; margin-bottom: 30px; }
.lfoot-big em { font-family: var(--display); font-style: italic; font-weight: 500; color: var(--amber); }
.lfoot > p:last-child { max-width: 560px; font-size: 13px; opacity: .7; }

/* cursor glow (desktop only) */
.cursor-dot { position: fixed; left: 0; top: 0; z-index: 4000; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); pointer-events: none; mix-blend-mode: multiply; transition: width .2s, height .2s, margin .2s, opacity .2s; opacity: 0; }
.cursor-dot.on { opacity: .9; }
.cursor-dot.big { width: 54px; height: 54px; margin: -27px 0 0 -27px; opacity: .35; }

@media (max-width: 900px) {
  .lnav-links { display: none; }
  .persona-stage { grid-template-columns: 1fr; grid-template-rows: auto; align-content: start; padding-top: 100px; }
  .persona-art { grid-column: 1; grid-row: auto; font-size: 110px; justify-self: start; margin: 8px 0; }
  .persona-picks { grid-template-columns: 1fr; gap: 8px; margin: 14px 0; }
  .persona-dots { right: 10px; }
  .galaxy-head { grid-template-columns: 1fr; }
  .galaxy-seg { grid-column: 1; grid-row: auto; justify-self: start; }
  .galaxy-field { height: 760px; }
  .hero-row { flex-direction: column; align-items: flex-start; }
  .fl.photo { width: 96px; }
  .fl.emoji { width: 62px; height: 62px; }
}
@media (max-width: 760px) {
  .lnav { top: 8px; }
  body:not(.in-finder) .view-toggle, body:not(.in-finder) .compare-bar { display: none !important; }
}
@media (hover: none) { .cursor-dot { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .mega .word, .reveal { transform: none !important; opacity: 1 !important; }
  .sticker svg, .persona-art { animation: none; }
}


/* ---------- S&S brand system ---------- */
.script, .script-word { font-family: var(--script); font-weight: 400; letter-spacing: 0; text-transform: none; }
.script-word { color: #c4502f; text-shadow: .045em .045em 0 var(--navy); }   /* large text: 3.8:1 */
.seal-text { font: 700 10.5px var(--sans); letter-spacing: 2px; }
.seal-small { font: 700 7px var(--sans); letter-spacing: 1.5px; }
.logo { width: 38px; height: 38px; flex: none; }
.nav-word { font-size: 26px; line-height: 1; text-shadow: 1.5px 1.5px 0 var(--navy); }
.topbar .nav-word { font-size: 25px; }
.brand { gap: 8px; }
.brand:hover .logo { animation: wobble .6s; }
@keyframes wobble { 30% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } }
:root[data-theme="dark"] .script-word { text-shadow: .045em .045em 0 #000; }


/* hero: headline over a tonal storefront, Cyclemon-style */
.hero-store { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(980px, 92%); height: auto; aspect-ratio: 600 / 320; color: var(--coral); opacity: .42; z-index: 0; pointer-events: none; }
.mega .accent-word { font-size: 1.45em; line-height: .78; padding: 0 .06em; }
.sticker { background: var(--coral); color: var(--cream); }
.sticker text { fill: var(--cream); }
.pill-cta { background: #b8452a; color: #fff4e6; }
.pill-cta:hover { background: #8f3420; }
.pill-cta.dark { background: var(--navy); color: var(--cream); }
.fl.photo { border-color: var(--cream); }
.cursor-dot { background: var(--coral); }

/* persona art is now an illustration */
.persona-art svg { width: clamp(220px, 30vw, 420px); height: auto; aspect-ratio: 240 / 200; display: block; }
.persona-art { font-size: 0; }

/* section titles use the script accent */
.big-title .script-word { font-size: 1.1em; }
.results-hero h2 .script-word { font-size: 1.05em; }

/* footer: seal + script wordmark */
.lfoot { background: var(--navy-dk); color: var(--cream); }
.lfoot-brand { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); margin-bottom: 30px; }
.lfoot-seal { width: clamp(110px, 14vw, 190px); height: auto; aspect-ratio: 1; flex: none; animation: spin 30s linear infinite; }
.lfoot-big { font-family: var(--script); font-weight: 400; font-size: clamp(64px, 13vw, 200px); letter-spacing: 0; line-height: 1; margin: 0; color: var(--coral); text-shadow: .04em .04em 0 #000; }

@media (max-width: 900px) {
  .persona-art svg { width: 200px; }
  .hero-store { width: 130%; opacity: .32; }
  .nav-word { font-size: 22px; }
}


/* ---------- Cyclemon-style persona sections ---------- */
.persona-stage { display: flex !important; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0; padding: 84px clamp(18px, 5vw, 72px) 28px; }
.persona-kicker { display: grid; justify-items: center; gap: 2px; margin: 0; }
.persona-kicker svg { width: 150px; height: 38px; overflow: visible; }
.persona-kicker text { font: 700 13px var(--sans); letter-spacing: 4px; fill: currentColor; }
.kdash { width: 22px; height: 3px; border-radius: 2px; background: currentColor; opacity: .7; }
.persona-name { margin: 6px 0 4px !important; font-weight: 400; }
.persona-scene-wrap { position: relative; width: min(760px, 100%); height: clamp(170px, 30vh, 300px); display: grid; place-items: end center; }
.persona-scene { position: absolute; inset: 0; width: 100%; height: 100%; color: #fff; opacity: .28; }
.persona-art { position: relative; grid-column: auto !important; grid-row: auto !important; align-self: end !important; }
.persona-art svg { width: clamp(200px, 26vw, 330px) !important; }
.persona-line { max-width: 560px; margin: 10px auto 0; font-size: 16px; }
.persona-picks { width: min(860px, 100%); margin: 16px auto 14px !important; }
#personaGo { align-self: center; }

/* hero stickers: illustrations in cream circles */
.fl.art { width: clamp(96px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; background: var(--cream); box-shadow: 0 14px 34px rgba(60,30,10,.18); cursor: pointer; }
.fl.art svg { width: 80%; height: auto; aspect-ratio: 240 / 200; }
.fl.art:hover { box-shadow: 0 0 0 4px var(--coral), 0 20px 40px rgba(60,30,10,.25); }

/* bubbles show initials in the group colour */
.bubble .mono.bub { background: transparent; color: inherit; border: 0; }

@media (max-width: 900px) {
  .persona-scene-wrap { height: 170px; }
  .persona-art svg { width: 190px !important; }
  .fl.art { width: 70px; }
}

/* persona stage must fit one screen, even on short laptops and phones */
.persona-art { justify-self: center !important; margin: 0 !important; }
@media (max-width: 900px) {
  .persona-picks { display: flex !important; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
  .pick { flex: 0 0 min(260px, 78%); scroll-snap-align: center; }
}
@media (max-height: 820px) {
  .persona-stage { padding-top: 76px; padding-bottom: 16px; }
  .persona-name { font-size: clamp(32px, 6vw, 84px) !important; }
  .persona-scene-wrap { height: clamp(120px, 24vh, 200px); }
  .persona-art svg { width: clamp(150px, 20vw, 240px) !important; }
  .persona-line { font-size: 14.5px; margin-top: 6px; }
  .persona-picks { margin: 10px auto 10px !important; }
  .pick { padding: 7px; }
  .pick .thumb { width: 42px; height: 42px; }
}


/* ---------- hero as a centred Cyclemon-style poster ---------- */
.hero { align-items: center; text-align: center; }
.poster { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; max-width: 900px; }
.hero-seal { width: clamp(86px, 9vw, 120px); height: auto; aspect-ratio: 1; margin-bottom: 6px; animation: sealSpin 40s linear infinite; filter: drop-shadow(0 8px 18px rgba(120,50,20,.25)); }
@keyframes sealSpin { to { transform: rotate(360deg); } }
.hero-kicker { color: var(--navy); }
.hero-kicker svg { width: 250px; height: 44px; }
.hero .mega { margin: 0; color: var(--navy); }
.hero .mega .word { font-size: clamp(96px, 22vw, 300px); line-height: .82; letter-spacing: .01em; }
.hero .mega .sub { font-size: clamp(40px, 7vw, 92px); line-height: 1; margin-top: -.05em; }
.hero .mega .line:nth-child(2) { overflow: visible; }
.hero-lede { margin: 18px auto 0; text-align: center; }
.hero-ctas { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; justify-content: center; }
.pill-cta.ghost-cta { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.pill-cta.ghost-cta:hover { background: var(--navy); color: var(--cream); }
.hero .kicker { margin-top: 26px; }
.hero-row { display: none; }
@media (max-width: 760px) {
  .hero-kicker svg { width: 210px; }
  .hero .mega .word { font-size: 30vw; }
}
.hero .mega .line { padding-top: .12em; }          /* room for the É accent */
.hero { padding-top: 120px; }
.nav-word { white-space: nowrap; }
@media (max-width: 760px) {
  .hero { padding-top: 96px; }
  .hero .mega .word { font-size: 31vw; }
  .hero .mega .word.sub { font-size: 13vw; }
  .hero-stickers { display: none; }                 /* keep the poster clean on phones */
  .hero .kicker { font-size: 10px; }
}
.hero .mega .line:first-child { padding-top: .26em; margin-top: -.16em; }
.hero-kicker { margin-bottom: 0; }


/* ---------- owner's favs ---------- */
.favs { padding: 12vh clamp(18px, 5vw, 72px) 10vh; text-align: center; background: var(--grain), var(--cream); }
.favs-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 34px; color: var(--navy); }
.favs-kicker svg { width: 200px; height: 44px; }
.favs-title { font-family: var(--big); font-weight: 400; font-size: clamp(72px, 14vw, 190px); line-height: .85; color: var(--navy); margin: 4px 0 0; }
.favs-sub { font-size: clamp(26px, 3.6vw, 44px); margin-top: 4px; }
.favs-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1120px; margin: 0 auto; text-align: left; }
.fav-card { display: flex; flex-direction: column; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: 0 10px 28px rgba(60,30,10,.12); transform: rotate(var(--tilt)); transition: transform .3s cubic-bezier(.2,.9,.3,1.3), box-shadow .3s; }
.fav-card:hover, .fav-card:focus-visible { transform: rotate(0) translateY(-6px); box-shadow: 0 22px 44px rgba(60,30,10,.2); outline: none; }
.fav-media { position: relative; height: 190px; display: block; background: var(--peach); }
.fav-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fav-mono { font-size: 54px !important; border-radius: 0 !important; }
.fav-stamp { position: absolute; right: 12px; top: 12px; width: 52px; height: 52px; transform: rotate(-14deg); filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); transition: transform .3s; }
.fav-card:hover .fav-stamp { transform: rotate(8deg) scale(1.08); }
.fav-body { display: grid; gap: 6px; padding: 16px 18px 20px; }
.fav-tag { justify-self: start; font: 700 11px var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--cream); background: var(--coral-dk); padding: 3px 10px; border-radius: 999px; }
.fav-name { font: 400 22px/1.1 var(--big); color: var(--navy); }
.fav-meta { font-size: 12.5px; color: var(--muted); }
.fav-note { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.fav-card.lit { transform: rotate(0) scale(1.03); box-shadow: 0 0 0 4px var(--marigold), 0 20px 40px rgba(60,30,10,.2); }
.fav-card.won { transform: rotate(0) scale(1.06); box-shadow: 0 0 0 5px var(--coral-dk), 0 26px 50px rgba(60,30,10,.28); }
.favs-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
@media (max-width: 900px) {
  .favs-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 8px 4px 16px; scrollbar-width: none; }
  .fav-card { flex: 0 0 min(300px, 82%); scroll-snap-align: center; }
  .fav-media { height: 160px; }
}
.fav-card { text-align: left; }
@media (max-width: 440px) { .lnav .pill-cta { display: none; } }


/* ---------- static café directory (crawlable list, also handy for people) ---------- */
.directory { padding: 10vh clamp(18px, 5vw, 72px); background: var(--grain), var(--cream); color: var(--ink); }
.directory h2 { font: 400 clamp(30px, 5vw, 56px)/1 var(--big); color: var(--navy); margin-bottom: 28px; text-align: center; }
.dir-grid { columns: 3 260px; column-gap: 34px; max-width: 1120px; margin: 0 auto; }
.dir-hood { break-inside: avoid; margin-bottom: 22px; }
.dir-hood h3 { font: 700 12px var(--sans); letter-spacing: 2px; text-transform: uppercase; color: #b8452a; margin-bottom: 6px; }
.dir-hood ul { list-style: none; padding: 0; display: grid; gap: 5px; }
.dir-hood a { font: 400 15px var(--big); color: var(--navy); text-decoration: none; }
.dir-hood a:hover { color: #b8452a; text-decoration: underline; }
.dir-hood span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.dir-hood a { display: inline-block; padding: 4px 0; min-height: 28px; }

/* S&S seal sits in the hero's top-right corner as a tilted badge, not in the middle */
.hero-seal.corner { position: absolute; top: clamp(92px, 12vh, 130px); right: clamp(16px, 5vw, 80px); width: clamp(96px, 11vw, 150px); margin: 0; z-index: 3; rotate: 12deg; }
@media (max-width: 760px) { .hero-seal.corner { width: 74px; top: 78px; right: 12px; } }


/* ---------- S&S pin logo rollout ---------- */
.logo { width: 34px; height: 37px; }
.hero-seal.corner { width: clamp(78px, 8vw, 116px); aspect-ratio: 120 / 130; height: auto; animation: pinBob 3.6s ease-in-out infinite; rotate: 10deg; filter: drop-shadow(0 12px 16px rgba(120,50,20,.25)); }
@keyframes pinBob { 50% { transform: translateY(-8px); } }
.lfoot-seal { width: clamp(84px, 10vw, 130px); height: auto; aspect-ratio: 120 / 130; animation: pinBob 4s ease-in-out infinite; }
.lfoot-swash { display: block; width: min(520px, 90%); height: 16px; color: var(--marigold); margin: 4px 0 10px; }
.lfoot-tag { font: 700 12px var(--sans); letter-spacing: 4px; color: var(--cream); opacity: .85; }
.lfoot-big { color: var(--marigold) !important; }
.fav-stamp { width: 44px !important; height: 48px !important; }
@media (max-width: 760px) { .hero-seal.corner { width: 60px; top: 74px; } }



/* ---------- logo G: diner sign ---------- */
.g-word { font-family: var(--script); font-weight: 400; color: #b8452a; text-shadow: .06em .06em 0 var(--navy); letter-spacing: 0; line-height: 1; white-space: nowrap; }
.nav-g { font-size: 25px; }
.topbar .nav-g { font-size: 23px; }
.g-pill { display: inline-block; background: var(--navy); color: #fff4e6; font: 700 10px var(--sans); letter-spacing: 2.5px; padding: 4px 12px; border-radius: 999px; }
.hero-sign.corner { position: absolute; top: clamp(96px, 13vh, 140px); right: clamp(16px, 5vw, 80px); z-index: 3; display: grid; justify-items: center; gap: 8px; padding: 16px 20px 14px; background: #fff4e6; border-radius: 20px; box-shadow: 0 14px 30px rgba(120,50,20,.18); rotate: 7deg; animation: pinBob 3.6s ease-in-out infinite; }
.hero-sign .g-word { font-size: clamp(26px, 2.6vw, 38px); }
.g-lockup { display: grid; justify-items: start; gap: 14px; }
.lfoot-g { font-size: clamp(60px, 11vw, 170px); color: #f2b24c; text-shadow: .05em .05em 0 #000; }
.lfoot .g-pill { background: #b8452a; font-size: 11px; }
.fav-stamp { width: 46px !important; height: 46px !important; }
/* Shrikhand is heavier than the old script: rebalance accent sizes */
.hero .mega .sub { font-size: clamp(34px, 5.6vw, 76px) !important; }
.favs-sub { font-size: clamp(22px, 3vw, 36px); }
.big-title .script-word { font-size: .9em; }
@media (max-width: 760px) {
  .hero-sign.corner { padding: 10px 12px; top: 80px; right: 10px; }
  .hero-sign .g-word { font-size: 18px; }
  .hero-sign .g-pill { font-size: 8px; padding: 3px 8px; }
  .hero .mega .word.sub { font-size: 10vw !important; }
}

/* the bubble chart is a desktop treat: cramped and fiddly on small screens */
@media (max-width: 760px) {
  #galaxy { display: none; }
  .lnav-links a[href="#galaxy"] { display: none; }
}
.lfoot a { color: #f2b24c; }
