:root {
  --bg: #eceee6;
  --paper: #f7f5ee;
  --ink: #090909;
  --text: #565656;
  --muted: #7b7a72;
  --line: #d6d0c4;
  --soft: #e5e6dc;
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(24px, 5vw, 72px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 18px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, top 0.2s ease;
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 25px;
}

.site-header.menu-open .menu-toggle span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.site-header.menu-open .menu-toggle span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text);
  font-size: 15px;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
}

.section-pad {
  padding: clamp(54px, 9vw, 112px) clamp(24px, 5vw, 72px);
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(38px, 6vw, 82px);
}

.hero-media {
  order: 2;
  display: grid;
  grid-template-columns: 1.16fr 0.92fr 0.92fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  height: clamp(420px, 46vw, 620px);
  max-width: 1060px;
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 26px;
}

.hero-photo-large {
  grid-row: 1 / span 3;
  min-height: 0;
}

.hero-photo:nth-child(6) {
  grid-column: 2 / 4;
}

.hero-copy {
  order: 1;
  max-width: 890px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
}

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

h1,
h2 {
  font-weight: 300;
  line-height: 1.04;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 {
  max-width: 980px;
  margin-bottom: 34px;
  font-size: clamp(52px, 8vw, 112px);
}

.hero-copy h1 {
  margin-bottom: 30px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(40px, 5.5vw, 78px);
}

h3 {
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
}

.lead {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.28;
}

.meal-counts {
  max-width: 760px;
  margin-bottom: 36px;
  color: var(--text);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.28;
}

.hero-note {
  max-width: 760px;
  margin-bottom: 42px;
  padding-left: 26px;
  border-left: 2px solid var(--ink);
  color: var(--text);
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.4;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 0 42px;
  border-radius: 999px;
  font-size: 19px;
  font-weight: 700;
}

.button-primary {
  background: #000;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button-primary:hover {
  background: #2f2f2f;
  transform: translateY(-2px);
}

.about,
.author,
.buy {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: start;
}

.section-title {
  max-width: 720px;
}

.about .section-title h2 {
  max-width: 780px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.08;
}

.about-text,
.author-copy,
.buy p {
  color: var(--text);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.4;
}

.about-text {
  position: relative;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  font-size: clamp(22px, 1.8vw, 24px);
}

.about-text::before,
.about-text::after {
  content: "";
  position: absolute;
  width: 64px;
  height: 64px;
  pointer-events: none;
}

.about-text::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.about-text::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.about-text p,
.author-copy p {
  margin-bottom: 30px;
}

.about-text p {
  margin: 0;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.about-text p + p {
  padding-top: 28px;
}

.about-text p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.about-editorial {
  padding-top: 8px;
}

.about-lede {
  max-width: 760px;
}

.about-lines {
  display: grid;
  gap: 0;
  margin: 42px 0 34px;
  border-top: 1px solid var(--line);
}

.about-lines p {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 32px;
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.about-lines span:first-child {
  color: var(--ink);
}

.about-lines span:last-child {
  color: var(--text);
}

.about-note {
  max-width: 760px;
  margin-bottom: 0;
  padding-left: 26px;
  border-left: 2px solid var(--ink);
}

.inside {
  background: var(--paper);
}

.inside-title {
  max-width: 860px;
}

.inside-title h2 {
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.08;
}

.inside-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin-top: 34px;
  color: var(--text);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.28;
}

.recipe-carousel {
  position: relative;
  margin-top: clamp(54px, 7vw, 94px);
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 34px;
  padding-right: clamp(8px, 5vw, 72px);
}

.carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-button::before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  border-top: 3px solid var(--paper);
  border-right: 3px solid var(--paper);
}

.carousel-button-prev::before {
  transform: translateX(2px) rotate(-135deg);
}

.carousel-button-next::before {
  transform: translateX(-2px) rotate(45deg);
}

.carousel-button:hover {
  background: #2f2f2f;
  transform: translateY(-2px);
}

.carousel-track {
  display: grid;
  grid-auto-columns: clamp(320px, 31vw, 520px);
  grid-auto-flow: column;
  gap: clamp(18px, 1.8vw, 28px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: clamp(24px, 7vw, 120px);
  scroll-snap-type: x mandatory;
  margin-inline: calc(clamp(24px, 5vw, 72px) * -1);
  padding-inline: clamp(24px, 7vw, 120px);
  padding-bottom: 18px;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  scroll-snap-align: start;
}

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

.feature-card {
  overflow: hidden;
  border-radius: 26px;
  background: var(--bg);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 14px;
  background: var(--soft);
}

.feature-card div {
  padding: 28px 28px 34px;
}

.feature-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 14px;
}

.feature-card p {
  color: var(--text);
  font-size: 18px;
  line-height: 1.45;
}

.fit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 40px;
  margin: 42px auto 0;
  max-width: 1060px;
  align-items: center;
}

