.ff-page { background: var(--paper); overflow-x: hidden; }

.ff-page .topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 6;
  width: min(1280px, calc(100% - 48px));
  height: 84px;
  margin: 0 auto;
  border: 0;
  color: #fffdf8;
}

.ff-page .topbar .brand { color: #fffdf8; }
.ff-page .nav-links a { color: rgba(255, 253, 248, .72); }
.ff-page .nav-links a.active,
.ff-page .nav-links a:hover { color: #fffdf8; }
.ff-page .topbar-note { color: rgba(255, 253, 248, .7); }
.ff-page .site-footer {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.ff-hero {
  position: relative;
  min-height: min(82vh, 760px);
  display: grid;
  align-items: center;
  color: #fffdf8;
  isolation: isolate;
  text-align: center;
}

.ff-hero-media { position: absolute; inset: 0; z-index: -2; }
.ff-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.ff-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(23, 23, 20, .52) 0%, rgba(23, 23, 20, .28) 42%, rgba(23, 23, 20, .84) 100%);
}

.ff-hero-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 132px 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ff-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 0 0 24px;
  color: rgba(255, 253, 248, .68);
  font: 10px/1 'DM Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ff-crumb a:hover { color: #fffdf8; }
.ff-crumb strong { color: #fffdf8; font-weight: 500; }

.ff-kicker,
.ff-label {
  margin: 0 0 12px;
  color: var(--yellow);
  font: 11px/1 'DM Mono', monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ff-label { color: var(--orange); }

.ff-hero h1,
.ff-title {
  margin: 0;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 600;
  line-height: .88;
  letter-spacing: -.06em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}

.ff-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
}

.ff-hero h1 em,
.ff-title em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
}

.ff-title {
  font-size: clamp(32px, 4vw, 48px);
  text-shadow: none;
}

.ff-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 26px 0 0;
}

.ff-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 253, 248, .22);
  background: rgba(23, 23, 20, .28);
  backdrop-filter: blur(10px);
  color: #fffdf8;
  font-size: 12px;
}

.ff-chip b { font-weight: 600; }

.ff-lede {
  max-width: 46ch;
  margin: 22px auto 0;
  color: rgba(255, 253, 248, .88);
  font-size: 16px;
  line-height: 1.55;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .4);
}

.ff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.ff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.ff-btn-primary { background: var(--orange); color: #fffdf8; }
.ff-btn-primary:hover { background: #d24c25; }
.ff-btn-ghost {
  border-color: rgba(255, 253, 248, .45);
  background: rgba(255, 253, 248, .08);
  color: #fffdf8;
}
.ff-btn-ghost:hover { background: rgba(255, 253, 248, .16); }
.ff-btn-dark { background: var(--ink); color: var(--white); border: 0; }

.ff-hero-note {
  margin: 18px 0 0;
  color: rgba(255, 253, 248, .5);
  font: 9px/1.4 'DM Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ff-wrap {
  width: min(1280px, calc(100% - 48px));
  margin: -42px auto 0;
  padding: 0 0 96px;
  position: relative;
  z-index: 1;
}

.ff-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(23, 23, 20, .08);
}

.ff-panel { padding: 28px 32px 32px; }
.ff-wrap > * + * { margin-top: 18px; }

.ff-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ff-pill {
  padding: 8px 12px;
  border: 1px solid rgba(232, 92, 50, .28);
  border-radius: 999px;
  color: var(--orange);
  font-size: 11px;
}

.ff-hero .ff-pill {
  border-color: rgba(255, 253, 248, .35);
  color: #fffdf8;
  background: rgba(23, 23, 20, .28);
}

.ff-hero .ff-pill:hover,
.ff-hero .ff-pill.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fffdf8;
}

.ff-pill-muted {
  border-color: var(--line);
  color: var(--muted);
}

.dir-browse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 28px 32px;
}

.dir-layout {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: start;
}

.dir-side { position: sticky; top: 24px; }
.dir-side .ff-title { margin-bottom: 18px; }
.dir-side .search-box { margin: 8px 0 8px; }
.dir-side .filter-group { margin-top: 22px; }

.dir-results-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dir-results .place-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dir-full .place-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.place-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 248px;
  padding: 20px 20px 16px;
  background: var(--white);
  border: 1px solid rgba(23, 23, 20, .1);
  color: inherit;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.place-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: transparent;
  transition: background .2s ease;
}

