/* nomesh.cloud's front page. Quiet and spacious: big tight type, grey text with the key phrase in
   black, the real app shown large, one accent (chilli) for actions only. The per-place pages
   (mess.html) use it too, with mess.css. No inline styles anywhere: the content policy is style-src 'self'. */

:root {
  --bg: #ffffff;
  --soft: #f5f5f7;
  --ink: #1d1d1f;
  --grey: #6e6e73;
  --line: #d2d2d7;
  --accent: #d4361b;
  --accent-ink: #ffffff;
  --link: #c22f15;
  --frame: #e3e3e8;
  --frame-edge: #c7c7cc;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --soft: #111113; --ink: #f5f5f7; --grey: #a1a1a6; --line: #38383d;
    --accent: #ff7a5c; --accent-ink: #1d1d1f; --link: #ff8f75; --frame: #2c2c2e; --frame-edge: #48484a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --soft: #111113; --ink: #f5f5f7; --grey: #a1a1a6; --line: #38383d;
  --accent: #ff7a5c; --accent-ink: #1d1d1f; --link: #ff8f75; --frame: #2c2c2e; --frame-edge: #48484a;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.47 var(--font); letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 700; color: var(--ink); }
p { margin: 0; }
b { font-weight: 600; color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1080px, 100% - 44px); margin-inline: auto; }
section { padding: clamp(88px, 13vw, 160px) 0; text-align: center; }
.soft { background: var(--soft); }
.eyebrow { font-size: clamp(19px, 2vw, 24px); font-weight: 600; color: var(--accent); letter-spacing: -0.01em; margin-bottom: 10px; }
h2 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.035em; }
h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; }
.lead { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.38; color: var(--grey); font-weight: 500; letter-spacing: -0.02em; max-width: 820px; margin: 28px auto 0; }
.lead.narrow { max-width: 700px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 500 17px/1 var(--font); letter-spacing: -0.01em; border: 0; cursor: pointer; transition: transform 0.4s var(--ease), filter 0.2s ease; }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: default; }
.link { font-size: 17px; font-weight: 500; }
.center-row, .hero-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-top: 36px; }

