:root {
  --ink: #181114;
  --muted: #6f6266;
  --paper: #fff8f4;
  --surface: #ffffff;
  --rose: #e23744;
  --rose-dark: #b31826;
  --mango: #ffb238;
  --mint: #0aa889;
  --berry: #681a42;
  --line: rgba(24, 17, 20, 0.1);
  --shadow: 0 24px 60px rgba(45, 19, 25, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 178, 56, 0.2), transparent 28rem),
    linear-gradient(180deg, #fff4ef 0%, #fff 32%, #fff8f4 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(255, 178, 56, 0.86);
  outline-offset: 3px;
}

img {
  display: block;
  width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 18px clamp(18px, 4vw, 56px);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.scrolled {
  padding-block: 10px;
  background: rgba(255, 248, 244, 0.86);
  box-shadow: 0 10px 34px rgba(58, 24, 31, 0.1);
  backdrop-filter: blur(18px);
}

.site-header:not(.scrolled) .brand,
.site-header:not(.scrolled) .nav-links > a,
.site-header:not(.scrolled) .ghost-button {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.site-header.scrolled .brand,
.site-header.scrolled .nav-links > a,
.site-header.scrolled .ghost-button {
  color: var(--ink);
  text-shadow: none;
}

.nav {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: white;
  background: var(--rose);
  box-shadow: 0 10px 24px rgba(226, 55, 68, 0.36);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
}

.ghost-button,
.primary-button,
.search-button,
.gold-button,
.text-button {
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.ghost-button {
  color: var(--ink);
  background: transparent;
}

.primary-button,
.search-button {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), #ff615b);
  border-radius: 999px;
  padding: 13px 20px;
  box-shadow: 0 14px 28px rgba(226, 55, 68, 0.26);
  white-space: nowrap;
}

.search-button {
  min-width: 122px;
}

.search-button.is-loading {
  opacity: 0.9;
}

.search-button.is-complete {
  background: linear-gradient(135deg, var(--mint), #29c6a5);
  box-shadow: 0 14px 28px rgba(10, 168, 137, 0.24);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  padding: 118px clamp(18px, 4vw, 56px) 48px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 8, 11, 0.82), rgba(47, 13, 24, 0.42), rgba(255, 248, 244, 0.12)),
    url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1800&q=85") center/cover;
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 150px;
  background: linear-gradient(0deg, #fff8f4, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd2c2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  width: min(680px, 100%);
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.search-panel {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr auto;
  gap: 12px;
  width: min(880px, 100%);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-field {
  display: grid;
  gap: 4px;
  padding: 11px 16px;
  text-align: left;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
}

.search-field span {
  color: var(--rose);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-field input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-stats div {
  min-width: 150px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.hero-stats strong {
  display: block;
  font-size: 1.35rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
}

.quick-actions,
.section-wrap,
.collections,
.membership,
.app-section,
.footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.quick-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -34px;
}

.action-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.action-card:hover,
.restaurant-card:hover,
.collection-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 32px 70px rgba(45, 19, 25, 0.2);
}

.action-card img {
  height: 190px;
  object-fit: cover;
}

.action-card div {
  padding: 20px;
}

.action-card h2,
.action-card p {
  margin-bottom: 8px;
}

.section-wrap,
.collections,
.app-section {
  padding: 88px 0 0;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.text-button {
  color: var(--rose);
  background: transparent;
}

.cuisine-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.cuisine-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 18px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}

.cuisine-chip.active {
  color: #fff;
  border-color: var(--rose);
  background: var(--rose);
}

.spotlight {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: center;
  margin-top: 20px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #fff3ec);
  box-shadow: var(--shadow);
}

.spotlight h3 {
  margin: 10px 0;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1;
}

.spotlight p,
.action-card p,
.membership p,
.app-copy p,
.footer p {
  color: var(--muted);
  line-height: 1.6;
}

.spotlight img {
  height: 360px;
  border-radius: 8px;
  object-fit: cover;
}

.pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--berry);
  background: #ffe0df;
  font-weight: 900;
}

.collection-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 230px;
  gap: 18px;
}

.collection-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 0;
  padding: 22px;
  border-radius: 8px;
  color: #fff;
  background: #24151a;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.68));
}

