/* SurferFood homepage only. Linked from index.html and nowhere else.
   Every rule is scoped under body.sf-home, so no other page can pick it up.
   The block between critical:start and critical:end is mirrored (minified)
   in the <style id="sf-home-critical"> tag in index.html for first paint. */

/* critical:start */
body.sf-home {
  --pad: clamp(20px, 4vw, 56px);
  --night: #06151c;
  --ink: #112027;
  --soft: #4c626e;
  --paper: #f3fafd;
  --mist: #d3dfe6;
  --t1: clamp(2.125rem, 5.2vw, 5.75rem);
  --t2: clamp(1.75rem, 0.95rem + 3.4vw, 4.25rem);
  --t3: clamp(1.5rem, 2.3vw, 2.125rem);
  --t4: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --t5: 1rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.6;
  overflow-x: clip;
}
body.sf-home picture > source {
  display: none;
}
body.sf-home .container {
  max-width: 1440px;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* Nav: a plain bar. With script it rides on the photograph until the page moves. */
body.sf-home .nav {
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
body.sf-home .nav__links a {
  font-size: 1rem;
  letter-spacing: 0.04em;
}
body.sf-home .mobile-menu:not(.open) {
  visibility: hidden;
  transition: opacity var(--duration-normal) var(--ease-out), visibility 0s linear var(--duration-normal);
}
html.sf-js body.sf-home .nav:not(.nav--scrolled) {
  background: transparent;
}
html.sf-js body.sf-home .nav:not(.nav--scrolled) .nav__links a:not(.btn) {
  color: #f3fafd;
}
html.sf-js body.sf-home .nav:not(.nav--scrolled) .nav__logo img {
  filter: brightness(0) invert(1);
}
html.sf-js body.sf-home .nav:not(.nav--scrolled) .nav__hamburger:not(.active) span {
  background: #f3fafd;
}
html.sf-js body.sf-home .hero {
  margin-top: calc(-1 * var(--nav-height));
}

/* Hero: the photograph is the first screen, the title sits along its lower edge. */
body.sf-home .hero {
  display: block;
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--night);
  color: #f3fafd;
}
body.sf-home .hero__bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 54svh;
  z-index: 1;
  overflow: hidden;
}
body.sf-home .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 24% 50%;
  opacity: 1;
}
body.sf-home .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 21, 28, 0.62) 0%, rgba(6, 21, 28, 0) 24%),
    linear-gradient(180deg, rgba(6, 21, 28, 0) 58%, rgba(6, 21, 28, 0.78) 86%, #06151c 100%);
}
body.sf-home .hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
body.sf-home .sf-hero-lede {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-height) + 40svh) 0 28px;
}
body.sf-home .hero__label {
  position: absolute;
  top: calc(var(--nav-height) + 12px);
  left: 0;
  margin: 0;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: var(--t4);
  letter-spacing: 0;
  text-transform: none;
  color: #f3fafd;
}
body.sf-home .hero__title {
  max-width: none;
  margin: 0 0 16px;
  font-size: var(--t1);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  color: #f3fafd;
}
body.sf-home .hero__sub {
  max-width: 36rem;
  margin: 0 0 20px;
  font-size: var(--t4);
  line-height: 1.55;
  color: #f3fafd;
}
body.sf-home .hero__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  align-items: center;
}
body.sf-home .btn {
  border-radius: 0;
  font-size: 1rem;
  letter-spacing: 0.06em;
  min-height: 52px;
  padding: 14px 28px;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}
