:root {
  --bg: #f7f1e8;
  --paper: #fffaf3;
  --ink: #241711;
  --muted: #665046;
  --line: rgba(36, 23, 17, 0.12);
  --brand: #9a2f1f;
  --brand-dark: #752213;
  --accent: #d8b072;
  --forest: #22352a;
  --shadow: 0 24px 60px rgba(36, 23, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top, rgba(216, 176, 114, 0.22), transparent 26%),
    linear-gradient(180deg, #f5ecdd 0%, #f7f1e8 100%);
  color: var(--ink);
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

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

.section__heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section--courses .section__heading {
  max-width: 840px;
}

.section--courses .section__heading p {
  max-width: 74ch;
}

.section__heading--light p,
.section__heading--light h2 {
  color: #fff7ef;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.8rem, 8vw, 6.8rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

p,
li,
span {
  line-height: 1.7;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 64px;
  min-height: 100vh;
}

.hero__bg {
  position: absolute;
  inset: -80px 0;
  background:
    linear-gradient(120deg, rgba(36, 23, 17, 0.6), rgba(36, 23, 17, 0.16)),
    radial-gradient(circle at right top, rgba(216, 176, 114, 0.44), transparent 28%),
    url("./assets/home-hero-table.png")
      center/cover;
  transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1.08);
  will-change: transform;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: end;
  min-height: calc(100vh - 100px);
}

.hero__topbar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.hero__brand {
  display: block;
  width: min(460px, 80vw);
  height: auto;
}

.hero__copy,
.hero__panel {
  backdrop-filter: blur(10px);
}

.hero__copy {
  padding: 56px;
  background: rgba(24, 15, 11, 0.62);
  border: 1px solid rgba(255, 247, 239, 0.16);
  border-radius: 32px;
  color: #fff7ef;
  box-shadow: var(--shadow);
}

.hero__copy .eyebrow,
.hero__panel .eyebrow {
  color: #ffdba8;
}

.hero__text {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 1.08rem;
  color: rgba(255, 247, 239, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--brand);
  color: #fff8f1;
  border: 0;
  outline: 0;
}

.button--primary:hover {
  background: var(--brand-dark);
}

.button--secondary {
  border: 1px solid rgba(255, 247, 239, 0.28);
  color: #fff8f1;
  background: rgba(255, 248, 241, 0.08);
}

.button--card {
  width: 100%;
  margin-top: 30px;
  background: var(--forest);
  color: #f9f2e7;
}

.course-card__more {
  display: flex;
  justify-content: center;
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand);
}

.hero__panel {
  padding: 34px 30px;
  align-self: center;
  background: rgba(255, 250, 243, 0.78);
  border: 1px solid rgba(36, 23, 17, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero__tag {
  display: inline-flex;
  gap: 0.35em;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(154, 47, 31, 0.1);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__panel h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 18px;
}

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

.section--courses {
  margin-top: -54px;
  position: relative;
  z-index: 2;
  padding-top: 142px;
}

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

[hidden] {
  display: none !important;
}

.course-card,
.benefit-card,
.city-card,
.stat-card,
.cta-box {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 250, 243, 0.92);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.course-card--featured {
  background: linear-gradient(180deg, #fff4de, #fffaf3);
}

.course-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 30px 70px rgba(36, 23, 17, 0.18);
}

.course-card__top {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.course-card__pill {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(34, 53, 42, 0.08);
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-card__duration {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.course-card__duration--raised {
  margin-top: 2px;
}

.course-card__title-sub {
  font-size: 0.74em;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.chef-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
}

.chef-badge__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.chef-badge__label {
  display: block;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 800;
}

.chef-badge strong {
  display: block;
  margin-top: 2px;
  line-height: 1.3;
}

.chef-badge__bio {
  margin: 6px 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}

.course-card__body {
  display: grid;
  gap: 22px;
  padding-top: 24px;
  flex: 1;
}

.course-card__body-block {
  height: 128px;
}

.course-card h4 {
  margin-bottom: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
  line-height: 1.4;
}

.course-card ul,
.city-card ul {
  margin: 0;
  padding-left: 18px;
}

.course-card__price {
  padding: 18px;
  border-radius: 22px;
  background: rgba(216, 176, 114, 0.12);
}

.course-card__price + .course-card__price {
  margin-top: 8px;
}

.course-card__price-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.course-card__price span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.course-card__lot-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(154, 47, 31, 0.12);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.course-card__price strong {
  font-size: 2rem;
  font-family: "Cormorant Garamond", serif;
  text-align: right;
}

.course-card__price--locked {
  background: rgba(36, 23, 17, 0.04);
  border: 1px dashed rgba(36, 23, 17, 0.1);
  box-shadow: none;
  opacity: 0.72;
}

.course-card__price--locked .course-card__lot-tag {
  background: rgba(36, 23, 17, 0.08);
  color: rgba(36, 23, 17, 0.56);
}

.course-card__lock {
  font-size: 1rem;
  line-height: 1;
  color: rgba(36, 23, 17, 0.45);
}

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

.storytelling__copy {
  max-width: 680px;
}

.storytelling__copy h2 {
  max-width: 18ch;
}

.storytelling__stats {
  display: grid;
  gap: 16px;
}

.stat-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 250, 243, 0.92);
}

.section--dark .storytelling__copy p,
.section--dark .storytelling__copy h2 {
  color: #fff7ef;
}

.section--dark .stat-card {
  background: rgba(255, 248, 241, 0.08);
  color: rgba(255, 247, 239, 0.86);
}

.section--dark .stat-card strong {
  color: #fff7ef;
}

.stat-card strong {
  display: block;
  font-size: 2.1rem;
  font-family: "Cormorant Garamond", serif;
}

.section--dark {
  background: linear-gradient(180deg, #2b1a14 0%, #1e130f 100%);
}

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

.benefit-card {
  min-height: 220px;
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 250, 243, 0.92);
  color: var(--muted);
}

.benefit-card h3 {
  margin-bottom: 14px;
  color: var(--ink);
}

.agenda {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

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

.agenda__cities--single {
  grid-template-columns: minmax(0, 1fr);
}

.city-card {
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 250, 243, 0.92);
}

.city-card h3 {
  margin-bottom: 12px;
}

.section--cta {
  position: relative;
  overflow: hidden;
  padding-top: 108px;
  padding-bottom: 108px;
}

.section--cta::before {
  content: none;
}

.section--cta__bg {
  position: absolute;
  inset: -80px 0;
  background:
    linear-gradient(120deg, rgba(36, 23, 17, 0.62), rgba(36, 23, 17, 0.34)),
    url("./assets/home-cta-dessert.png")
      center/cover;
  transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1.08);
  will-change: transform;
}

.section--cta .container {
  position: relative;
  z-index: 1;
}

.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: center;
}

.cta-box {
  padding: 56px;
  border-radius: 32px;
  background: rgba(24, 15, 11, 0.74);
  border: 1px solid rgba(255, 248, 241, 0.14);
  backdrop-filter: blur(8px);
  color: #fff7ef;
  box-shadow: var(--shadow);
}

.cta-box .eyebrow,
.cta-box h2,
.cta-box p,
.cta-form__field span,
.cta-form__consent {
  color: #fff1df;
}

.cta-box h2 {
  max-width: 21ch;
}

.cta-panel h3 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
}

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

.cta-form {
  display: grid;
  gap: 12px;
  width: min(100%, 420px);
  margin-top: 32px;
}

.cta-form__field {
  display: grid;
  gap: 6px;
}

.cta-form__field span {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
}

.cta-form__field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 248, 241, 0.22);
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.12);
  color: #fff7ef;
  font: inherit;
}

