:root {
  --cream: #f8edcf;
  --paper: #fffaf0;
  --ink: #30251d;
  --red: #b83e29;
  --deep-red: #aa3826;
  --yellow: #f9c850;
  --green: #345b46;
  --line: rgba(48, 37, 29, .22);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 100; top: -80px; left: 20px; padding: 12px 18px; background: var(--paper); font-weight: 700; }
.skip-link:focus { top: 12px; }
.topline { overflow: hidden; padding: 8px 16px; background: var(--red); color: #fff9e9; text-align: center; white-space: nowrap; font-size: 10px; font-weight: 800; letter-spacing: .15em; }

.site-header { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 86px; padding: 15px clamp(22px, 5vw, 82px); border-bottom: 1px solid var(--line); background: var(--cream); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 16px; font-weight: 800; line-height: .95; letter-spacing: -.055em; }
.brand i { color: var(--red); font-family: Georgia, serif; font-weight: 700; letter-spacing: -.075em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: var(--cream); font-size: 30px; font-weight: 400; line-height: 1; }
.nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 52px); }
.nav a { text-decoration: none; font-size: 13px; font-weight: 700; }
.nav a:not(.nav-pill):hover, .text-link:hover, .site-footer a:hover { color: var(--red); }
.nav-pill { display: flex; align-items: center; gap: 24px; padding: 12px 18px; border: 1.5px solid var(--ink); border-radius: 100px; transition: background .2s, color .2s, transform .2s; }
.nav-pill:hover { transform: translateY(-2px); background: var(--ink); color: var(--cream); }
.nav-pill span { font-size: 19px; line-height: .7; }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); min-height: min(710px, calc(100svh - 116px)); overflow: hidden; }
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 70px 3vw 95px clamp(22px, 8.5vw, 138px); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 30px; color: var(--red); font-size: 11px; font-weight: 800; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-line { width: 28px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 800; letter-spacing: -.075em; }
h1 { margin-bottom: 23px; font-size: clamp(74px, 8.5vw, 150px); line-height: .91; white-space: nowrap; }
h1 em, h2 em { color: var(--red); font-weight: 700; }
.hero-lede { max-width: 420px; margin-bottom: 31px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 14px 22px; border: 2px solid transparent; border-radius: 100px; text-decoration: none; font-size: 13px; font-weight: 800; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-3px); }
.button span { font-size: 20px; line-height: .6; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--red); }
.text-link { padding: 10px 0; text-underline-offset: 6px; font-size: 13px; font-weight: 800; }
.text-link span { margin-left: 5px; font-size: 18px; }
.hero-note { position: absolute; bottom: 25px; left: clamp(22px, 8.5vw, 138px); display: flex; align-items: center; gap: 9px; transform: rotate(-4deg); color: var(--red); font-size: 10px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.hero-note strong { font-size: 13px; }
.note-star { font-size: 44px; font-weight: 400; }
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; padding: 7% 7% 9% 0; background: var(--yellow); }
.hero-art::before { position: absolute; inset: 0; content: ""; opacity: .2; background-image: radial-gradient(#a93a25 1.1px, transparent 1.1px); background-size: 22px 22px; }
.photo-frame { position: relative; width: min(100%, 780px); aspect-ratio: 1.05; overflow: hidden; border: 11px solid var(--paper); border-radius: 48% 48% 43% 43% / 42% 42% 47% 47%; box-shadow: 20px 24px 0 rgba(118, 54, 21, .18); transform: rotate(-5deg); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; transform: scale(1.17) rotate(5deg); }
.photo-caption { position: absolute; right: 12%; bottom: 5%; color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .16em; transform: rotate(-5deg); }
.round-stamp { position: absolute; top: 10%; right: 4%; display: flex; flex-direction: column; align-items: center; justify-content: center; width: clamp(105px, 11vw, 158px); aspect-ratio: 1; border: 2px dashed var(--paper); border-radius: 50%; background: var(--red); color: var(--paper); text-align: center; font-size: clamp(15px, 1.6vw, 23px); font-weight: 800; line-height: .95; letter-spacing: -.035em; transform: rotate(15deg); box-shadow: 0 0 0 6px var(--red); }
.round-stamp b { margin-top: 8px; font-size: 20px; font-weight: 400; }
.spark { position: absolute; color: var(--cream); line-height: 1; }
.spark-one { top: 7%; left: 5%; font-size: 92px; transform: rotate(-18deg); }
.spark-two { right: 5%; bottom: 11%; font-size: 68px; transform: rotate(20deg); }

.ticker { overflow: hidden; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--red); color: var(--cream); }
.ticker-track { display: flex; width: max-content; gap: 50px; padding: 15px 0 14px; animation: marquee 24s linear infinite; }
.ticker span { white-space: nowrap; font-family: Fraunces, Georgia, serif; font-size: clamp(20px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.ticker b { padding: 0 21px; color: var(--yellow); font-family: sans-serif; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section-wrap { width: min(100% - 44px, 1250px); margin-inline: auto; }
.case { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(75px, 9vw, 130px); }
.section-intro { max-width: 890px; }
.section-intro .eyebrow { margin-bottom: 20px; }
.section-intro h2 { margin-bottom: 70px; font-size: clamp(52px, 6.3vw, 99px); line-height: .98; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.case-item { position: relative; min-height: 330px; padding: 26px 36px 34px; }
.case-item:first-child { padding-left: 0; }
.case-item + .case-item { border-left: 1px solid var(--ink); }
.case-number { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.case-icon { display: grid; place-items: center; width: 90px; height: 90px; margin: 38px 0 24px; border: 2px solid var(--ink); border-radius: 50%; color: var(--red); font-family: Georgia, serif; font-size: 65px; line-height: 1; transform: rotate(-15deg); }
.cheese-icon { background: var(--yellow); font-size: 58px; transform: rotate(13deg); }
.case-item h3 { margin-bottom: 9px; font-family: Fraunces, Georgia, serif; font-size: clamp(26px, 2.4vw, 35px); letter-spacing: -.05em; }
.case-item p { max-width: 290px; margin-bottom: 0; font-size: 15px; line-height: 1.55; }
.case-footnote { margin: 18px 0 0; color: #66594e; font-size: 11px; font-style: italic; }

.recipe { position: relative; overflow: hidden; background: var(--green); color: var(--paper); }
.recipe-inner { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; column-gap: clamp(50px, 8vw, 130px); row-gap: 58px; padding-top: clamp(90px, 10vw, 150px); padding-bottom: clamp(90px, 10vw, 150px); }
.recipe-heading { align-self: center; }
.recipe-heading .eyebrow { color: var(--yellow); }
.recipe-heading h2 { margin-bottom: 25px; font-size: clamp(55px, 5.7vw, 90px); line-height: .96; }
.recipe-heading h2 em { color: var(--yellow); }
.recipe-heading > p:not(.eyebrow) { max-width: 390px; font-size: 18px; line-height: 1.55; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.recipe-meta span { padding: 10px 13px; border: 1px solid rgba(255, 250, 240, .55); border-radius: 50px; font-size: 12px; font-weight: 700; }
.recipe-card { transform: rotate(2.3deg); background: var(--paper); color: var(--ink); box-shadow: 14px 17px 0 rgba(14, 34, 22, .45); }
.recipe-card-top, .recipe-card-bottom { display: flex; justify-content: space-between; padding: 20px 28px; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.recipe-card-top { border-bottom: 1px solid var(--ink); }
.recipe-card-bottom { align-items: center; border-top: 1px solid var(--ink); color: var(--red); }
.recipe-card-bottom span { font-size: 24px; line-height: .5; }
.ingredients { margin: 0; padding: 18px 28px 22px; list-style: none; }
.ingredients li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed #bcafa1; font-size: clamp(14px, 1.2vw, 17px); }
.ingredients li:last-child { border: 0; }
.ingredients span { min-width: 74px; color: var(--red); font-weight: 800; }
.steps { grid-column: 1 / -1; max-width: 1010px; margin-top: 20px; }
.steps-label { margin-bottom: 20px; color: var(--yellow); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 16px; padding-top: 20px; border-top: 1px solid rgba(255, 250, 240, .5); }
.steps li span { color: var(--yellow); font-size: 12px; font-weight: 800; }
.steps li p { margin-bottom: 0; font-size: 14px; line-height: 1.6; }
.recipe-doodle { position: absolute; right: 0; bottom: 50px; color: var(--yellow); font-family: Fraunces, Georgia, serif; font-size: 56px; font-style: italic; transform: rotate(-10deg); }
.recipe-doodle span { display: block; margin-top: -10px; font-size: 21px; line-height: .95; }

.lab { display: grid; grid-template-columns: 1fr .92fr; align-items: center; gap: clamp(70px, 12vw, 180px); padding-top: clamp(85px, 10vw, 145px); padding-bottom: clamp(95px, 11vw, 155px); }
.lab h2 { margin-bottom: 23px; font-size: clamp(65px, 7vw, 110px); line-height: .92; }
.lab-copy > p:not(.eyebrow):not(.crust-result) { max-width: 340px; margin-bottom: 43px; font-size: 17px; line-height: 1.6; }
.slider-wrap { max-width: 450px; }
.slider-wrap label { display: block; margin-bottom: 22px; font-size: 13px; font-weight: 800; }
input[type="range"] { width: 100%; height: 8px; margin: 0; border: 1px solid var(--ink); border-radius: 50px; appearance: none; background: linear-gradient(to right, var(--red) var(--progress), #e0d2af var(--progress)); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { width: 26px; height: 26px; border: 3px solid var(--paper); border-radius: 50%; appearance: none; background: var(--red); box-shadow: 0 0 0 2px var(--ink); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 3px solid var(--paper); border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--ink); }
.range-ends { display: flex; justify-content: space-between; margin-top: 15px; color: #584c3f; font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.crust-result { display: flex; align-items: center; gap: 10px; min-height: 50px; margin: 17px 0 0; color: var(--red); font-family: Fraunces, Georgia, serif; font-size: clamp(18px, 2vw, 26px); font-weight: 700; }
.crust-result span { font-family: sans-serif; font-size: 27px; }
.excuse-card { position: relative; min-height: 465px; padding: 37px clamp(26px, 4vw, 63px) 50px; border: 2px solid var(--ink); background: var(--yellow); box-shadow: 15px 17px 0 var(--red); transform: rotate(3deg); }
.excuse-tag { font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.quote-mark { height: 115px; margin: 15px 0 -14px; color: var(--red); font-family: Georgia, serif; font-size: 160px; line-height: 1; }
.excuse-card p { position: relative; max-width: 410px; min-height: 135px; margin-bottom: 30px; font-family: Fraunces, Georgia, serif; font-size: clamp(26px, 2.6vw, 40px); font-weight: 700; line-height: 1.16; letter-spacing: -.04em; }
.excuse-card button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 20px; min-height: 48px; padding: 12px 18px; border: 1.5px solid var(--ink); border-radius: 100px; background: transparent; color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 800; transition: background .2s, color .2s, transform .2s; }
.excuse-card button:hover { transform: translateY(-2px); background: var(--ink); color: var(--paper); }
.excuse-card button span { font-size: 20px; line-height: .5; }
.excuse-squiggle { position: absolute; right: 25px; bottom: 30px; color: var(--red); font-size: 70px; line-height: .5; transform: rotate(-15deg); }

.closing { overflow: hidden; background: var(--red); color: var(--paper); text-align: center; }
.closing-inner { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(85px, 10vw, 140px); }
.closing-star { position: absolute; top: 10%; left: 6%; color: var(--yellow); font-size: clamp(60px, 10vw, 140px); line-height: 1; transform: rotate(-14deg); }
.closing-inner > p { margin-bottom: 30px; color: var(--yellow); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.closing h2 { margin-bottom: 34px; font-size: clamp(57px, 7.4vw, 115px); line-height: .97; }
.closing h2 em { color: var(--yellow); }
.button-cream { background: var(--paper); color: var(--ink); }
.button-cream:hover { background: var(--yellow); }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(22px, 5vw, 82px); background: var(--cream); font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.site-footer a { text-decoration: none; }

@media (max-width: 1050px) {
  .hero { min-height: 610px; }
  .hero-copy { padding-left: 5vw; }
  .hero-note { left: 5vw; }
  h1 { font-size: clamp(69px, 8vw, 104px); }
  .hero-art { padding: 8% 7% 10% 1%; }
  .case-item { padding-inline: 25px; }
  .recipe-doodle { display: none; }
}

@media (max-width: 760px) {
  .site-header { min-height: 72px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 34px; height: 34px; font-size: 27px; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 18px; height: 2px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 15px 22px 25px; border-bottom: 1px solid var(--ink); background: var(--cream); box-shadow: 0 15px 20px rgba(48, 37, 29, .1); }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav .nav-pill { justify-content: space-between; margin-top: 18px; padding: 15px 20px; border: 1.5px solid var(--ink); }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { padding: 65px 22px 100px; }
  h1 { font-size: clamp(70px, 13vw, 110px); }
  .hero-lede { max-width: 520px; }
  .hero-note { bottom: 23px; left: 22px; }
  .hero-art { min-height: 530px; padding: 55px 8% 65px; }
  .photo-frame { width: min(100%, 600px); aspect-ratio: 1.25; }
  .round-stamp { top: 8%; right: 5%; }
  .spark-one { top: 5%; left: 3%; font-size: 70px; }
  .spark-two { right: 3%; bottom: 10%; }
  .section-intro h2 { margin-bottom: 45px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-item, .case-item:first-child { min-height: 0; padding: 26px 0 35px; }
  .case-item + .case-item { border-top: 1px solid var(--ink); border-left: 0; }
  .case-icon { width: 72px; height: 72px; margin: 17px 0 14px; font-size: 50px; }
  .case-item h3 { font-size: 29px; }
  .recipe-inner { grid-template-columns: 1fr; gap: 55px; }
  .recipe-card { width: min(100% - 12px, 600px); margin-inline: auto; }
  .steps { grid-column: auto; margin-top: 4px; }
  .steps ol { grid-template-columns: 1fr; gap: 21px; }
  .lab { grid-template-columns: 1fr; gap: 80px; }
  .excuse-card { width: min(100% - 16px, 560px); margin-inline: auto; }
  .site-footer { flex-wrap: wrap; justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .topline { font-size: 8px; }
  h1 { font-size: clamp(60px, 14vw, 76px); }
  .hero-copy { padding-top: 55px; }
  .hero-actions { gap: 14px; }
  .button { min-height: 49px; padding-inline: 17px; }
  .hero-art { min-height: 370px; padding: 45px 7% 55px; }
  .photo-frame { border-width: 7px; box-shadow: 11px 14px 0 rgba(118, 54, 21, .18); }
  .round-stamp { top: 4%; right: 4%; width: 90px; font-size: 13px; }
  .round-stamp b { margin-top: 5px; font-size: 16px; }
  .photo-caption { right: 11%; bottom: 7%; font-size: 8px; }
  .spark-one { font-size: 45px; }
  .spark-two { font-size: 38px; }
  .section-intro h2 { font-size: clamp(49px, 12vw, 65px); }
  .recipe-heading h2, .lab h2 { font-size: clamp(57px, 13vw, 75px); }
  .recipe-card { transform: rotate(1.4deg); }
  .recipe-card-top, .recipe-card-bottom { padding-inline: 18px; }
  .ingredients { padding-inline: 18px; }
  .ingredients span { min-width: 65px; }
  .excuse-card { min-height: 430px; transform: rotate(1.5deg); }
  .excuse-card p { min-height: 130px; }
  .closing-star { left: -2%; top: 10%; font-size: 63px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
