:root {
  --sage: #8ca55a;
  --sage-deep: #6f8540;
  --pink-bg: #fff4f2;
  --pink-soft: #fdeceb;
  --pink-card: #fff7f6;
  --cream: #fffdfb;
  --white: #ffffff;
  --ink: #2d2326;
  --muted: #7a6f72;
  --line: rgba(45, 35, 38, 0.1);
  --rose: #d7888f;
  --shadow: 0 24px 56px rgba(173, 154, 145, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff3f0 0%, #f6eee9 100%);
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
  appearance: none;
}

.cookie-slot:empty {
  display: none;
}

.site-shell {
  width: min(1220px, calc(100% - 26px));
  margin: 0 auto;
  padding: 10px 0 48px;
}

.utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 12px;
  color: #a57f82;
  font-size: 0.8rem;
}

.utility-links,
.utility-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-frame {
  padding: 26px 26px 38px;
  border-radius: var(--radius-xl);
  background: var(--cream);
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.site-brand__icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef4e3;
  color: var(--sage-deep);
  font-size: 1rem;
  box-shadow: inset 0 0 0 1px rgba(111, 133, 64, 0.1);
}

.site-brand__text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.48rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #7ea16e;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--rose);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-pill,
.button-primary,
.button-outline,
.mobile-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
}

.login-pill {
  background: var(--pink-soft);
  color: #9d7074;
}

.button-primary {
  background: linear-gradient(180deg, var(--sage), var(--sage-deep));
  color: var(--white);
  box-shadow: 0 16px 28px rgba(111, 133, 64, 0.22);
}

.button-outline {
  border: 1px solid rgba(45, 35, 38, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: #7a6368;
}

.nav-toggle,
.mobile-nav {
  display: none;
}

.site-main {
  display: grid;
  gap: 34px;
  margin-top: 22px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.96fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.social-rail {
  display: none;
}

.hero-media {
  border-radius: 0 0 0 0;
  overflow: hidden;
  background: #f3ebe4;
}

.hero-media__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-copy {
  display: grid;
  gap: 16px;
  align-content: center;
  min-width: 0;
  min-height: 520px;
  padding: 34px 34px 28px;
  background: var(--pink-bg);
}

.hero-copy h1,
.section-head h2,
.inner-hero h1,
.info-panel h3,
.footer-grid h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  line-height: 0.98;
  font-weight: 600;
}

.hero-copy p,
.section-head p,
.info-panel p,
.inner-hero p,
.footer-grid p,
.footer-grid a,
.detail-list,
.field span,
.checkbox-field span,
.hero-meta,
.hero-author__person span,
.hero-author__stats span {
  color: var(--muted);
  line-height: 1.72;
}

.hero-tags,
.hero-meta,
.hero-author,
.hero-author__person,
.hero-author__stats,
.hero-dots {
  display: flex;
  align-items: center;
}

.hero-tags {
  gap: 10px;
  flex-wrap: wrap;
}

.hero-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  color: #9c7478;
}

.hero-meta {
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.hero-author {
  justify-content: space-between;
  gap: 18px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.hero-author__person {
  gap: 12px;
}

.hero-author__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #e5b198, #8c5647);
}

.hero-author__person strong {
  display: block;
  font-size: 0.92rem;
}

.hero-author__person span {
  display: block;
  font-size: 0.78rem;
}

.hero-author__stats {
  gap: 18px;
  font-size: 0.82rem;
}

.metric-row,
.hero-buttons,
.dish-stage,
.card-review {
  display: none;
}

.hero-dots {
  justify-content: center;
  gap: 8px;
  margin-top: -8px;
}

.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ebc4c5;
}

.hero-dots span.is-active {
  background: var(--rose);
}

.teaser-grid,
.course-grid,
.info-grid,
.faq-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

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

.teaser-card,
.course-card,
.info-panel,
.faq-card,
.contact-panel,
.footer-grid,
.inner-hero {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(45, 35, 38, 0.06);
  box-shadow: var(--shadow);
}

.teaser-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 220px;
}

.teaser-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.teaser-card__label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 249, 0.92);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.section {
  display: grid;
  gap: 20px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.section-kicker {
  margin: 0 0 6px;
  color: #9c7f64;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-head h2,
.inner-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  font-weight: 600;
}

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

.course-card,
.info-panel,
.faq-card,
.contact-panel {
  padding: 22px;
  border-radius: var(--radius-lg);
  min-width: 0;
}

.course-visual {
  height: 240px;
  margin-bottom: 16px;
  border-radius: 22px;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.course-grid .course-card:nth-child(1) .course-visual {
  background-image: url("../img/thumb-egg-rolls.png");
}

.course-grid .course-card:nth-child(2) .course-visual {
  background-image: url("../img/thumb-pumpkin-soup.png");
}

.course-grid .course-card:nth-child(3) .course-visual {
  background-image: url("../img/thumb-chicken-wings.png");
}

.course-card h3,
.info-panel h3,
.faq-card h3,
.contact-panel h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.info-grid {
  grid-template-columns: 1.08fr 0.92fr;
}

.detail-list {
  padding-left: 18px;
}

.detail-list li + li {
  margin-top: 8px;
}

.inner-page {
  display: grid;
  gap: 24px;
}

.inner-hero {
  padding: 30px;
  border-radius: 28px;
}

.inner-hero__row {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 22px;
  align-items: end;
}

.contact-grid {
  grid-template-columns: 0.92fr 1.08fr;
}

.contact-form {
  display: grid;
  gap: 16px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(45, 35, 38, 0.08);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  outline: 0;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-field {
  display: flex;
  align-items: start;
  gap: 10px;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 5px;
}

.site-footer {
  margin-top: 2px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 0.8fr));
  gap: 22px;
  padding: 28px;
  border-radius: 28px;
}

.footer-grid a {
  display: block;
}

.footer-grid a + a {
  margin-top: 8px;
}

@media (max-width: 1120px) {
  .hero,
  .teaser-grid,
  .course-grid,
  .info-grid,
  .inner-hero__row,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-nav,
  .header-actions .login-pill,
  .utility-icons {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
  }

  .mobile-nav {
    display: none;
    gap: 12px;
    margin-top: 14px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .utility-bar,
  .utility-links {
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero-copy {
    min-height: auto;
    padding: 26px 22px;
  }

  .hero-media__image {
    min-height: 360px;
  }

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

@media (max-width: 640px) {
  .site-shell {
    width: min(100%, calc(100% - 12px));
  }

  .site-frame,
  .course-card,
  .info-panel,
  .faq-card,
  .contact-panel,
  .inner-hero,
  .footer-grid {
    padding: 18px;
  }

  .hero-copy h1,
  .section-head h2,
  .inner-hero h1 {
    font-size: 1.95rem;
    line-height: 1.04;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .teaser-card img {
    height: 200px;
  }

  .site-brand__text {
    font-size: 1.14rem;
  }
}