.cta-form__field input::placeholder {
  color: rgba(255, 241, 223, 0.72);
}

.cta-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--muted);
}

.cta-form__consent input {
  margin-top: 2px;
}

.cta-form .button--primary {
  width: 100%;
  margin-top: 6px;
}

.course-page .hero {
  height: 860px;
  min-height: 860px;
  padding-top: 72px;
  padding-bottom: 88px;
}

.course-page .hero__content {
  height: 100%;
  min-height: 100%;
  align-items: center;
}

.course-page .hero__brand {
  width: min(360px, 62vw);
}

.course-page .hero__copy h1 {
  max-width: 12ch;
}

.course-page .hero__copy .hero__title-sub {
  font-size: 0.56em;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.course-page .hero__copy .hero__tag {
  background: rgba(255, 248, 241, 0.22);
  color: #fff4e7;
  border: 1px solid rgba(255, 248, 241, 0.18);
}

.course-page .hero__text {
  max-width: 60ch;
}

.course-page .hero__panel h2 {
  margin-bottom: 10px;
}

.course-page .hero__panel p {
  margin: 0;
  color: var(--muted);
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.course-main {
  display: grid;
  gap: 24px;
}

.course-sidebar {
  display: grid;
  gap: 20px;
}

.info-card,
.sidebar-card,
.timeline-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.92);
  box-shadow: var(--shadow);
}

.info-card h3,
.sidebar-card h3,
.timeline-card h3 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.info-card p,
.sidebar-card p,
.timeline-card p {
  margin: 0;
}

.info-card ul,
.sidebar-card ul,
.timeline-card ul {
  margin: 0;
  padding-left: 18px;
}

.chef-story {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.chef-story__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.chef-story__copy h3 {
  margin-bottom: 14px;
}

.chef-story__copy p {
  margin: 0 0 14px;
}

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

.meta-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(216, 176, 114, 0.12);
  border: 1px solid var(--line);
}

.meta-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
}

.timeline-list {
  display: grid;
  gap: 16px;
}

.timeline-item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.timeline-item strong {
  display: block;
}

.sidebar-card .button,
.timeline-card .button {
  width: 100%;
  margin-top: 20px;
}

.course-footer {
  height: 44px;
  background: linear-gradient(180deg, #241711 0%, #1a110d 100%);
}

.footer {
  padding: 26px 0 42px;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 1280px) {
  .courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .hero__content,
  .courses-grid,
  .benefits-grid,
  .storytelling,
  .agenda,
  .agenda__cities,
  .course-layout,
  .course-meta,
  .chef-story {
    grid-template-columns: 1fr;
  }

  .course-card--featured {
    transform: none;
  }

  .hero__topbar {
    margin-bottom: 2px;
  }

  .hero__brand {
    width: min(340px, 82vw);
  }
}

@media (max-width: 720px) {
  .course-page .hero {
    height: auto;
    min-height: auto;
  }

  .course-page .hero__content {
    height: auto;
    min-height: auto;
  }

  .course-page .hero__brand {
    width: min(280px, 70vw);
  }

  .hero__bg,
  .section--cta__bg {
    transform: none;
    will-change: auto;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .hero__content {
    min-height: auto;
  }

  .hero__copy,
  .hero__panel,
  .course-card,
  .benefit-card,
  .city-card,
  .cta-box,
  .cta-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .cta-layout,
  .footer__content {
    grid-template-columns: 1fr;
  }

  .cta-form {
    width: 100%;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }
}