body.sf-home .btn--primary {
  background: #f47c2b;
  color: #040d12;
}
body.sf-home .sf-hero-secondary {
  width: auto;
  justify-content: flex-start;
  min-height: 44px;
  padding: 8px 0;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: #f3fafd;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
body.sf-home .sf-hero-ledger {
  display: grid;
  gap: 28px;
  padding: 28px 0 56px;
}
body.sf-home .sf-hero-ledger .hero__meta {
  max-width: 34rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t4);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  color: #d3dfe6;
}
body.sf-home .sf-hero-ledger .hero__meta strong {
  color: #f3fafd;
}
body.sf-home .sf-hero-ledger .sf-hero-facts {
  max-width: none;
  display: grid;
  gap: 20px;
  font-family: var(--font-display);
  font-size: var(--t3);
  font-weight: 700;
  line-height: 1.02;
  text-transform: uppercase;
  color: #f3fafd;
}
body.sf-home .sf-hero-facts > span:not(.sf-sep) {
  display: block;
  padding-top: 14px;
  border-top: 6px solid #4abfb8;
}
body.sf-home .sf-sep {
  display: none;
}
@media (min-width: 900px) {
  body.sf-home .hero__bg {
    height: 78svh;
  }
  body.sf-home .hero__bg img {
    object-position: 50% 38%;
  }
  body.sf-home .sf-hero-lede {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-content: end;
    padding: calc(var(--nav-height) + 24px) 0 clamp(28px, 5svh, 56px);
  }
  body.sf-home .hero__label {
    left: auto;
    right: 0;
    font-size: 1.25rem;
  }
  body.sf-home .hero__title {
    grid-column: 1 / -1;
    margin-bottom: clamp(20px, 3svh, 32px);
  }
  body.sf-home .hero__title span {
    display: block;
  }
  body.sf-home .hero__sub {
    grid-column: 1 / span 6;
    margin: 0;
    font-size: var(--t4);
  }
  body.sf-home .hero__actions {
    grid-column: 8 / -1;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 28px;
    row-gap: 0;
    align-self: end;
    justify-content: end;
  }
  body.sf-home .hero__actions .btn {
    grid-row: 1 / span 2;
    align-self: center;
  }
  body.sf-home .sf-hero-ledger {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    padding: 40px 0 88px;
  }
  body.sf-home .sf-hero-ledger .hero__meta {
    grid-column: 1 / span 4;
  }
  body.sf-home .sf-hero-ledger .sf-hero-facts {
    grid-column: 6 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
  }
}
@media (max-width: 899px) {
  body.sf-home .hero__actions .btn {
    width: 100%;
    margin-bottom: 4px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  body.sf-home .hero__bg img {
    animation: sf-settle 2400ms var(--ease) both;
  }
  html.sf-js body.sf-home .sf-hero-lede.hero-stagger {
    opacity: 1;
    transform: none;
  }
  body.sf-home .hero__title span,
  body.sf-home .hero__sub,
  body.sf-home .hero__actions,
  body.sf-home .hero__label {
    animation: sf-rise 900ms var(--ease) both;
  }
  body.sf-home .hero__title span:nth-child(2) { animation-delay: 90ms; }
  body.sf-home .hero__sub { animation-delay: 200ms; }
  body.sf-home .hero__actions { animation-delay: 290ms; }
  body.sf-home .hero__label { animation-delay: 420ms; }
}
@keyframes sf-settle {
  from { transform: scale(1.07); }
  to { transform: none; }
}
@keyframes sf-rise {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to { opacity: 1; transform: none; }
}
/* critical:end */

/* ---------- Shared pieces ---------- */
body.sf-home .btn--primary:hover,
body.sf-home .btn.btn--primary.btn--browse:hover,
body.sf-home .hero__actions .btn--primary[href="recipes.html"]:hover {
  background: #ff9a55;
  color: #040d12;
  transform: translate3d(0, -2px, 0);
  box-shadow: none;
}
body.sf-home .btn--primary:active,
body.sf-home .btn.btn--primary.btn--browse:active {
  transform: translate3d(0, 1px, 0);
}
body.sf-home a:focus-visible,
body.sf-home button:focus-visible,
body.sf-home summary:focus-visible,
body.sf-home .btn--browse:focus-visible {
  outline: 3px solid var(--deep-brine);
  outline-offset: 3px;
}
body.sf-home .hero a:focus-visible,
body.sf-home .sf-problem a:focus-visible,
body.sf-home .sf-plates a:focus-visible,
body.sf-home .sf-steps a:focus-visible,
body.sf-home .email-section a:focus-visible,
body.sf-home .email-section button:focus-visible,
body.sf-home .sf-close a:focus-visible,
html.sf-js body.sf-home .nav:not(.nav--scrolled) a:focus-visible,
html.sf-js body.sf-home .nav:not(.nav--scrolled) button:focus-visible {
  outline-color: #f3fafd;
}
body.sf-home .sf-hero-secondary:hover {
  color: #4abfb8;
}
body.sf-home .section {
  padding-top: clamp(72px, 10vw, 152px);
  padding-bottom: clamp(72px, 10vw, 152px);
}
body.sf-home .section-header {
  margin-bottom: 40px;
}
body.sf-home .section-label,
body.sf-home .guide-callout__label {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: var(--t4);
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: var(--kelp);
}
body.sf-home .section-title,
body.sf-home .guide-callout__title,
body.sf-home .sf-close h2 {
  max-width: none;
  margin: 0;
  font-size: var(--t2);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
body.sf-home .section-desc {
  max-width: 60ch;
  margin-top: 24px;
  font-size: var(--t4);
  color: var(--ink);
}
body.sf-home .sf-center-cta {
  margin-top: 48px;
}
@media (min-width: 1100px) {
  /* One grid for every chapter: its name in the side column, its content from the third column. */
  body.sf-home .section > .container {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
  }
  body.sf-home .section > .container > * {
    grid-column: 3 / -1;
  }
  body.sf-home .section > .container > .section-header {
    display: contents;
  }
  body.sf-home .section-header > * {
    grid-column: 3 / -1;
  }
  body.sf-home .section-header > .section-label {
    grid-column: 1 / span 2;
    grid-row: 1;
    margin: 0.5em 0 0;
    font-size: 1.25rem;
  }
  body.sf-home .section-header > .section-title {
    grid-row: 1;
  }
  body.sf-home .section-header > :last-child {
    margin-bottom: 56px;
  }
}

/* ---------- Photo Macros: a light counter under the dark hero ---------- */
body.sf-home .sf-snap {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 72px);
  background: #fff;
}
body.sf-home .sf-snap .section-header {
  margin-bottom: 24px;
}
body.sf-home .sf-snap .section-desc {
  margin-top: 12px;
  font-size: var(--t4);
}
@media (min-width: 1100px) {
  body.sf-home .sf-snap > .container {
    align-items: center;
  }
  body.sf-home .sf-snap .section-header > .section-label {
    grid-column: 1 / span 2;
    margin: 0;
  }
  body.sf-home .sf-snap .section-header > .section-title {
    grid-column: 3 / span 4;
    margin: 0;
  }
  body.sf-home .sf-snap .section-header > .section-desc {
    grid-column: 7 / span 3;
    grid-row: 1;
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.45;
  }
  body.sf-home .sf-snap > .container > .btn {
    grid-column: 10 / -1;
    grid-row: 1;
    justify-self: end;
    white-space: nowrap;
  }
}

/* ---------- The window: predawn, numbers first ---------- */
body.sf-home .sf-problem {
  padding-bottom: 0;
  background: var(--deep-brine);
  color: #f3fafd;
}
body.sf-home .sf-problem .section-label {
  color: #4abfb8;
}
body.sf-home .sf-problem .section-title,
body.sf-home .sf-problem h3 {
  color: #f3fafd;
}
body.sf-home .sf-problem .section-desc {
  color: #f3fafd;
}
body.sf-home .sf-problem .section-desc a {
  color: #4abfb8;
}
body.sf-home .sf-window__figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0 0 48px;
}
body.sf-home .sf-window__figures p {
  margin: 0;
  padding-top: 14px;
  border-top: 6px solid #4abfb8;
}
body.sf-home .sf-window__figures b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.4vw, 5.75rem);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
  color: #f3fafd;
}
body.sf-home .sf-window__figures span {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.4;
  color: #d3dfe6;
}
body.sf-home .sf-problem__list {
  gap: 32px;
}
body.sf-home .sf-problem__list h3,
body.sf-home .sf-steps__list h3 {
  margin: 0 0 10px;
  font-size: var(--t3);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}