.place-card-hit {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.place-card .card-category {
  position: relative;
  z-index: 1;
}

.place-card:hover,
.place-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(23, 23, 20, .28);
  box-shadow: 0 18px 36px rgba(23, 23, 20, .1);
}

.place-card:hover::before,
.place-card:focus-within::before {
  background: var(--orange);
}

.place-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.place-letter {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px 16px 5px 16px;
  background: var(--sage);
  color: var(--ink);
  font: 600 22px/1 'Playfair Display', Georgia, serif;
  transition: transform .2s ease;
}

.place-card:hover .place-letter,
.place-card:focus-within .place-letter {
  transform: rotate(-6deg);
}

.tone-1 { background: var(--yellow); }
.tone-2 { background: #e78964; color: #fffdf8; }
.tone-3 { background: #bac09b; }

.place-badge {
  flex: none;
  padding: 6px 10px;
  border: 1px solid rgba(232, 92, 50, .28);
  border-radius: 999px;
  background: rgba(232, 92, 50, .08);
  color: var(--orange);
  font: 500 9px/1 'DM Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.place-body { margin-top: 22px; }

.place-loc {
  margin: 0 0 8px;
  color: var(--orange);
  font: 10px/1.3 'DM Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.place-card h3 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.04em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.place-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.card-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
}

a.card-category:hover {
  border-color: rgba(232, 92, 50, .45);
  background: rgba(232, 92, 50, .08);
  color: var(--orange);
}

.place-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 10px/1 'DM Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.place-count b {
  color: var(--ink);
  font-weight: 600;
}

.place-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 500;
  transition: transform .2s ease, gap .2s ease;
}

.place-arrow::after {
  content: '↗';
  font-size: 12px;
}

.place-card:hover .place-arrow,
.place-card:focus-within .place-arrow {
  transform: translateX(3px);
}

.dir-about {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  overflow: hidden;
}

.dir-about img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.dir-about p:not(.ff-label) {
  max-width: 52ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.dir-back {
  display: inline-block;
  margin-top: 10px;
  color: var(--orange);
  font-size: 13px;
}

.load-more {
  display: block;
  margin: 28px auto 0;
}

.ff-page .load-more {
  background: var(--ink);
  color: var(--white);
  border: 0;
}

.ff-hero .ff-pills {
  justify-content: center;
}

.ff-hero-inner > .ff-pills { margin-top: 22px; }

.ff-hero-home .hero-search {
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  max-width: 760px;
  margin-top: 28px;
}

.hero-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 18px;
  background: rgba(255, 253, 248, .94);
  color: var(--ink);
}

.hero-search-box span { color: var(--orange); font-size: 22px; line-height: 1; }
.hero-search-box input {
  width: 100%;
  border: 0;
  background: none;
  outline: none;
  color: var(--ink);
  font-size: 16px;
}
.hero-search-box input::placeholder { color: #9d988e; }
.hero-search .ff-btn { min-height: 56px; padding: 0 22px; }

.hero-search-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin-top: 18px;
}

.ff-hero-home .hero-search-extra {
  flex-direction: column;
  gap: 14px;
}

.hero-locate-pin {
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin-top: -2px;
}

.hero-locate {
  min-height: 48px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.ff-hero-home .hero-locate {
  border-color: rgba(255, 253, 248, .62);
  background: rgba(255, 253, 248, .14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.ff-hero-home .hero-locate:hover {
  background: #fffdf8;
  color: var(--ink);
}

.hero-examples {
  margin: 0;
  color: rgba(255, 253, 248, .72);
  font-size: 13px;
}

.hero-examples a {
  color: #fffdf8;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
}

.home-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}

.home-status {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.nearby-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.radius-label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font: 10px/1 'DM Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.radius-label select,
.dir-bar-form select {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.city-grid,
.cuisine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.visual-card {
  position: relative;
  display: block;
  min-height: 180px;
  overflow: hidden;
  color: #fffdf8;
  isolation: isolate;
  transition: transform .2s ease;
}

.visual-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.visual-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(23, 23, 20, .1), rgba(23, 23, 20, .78));
}

.visual-card-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
}

.visual-card h3 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.04em;
}

.visual-card p {
  margin: 6px 0 0;
  font: 10px/1.3 'DM Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, .78);
}

.visual-card:hover { transform: translateY(-3px); }
.city-card { min-height: 210px; }
.discover-card .place-card-hit { z-index: 2; }

.discover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.discover-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.discover-media {
  height: 150px;
  background: var(--paper-deep);
}

.discover-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.discover-body { padding: 16px 16px 18px; }
.discover-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.open-chip {
  padding: 6px 8px;
  border: 1px solid var(--line);
  font: 9px/1 'DM Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.open-chip.is-open { color: var(--orange); border-color: rgba(232, 92, 50, .35); }
.discover-facts {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.discover-dishes {
  list-style: none;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}

.discover-dishes li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  color: var(--ink);
  font-size: 13px;
}

.discover-dishes b {
  color: var(--orange);
  font: 600 11px 'DM Mono', monospace;
}

.home-az {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.dir-bar-form {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(140px, .7fr) minmax(140px, .6fr) auto;
  gap: 10px;
  align-items: end;
}

.dir-bar-form .search-box {
  min-height: 46px;
  padding: 0 4px 8px;
}

.dir-bar-form .ff-btn { min-height: 46px; }

.ff-page .detail-panel { background: var(--white); }
.ff-page .detail-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(232, 92, 50, .32);
  border-radius: 999px;
  color: var(--orange);
  background: rgba(232, 92, 50, .05);
  font-size: 11px;
  line-height: 1;
}
.tag-link:hover { color: var(--white); background: var(--orange); border-color: var(--orange); }
.detail-rating { color: var(--orange); font-size: 13px; font-weight: 600; }
.detail-cta { margin-top: 28px; }
.dish-list { list-style: none; padding: 0; margin: 0; }
.dish-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.dish-list li b { color: var(--orange); font: 600 12px 'DM Mono', monospace; }

@media (max-width: 980px) {
  .dir-layout,
  .dir-browse,
  .dir-about,
  .home-az { grid-template-columns: 1fr; }
  .dir-side { position: static; }
  .dir-about img { min-height: 220px; max-height: 260px; }
  .dir-full .place-grid,
  .dir-results .place-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-grid,
  .cuisine-grid,
  .discover-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-search,
  .dir-bar-form { grid-template-columns: 1fr; }
  .home-head { display: block; }
  .nearby-tools { margin-top: 16px; }
}

@media (max-width: 720px) {
  .ff-page .topbar,
  .ff-page .site-footer,
  .ff-hero-inner,
  .ff-wrap { width: calc(100% - 32px); }

  .ff-hero { min-height: 0; }
  .ff-hero-inner { padding: 108px 0 42px; }
  .ff-hero h1 { font-size: 52px; }
  .ff-lede { font-size: 14px; }
  .ff-wrap { margin-top: -28px; padding-bottom: 64px; }
  .ff-panel,
  .dir-browse { padding: 22px 18px 24px; }
  .ff-actions { flex-direction: column; }
  .ff-actions .ff-btn { width: 100%; }
  .hero-search .ff-btn { width: 100%; }
  .dir-results-head { display: block; }
  .dir-results-head .results-toolbar { margin-top: 16px; }
  .place-grid,
  .dir-results .place-grid,
  .dir-full .place-grid,
  .city-grid,
  .cuisine-grid,
  .discover-grid { grid-template-columns: 1fr; }
  .home-az { display: grid; }
}

.legal-page .ff-title { margin: 8px 0 18px; }
.legal-page p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.legal-page a { color: var(--orange); }

.ff-hero-404 { min-height: min(78vh, 700px); }
.ff-404-code {
  margin: 0 0 8px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(72px, 12vw, 148px);
  line-height: .8;
  letter-spacing: -.08em;
  font-style: italic;
  color: var(--yellow);
}
.ff-hero-404 .ff-lede { max-width: 34em; margin-left: auto; margin-right: auto; }
.ff-404-search {
  max-width: 640px;
  margin: 28px auto 18px;
}
.ff-404-browse { text-align: left; }
.ff-404-browse .ff-title { margin-bottom: 28px; }
.ff-404-group { margin-top: 22px; }
.ff-404-group p {
  margin: 0 0 12px;
  color: var(--orange);
  font: 10px/1 'DM Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ff-404-browse .ff-pills { justify-content: flex-start; }
