/* ono — marketing site.
   Editorial, desktop-first, cream. Deliberately shares NOTHING with the app's
   UI: no phone frame, no bottom tabs, no dark surfaces. The app is a product;
   this is a publication about where to eat.

   Type is Fraunces (display) + Inter (body), both already self-hosted in
   fonts/fonts.css — the site loads with zero third-party requests.

   NOTE: privacy.html / terms.html / support.html still carry their own inline
   copy of an older palette (Playfair + Lora, #E7E1D6) and link Google Fonts.
   Worth folding onto this stylesheet later; out of scope here. */

:root {
  --cream: #F8F4EC;
  --cream-deep: #F0EADC;
  --card: #FFFFFF;
  --ink: #1A1714;
  --ink-2: #6B6459;
  --ink-3: #938B7D;
  --green: #3A5728;
  --green-2: #4D7535;
  --green-wash: #EDF1E6;
  --gold: #C8A45D;
  --line: rgba(26, 23, 20, 0.09);
  --shadow-sm: 0 1px 2px rgba(26, 23, 20, .04), 0 4px 14px rgba(26, 23, 20, .05);
  --shadow-md: 0 2px 6px rgba(26, 23, 20, .05), 0 18px 46px rgba(26, 23, 20, .09);
  --shadow-lg: 0 4px 12px rgba(26, 23, 20, .06), 0 40px 90px rgba(26, 23, 20, .13);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* height:auto is load-bearing, not tidiness: every <img> carries width/height
   attributes (so photos can't reflow the page as they arrive), and without this
   a CSS-constrained width leaves the attribute height in place — the phone
   mockups render 190px wide and 1300px tall. Rules that need a fixed height
   (.mosaic, .card .shot, .spot .shot) override it further down. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.section { padding: 88px 0; }
.section + .section { padding-top: 0; }

/* Screen-reader-only, for the skip link and icon-only controls. */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── section headers ─────────────────────────────────────────────── */
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.head h2 { font-size: 34px; }
.head .more { font-size: 14px; font-weight: 600; color: var(--green-2); white-space: nowrap; transition: gap .2s var(--ease); display: inline-flex; align-items: center; gap: 6px; }
.head .more:hover { gap: 10px; }
.eyebrow { font-family: var(--body); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }

/* ── nav ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 244, 236, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.stuck { border-bottom-color: var(--line); box-shadow: 0 1px 18px rgba(26, 23, 20, .05); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.wordmark { font-family: var(--display); font-weight: 900; font-size: 27px; letter-spacing: -.055em; }
.wordmark i { color: var(--green-2); font-style: normal; }
.nav ul { display: flex; gap: 34px; }
.nav ul a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .18s var(--ease); }
.nav ul a:hover { color: var(--ink); }
.nav .get { font-size: 13.5px; padding: 9px 17px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--body); font-size: 14.5px; font-weight: 600;
  padding: 11px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease), background .18s var(--ease);
}
.btn-primary { background: var(--green); color: #FCFAF5; box-shadow: 0 2px 10px rgba(58, 87, 40, .22); }
.btn-primary:hover { background: var(--green-2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(58, 87, 40, .28); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: rgba(26, 23, 20, .04); transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #FCFAF5; width: 100%; margin-top: 16px; }
.btn-ink:hover { background: #000; transform: translateY(-1px); }
.btn-lg { font-size: 15.5px; padding: 14px 28px; }

/* ── hero ────────────────────────────────────────────────────────── */
.hero { padding: 76px 0 92px; }
.hero .wrap { display: grid; grid-template-columns: .92fr 1.08fr; gap: 68px; align-items: center; }
.hero h1 { font-size: clamp(44px, 4.6vw, 64px); letter-spacing: -.035em; margin-top: 14px; }
.hero h1 em { font-style: italic; color: var(--green-2); }
.hero .lede { font-size: 18.5px; color: var(--ink-2); margin-top: 22px; max-width: 30em; }

.search { position: relative; margin-top: 34px; }
.search input {
  width: 100%; font-family: var(--body); font-size: 16px; color: var(--ink);
  padding: 19px 132px 19px 52px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-sm); outline: none;
  transition: box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.search input::placeholder { color: var(--ink-3); }
.search input:focus { border-color: rgba(58, 87, 40, .38); box-shadow: 0 0 0 4px rgba(58, 87, 40, .1), var(--shadow-md); }
.search .glass { position: absolute; left: 21px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search .go {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  font-family: var(--body); font-size: 14.5px; font-weight: 600;
  border: 0; cursor: pointer; border-radius: 999px; padding: 13px 22px;
  background: var(--green); color: #FCFAF5;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.search .go:hover { background: var(--green-2); transform: translateY(-1px); }

/* live results, absolutely positioned so they don't reflow the hero */
.results {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 30;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); overflow: hidden; max-height: 336px; overflow-y: auto;
}
.results:empty { display: none; }
.results a { display: flex; gap: 13px; align-items: center; padding: 11px 16px; transition: background .14s var(--ease); }
.results a:hover, .results a:focus-visible { background: var(--green-wash); outline: none; }
.results img, .results .ph { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; flex: none; background: var(--cream-deep); }
.results .nm { font-size: 14.5px; font-weight: 600; }
.results .mt { font-size: 12.5px; color: var(--ink-3); }
.results .none { padding: 16px; font-size: 14px; color: var(--ink-3); }

.chips { margin-top: 22px; }
.chips .lbl { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 11px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip-row a {
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  padding: 8px 16px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--line); transition: all .18s var(--ease);
}
.chip-row a:hover { color: var(--green); border-color: rgba(58, 87, 40, .32); background: var(--green-wash); }

/* single large hero photograph with the featured-spot card floating over its
   lower-right corner — one real cover photo, not a stretched mobile mosaic. */
.hero-shot { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3.1; background: var(--cream-deep); }
.hero-img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute; right: 28px; bottom: 28px; z-index: 5; width: 260px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--r-md);
  padding: 18px 20px 20px; box-shadow: var(--shadow-lg);
}
.float-card .fc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.float-card .fc-heart { color: var(--ink-3); flex: none; }
.float-card .nm { font-family: var(--display); font-size: 19px; font-weight: 700; margin-top: 6px; }
.float-card .mt { font-size: 12.5px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.float-card .mt .sep { color: var(--ink-3); }
.float-card .fc-desc { font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.star { color: var(--gold); }

/* ── cards ───────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card .shot { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-deep); }
.card .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .shot img { transform: scale(1.06); }
.card .body { padding: 20px 22px 24px; }
.card h3 { font-size: 21px; }
.card .where { font-size: 13.5px; color: var(--ink-2); margin-top: 5px; }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.card .cuis { font-size: 12.5px; color: var(--ink-3); }
.rating { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; }

.tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; background: rgba(26, 23, 20, .74); color: #FCFAF5;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.card .shot { position: relative; }

/* ── collections panel ───────────────────────────────────────────── */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.panel a { display: flex; align-items: center; gap: 15px; padding: 17px 22px; border-bottom: 1px solid var(--line); transition: background .18s var(--ease); }
.panel a:last-child { border-bottom: 0; }
.panel a:hover { background: var(--green-wash); }
.panel .dot { width: 42px; height: 42px; border-radius: 11px; flex: none; display: grid; place-items: center; font-size: 19px; }
.panel .nm { font-size: 15.5px; font-weight: 600; }
.panel .ct { font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }
.panel .arw { margin-left: auto; color: var(--ink-3); transition: transform .2s var(--ease); }
.panel a:hover .arw { transform: translateX(4px); }

/* ── app CTA ─────────────────────────────────────────────────────── */
.appcta { background: linear-gradient(168deg, #2C3F20 0%, #1E2C16 100%); color: #F2EFE4; border-radius: 0; padding: 92px 0; margin-top: 88px; overflow: hidden; }
.appcta .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.appcta h2 { font-size: 42px; color: #FCFAF5; }
.appcta p { color: rgba(242, 239, 228, .74); font-size: 17px; margin-top: 18px; max-width: 26em; }
.appcta .benefits { margin: 30px 0 34px; display: grid; gap: 11px; }
.appcta .benefits li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; color: rgba(242, 239, 228, .9); }
.appcta .benefits .tick { color: var(--gold); flex: none; }
.appcta .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btn-cream { background: #FCFAF5; color: var(--ink); }
.btn-cream:hover { background: #fff; transform: translateY(-1px); }
.soon { font-size: 13px; color: rgba(242, 239, 228, .55); }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.phones img { width: 190px; border-radius: 22px; box-shadow: 0 26px 60px rgba(0, 0, 0, .42); border: 1px solid rgba(255, 255, 255, .12); }
.phones img:nth-child(1) { transform: rotate(-6deg) translateX(26px); z-index: 1; }
.phones img:nth-child(2) { transform: translateY(-22px); z-index: 3; }
.phones img:nth-child(3) { transform: rotate(6deg) translateX(-26px); z-index: 2; }

/* ── footer ──────────────────────────────────────────────────────── */
footer { background: #14120F; color: rgba(242, 239, 228, .62); padding: 56px 0 44px; }
footer .wrap { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
footer .wordmark { color: #FCFAF5; }
footer .tag-line { font-size: 14px; margin-top: 12px; max-width: 22em; }
footer h4 { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: rgba(242, 239, 228, .42); margin-bottom: 14px; }
footer li { margin-bottom: 9px; }
footer a { font-size: 14px; transition: color .18s var(--ease); }
footer a:hover { color: #FCFAF5; }
footer .base { border-top: 1px solid rgba(242, 239, 228, .11); margin-top: 44px; padding-top: 26px; font-size: 13px; }

/* ── collection page ─────────────────────────────────────────────── */
.chero { padding: 64px 0 48px; text-align: center; }
.chero h1 { font-size: clamp(38px, 4.4vw, 58px); letter-spacing: -.035em; }
.chero .lede { font-size: 19px; color: var(--ink-2); margin: 18px auto 0; max-width: 34em; }
.crumb { font-size: 13.5px; color: var(--ink-3); margin-bottom: 22px; }
.crumb a { color: var(--green-2); font-weight: 500; }

.spots { display: grid; gap: 20px; max-width: 900px; margin: 0 auto; }
.spot {
  display: grid; grid-template-columns: 232px 1fr; gap: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.spot:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.spot .shot { position: relative; background: var(--cream-deep); min-height: 208px; }
.spot .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot .rank {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-size: 15px; font-weight: 700;
  background: rgba(252, 250, 245, .93); color: var(--ink); box-shadow: var(--shadow-sm);
}
.spot .body { padding: 24px 28px; display: flex; flex-direction: column; }
.spot h2 { font-size: 24px; }
.spot .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); margin-top: 8px; }
.spot .meta .sep { color: var(--ink-3); }
/* The editorial line — why the spot made the guide. Prose used to exist for only
   6 of 231 spots, which is why the card led on known-for dishes alone; coverage
   is now complete across every collection page, so it leads here instead. Still
   optional in the markup, so a card without one simply closes up. */
.spot .why { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 14px 0 0; }
.spot .known { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 16px; }
.spot .known span { font-size: 12.5px; font-weight: 500; color: var(--green); background: var(--green-wash); padding: 5px 12px; border-radius: 999px; }
.spot .known .known-lbl { font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-3); background: none; padding: 0 4px 0 0; }
.spot .addr { font-size: 13px; color: var(--ink-3); margin-top: auto; padding-top: 16px; }

.endcap { text-align: center; padding: 68px 0 0; }
.endcap h2 { font-size: 30px; }
.endcap p { color: var(--ink-2); margin: 12px 0 24px; }

/* ── motion ──────────────────────────────────────────────────────── */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rise.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rise { opacity: 1; transform: none; }
}

/* ── responsive ──────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero .wrap, .split, .appcta .wrap { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 68px; }
  .hero .wrap { gap: 48px; }
  .hero-shot { aspect-ratio: 4 / 3; }
  .float-card { right: 16px; bottom: 16px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .phones img { width: 158px; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .section { padding: 60px 0; }
  .nav ul { display: none; }
  .nav .wrap { gap: 16px; }
  .head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .head h2 { font-size: 27px; }
  .grid-3 { grid-template-columns: 1fr; }
  .spot { grid-template-columns: 1fr; }
  .spot .shot { min-height: 190px; }
  .float-card { position: static; width: auto; margin-top: 16px; }
  .appcta { padding: 64px 0; }
  .appcta h2 { font-size: 31px; }
  .phones img { width: 118px; }
  footer .wrap { grid-template-columns: 1fr; gap: 28px; }
}
