:root {
  --cream: #f8f1e6;
  --cream-2: #fffaf2;
  --ink: #181513;
  --muted: #6c6258;
  --red: #8f1d24;
  --red-dark: #641117;
  --gold: #d8b56d;
  --white: #ffffff;
  --line: #eadfce;
  --shadow: 0 18px 45px rgba(41, 27, 18, 0.11);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px max(18px, calc((100vw - var(--max)) / 2));
  background: rgba(248, 241, 230, 0.92);
  border-bottom: 1px solid rgba(234, 223, 206, 0.8);
  backdrop-filter: blur(16px);
}

.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--red);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--ink);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(143, 29, 36, 0.24);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(143, 29, 36, 0.28);
}

.btn-secondary {
  background: var(--white);
  color: var(--red);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn-secondary:hover {
  background: var(--cream-2);
  color: var(--red-dark);
}

.btn-small {
  min-height: 38px;
  padding: 0 15px;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 18px 44px;
}

.hero-media {
  position: absolute;
  inset: 24px 18px 150px;
  z-index: 0;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(24, 21, 19, 0.78), rgba(24, 21, 19, 0.22)), url("https://images.unsplash.com/photo-1556910103-1c02745aae4d?auto=format&fit=crop&w=1800&q=82") center/cover;
  box-shadow: var(--shadow);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0 30px 120px;
  color: var(--white);
}

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

.hero .eyebrow,
.chef-cta .eyebrow {
  color: #f4dca2;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.65rem, 8vw, 5.9rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.search-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 12px;
  width: calc(100% - 60px);
  margin: -108px auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-2);
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
  outline: none;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(143, 29, 36, 0.12);
}

.section,
.listing-layout,
.content-grid,
.profile-hero,
.form-page,
.interview-shell,
.site-footer,
.chef-cta {
  max-width: var(--max);
  margin: 0 auto;
  padding: 74px 18px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

.text-link {
  color: var(--red);
  font-weight: 900;
}

.steps-grid,
.chef-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card,
.chef-card,
.info-panel,
.review-card,
.filters,
.premium-form,
.chat-form,
.ai-result,
.thanks-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(41, 27, 18, 0.07);
}

.step-card {
  padding: 24px;
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
}

.step-card p,
.chef-card p,
.info-panel p,
.review-card p,
.form-intro p,
.page-hero p,
.split-band p,
.thanks-card p {
  color: var(--muted);
}

.split-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-list div {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(41, 27, 18, 0.06);
}

.chef-grid {
  grid-template-columns: repeat(3, 1fr);
}

.chef-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.chef-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.chef-card img {
  height: 230px;
  object-fit: cover;
}

.chef-card-body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f7ead0;
  color: #7a5615;
  font-size: 0.74rem;
  font-weight: 900;
}

.premium {
  background: linear-gradient(135deg, #f9e5ad, var(--gold));
  color: #4d3508;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.card-meta span {
  color: var(--red);
  font-weight: 900;
}

.chef-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 54px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(24, 21, 19, 0.84), rgba(143, 29, 36, 0.82)), url("https://images.unsplash.com/photo-1544148103-0773bf10d330?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: var(--white);
}

.chef-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.site-footer p,
.site-footer nav {
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 74px 18px 24px;
}

.page-hero.compact h1 {
  max-width: 760px;
}

.listing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
  padding-top: 24px;
}

.filters {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
  padding: 20px;
}

.filters h2 {
  font-size: 1.7rem;
}

.listing-grid {
  grid-template-columns: repeat(2, 1fr);
}

.is-hidden {
  display: none;
}

.profile-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.profile-photo {
  height: min(62vw, 590px);
  min-height: 420px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.profile-summary {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead {
  font-size: 1.2rem;
  font-weight: 800;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 26px 0;
}

.profile-stats div {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--cream-2);
}

.profile-stats strong,
.profile-stats span {
  display: block;
}

.profile-stats span {
  color: var(--muted);
  font-size: 0.82rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  padding-top: 0;
}

.info-panel {
  padding: 26px;
}

.clean-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

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

.gallery-grid img {
  height: 230px;
  border-radius: var(--radius);
  object-fit: cover;
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-card {
  padding: 22px;
}

.review-card span {
  display: inline-block;
  margin-left: 8px;
  color: var(--red);
  font-weight: 900;
}

.form-page {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.form-intro {
  position: sticky;
  top: 100px;
}

.premium-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
}

.premium-form .full,
.premium-form button {
  grid-column: 1 / -1;
}

.interview-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.interview-copy {
  position: sticky;
  top: 100px;
}

.chat-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.chat-form label {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-2);
}

.ai-result {
  grid-column: 2;
  padding: 24px;
  border-color: rgba(143, 29, 36, 0.25);
}

.ai-result.revealed {
  animation: riseIn 0.45s ease both;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
  background: linear-gradient(135deg, var(--cream), #f3e3cc);
}

.thanks-card {
  max-width: 620px;
  padding: 40px;
  text-align: center;
}

.thanks-card .logo {
  display: inline-block;
  margin-bottom: 22px;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 780px;
  }

  .hero-media {
    inset: 18px 18px 210px;
  }

  .hero-content {
    padding: 0 18px 170px;
  }

  .search-panel,
  .split-band,
  .listing-layout,
  .profile-hero,
  .content-grid,
  .form-page,
  .interview-shell {
    grid-template-columns: 1fr;
  }

  .search-panel {
    width: calc(100% - 36px);
  }

  .steps-grid,
  .chef-grid,
  .listing-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filters,
  .form-intro,
  .interview-copy {
    position: static;
  }

  .ai-result {
    grid-column: auto;
  }

  .chef-cta,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .hero {
    min-height: auto;
    display: block;
    padding: 18px 0 42px;
  }

  .hero-media {
    position: relative;
    inset: auto;
    min-height: 520px;
    margin: 0 16px;
  }

  .hero-content {
    margin-top: -470px;
    padding: 36px 32px 80px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .search-panel {
    grid-template-columns: 1fr;
    margin: -42px auto 0;
  }

  .hero-actions,
  .feature-list,
  .steps-grid,
  .chef-grid,
  .listing-grid,
  .review-grid,
  .gallery-grid,
  .premium-form,
  .profile-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .row-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-photo {
    min-height: 320px;
    height: 360px;
  }

  .profile-summary,
  .thanks-card {
    padding: 24px;
  }

  .section,
  .listing-layout,
  .content-grid,
  .profile-hero,
  .form-page,
  .interview-shell,
  .site-footer,
  .chef-cta {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}