body.sf-home .sf-problem__list p {
  max-width: 44ch;
  color: #d3dfe6;
}
body.sf-home .sf-window__view {
  margin: clamp(56px, 8vw, 120px) 0 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--night);
}
body.sf-home .sf-window__view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
@media (min-width: 700px) {
  body.sf-home .sf-window__view {
    aspect-ratio: 21 / 9;
  }
  body.sf-home .sf-problem__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
  }
}
@media (min-width: 1100px) {
  body.sf-home .sf-problem .section-header > .section-desc {
    grid-column: 3 / span 6;
    margin-bottom: 0;
  }
  body.sf-home .sf-problem > .container > .sf-window__figures {
    grid-column: 10 / -1;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 32px;
    margin: 28px 0 0;
  }
  body.sf-home .sf-problem__list {
    margin-top: 88px;
  }
}

/* ---------- The kitchen: pick the moment ---------- */
body.sf-home .sf-solution {
  background: var(--salt);
}
body.sf-home .sf-timing-grid {
  display: flex;
  gap: 16px;
  margin: 0 calc(-1 * var(--pad));
  padding: 0 var(--pad) 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--pad);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
body.sf-home .sf-timing-grid::-webkit-scrollbar {
  display: none;
}
body.sf-home .sf-timing-tile {
  flex: 0 0 min(72vw, 340px);
  scroll-snap-align: start;
  border: 0;
  background: none;
  color: var(--deep-brine);
  overflow: visible;
}
body.sf-home .sf-timing-tile:nth-child(even) {
  margin-top: 40px;
}
body.sf-home .sf-timing-tile__img {
  aspect-ratio: 4 / 5;
  background: var(--mist);
}
body.sf-home .sf-timing-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
body.sf-home .sf-timing-tile:hover .sf-timing-tile__img img {
  transform: scale(1.04);
}
body.sf-home .sf-timing-tile__body {
  padding: 14px 0 0;
}
body.sf-home .sf-timing-tile__label {
  margin: 0 0 4px;
  font-size: var(--t3);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}