/* The bar: thin, translucent, out of the way */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid transparent; transition: border-color 0.3s ease; }
.nav.scrolled { border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent); }
.nav-in { width: min(1080px, 100% - 32px); margin-inline: auto; height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.nav-brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--ink); opacity: 0.8; font-size: 13px; letter-spacing: -0.01em; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-cta { font-size: 13px; font-weight: 500; color: var(--accent-ink); background: var(--accent); padding: 6px 14px; border-radius: 999px; }
.nav-cta:hover { text-decoration: none; filter: brightness(1.06); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* The phone: the real screen in a quiet frame */
.phone { position: relative; margin: 0; width: min(300px, 74vw); aspect-ratio: 390 / 776; padding: 8px; border-radius: 48px; background: linear-gradient(155deg, color-mix(in srgb, var(--frame) 60%, #fff), var(--frame)); box-shadow: inset 0 0 0 1px var(--frame-edge), 0 1px 1px rgba(0, 0, 0, 0.04), 0 30px 60px -28px rgba(0, 0, 0, 0.28); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 40px; background: #f6f6f4; }
.phone.dark-frame { background: linear-gradient(155deg, #3a3a3c, #1c1c1e); box-shadow: inset 0 0 0 1px #48484a, 0 40px 80px -30px rgba(0, 0, 0, 0.9); }
.phone.center { margin: clamp(48px, 7vw, 80px) auto 0; }

/* Opening */
.hero { padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero .eyebrow { margin-bottom: 14px; }
.hero h1 { font-size: clamp(48px, 9vw, 112px); line-height: 1; letter-spacing: -0.045em; }
.hero-sub { font-size: clamp(21px, 2.6vw, 28px); line-height: 1.3; color: var(--grey); font-weight: 500; letter-spacing: -0.02em; max-width: 680px; margin: 24px auto 0; }
.hero-stage { position: relative; height: clamp(440px, 62vw, 680px); margin-top: clamp(48px, 7vw, 88px); display: flex; justify-content: center; align-items: flex-start; }
.hero-stage { --pw: clamp(220px, 25vw, 300px); }
.hero-stage .phone { position: absolute; top: 0; width: var(--pw); }
.hero-stage .front { z-index: 2; }
.hero-stage .side { top: 8%; transform: scale(0.88); opacity: 0.96; }
.hero-stage .left { left: calc(50% - var(--pw) * 1.42); }
.hero-stage .right { right: calc(50% - var(--pw) * 1.42); }
.hero-note { margin-top: 28px; font-size: 14px; color: var(--grey); }
@media (max-width: 640px) {
  .hero-stage { height: 520px; }
  .hero-stage .side { display: none; }
  .hero-stage .front { width: min(280px, 76vw); }
}

/* The idea */
.statement h2 { font-size: clamp(36px, 5.4vw, 64px); }

/* Paying: black, a phone that stays while the steps go by */
.dark { background: #000; color: #f5f5f7; --ink: #f5f5f7; --grey: #86868b; --line: #333336; }
.dark h2, .dark h3, .dark b { color: #f5f5f7; }
.pay { padding-bottom: clamp(88px, 12vw, 140px); }
.pay-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(56px, 8vw, 96px); text-align: left; }
.pay-stage { position: sticky; top: calc(50vh - 300px); align-self: start; display: flex; justify-content: center; }
.pay-stage .phone { width: min(290px, 70vw); }
.pay-steps { list-style: none; margin: 0; padding: 12vh 0; }
.step { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transform: translateY(12px); }
.step.on { opacity: 1; transform: none; }
.step .n { font-size: 15px; font-weight: 600; color: #86868b; letter-spacing: 0.02em; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.08; }
.step p { margin-top: 16px; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.42; color: #a1a1a6; max-width: 440px; }
.step i { color: #f5f5f7; font-style: normal; font-weight: 600; }
.codes { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; max-width: 760px; margin-top: clamp(40px, 6vw, 72px); padding: 36px 24px; border-radius: 28px; background: #161617; }
.codes div { display: grid; gap: 6px; }
.codes small { font-size: 13px; color: #86868b; }
.codes b { font-size: clamp(30px, 5vw, 52px); letter-spacing: 0.06em; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.codes span { font-size: 15px; color: #a1a1a6; }
.codes i { width: 44px; height: 1px; background: linear-gradient(90deg, transparent, #ff7a5c, transparent); }
.fine { margin-top: 24px; font-size: 14px; color: #86868b; }
@media (max-width: 560px) {
  .codes { grid-template-columns: 1fr; gap: 20px; }
  .codes i { justify-self: center; width: 1px; height: 28px; background: linear-gradient(180deg, transparent, #ff7a5c, transparent); }
}
@media (max-width: 820px) {
  .pay-story { grid-template-columns: 1fr; }
  .pay-stage { position: relative; top: 0; }
  .pay-steps { padding: 0; }
  .step { min-height: 0; padding: 36px 0; opacity: 1; transform: none; text-align: center; align-items: center; }
  .step p { margin-inline: auto; }
}

/* nomesh Now */
.minutes { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 880px; margin-top: clamp(48px, 7vw, 80px); }
.minutes div { display: grid; justify-items: center; padding: 8px 0; }
.minutes div + div { border-left: 1px solid var(--line); }
.minutes b { font-size: clamp(56px, 9vw, 104px); line-height: 1; font-weight: 600; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.minutes div:first-child b { color: var(--accent); }
.minutes span { font-size: 17px; font-weight: 600; margin-top: 4px; }
.minutes small { font-size: 14px; color: var(--grey); margin-top: 6px; }
@media (max-width: 560px) {
  .minutes { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .minutes div:nth-child(3) { border-left: 0; }
}

/* Plans and the food */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; text-align: left; }
.split .lead { margin-left: 0; }
.split .phone { justify-self: center; }
.facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--grey); font-size: 17px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; text-align: center; }
  .split .lead { margin-inline: auto; }
  .facts { text-align: left; }
}
.gallery-head { display: flex; justify-content: space-between; align-items: end; margin-top: clamp(80px, 11vw, 140px); text-align: left; }
.gallery-head h3 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; }
.gallery-nav { display: flex; gap: 10px; }
.gallery-nav button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; transition: background 0.2s ease; }
.gallery-nav button:hover { background: color-mix(in srgb, var(--ink) 14%, transparent); }
.gallery { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px max(22px, calc((100% - 1080px) / 2)) 8px; scroll-padding-inline: max(22px, calc((100% - 1080px) / 2)); scrollbar-width: none; text-align: left; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { position: relative; flex: 0 0 auto; width: clamp(250px, 27vw, 340px); margin: 0; scroll-snap-align: start; border-radius: 28px; overflow: hidden; background: var(--soft); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 18px 40px -24px rgba(0, 0, 0, 0.35); isolation: isolate; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.4s var(--ease), filter 1.4s var(--ease); }
.gallery figure::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.32) 55%, transparent); pointer-events: none; }
.gallery figure:hover img { transform: scale(1.045); filter: saturate(1.06); }
.gallery figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; color: #fff; font-size: 22px; font-weight: 650; letter-spacing: -0.025em; line-height: 1.15; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25); }
.gallery figcaption span { display: block; margin-top: 6px; font-size: 14px; font-weight: 450; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.82); }

/* For kitchens */
.tablet { width: min(1080px, 100% - 44px); margin: clamp(56px, 8vw, 96px) auto 0; }
.tablet img { border-radius: 26px; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, 0.35); }
.tablet figcaption { margin-top: 18px; font-size: 15px; color: var(--grey); }
.columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin-top: clamp(56px, 8vw, 88px); text-align: left; }
.columns h3 { font-size: 19px; }
.columns p { margin-top: 8px; color: var(--grey); font-size: 15px; line-height: 1.5; }
@media (max-width: 860px) { .columns { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .columns { grid-template-columns: 1fr; } }

/* Every role */
.role-list { max-width: 820px; margin: clamp(48px, 7vw, 72px) auto 0; text-align: left; border-top: 1px solid var(--line); }
.role-list div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.role-list dt { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -0.025em; }
.role-list dd { margin: 0; font-size: 17px; color: var(--grey); }
@media (max-width: 560px) { .role-list div { grid-template-columns: 1fr; gap: 4px; } }

/* AI assistants: a quiet thread */
.thread { max-width: 560px; margin: clamp(48px, 7vw, 72px) auto 0; display: grid; gap: 10px; text-align: left; }
.msg { justify-self: start; max-width: 82%; padding: 12px 16px; border-radius: 20px; background: var(--soft); font-size: 17px; line-height: 1.38; }
.msg.me { justify-self: end; background: var(--accent); color: var(--accent-ink); }

/* Promises as numbers */
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: clamp(48px, 7vw, 80px); }
.numbers b { display: block; font-size: clamp(64px, 9vw, 112px); line-height: 1; font-weight: 600; letter-spacing: -0.05em; }
.numbers p { margin: 14px auto 0; max-width: 280px; color: var(--grey); font-size: 17px; }
@media (max-width: 720px) { .numbers { grid-template-columns: 1fr; gap: 48px; } }

/* Find a mess */
.search { display: flex; gap: 8px; max-width: 460px; margin: 40px auto 0; padding: 6px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 19px/1 var(--font); color: var(--ink); padding: 0 18px; letter-spacing: 0.02em; }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.search button { border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 500 17px/1 var(--font); padding: 0 22px; min-height: 44px; cursor: pointer; }
.status { margin-top: 18px; color: var(--grey); font-size: 15px; min-height: 22px; }
.status.bad { color: var(--link); }
.chips { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.chips button { border: 0; border-radius: 999px; padding: 8px 16px; font: 500 14px/1 var(--font); background: var(--soft); color: var(--ink); cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; margin-top: 40px; text-align: left; }
.place { display: flex; flex-direction: column; color: var(--ink); border-radius: 28px; overflow: hidden; background: var(--bg); box-shadow: 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent), 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -20px rgba(0, 0, 0, 0.18); transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease); isolation: isolate; }
.place:hover { text-decoration: none; transform: translateY(-6px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent), 0 2px 4px rgba(0, 0, 0, 0.04), 0 32px 64px -30px rgba(0, 0, 0, 0.38); }
.place-pic { position: relative; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.place-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.place:hover .place-pic img { transform: scale(1.05); }
.place-pic::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent); pointer-events: none; }
.place-pic .tag { position: absolute; z-index: 1; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0; background: rgba(255, 255, 255, 0.86); color: #1d1d1f; backdrop-filter: saturate(1.8) blur(14px); -webkit-backdrop-filter: saturate(1.8) blur(14px); }
.place-pic .tag.open { background: var(--accent); color: #fff; }
.place-pic .price { position: absolute; z-index: 1; right: 16px; bottom: 14px; color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); }
.place-pic .price small { font-size: 13px; font-weight: 500; opacity: 0.85; }
.place-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.place-body h3 { font-size: 22px; letter-spacing: -0.025em; }
.place-area { margin-top: 4px; font-size: 14px; color: var(--grey); }
.place-about { margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--grey); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.place-menu { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.place-menu .thumbs { display: flex; }
.place-menu .thumbs img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--bg); background: var(--soft); }
.place-menu .thumbs img + img { margin-left: -9px; }
.place-menu p { font-size: 13px; color: var(--grey); line-height: 1.3; }
.place-go { margin-top: auto; padding-top: 16px; font-size: 15px; font-weight: 500; color: var(--link); }
.place.ghost { min-height: 420px; background: var(--soft); box-shadow: none; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.55; } }
.ask { max-width: 640px; margin: 48px auto 0; padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: var(--soft); text-align: left; }
.ask[hidden] { display: none; }
.ask h3 { font-size: 28px; letter-spacing: -0.025em; }
.ask > p { margin-top: 8px; color: var(--grey); }
.ask form { display: grid; gap: 16px; margin-top: 24px; }
.ask .row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.ask label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--grey); }
.ask input[type="text"], .ask input:not([type]), .ask input[type="email"] { font: 400 17px/1.2 var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; }
.ask input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.seg { display: flex; gap: 0; border: 0; padding: 4px; margin: 0; border-radius: 12px; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seg label { flex: 1; display: block; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 9px 0; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--ink); transition: background 0.25s ease, box-shadow 0.25s ease; }
.seg input:checked + span { background: var(--bg); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }
.check { grid-template-columns: auto 1fr !important; align-items: start; gap: 10px !important; font-weight: 400 !important; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.ask .btn { justify-self: start; }
@media (max-width: 520px) { .ask .row { grid-template-columns: 1fr; } }

/* On your phone */
.stores { list-style: none; padding: 0; margin: 48px auto 0; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.stores li { display: grid; gap: 2px; min-width: 170px; padding: 16px 22px; border-radius: 18px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.stores b { font-size: 17px; }
.stores span { font-size: 13px; color: var(--grey); }
.stores li:first-child { box-shadow: 0 0 0 2px var(--accent); }

/* Questions */
.faq .qa { max-width: 820px; margin: clamp(40px, 6vw, 64px) auto 0; text-align: left; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(19px, 2vw, 22px); font-weight: 600; letter-spacing: -0.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: 0 0 auto; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.6px 14px no-repeat; transition: transform 0.5s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 48px 26px 0; color: var(--grey); font-size: 17px; line-height: 1.5; }

/* Closing */
.closing { background: var(--soft); }
.closing h2 { font-size: clamp(44px, 7vw, 88px); }

/* Footer */
.foot { background: var(--soft); border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13px; color: var(--grey); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { color: var(--grey); }
.credits { margin-top: 18px; }
.credits summary { cursor: pointer; width: fit-content; }
.credits p { margin-top: 8px; max-width: 820px; line-height: 1.5; }
.credits a { color: var(--grey); text-decoration: underline; }
.legal { margin-top: 16px; }

/* Motion: arrive slowly and settle. Off for anyone who asks for less. */
.js .rise, .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .rise.in, .js .reveal.in { opacity: 1; transform: none; }
.js .hero .rise:nth-of-type(2) { transition-delay: 0.08s; }
.js .hero .rise:nth-of-type(3) { transition-delay: 0.16s; }
.js .hero .rise:nth-of-type(4) { transition-delay: 0.24s; }
.js .hero-stage .phone { opacity: 0; transform: translateY(80px) scale(0.96); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.js .hero-stage.in .front { opacity: 1; transform: none; transition-delay: 0.2s; }
.js .hero-stage.in .side { opacity: 0.96; transform: scale(0.88); transition-delay: 0.38s; }
.hero-stage .phone { will-change: transform; }
.js .columns .reveal:nth-child(2), .js .numbers .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .columns .reveal:nth-child(3), .js .numbers .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .columns .reveal:nth-child(4) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .reveal, .js .hero-stage .phone, .step { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .hero-stage .side { transform: scale(0.88) !important; }
  .place, .place-pic img, .gallery img, .btn { transition: none; }
  .place.ghost { animation: none; }
}

/* Photos arrive softly (home.js marks each .ld): a fade from a little blur, one gentle grade for all the food. */
.js :is(.gallery img, .place-pic img, .place-menu img, .mp-mosaic img, .dish-photo img) { opacity: 0; filter: blur(10px); transition: opacity 0.8s var(--ease), filter 1s var(--ease), transform 1.4s var(--ease); }
.js :is(.gallery img, .place-pic img, .place-menu img, .mp-mosaic img, .dish-photo img).ld { opacity: 1; filter: saturate(1.06) contrast(1.03); }
.mp-mosaic figure:nth-child(2) img.ld, .mp-mosaic figure:only-child img.ld { animation: held-shot 24s ease-in-out 1s infinite alternate; }
@keyframes held-shot { from { transform: scale(1.04); } to { transform: scale(1.1) translate3d(-1%, -1%, 0); } }
/* A small heart in the footer that beats when you find it. */
.heart { display: inline-block; color: var(--accent); transition: transform 0.4s var(--ease); }
.legal:hover .heart, .heart:hover { animation: beat 1.1s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) {
  .js :is(.gallery img, .place-pic img, .place-menu img, .mp-mosaic img, .dish-photo img) { opacity: 1; filter: none; transition: none; }
  .mp-mosaic img, .heart { animation: none !important; }
}
