/* Culinary artwork is decorative. All page copy and layout remain native HTML. */
:root {
  --paper:#f6f2e7;
  --cream:#faf7ec;
  --ink:#092e24;
  --green:#103b2b;
  --muted:#3b5147;
  --leaf:#e5ebd3;
  --stroke:#648655;
}

* {
  box-sizing:border-box;
}

html {
  background:var(--green);
}

body {
  margin:0;
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,p,figure {
  margin:0;
}

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

a {
  color:inherit;
}

svg {
  display:block;
}

a:focus-visible {
  outline:3px solid #b46616;
  outline-offset:6px;
  border-radius:3px;
}

.skip-link {
  position:absolute;
  left:16px;
  top:12px;
  transform:translateY(-200%);
  z-index:10;
  background:var(--cream);
  padding:12px 18px;
}

.skip-link:focus {
  transform:none;
}

.cookbook {
  position:relative;
  background:var(--paper);
  isolation:isolate;
  overflow:clip;
}

.cookbook::before {
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:100%;
  max-width:1600px;
  aspect-ratio:1.5;
  background:url('assets/culinary-frame.webp') center top / cover no-repeat;
  mask-image:linear-gradient(#000 80%,transparent);
}

.brand-header {
  position:relative;
  max-width:1320px;
  margin:auto;
  padding:34px 24px 18px;
  text-align:center;
}

.brand {
  display:inline-flex;
  align-items:center;
  flex-direction:column;
  text-decoration:none;
}

.brand img {
  width:116px;
  height:116px;
  border-radius:26%;
  mix-blend-mode:multiply;
}

.brand span {
  font-size:58px;
  font-weight:780;
  letter-spacing:-3px;
  line-height:1.05;
  margin-top:8px;
}

.handwritten {
  font-family:"Bradley Hand","Segoe Print","Comic Sans MS",cursive;
  font-size:25px;
  line-height:1.22;
  font-weight:500;
}

.margin-note {
  position:absolute;
  max-width:160px;
  transform:rotate(-8deg);
  text-align:left;
}

.note-left {
  left:17%;
  top:116px;
}

.note-right {
  right:13%;
  top:58px;
  transform:rotate(7deg);
}

.margin-note::after,.footer-note::after {
  content:"";
  display:block;
  height:6px;
  border-top:3px solid var(--stroke);
  border-radius:50%;
  margin-top:8px;
  transform:rotate(-9deg);
  width:90%;
}

.hero {
  text-align:center;
  max-width:1040px;
  margin:auto;
  padding:22px 40px 38px;
}

h1 {
  font-size:clamp(40px,4.9vw,68px);
  font-weight:780;
  letter-spacing:-.055em;
  line-height:1.04;
  text-wrap:balance;
}

.underlined {
  position:relative;
  white-space:nowrap;
}

.underlined::after {
  content:"";
  position:absolute;
  bottom:-4px;
  left:1%;
  width:100%;
  height:7px;
  border-bottom:4px solid var(--stroke);
  border-radius:50%;
  transform:rotate(-2deg);
  z-index:-1;
}

.hero-description {
  max-width:740px;
  margin:24px auto 0;
  font-size:21px;
  line-height:1.5;
  text-wrap:balance;
  color:var(--muted);
}

.story {
  max-width:1320px;
  margin:12px auto 0;
  padding:0 52px 86px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 132px minmax(0,1fr);
  gap:15px;
  align-items:start;
}

.physical,.digital {
  min-width:0;
}

.card-stage {
  position:relative;
  height:450px;
  margin-bottom:28px;
}

.recipe-card {
  position:absolute;
  width:87%;
  border:5px solid #fffdf5;
  border-radius:3px;
  box-shadow:0 13px 20px #25332525;
  transform-origin:50% 60%;
}

.card-back {
  top:17px;
  left:0;
  transform:rotate(-13deg);
}

.card-middle {
  top:57px;
  right:-1%;
  transform:rotate(11deg);
}

.card-front {
  left:7%;
  top:118px;
  transform:rotate(-5deg);
}

.sticky {
  position:absolute;
  left:-12px;
  bottom:3px;
  z-index:2;
  padding:20px 14px;
  width:168px;
  background:#f5e88b;
  box-shadow:1px 8px 12px #27332924;
  transform:rotate(-10deg);
  font-size:23px;
}

.story-copy {
  text-align:center;
}

.story-copy h2 {
  font-size:25px;
  line-height:1.16;
  letter-spacing:-.045em;
  font-weight:750;
  margin-bottom:12px;
  text-wrap:balance;
}

.story-copy p {
  font-size:18px;
  line-height:1.45;
  color:var(--muted);
  max-width:440px;
  margin:auto;
  text-wrap:balance;
}

.bridge {
  align-self:start;
  padding-top:126px;
  text-align:center;
}

.bridge .handwritten {
  transform:rotate(-7deg);
  font-size:25px;
  margin-top:9px;
}

.drawn-arrow {
  width:126px;
  height:83px;
  fill:none;
  stroke:var(--stroke);
  stroke-width:5;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.drawn-arrow path+path {
  stroke-width:2;
  opacity:.65;
}

.device-figure {
  margin-bottom:24px;
}

.device-stage {
  position:relative;
  height:450px;
  display:flex;
  align-items:center;
}

.tablet {
  position:absolute;
  width:95%;
  left:0;
  top:53px;
  padding:14px 13px;
  border-radius:24px;
  background:#171b18;
  border:2px solid #616661;
  box-shadow:0 18px 24px #23352c30;
  transform:rotate(-5deg);
}

.tablet img {
  width:100%;
  border-radius:7px;
}

.phone {
  position:absolute;
  width:33%;
  right:-1%;
  bottom:7px;
  padding:9px 5px;
  background:#151515;
  border:2px solid #60635e;
  border-radius:23px;
  box-shadow:0 12px 20px #18261d45;
  transform:rotate(3deg);
  overflow:hidden;
}

.phone img {
  border-radius:13px;
  width:100%;
}

.device-figure figcaption {
  font-size:11px;
  text-align:center;
  color:var(--muted);
  margin-top:8px;
  line-height:1.4;
}

.digital .story-copy {
  margin-top:0;
}

.values {
  position:relative;
  background:var(--cream);
  padding:24px 40px 72px;
}

.wave {
  position:absolute;
  bottom:calc(100% - 1px);
  left:0;
  width:100%;
  height:48px;
  pointer-events:none;
}

.wave-cream {
  fill:var(--cream);
}

.value-grid {
  max-width:1160px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:38px;
  text-align:center;
}

.value-icon {
  display:grid;
  place-items:center;
  width:86px;
  height:86px;
  border-radius:50%;
  background:var(--leaf);
  margin:0 auto 16px;
}

.value-icon svg {
  width:51px;
  height:51px;
  fill:none;
  stroke:var(--ink);
  stroke-width:3.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.values h2 {
  font-size:21px;
  line-height:1.2;
  letter-spacing:-.035em;
  margin-bottom:10px;
}

.values p {
  font-size:17px;
  line-height:1.45;
  color:var(--muted);
  max-width:220px;
  margin:auto;
  text-wrap:balance;
}

.availability {
  position:relative;
  background:linear-gradient(var(--green),transparent 22%),url('assets/culinary-footer.webp') center bottom / cover no-repeat,var(--green);
  color:var(--cream);
  padding:52px 28px 38px;
  text-align:center;
  min-height:360px;
}

.wave-green {
  fill:var(--green);
  height:54px;
}

.availability-copy {
  position:relative;
  max-width:720px;
  margin:auto;
}

.availability h2 {
  font-size:clamp(31px,3.6vw,48px);
  line-height:1.09;
  letter-spacing:-.045em;
  text-wrap:balance;
}

.supporting {
  font-size:22px;
  line-height:1.4;
  margin-top:16px;
}

.platforms {
  width:120px;
  height:76px;
  fill:none;
  stroke:var(--cream);
  stroke-width:4;
  stroke-linecap:round;
  margin:24px auto 20px;
}

.preview-status {
  font-size:15px;
  line-height:1.5;
}

.footer-note {
  position:absolute;
  font-size:25px;
  color:#e0e6c8;
  top:92px;
  text-align:left;
  transform:rotate(-9deg);
}

.footer-note-left {
  left:16%;
}

.footer-note-right {
  right:17%;
  top:190px;
  transform:rotate(8deg);
}

footer {
  background:var(--green);
  color:#e3e9df;
  padding:20px 5%;
  display:flex;
  justify-content:space-between;
  font-size:12px;
  border-top:1px solid #ffffff20;
}

footer a {
  text-underline-offset:4px;
}

@media(min-width:1500px) {
  .cookbook {
    background-size:1600px auto;
  }

  .brand-header {
    padding-top:42px;
  }

  .hero {
    padding-top:28px;
  }

  .story {
    margin-top:30px;
  }

}

@media(max-width:1050px) {
  .brand-header {
    padding-top:28px;
  }

  .brand img {
    width:100px;
    height:100px;
  }

  .brand span {
    font-size:49px;
  }

  .note-left {
    left:17%;
    top:112px;
  }

  .note-right {
    right:16%;
    top:54px;
  }

  .margin-note {
    font-size:21px;
  }

  .hero {
    padding:24px 12% 30px;
  }

  .hero-description {
    font-size:19px;
  }

  .story {
    padding:0 30px 78px;
    grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr);
    gap:10px;
  }

  .card-stage,.device-stage {
    height:315px;
  }

  .card-front {
    top:97px;
  }

  .card-middle {
    top:50px;
  }

  .sticky {
    font-size:19px;
    width:140px;
    padding:17px 12px;
    bottom:0;
    left:0;
  }

  .bridge {
    padding-top:105px;
  }

  .bridge .handwritten {
    font-size:21px;
  }

  .drawn-arrow {
    width:100px;
    height:65px;
  }

  .story-copy h2 {
    font-size:22px;
  }

  .story-copy p {
    font-size:16px;
  }

  .tablet {
    top:60px;
    border-radius:19px;
    padding:10px 8px;
  }

  .phone {
    width:35%;
    border-radius:18px;
  }

  .value-grid {
    gap:22px;
  }

  .values {
    padding-inline:25px;
  }

  .values h2 {
    font-size:19px;
  }

  .values p {
    font-size:16px;
  }

  .footer-note-left {
    left:8%;
  }

  .footer-note-right {
    right:7%;
  }

  .footer-note {
    font-size:21px;
  }

  .availability-copy {
    max-width:62%;
  }

}

@media(max-width:700px) {
  .cookbook::before {
    width:100%;
    height:calc(100vw / 1.5);
    aspect-ratio:auto;
    background-size:100% auto;
    mask-image:linear-gradient(#000 35%,transparent 72%);
  }

  .brand-header {
    padding:26px 24px 12px;
  }

  .brand img {
    width:84px;
    height:84px;
    border-radius:22%;
  }

  .brand span {
    font-size:43px;
    letter-spacing:-2px;
  }

  .margin-note {
    display:none;
  }

  .hero {
    padding:18px 26px 32px;
  }

  h1 {
    font-size:clamp(36px,7.5vw,50px);
    line-height:1.08;
  }

  .hero-description {
    font-size:18px;
    margin-top:22px;
    max-width:470px;
  }

  .story {
    display:flex;
    flex-direction:column;
    gap:0;
    max-width:520px;
    padding:0 28px 72px;
    margin-top:14px;
  }

  .physical,.digital {
    width:100%;
  }

  .card-stage {
    height:350px;
    max-width:405px;
    margin:0 auto 22px;
  }

  .card-back {
    top:10px;
  }

  .card-middle {
    top:58px;
  }

  .card-front {
    top:114px;
  }

  .sticky {
    left:-5px;
    bottom:3px;
    font-size:21px;
    width:155px;
  }

  .story-copy h2 {
    font-size:26px;
    line-height:1.15;
  }

  .story-copy p {
    font-size:18px;
    max-width:380px;
  }

  .bridge {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    padding:28px 14px 6px;
    width:100%;
    text-align:left;
  }

  .drawn-arrow {
    width:85px;
    height:95px;
    transform:rotate(60deg);
  }

  .bridge .handwritten {
    font-size:25px;
    max-width:190px;
    margin:0;
  }

  .device-stage {
    height:330px;
    max-width:420px;
    margin:auto;
  }

  .tablet {
    top:40px;
    padding:12px 10px;
    border-radius:22px;
  }

  .phone {
    right:0;
    bottom:12px;
    width:32%;
    border-radius:22px;
    padding:8px 5px;
  }

  .device-figure {
    margin-bottom:22px;
  }

  .device-figure figcaption {
    margin-top:8px;
    font-size:11px;
  }

  .values {
    padding:22px 26px 70px;
  }

  .value-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:32px 22px;
    max-width:480px;
  }

  .value-icon {
    width:72px;
    height:72px;
    margin-bottom:12px;
  }

  .value-icon svg {
    width:43px;
    height:43px;
  }

  .values h2 {
    font-size:19px;
  }

  .values p {
    font-size:16px;
  }

  .availability {
    padding:42px 24px 34px;
    min-height:360px;
    background-image:linear-gradient(to bottom, var(--green) calc(100% - 130px), transparent calc(100% - 75px)), url('assets/culinary-footer.webp');
    background-size:100% 100%,100% auto;
    background-repeat:no-repeat;
    background-position:center bottom;
  }

  .availability-copy {
    max-width:100%;
  }

  .availability h2 {
    font-size:35px;
  }

  .supporting {
    font-size:19px;
    max-width:260px;
    margin:15px auto 0;
  }

  .footer-note {
    display:none;
  }

  .platforms {
    width:106px;
    height:68px;
  }

  .preview-status {
    font-size:14px;
    max-width:240px;
    margin:auto;
  }

  footer {
    padding:20px 24px;
  }

  .wave {
    height:32px;
  }

  .wave-green {
    height:42px;
  }

}

@media(max-width:380px) {
  .hero {
    padding-inline:20px;
  }

  h1 {
    font-size:35px;
  }

  .hero-description {
    font-size:17px;
  }

  .story {
    padding-inline:24px;
  }

  .card-stage {
    height:300px;
  }

  .card-front {
    top:93px;
  }

  .sticky {
    width:138px;
    font-size:19px;
    padding:15px 10px;
  }

  .device-stage {
    height:280px;
  }

  .tablet {
    top:37px;
  }

  .phone {
    width:34%;
    bottom:10px;
  }

  .story-copy h2 {
    font-size:24px;
  }

  .story-copy p {
    font-size:17px;
  }

  .value-grid {
    gap:28px 16px;
  }

  .values {
    padding-inline:20px;
  }

  .values h2 {
    font-size:18px;
  }

  .values p {
    font-size:15px;
  }

  .availability h2 {
    font-size:31px;
  }

}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior:auto!important;
  }

}

@media print {
  .cookbook {
    background:var(--paper);
  }

  .skip-link,.margin-note,.footer-note {
    display:none;
  }

  .availability {
    background:var(--green);
    print-color-adjust:exact;
  }

  .story {
    break-inside:avoid;
  }

  .values {
    break-inside:avoid;
  }

  footer {
    background:var(--paper);
    color:var(--ink);
  }

}

.reference-caption {
  font-size:11px;
  line-height:1.4;
  color:var(--muted);
  text-align:center;
  margin:-16px 0 24px;
}

@media(max-width:700px) {
  .reference-caption {
    margin:-2px 0 22px;
  }

}

.nowrap {
  white-space:nowrap;
}