body.sf-home .sf-timing-tile__meta {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--soft);
}
@media (hover: hover) and (min-width: 900px) {
  /* Five names set large; the photograph beside them follows the pointer or the tab key. */
  body.sf-home .sf-solution > .container > .sf-timing-grid,
  body.sf-home .sf-solution > .container > .sf-center-cta {
    grid-column: 1 / -1;
  }
  body.sf-home .sf-timing-grid {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  body.sf-home .sf-timing-tile,
  body.sf-home .sf-timing-tile:nth-child(even) {
    display: block;
    width: 40%;
    margin: 0;
    padding: clamp(12px, 1.6vw, 22px) 0;
    color: var(--soft);
    transition: color 250ms var(--ease);
  }
  body.sf-home .sf-timing-tile__img {
    position: absolute;
    top: 0;
    right: 0;
    width: 56%;
    height: 100%;
    aspect-ratio: auto;
    opacity: 0;
    transition: opacity 450ms var(--ease);
  }
  body.sf-home .sf-timing-tile__img img,
  body.sf-home .sf-timing-tile:hover .sf-timing-tile__img img {
    transform: scale(1.05);
    transition: transform 1200ms var(--ease);
  }
  body.sf-home .sf-timing-tile__body {
    padding: 0;
    transition: transform 350ms var(--ease);
  }
  body.sf-home .sf-timing-tile__label {
    font-size: var(--t2);
    line-height: 0.95;
    color: inherit;
  }
  body.sf-home .sf-timing-tile__meta {
    color: inherit;
  }
  body.sf-home .sf-timing-tile.is-active,
  body.sf-home .sf-timing-grid:not(.sf-live) .sf-timing-tile:hover {
    color: var(--deep-brine);
  }
  body.sf-home .sf-timing-tile.is-active .sf-timing-tile__img,
  body.sf-home .sf-timing-grid:not(.sf-live) .sf-timing-tile:hover .sf-timing-tile__img {
    opacity: 1;
    z-index: 1;
  }
  body.sf-home .sf-timing-grid:not(.sf-live) .sf-timing-tile:hover .sf-timing-tile__img {
    z-index: 2;
  }
  body.sf-home .sf-timing-tile.is-active .sf-timing-tile__img img {
    transform: none;
  }
  body.sf-home .sf-timing-tile.is-active .sf-timing-tile__body {
    transform: translate3d(20px, 0, 0);
  }
}

/* ---------- The surf day: the clock down the side ---------- */
body.sf-home .sf-day {
  background: var(--paper);
}
body.sf-home .sf-day__list {
  gap: 20px;
}
body.sf-home .sf-day__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 0;
  border: 0;
  background: #fff;
  color: var(--ink);
}
body.sf-home .sf-day__card > div {
  display: contents;
}
body.sf-home .sf-day__card img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
body.sf-home .sf-day__card .sf-day__when {
  order: -1;
  margin: 0;
  padding: 0 20px 16px;
  font-family: var(--font-display);
  font-size: var(--t3);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--deep-brine);
}
body.sf-home .sf-day__when::before {
  content: "";
  display: block;
  height: 6px;
  margin: 0 -20px 16px;
  background: var(--deep-brine);
  transform-origin: 0 50%;
}
body.sf-home .sf-day__when span + .sf-sep + span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
  text-transform: none;
  color: var(--soft);
}
body.sf-home .sf-day__card h3 {
  margin: 0;
  padding: 20px 20px 0;
  font-size: var(--t3);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
}
body.sf-home .sf-day__card > div > p:not([class]) {
  margin: 0;
  padding: 8px 20px 0;
  font-size: 1rem;
  color: var(--soft);
}
body.sf-home .sf-day__card .sf-day__macros,
body.sf-home .recipe-card__macros {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 18px 20px 22px;
  font-family: var(--font-display);
  font-size: var(--t5);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--soft);
}
body.sf-home .sf-day__macros b,
body.sf-home .macro-badge b {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  text-transform: none;
  color: var(--deep-brine);
}
body.sf-home .sf-day__card h3,
body.sf-home .recipe-card__title {
  text-decoration: underline transparent 3px;
  text-underline-offset: 0.16em;
  transition: text-decoration-color 250ms var(--ease);
}
body.sf-home .sf-day__card:hover h3,
body.sf-home .recipe-card:hover .recipe-card__title {
  text-decoration-color: currentColor;
}
@media (min-width: 600px) and (max-width: 899px) {
  body.sf-home .sf-day__card {
    grid-template-columns: 42% minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr;
  }
  body.sf-home .sf-day__card .sf-day__when {
    grid-column: 1 / -1;
  }
  body.sf-home .sf-day__card img {
    grid-column: 1;
    grid-row: 2 / -1;
    height: 100%;
  }
  body.sf-home .sf-day__card h3,
  body.sf-home .sf-day__card > div > p:not([class]),
  body.sf-home .sf-day__card .sf-day__macros {
    grid-column: 2;
    padding-left: 24px;
  }
  body.sf-home .sf-day__card .sf-day__macros {
    align-self: end;
  }
}
@media (min-width: 900px) {
  body.sf-home .sf-day > .container > .sf-day__list {
    grid-column: 1 / -1;
  }
  body.sf-home .sf-day__card {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr;
    column-gap: 24px;
    background: none;
  }
  body.sf-home .sf-day__card::before {
    content: "";
    grid-column: 7 / -1;
    grid-row: 1 / -1;
    margin-left: -24px;
    background: #fff;
    transition: background-color 250ms var(--ease);
  }
  body.sf-home .sf-day__card:hover::before {
    background: var(--mist);
  }
  body.sf-home .sf-day__card .sf-day__when {
    grid-column: 1 / span 2;
    grid-row: 1 / -1;
    padding: 0;
  }
  body.sf-home .sf-day__when::before {
    margin: 0 0 16px;
  }
  body.sf-home .sf-day__card img {
    grid-column: 3 / span 4;
    grid-row: 1 / -1;
    height: 100%;
    aspect-ratio: 16 / 10;
  }
  body.sf-home .sf-day__card h3,
  body.sf-home .sf-day__card > div > p:not([class]),
  body.sf-home .sf-day__card .sf-day__macros {
    grid-column: 7 / -1;
    padding-left: 8px;
    padding-right: 32px;
  }
  body.sf-home .sf-day__card h3 {
    grid-row: 1;
    padding-top: 32px;
  }
  body.sf-home .sf-day__card > div > p:not([class]) {
    grid-row: 2;
  }
  body.sf-home .sf-day__card .sf-day__macros {
    grid-row: 3;
    align-self: end;
    padding-top: 28px;
    padding-bottom: 32px;
  }
}