.collection-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.collection-card:hover img {
  transform: scale(1.07);
}

.collection-card span,
.collection-card strong {
  position: relative;
  z-index: 1;
}

.collection-card span {
  font-size: 1.25rem;
  font-weight: 900;
}

.collection-card strong {
  color: rgba(255, 255, 255, 0.82);
}

.collection-card.tall {
  grid-row: span 2;
}

.collection-card.wide {
  grid-column: span 2;
}

.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.restaurant-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(45, 19, 25, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.restaurant-card img {
  height: 220px;
  object-fit: cover;
}

.restaurant-body {
  padding: 18px;
}

.restaurant-top,
.restaurant-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.restaurant-top h3 {
  margin-bottom: 0;
  font-size: 1.18rem;
}

.rating {
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--mint);
  font-weight: 900;
}

.restaurant-meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.membership {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 88px;
  padding: clamp(24px, 5vw, 52px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 17, 20, 0.92), rgba(104, 26, 66, 0.9)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1400&q=80") center/cover;
  box-shadow: var(--shadow);
}

.membership .eyebrow,
.membership p {
  color: #ffd9a0;
}

.membership h2 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.gold-button {
  flex: 0 0 auto;
  padding: 15px 22px;
  border-radius: 999px;
  color: #2a1800;
  background: linear-gradient(135deg, #ffe4a3, var(--mango));
  box-shadow: 0 18px 34px rgba(255, 178, 56, 0.28);
}

.app-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: center;
  padding-bottom: 88px;
}

.phone-shell {
  width: min(320px, 82vw);
  margin: 0 auto;
  padding: 14px;
  border-radius: 46px;
  background: #23191d;
  box-shadow: 0 30px 70px rgba(36, 16, 22, 0.25);
}

.phone-screen {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  padding: 72px 22px 22px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent),
    url("https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=800&q=80") center/cover;
}

.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(18, 10, 14, 0.58));
}

.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 2;
  width: 92px;
  height: 24px;
  border-radius: 999px;
  background: #100b0d;
  transform: translateX(-50%);
}

.order-card,
.route-line {
  position: relative;
  z-index: 2;
}

.order-card {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.order-card span {
  color: var(--muted);
}

.order-card.mini {
  margin-bottom: 170px;
}

.route-line {
  width: 4px;
  height: 120px;
  margin: -136px auto 18px;
  border-radius: 4px;
  background: repeating-linear-gradient(180deg, #fff, #fff 12px, transparent 12px, transparent 24px);
  animation: routePulse 1s linear infinite;
}

.app-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.app-form {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.app-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 18px;
  outline: 0;
  background: #fff;
}

.form-note {
  min-height: 24px;
  margin-top: 12px;
  font-weight: 700;
}

.form-note.success {
  color: var(--mint);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-weight: 700;
}

@keyframes routePulse {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 24px;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 74px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle[aria-expanded="true"] {
    background: #fff;
  }

  .site-header:not(.scrolled) .nav-links.open > a,
  .site-header:not(.scrolled) .nav-links.open .ghost-button {
    color: var(--ink);
    text-shadow: none;
  }

  .search-panel,
  .quick-actions,
  .spotlight,
  .restaurant-grid,
  .app-section {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    margin-top: 28px;
  }

  .collection-grid {
    grid-template-columns: 1fr 1fr;
  }

  .collection-card.tall,
  .collection-card.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .membership,
  .footer,
  .split-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 100vh;
    padding-top: 96px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .search-panel {
    border-radius: 8px;
  }

  .search-field,
  .search-button,
  .primary-button,
  .gold-button,
  .app-form input {
    border-radius: 8px;
  }

  .hero-stats div {
    flex: 1 1 130px;
    min-width: 0;
  }

  .collection-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .spotlight img {
    height: 260px;
  }

  .app-form {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