.fit .section-title {
  max-width: none;
  text-align: center;
}

.fit .section-title h2 {
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.08;
}

.fit-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 96px;
  padding: 0;
  border-bottom: 0;
}

.fit-icon {
  justify-self: center;
  align-self: center;
  width: 86px;
  height: 82px;
  object-fit: contain;
  margin-top: 0;
  filter: brightness(0);
  opacity: 0.82;
}

.fit-item p {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.28;
}

.fit-item:nth-child(even) p,
.fit-item:nth-child(6) p {
  text-align: left;
}

.fit-item p::before {
  content: none;
}

.fit-item p span {
  display: block;
  margin-top: 2px;
  padding-left: 0;
  color: var(--text);
  font-size: 1em;
  font-weight: 300;
  line-height: 1.28;
}

.fit-item:last-child {
  grid-column: 1 / -1;
  width: 100%;
  margin-left: 0;
  margin-top: 6px;
}

.gallery {
  background: var(--paper);
}

.gallery.section-pad {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.gallery-frame {
  position: relative;
  width: 100%;
  height: clamp(560px, 58vw, 760px);
  overflow: hidden;
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.gallery-card {
  position: absolute;
  top: 16%;
  right: 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(300px, 25vw);
  min-height: 330px;
  padding: 48px 32px 40px;
  background: var(--white);
  color: var(--ink);
  text-align: center;
}

.gallery-card h2 {
  margin-bottom: 24px;
  font-size: clamp(27px, 2.1vw, 34px);
  font-weight: 600;
  line-height: 1.1;
}

.gallery-price {
  margin: 0 0 26px;
  color: var(--ink);
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.1;
}

.gallery-card .button {
  min-height: 54px;
  margin-bottom: auto;
  padding: 0 34px;
  font-size: 17px;
}

.gallery-caption {
  margin: 38px 0 0;
  color: var(--text);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 300;
  line-height: 1.3;
}

.author {
  position: relative;
  grid-template-columns: minmax(320px, 0.82fr) minmax(360px, 1fr);
  gap: clamp(38px, 6vw, 86px);
  align-items: center;
  background: var(--paper);
}

.author::before {
  content: "";
  position: absolute;
  top: clamp(24px, 5vw, 72px);
  right: clamp(24px, 5vw, 72px);
  width: clamp(86px, 11vw, 160px);
  height: 1px;
  background: var(--ink);
}

.author-photo {
  display: block;
  width: 100%;
  min-height: 560px;
  height: clamp(560px, 52vw, 720px);
  object-fit: cover;
  object-position: 50% 38%;
  border-radius: 34px;
}

.author-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.author-copy h2 {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.08;
}

.author-copy p {
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.38;
}

.author-copy p:last-child {
  margin-bottom: 0;
}

.author-quote {
  grid-column: 1 / -1;
  position: relative;
  max-width: 1040px;
  margin: clamp(8px, 1.4vw, 20px) auto 0;
  padding: clamp(40px, 4vw, 58px) clamp(38px, 5vw, 72px) clamp(32px, 4vw, 48px);
  background: var(--white);
  color: var(--ink);
  font-size: clamp(18px, 1.45vw, 21px);
  font-weight: 300;
  line-height: 1.38;
  text-align: left;
}

.author-quote span {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 880px;
  margin: 0 auto;
}

.author-quote::before {
  content: "“";
  position: absolute;
  top: clamp(10px, 1.5vw, 18px);
  left: clamp(20px, 3vw, 38px);
  display: block;
  color: var(--muted);
  font-size: clamp(46px, 5vw, 70px);
  font-weight: 300;
  line-height: 1;
  opacity: 0.45;
}

.author-quote::after {
  content: none;
}

.buy {
  align-items: stretch;
  background: #111;
  color: #fff;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 420px);
}

.buy > div:first-child {
  max-width: 760px;
}

.buy .eyebrow,
.buy p {
  color: #d7d7d2;
}

.buy .eyebrow {
  margin-bottom: 30px;
}

.buy h2 {
  margin-bottom: 34px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.08;
}

.buy p {
  max-width: 760px;
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.4;
}

.price-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  justify-self: end;
  width: min(100%, 340px);
  min-height: 360px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
}

.price-label {
  margin-bottom: 20px;
  font-size: 18px !important;
}

.price {
  color: #fff !important;
  font-size: clamp(46px, 5vw, 76px) !important;
  line-height: 1 !important;
}

.price-box .button-primary {
  background: #fff;
  color: #000;
}

.price-box .button-primary:hover {
  background: #dcdcd7;
}

.footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(240px, auto);
  gap: 28px clamp(28px, 6vw, 82px);
  padding: 48px clamp(24px, 5vw, 72px) 58px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

.footer p {
  margin: 0;
}

.footer-legal {
  display: grid;
  gap: 6px;
}

.footer-legal p:nth-child(2),
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links {
  justify-content: flex-end;
}

.footer a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-credit {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cookie-banner {
  position: fixed;
  right: clamp(18px, 4vw, 48px);
  bottom: clamp(18px, 4vw, 48px);
  z-index: 80;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(640px, calc(100vw - 36px));
  padding: 20px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(9, 9, 9, 0.14);
}

.cookie-banner.is-visible {
  display: grid;
}

.cookie-banner p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
}

.cookie-banner a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-button {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

.legal-main {
  max-width: 980px;
  margin: 0 auto;
}

.legal-section {
  padding-top: clamp(54px, 8vw, 96px);
}

.legal-section h1 {
  margin-bottom: 34px;
  font-size: clamp(42px, 6vw, 82px);
}

.legal-section h2 {
  margin: 44px 0 16px;
  font-size: clamp(26px, 3vw, 38px);
}

.legal-section p,
.legal-section li {
  color: var(--text);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.5;
}

.legal-section ul,
.legal-section ol {
  padding-left: 1.2em;
}

.legal-section li + li {
  margin-top: 10px;
}

@media (min-width: 901px) {
  .meal-counts {
    white-space: nowrap;
  }

  .fit-item:last-child p {
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    align-items: center;
    flex-direction: row;
    z-index: 50;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    z-index: 49;
    display: grid;
    gap: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0 clamp(24px, 5vw, 72px);
    background: var(--bg);
    color: var(--ink);
    font-size: 18px;
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 32px rgba(9, 9, 9, 0.08);
    transition: max-height 0.24s ease, padding-top 0.24s ease, padding-bottom 0.24s ease;
  }

  .site-header.menu-open .nav,
  body.menu-open .site-header .nav {
    max-height: 260px;
    padding-top: 10px;
    padding-bottom: 18px;
  }

  .nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .legal-header .nav {
    position: static;
    display: flex;
    max-height: none;
    overflow-x: auto;
    width: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    font-size: 15px;
  }

  .legal-header .nav a {
    flex: 0 0 auto;
    padding: 0;
    border-top: 0;
  }

  .hero-media,
  .hero,
  .feature-grid,
  .fit-list,
  .gallery,
  .about,
  .author,
  .buy {
    grid-template-columns: 1fr;
  }

  .hero-photo-large,
  .hero-photo {
    min-height: 300px;
  }

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

  .hero-media {
    order: 1;
    height: clamp(260px, 72vw, 420px);
  }

  .hero-copy {
    order: 2;
  }

  .hero-media .hero-photo:not(.hero-photo-large) {
    display: none;
  }

  .hero-photo-large {
    grid-row: auto;
  }

  .about-lines p {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .inside-meta {
    flex-wrap: nowrap;
    gap: 14px;
    font-size: clamp(18px, 5.2vw, 21px);
    white-space: nowrap;
  }

  .button {
    width: 100%;
  }

  .price-box {
    justify-self: center;
    width: min(100%, 320px);
    min-height: 320px;
    padding: 30px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .cookie-banner {
    left: 18px;
    right: 18px;
    bottom: 18px;
    grid-template-columns: 1fr;
  }

  .author {
    gap: 26px;
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: visible;
  }

  .author > * {
    min-width: 0;
    max-width: 100%;
  }

  .author::before {
    display: none;
  }

  .gallery-frame {
    height: 620px;
  }

  .gallery-card {
    top: auto;
    right: 50%;
    bottom: 18px;
    left: auto;
    width: min(300px, calc(100% - 56px));
    min-height: 250px;
    padding: 34px 26px 30px;
    transform: translateX(50%);
  }

  .gallery-card h2 {
    margin-bottom: 20px;
    font-size: 30px;
  }

  .gallery-card .button {
    width: auto;
    min-width: 164px;
  }

  .gallery-price {
    margin-bottom: 22px;
    font-size: 25px;
  }

  .gallery-caption {
    margin-top: 24px;
    font-size: 18px;
  }

  .author-quote {
    padding: 38px 28px 30px;
    background: var(--white);
  }

  .author-quote::before {
    top: 10px;
    left: 20px;
    font-size: 44px;
  }

  .author-photo {
    min-height: 460px;
    height: clamp(500px, 128vw, 640px);
  }
}

@media (max-width: 560px) {
  .section-pad {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 39px;
  }

  .about .section-title h2 {
    font-size: 42px;
  }

  .inside-title h2 {
    font-size: 39px;
  }

  .lead,
  .about-text,
  .author-copy,
  .buy p {
    font-size: 22px;
  }

  .author-copy h2 {
    font-size: 42px;
    margin-bottom: 24px;
  }

  .author-copy p {
    font-size: 22px;
    line-height: 1.36;
  }

  .about-text p,
  .author-copy p {
    margin-bottom: 24px;
  }

  .author-quote {
    width: 100%;
    margin-top: 0;
    padding: 38px 24px 30px;
    border-left: 0;
    font-size: 18px;
    line-height: 1.42;
    background: var(--white);
    text-align: left;
  }

  .author-quote::before {
    top: 8px;
    left: 18px;
    font-size: 42px;
    opacity: 0.42;
  }

  .author-quote span {
    max-width: none;
    text-wrap: pretty;
  }

  .inside-meta {
    gap: 10px;
    font-size: 18px;
  }

  .hero-media {
    gap: 12px;
  }

  .hero-photo {
    border-radius: 24px;
  }

  .fit-item {
    grid-template-columns: 74px 1fr;
    min-height: auto;
    padding: 22px 0 24px;
  }

  .fit-icon {
    width: 66px;
    height: 60px;
  }

  .fit-item:last-child {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
    width: auto;
    margin-left: 0;
    margin-top: 0;
  }

  .fit-item:nth-child(even) p,
  .fit-item:nth-child(6) p {
    text-align: left;
  }
}