/* ---------- Plates: the food on a dark table, figures beside it ---------- */
body.sf-home .sf-plates {
  background: var(--ink);
  color: #f3fafd;
}
body.sf-home .sf-plates .section-label {
  color: #4abfb8;
}
body.sf-home .sf-plates .section-title,
body.sf-home .sf-plates .section-desc {
  color: #f3fafd;
}
body.sf-home .recipe-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
body.sf-home .recipe-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #1c2e37;
  color: #f3fafd;
}
body.sf-home .recipe-card:hover {
  transform: none;
  box-shadow: none;
  color: #f3fafd;
}
body.sf-home .recipe-card__img img {
  transition: transform 900ms var(--ease);
}
body.sf-home .recipe-card:hover .recipe-card__img img {
  transform: scale(1.04);
}
body.sf-home .recipe-card__phase {
  top: 0;
  left: 0;
  padding: 8px 14px;
  border-radius: 0;
  background: #f3fafd;
  font-size: var(--t5);
  letter-spacing: 0.04em;
  color: var(--ink);
}
body.sf-home .recipe-card__body {
  padding: 24px 24px 26px;
}
body.sf-home .recipe-card__title {
  margin: 0 0 10px;
  font-size: var(--t3);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: #f3fafd;
}
body.sf-home .recipe-card__meta {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #b4c5ce;
}
body.sf-home .sf-recipe-card__context {
  margin: 10px 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #f3fafd;
}
body.sf-home .sf-recipe-card__status {
  margin: 6px 0 0;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #4abfb8;
}
body.sf-home .recipe-card__macros {
  padding: 22px 0 0;
  color: #b4c5ce;
}
body.sf-home .macro-badge {
  display: block;
  padding: 0;
  border-radius: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  white-space: normal;
  color: inherit;
}
body.sf-home .macro-badge b {
  color: #f3fafd;
}
@media (min-width: 600px) {
  body.sf-home .recipe-card {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
  }
  body.sf-home .recipe-card__img {
    aspect-ratio: auto;
    min-height: 100%;
  }
}
@media (min-width: 1100px) {
  body.sf-home .sf-plates > .container > .recipe-grid {
    grid-column: 1 / -1;
  }
  body.sf-home .recipe-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
  body.sf-home .recipe-card:first-child {
    grid-column: 1 / span 7;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
  }
  body.sf-home .recipe-card:first-child .recipe-card__img {
    flex: 1 1 auto;
    min-height: 420px;
  }
  body.sf-home .recipe-card:first-child .recipe-card__body {
    padding: 32px;
  }
  body.sf-home .recipe-card:nth-child(n + 2) {
    grid-column: 8 / -1;
  }
  body.sf-home .recipe-card:nth-child(n + 2) .recipe-card__body {
    padding: 24px 20px;
  }
  body.sf-home .recipe-card:nth-child(n + 2) .macro-badge b {
    font-size: clamp(1.375rem, 1.9vw, 2rem);
  }
}
@media (min-width: 1280px) {
  body.sf-home .recipe-card:first-child .recipe-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 32px;
  }
  body.sf-home .recipe-card:first-child .recipe-card__body > * {
    grid-column: 1;
  }
  body.sf-home .recipe-card:first-child .recipe-card__macros {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: end;
    padding: 0;
  }
}

/* ---------- Proof: the table as a printed slip ---------- */
body.sf-home .sf-inspect {
  background: var(--salt);
}
body.sf-home .sf-proof-split {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
body.sf-home .sf-inspect figure {
  margin: 0 calc(-1 * var(--pad));
}
body.sf-home .sf-proof__table-wrap {
  --notch: 7px;
  position: relative;
  z-index: 1;
  margin: -56px -12px 0;
  padding: 28px 10px 30px;
  overflow-x: auto;
  border: 0;
  background: #fff;
  -webkit-mask:
    radial-gradient(var(--notch) at 50% 0, #0000 96%, #000) 50% 0 / 22px 51% repeat-x,
    radial-gradient(var(--notch) at 50% 100%, #0000 96%, #000) 50% 100% / 22px 51% repeat-x;
  mask:
    radial-gradient(var(--notch) at 50% 0, #0000 96%, #000) 50% 0 / 22px 51% repeat-x,
    radial-gradient(var(--notch) at 50% 100%, #0000 96%, #000) 50% 100% / 22px 51% repeat-x;
}
body.sf-home .sf-proof-table {
  width: 100%;
  min-width: 0;
  font-size: 1rem;
}
body.sf-home .sf-proof-table caption {
  padding: 0 6px 14px;
  background: none;
  font-family: var(--font-display);
  font-size: var(--t3);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
}
body.sf-home .sf-proof-table caption a {
  color: var(--deep-brine);
  text-decoration-thickness: 2px;
}
body.sf-home .sf-proof-table th,
body.sf-home .sf-proof-table td {
  padding: 10px 5px;
  line-height: 1.3;
  border-top: 1px solid var(--mist);
}
body.sf-home .sf-proof-table thead th {
  background: none;
  border-top: 0;
  font-size: var(--t5);
  letter-spacing: 0.04em;
  color: var(--soft);
}
body.sf-home .sf-proof-table tbody td:nth-child(n + 3),
body.sf-home .sf-proof-table tfoot td {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--ink);
}
body.sf-home .sf-proof-table tbody td:nth-child(2) {
  color: var(--soft);
}
body.sf-home .sf-proof-table tfoot th,
body.sf-home .sf-proof-table tfoot td {
  background: none;
  border-top: 0;
  font-size: var(--t4);
  text-align: left;
}
body.sf-home .sf-proof-table tfoot tr:first-child > * {
  border-top: 6px solid var(--ink);
}
body.sf-home .sf-proof-table tfoot td {
  text-align: right;
  font-size: 1.375rem;
  font-weight: 700;
}
body.sf-home .sf-proof-table .sf-proof-listed th,
body.sf-home .sf-proof-table .sf-proof-listed td {
  background: var(--deep-brine);
  color: #f3fafd;
}
body.sf-home .sf-proof__boundary,
body.sf-home .sf-proof__method {
  margin: 18px 6px 0;
  font-size: 1rem;
  color: var(--ink);
}
body.sf-home .sf-proof__method a,
body.sf-home .sf-proof__boundary a {
  color: var(--deep-brine);
  font-weight: 600;
}
@media (min-width: 900px) {
  body.sf-home .sf-inspect > .container > .sf-proof-split {
    grid-column: 1 / -1;
  }
  body.sf-home .sf-proof-split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
  }
  body.sf-home .sf-inspect figure {
    grid-column: 1 / span 7;
    grid-row: 1;
    margin: 0 0 0 calc(-1 * var(--pad));
  }
  body.sf-home .sf-inspect figure img {
    aspect-ratio: 5 / 4;
  }
  body.sf-home .sf-proof__table-wrap {
    grid-column: 6 / -1;
    grid-row: 1;
    margin: 72px 0 0;
    padding: 40px 36px 44px;
    overflow: visible;
  }
  body.sf-home .sf-proof-table th,
  body.sf-home .sf-proof-table td {
    padding: 11px 10px;
  }
}

/* ---------- How it works: three lines on kelp ---------- */
body.sf-home .sf-steps {
  background: var(--kelp);
  color: #f3fafd;
}
body.sf-home .sf-steps .section-label {
  color: #d3dfe6;
}
body.sf-home .sf-steps .section-title,
body.sf-home .sf-steps h3 {
  color: #f3fafd;
}
body.sf-home .sf-steps__list {
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}
body.sf-home .sf-steps__list h3 {
  font-size: clamp(1.75rem, 3.6vw, 3.25rem);
  font-weight: 800;
  line-height: 0.95;
}
body.sf-home .sf-steps__list p {
  max-width: 46ch;
  color: #f3fafd;
}
@media (min-width: 900px) {
  body.sf-home .sf-steps__list li {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
    column-gap: 24px;
    align-items: start;
  }
  body.sf-home .sf-steps__list h3 {
    margin: 0;
  }
  body.sf-home .sf-steps__list p {
    margin: 0.3em 0 0;
  }
}

/* ---------- Field guide: wide photograph, paper block over its corner ---------- */
body.sf-home .sf-guide {
  background: var(--salt);
  padding-top: clamp(72px, 9vw, 136px);
}
body.sf-home .guide-callout {
  display: block;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
  background: none;
}
body.sf-home .guide-callout__img {
  margin: 0 calc(-1 * var(--pad));
  aspect-ratio: 3 / 2;
}
body.sf-home .guide-callout__content {
  position: relative;
  margin: -48px -8px 0;
  padding: 28px 24px 24px;
  background: #fff;
}
body.sf-home .guide-callout__title {
  margin: 0 0 16px;
  color: var(--ink);
}
body.sf-home .guide-callout__desc {
  margin: 0 0 12px;
  font-size: var(--t4);
  color: var(--ink);
}
body.sf-home .guide-callout__desc a {
  color: var(--deep-brine);
  font-weight: 600;
}
body.sf-home .sf-text-link {
  margin-right: 28px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
@media (min-width: 900px) {
  body.sf-home .sf-guide > .container > .guide-callout {
    grid-column: 1 / -1;
  }
  body.sf-home .guide-callout {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: end;
  }
  body.sf-home .guide-callout__img {
    grid-column: 1 / span 8;
    grid-row: 1;
    margin: 0 0 0 calc(-1 * var(--pad));
    aspect-ratio: 16 / 10;
  }
  body.sf-home .guide-callout__content {
    grid-column: 7 / -1;
    grid-row: 1;
    margin: 0 0 -56px;
    padding: 44px 44px 36px;
  }
}

/* ---------- FAQ: questions beside a tall photograph ---------- */
body.sf-home .sf-faq {
  background: var(--paper);
}
body.sf-home .sf-faq__list {
  max-width: none;
  display: grid;
  gap: 6px;
  border: 0;
}
body.sf-home .sf-faq details {
  border: 0;
  background: #fff;
}
body.sf-home .sf-faq summary {
  position: relative;
  min-height: 64px;
  padding: 18px 60px 18px 22px;
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--ink);
  transition: color 200ms var(--ease);
}
body.sf-home .sf-faq summary:hover {
  color: var(--deep-brine);
}
body.sf-home .sf-faq summary::before,
body.sf-home .sf-faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 18px;
  height: 3px;
  margin-top: -1.5px;
  background: var(--deep-brine);
  transition: transform 300ms var(--ease);
}
body.sf-home .sf-faq summary::after {
  transform: rotate(90deg);
}
body.sf-home .sf-faq details[open] summary::after {
  content: "";
  transform: none;
}
body.sf-home .sf-faq details p {
  max-width: 62ch;
  padding: 0 22px 24px;
  font-size: var(--t4);
  color: var(--ink);
}
body.sf-home .sf-faq details a {
  color: var(--deep-brine);
  font-weight: 600;
}
body.sf-home .sf-faq__photo {
  margin: 32px 0 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
body.sf-home .sf-faq__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 1100px) {
  body.sf-home .sf-faq > .container > .sf-faq__list {
    grid-column: 3 / span 6;
    align-self: start;
  }
  body.sf-home .sf-faq > .container > .sf-faq__photo {
    grid-column: 9 / -1;
    margin: 0;
    aspect-ratio: 3 / 4;
  }
}

/* ---------- The kitchen inbox ---------- */
body.sf-home .email-section {
  background: var(--deep-brine);
  text-align: left;
}
body.sf-home .email-section .section-label {
  color: #4abfb8;
}
body.sf-home .email-section .section-header {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
body.sf-home .email-section .section-desc {
  margin-left: 0;
  color: #f3fafd;
}
body.sf-home .email-form {
  max-width: 36rem;
  margin: 0;
  gap: 18px;
}
body.sf-home .sf-field span {
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #d3dfe6;
}
body.sf-home .email-form input[type="email"],
body.sf-home .email-form input[type="text"] {
  min-height: 56px;
  padding: 14px 16px;
  border: 0;
  background: #f3fafd;
  font-size: var(--t4);
  color: var(--ink);
}
body.sf-home .email-form input::placeholder {
  color: var(--soft);
}
body.sf-home .email-form input:focus {
  outline: 3px solid #4abfb8;
  outline-offset: 2px;
}
body.sf-home .form-status,
body.sf-home .sf-form-note {
  max-width: 36rem;
  margin-left: 0;
  margin-right: 0;
  font-size: var(--t5);
}
body.sf-home .sf-form-note {
  font-family: var(--font-body);
  letter-spacing: 0;
  color: #d3dfe6;
}
@media (min-width: 1100px) {
  body.sf-home .email-section .section-header > .section-title,
  body.sf-home .email-section .section-header > .section-desc {
    grid-column: 3 / span 5;
  }
  body.sf-home .email-section > .container > .email-form {
    grid-column: 9 / -1;
    grid-row: 1 / span 2;
    align-self: start;
  }
  body.sf-home .email-section > .container > .form-status,
  body.sf-home .email-section > .container > .sf-form-note {
    grid-column: 9 / -1;
  }
}

/* ---------- Close: three plates, then the field ---------- */
body.sf-home .sf-close {
  padding: 0 0 clamp(72px, 9vw, 136px);
  background: var(--night);
}
body.sf-home .sf-close__strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: clamp(56px, 8vw, 120px);
}
body.sf-home .sf-close__strip img {
  width: 100%;
  height: clamp(150px, 36svh, 400px);
  object-fit: cover;
}
body.sf-home .sf-close .section-label {
  color: #4abfb8;
}
body.sf-home .sf-close h2 {
  margin: 0 0 36px;
  line-height: 0.94;
  color: #f3fafd;
}
@media (min-width: 1100px) {
  body.sf-home .sf-close > .container {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
  }
  body.sf-home .sf-close > .container > * {
    grid-column: 3 / -1;
    justify-self: start;
  }
  body.sf-home .sf-close > .container > .section-label {
    grid-column: 1 / span 2;
    grid-row: 1;
    margin: 0.6em 0 0;
    font-size: 1.25rem;
  }
  body.sf-home .sf-close > .container > h2 {
    grid-row: 1;
    font-size: var(--t1);
  }
}

/* ---------- Footer and sticky action: alignment only ---------- */
body.sf-home .footer__inner {
  max-width: 1440px;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
body.sf-home .sf-sticky-cta {
  box-shadow: none;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.sf-rv body.sf-home [data-rv] {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
  }
  html.sf-rv body.sf-home [data-rv].is-in {
    opacity: 1;
    transform: none;
    transition: opacity 800ms var(--ease), transform 800ms var(--ease);
    transition-delay: calc(var(--rv, 0) * 80ms);
  }
  body.sf-home .sf-faq details[open] p {
    animation: sf-rise 450ms var(--ease) both;
  }
  @supports (animation-timeline: view()) {
    body.sf-home .sf-window__view img {
      height: 116%;
      animation: sf-drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    body.sf-home .sf-day__when::before {
      animation: sf-fill linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 38%;
    }
  }
}
@keyframes sf-drift {
  from { transform: translate3d(0, -13.5%, 0); }
  to { transform: translate3d(0, 0, 0); }
}
@keyframes sf-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  body.sf-home *,
  body.sf-home *::before,
  body.sf-home *::after {
    animation: none !important;
    transition: none !important;
  }
  body.sf-home [data-rv] {
    opacity: 1 !important;
    transform: none !important;
  }
}
@media print {
  body.sf-home .sf-close__strip,
  body.sf-home .sf-window__view,
  body.sf-home .sf-faq__photo {
    display: none;
  }
}
