/*
  Sofrito visual direction prototype
  Brand values come from the approved Sofrito color palette and guideline.
  The sf- prefix keeps this exploratory system isolated from production styles.
*/

:root {
  --sf-ink: #1d4027;
  --sf-ink-soft: #2d5f39;
  --sf-green: #2d5f39;
  --sf-green-deep: #1d4027;
  --sf-green-soft: #dfe9df;
  --sf-cream: #faf1e9;
  --sf-paper: #fffdf9;
  --sf-paper-warm: #f4f8f3;
  --sf-purple: #90335e;
  --sf-purple-soft: #f0dfe7;
  --sf-red: #cb432b;
  --sf-orange: #e07823;
  --sf-vivid-orange: #ee7a15;
  --sf-gold: #daa64e;
  --sf-citrus: #f2c14e;
  --sf-sage: #7fa58a;
  --sf-border: rgba(45, 95, 57, .26);
  --sf-border-strong: #2d5f39;
  --sf-display: "Cormorant Garamond", Georgia, serif;
  --sf-sans: "Jost", "Segoe UI", sans-serif;
  --sf-text-sm: clamp(.88rem, .84rem + .12vw, .96rem);
  --sf-text-base: clamp(.98rem, .95rem + .1vw, 1.05rem);
  --sf-text-lede: clamp(1.06rem, 1rem + .35vw, 1.25rem);
  --sf-step-1: .5rem;
  --sf-step-2: .75rem;
  --sf-step-3: 1rem;
  --sf-step-4: 1.5rem;
  --sf-step-5: 2rem;
  --sf-step-6: 3rem;
  --sf-step-7: 4.5rem;
  --sf-step-8: 7rem;
  --sf-radius-sm: .65rem;
  --sf-radius-md: 1rem;
  --sf-radius-lg: 1.65rem;
  --sf-shadow: 0 2rem 6rem rgba(29, 64, 39, .14);
  --sf-shadow-soft: 0 1rem 3rem rgba(29, 64, 39, .09);
  --sf-shell: 78rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--sf-ink);
  background: var(--sf-cream);
  font-family: var(--sf-sans);
  font-size: var(--sf-text-base);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection { color: var(--sf-ink); background: var(--sf-citrus); }

img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }

:focus-visible {
  outline: .2rem solid var(--sf-vivid-orange);
  outline-offset: .25rem;
  border-radius: .2rem;
}

[hidden] { display: none !important; }

.sf-shell { width: min(calc(100% - 3rem), var(--sf-shell)); margin-inline: auto; }

.sf-skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .8rem 1rem;
  color: #fff;
  background: var(--sf-ink);
  font-weight: 700;
  transform: translateY(-160%);
}

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

.sf-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(250, 241, 233, .88);
  backdrop-filter: blur(1rem);
  transition: border-color .2s ease, background .2s ease;
}

.sf-header.is-scrolled { border-color: rgba(29, 64, 39, .14); background: rgba(255, 253, 249, .95); }

.sf-nav { min-height: 6rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.sf-brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.sf-brand-icon { width: 3.25rem; height: 3.25rem; object-fit: contain; }
.sf-brand-wordmark { width: 8.25rem; height: auto; object-fit: contain; }
.sf-header-actions { display: flex; align-items: center; gap: 1.25rem; }
.sf-header-actions > span { color: var(--sf-ink-soft); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sf-nav-cta { min-height: 3.1rem; display: inline-flex; align-items: center; gap: 1rem; padding: 0 1.25rem; border: 1px solid var(--sf-ink); border-radius: 999px; color: var(--sf-paper); background: var(--sf-ink); font-size: .83rem; font-weight: 700; text-decoration: none; }
.sf-nav-cta span { transition: transform .2s ease; }
.sf-nav-cta:hover span { transform: translate(.15rem, -.15rem); }

.sf-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 9rem 0 5rem;
  background: var(--sf-cream);
}

.sf-hero::before {
  content: "";
  position: absolute;
  width: 33rem;
  height: 33rem;
  left: -19rem;
  top: 3rem;
  border: 1px solid rgba(144, 51, 94, .16);
  border-radius: 50%;
}

.sf-hero-pattern {
  position: absolute;
  inset: auto 0 0;
  height: 1.25rem;
  background: var(--sf-red) url("/assets/brand/Pattern%20Design/Pattern%20Design_A.png") center / 37rem auto;
}

.sf-hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(28rem, .97fr); gap: clamp(3rem, 6vw, 6.5rem); align-items: center; }
.sf-hero-copy { position: relative; z-index: 2; max-width: 42rem; }

.sf-kicker {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 0 0 1.65rem;
  color: var(--sf-purple);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.sf-kicker > span { width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .62rem; }
.sf-kicker-light { color: var(--sf-citrus); }

h1, h2, h3 { margin: 0; color: inherit; font-family: var(--sf-display); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(3rem, 4.25vw, 4.55rem); line-height: .95; letter-spacing: -.035em; }
h1 em, h2 em { color: var(--sf-purple); font-weight: 500; }

.sf-lede { max-width: 37rem; margin: 2rem 0 0; color: var(--sf-ink-soft); font-size: var(--sf-text-lede); line-height: 1.55; }
.sf-action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.35rem; margin-top: 2.25rem; }

.sf-button {
  min-height: 3.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: .8rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.sf-button:hover { transform: translateY(-.15rem); }
.sf-button-primary { color: var(--sf-paper); background: var(--sf-red); box-shadow: 0 .65rem 1.7rem rgba(203, 67, 43, .2); }
.sf-button-primary:hover { background: var(--sf-ink); }
.sf-button-light { width: fit-content; margin-top: 1.75rem; color: var(--sf-ink); background: var(--sf-citrus); }
.sf-button-light:hover { background: var(--sf-paper); }
.sf-button-outline { border-color: var(--sf-border-strong); color: var(--sf-ink); background: transparent; }
.sf-button-outline:hover { border-color: var(--sf-ink); background: var(--sf-paper); }

.sf-text-link, .sf-inline-link { min-height: 2.75rem; display: inline-flex; align-items: center; gap: 1rem; color: var(--sf-ink); font-size: .88rem; font-weight: 700; text-underline-offset: .35rem; }
.sf-text-link span, .sf-inline-link span { color: var(--sf-purple); }

.sf-trust-list { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; margin: 2.5rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--sf-border); list-style: none; }
.sf-trust-list li { display: flex; align-items: center; gap: .48rem; color: var(--sf-ink-soft); font-size: .76rem; font-weight: 600; }
.sf-trust-list li::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: var(--sf-green); box-shadow: 0 0 0 .25rem rgba(45, 95, 57, .1); }

.sf-kitchen-stage { position: relative; z-index: 2; min-height: 41rem; margin: 0; padding: 1.1rem 0 0 1.1rem; }
.sf-kitchen-stage::before { content: ""; position: absolute; inset: 0 1.1rem 1.1rem 0; z-index: -1; border-radius: 15rem 15rem 1.5rem 1.5rem; background: var(--sf-citrus); }
.sf-kitchen-stage > img { width: 100%; height: 39rem; border-radius: 15rem 15rem 1.5rem 1.5rem; object-fit: cover; object-position: 54% center; box-shadow: var(--sf-shadow); }
.sf-kitchen-stage figcaption { position: absolute; right: -1.5rem; bottom: 2rem; width: min(20rem, 70%); padding: 1.3rem 1.5rem; border-left: .35rem solid var(--sf-citrus); color: var(--sf-paper); background: var(--sf-green-deep); box-shadow: var(--sf-shadow-soft); }
.sf-kitchen-stage figcaption span { display: block; color: var(--sf-citrus); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sf-kitchen-stage figcaption strong { display: block; margin-top: .45rem; font: 600 2rem/.95 var(--sf-display); }

.sf-flavor-bar { border-top: 1px solid rgba(255,255,255,.12); color: var(--sf-paper); background: var(--sf-ink); }
.sf-flavor-bar .sf-shell { min-height: 8rem; display: grid; grid-template-columns: .55fr 2.45fr; gap: 3rem; align-items: center; }
.sf-flavor-bar p { margin: 0; color: var(--sf-citrus); font: 600 1.45rem/1.05 var(--sf-display); }
.sf-flavor-bar ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.sf-flavor-bar li { min-height: 4rem; display: grid; grid-template-columns: 3rem 1fr; grid-template-rows: auto auto; align-content: center; padding-left: 1.2rem; border-left: 1px solid rgba(255,255,255,.16); }
.sf-ingredient-icon { grid-row: 1 / 3; align-self: center; width: 2.15rem; height: 2.15rem; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sf-flavor-bar li strong { color: var(--sf-paper); font-size: .76rem; line-height: 1.2; }
.sf-flavor-bar li span { color: rgba(255,253,249,.6); font-size: .64rem; }
.sf-flavor-bar .sf-onion { color: var(--sf-purple); }
.sf-flavor-bar .sf-garlic { color: var(--sf-gold); }
.sf-flavor-bar .sf-pepper { color: var(--sf-red); }
.sf-flavor-bar .sf-pepper .sf-ingredient-stem { color: var(--sf-sage); stroke: currentColor; }
.sf-flavor-bar .sf-culantro { color: var(--sf-sage); }

.sf-evidence { width: fit-content; display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .7rem; border: 1px solid currentColor; border-radius: 999px; font-size: .62rem; font-weight: 700; letter-spacing: .06em; line-height: 1.1; text-transform: uppercase; }
.sf-evidence::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; }
.sf-evidence-verified { color: var(--sf-green); background: rgba(45, 95, 57, .06); }
.sf-evidence-inference { color: var(--sf-purple); background: rgba(144, 51, 94, .06); }
.sf-evidence-unknown { color: #725015; background: rgba(218, 166, 78, .14); }

.sf-overline { display: block; color: var(--sf-purple); font-size: .66rem; font-weight: 700; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }

.sf-story { padding: clamp(6rem, 10vw, 10rem) 0; background: var(--sf-paper); }
.sf-story-grid { display: grid; grid-template-columns: minmax(20rem, .82fr) minmax(0, 1.18fr); gap: clamp(3rem, 8vw, 8.5rem); align-items: start; }
.sf-story-heading { position: sticky; top: 8rem; }
.sf-section-heading h2 { max-width: 54rem; font-size: clamp(2.7rem, 4.25vw, 4.35rem); line-height: .98; letter-spacing: -.03em; }
.sf-section-heading > p:last-child { max-width: 43rem; margin: 1.5rem 0 0; color: var(--sf-ink-soft); font-size: var(--sf-text-lede); }

.sf-story-steps { border-top: 1px solid var(--sf-border); }
.sf-story-step { min-height: 24rem; display: grid; grid-template-columns: 3rem 1fr; gap: clamp(1.4rem, 3vw, 2.5rem); align-items: start; padding: 3rem; border: 1px solid var(--sf-border); border-top: 0; background: var(--sf-cream); }
.sf-story-step h3 { margin-top: .65rem; font-size: clamp(2rem, 3vw, 2.9rem); line-height: 1.03; letter-spacing: -.02em; }
.sf-story-step p:not(.sf-overline) { max-width: 34rem; margin: 1.15rem 0 0; color: var(--sf-ink-soft); }
.sf-step-number { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--sf-purple); font-size: .68rem; font-weight: 700; }
.sf-chip-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.sf-chip-list li { padding: .5rem .75rem; border: 1px solid var(--sf-border); border-radius: 999px; color: var(--sf-ink-soft); background: var(--sf-paper); font-size: .72rem; font-weight: 600; }

.sf-story-step-dark { color: var(--sf-paper); background: var(--sf-ink); border-color: var(--sf-ink); }
.sf-story-step-dark .sf-overline, .sf-story-step-dark .sf-step-number { color: var(--sf-citrus); }
.sf-story-step-dark p:not(.sf-overline) { color: rgba(255,253,249,.7); }
.sf-connection-line { position: relative; display: flex; justify-content: space-between; align-items: center; max-width: 28rem; margin-top: 3rem; }
.sf-connection-line::before { content: ""; position: absolute; left: .45rem; right: .45rem; height: 1px; background: rgba(255,255,255,.25); }
.sf-connection-line i { position: relative; width: .9rem; height: .9rem; border: 2px solid var(--sf-ink); border-radius: 50%; background: var(--sf-citrus); box-shadow: 0 0 0 1px var(--sf-citrus); }
.sf-story-step-accent { background: var(--sf-purple-soft); }
.sf-story-step-accent .sf-inline-link { margin-top: 2rem; }

.sf-community { position: relative; overflow: hidden; padding: clamp(6rem, 9vw, 9rem) 0; color: var(--sf-paper); background: var(--sf-green-deep); }
.sf-community::after { content: ""; position: absolute; width: 21rem; height: 21rem; right: -6rem; top: -7rem; opacity: .12; border-radius: 50%; background: url("/assets/brand/Pattern%20Design/Pattern%20Design_A.png") center / cover; }
.sf-community-intro { position: relative; z-index: 1; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.sf-community h2 { font-size: clamp(3rem, 4.6vw, 4.5rem); line-height: .92; letter-spacing: -.04em; }
.sf-community h2 em { color: var(--sf-citrus); }
.sf-community-intro > p { max-width: 40rem; margin: 0; color: rgba(255,253,249,.76); font-size: var(--sf-text-lede); }
.sf-kitchen-mosaic { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: .8rem; margin-top: 4rem; }
.sf-kitchen-tile { position: relative; grid-column: span 4; min-height: 20rem; margin: 0; overflow: hidden; background: var(--sf-ink); }
.sf-kitchen-tile-wide { grid-column: span 7; min-height: 29rem; }
.sf-kitchen-tile-tall { grid-column: span 5; min-height: 29rem; }
.sf-kitchen-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.sf-kitchen-tile-wide img { object-position: center; }
.sf-kitchen-tile-tall img { object-position: 42% center; }
.sf-kitchen-tile:hover img { transform: scale(1.025); }
.sf-kitchen-tile::after { content: ""; position: absolute; inset: 24% 0 0; background: linear-gradient(transparent, rgba(22,17,11,.92)); pointer-events: none; }
.sf-kitchen-tile figcaption { position: absolute; inset: auto 1.25rem 1.2rem; z-index: 1; }
.sf-kitchen-tile figcaption strong { display: block; color: #fff; font: 600 1.55rem/1 var(--sf-display); }
.sf-kitchen-tile figcaption span { display: block; max-width: 27rem; margin-top: .5rem; color: rgba(255,255,255,.76); font-size: .72rem; line-height: 1.45; }
.sf-community-bridge { position: relative; z-index: 1; display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; margin-top: 4rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,.25); }
.sf-community-bridge p { margin: 0; color: var(--sf-citrus); font: italic 500 1.65rem/1.05 var(--sf-display); }
.sf-community-bridge strong { max-width: 50rem; color: var(--sf-paper); font: 500 clamp(1.65rem, 2.5vw, 2.4rem)/1.12 var(--sf-display); }

.sf-rhythm { padding: clamp(6rem, 10vw, 10rem) 0; background: var(--sf-cream); }
.sf-centered { margin-inline: auto; text-align: center; }
.sf-centered .sf-kicker { justify-content: center; }
.sf-centered > p:last-child { margin-inline: auto; }
.sf-rhythm-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 5rem 0 0; padding: 0; border-top: 1px solid var(--sf-border); border-bottom: 1px solid var(--sf-border); list-style: none; counter-reset: rhythm; }
.sf-rhythm-list li { min-height: 25rem; padding: 2.5rem 1.75rem; border-right: 1px solid var(--sf-border); }
.sf-rhythm-list li:last-child { border-right: 0; }
.sf-rhythm-list h3 { margin-top: .8rem; font-size: clamp(1.85rem, 2.4vw, 2.45rem); line-height: 1.04; }
.sf-rhythm-list li > p:last-child { margin-top: 1.25rem; color: var(--sf-ink-soft); font-size: .9rem; }
.sf-rhythm-flavor { display: block; margin-bottom: .55rem; color: var(--sf-green); font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sf-rhythm-flavor-purple { color: var(--sf-purple); }
.sf-rhythm-flavor-gold { color: #b37d08; }
.sf-rhythm-flavor-orange { color: #b85d12; }
.sf-rhythm-flavor-green { color: var(--sf-green); }
.sf-rhythm-icon { width: 4rem; height: 4rem; display: grid; place-items: center; margin-bottom: 3.5rem; border-radius: 50%; color: #fff; font: 600 1.75rem/1 var(--sf-display); }
.sf-rhythm-icon-green { background: var(--sf-green); }
.sf-rhythm-icon-purple { background: var(--sf-purple); }
.sf-rhythm-icon-orange { color: var(--sf-ink); background: var(--sf-orange); }
.sf-rhythm-icon-gold { color: var(--sf-ink); background: var(--sf-citrus); }

.sf-proof { padding: clamp(6rem, 10vw, 10rem) 0; color: var(--sf-paper); background: var(--sf-purple); }
.sf-proof-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.sf-proof-copy { position: sticky; top: 8rem; }
.sf-proof-copy h2 { font-size: clamp(2.7rem, 4.2vw, 4.25rem); line-height: .98; letter-spacing: -.03em; }
.sf-proof-copy > p:not(.sf-kicker) { max-width: 34rem; color: rgba(255,253,249,.74); font-size: var(--sf-text-lede); }
.sf-evidence-stack { border-top: 1px solid rgba(255,255,255,.28); }
.sf-evidence-stack > article { padding: 2.5rem 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.sf-evidence-stack .sf-evidence { color: var(--sf-ink); background: var(--sf-paper); }
.sf-evidence-stack h3 { margin-top: 1.35rem; font-size: clamp(1.8rem, 2.6vw, 2.55rem); line-height: 1.04; }
.sf-evidence-stack article p { max-width: 40rem; margin: 1rem 0 0; color: rgba(255,253,249,.72); font-size: .88rem; }

.sf-proof-details { border-bottom: 1px solid rgba(255,255,255,.28); }
.sf-proof-details summary { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; cursor: pointer; list-style: none; font-weight: 700; }
.sf-proof-details summary::-webkit-details-marker { display: none; }
.sf-proof-details summary span { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 1.4rem; transition: transform .2s ease; }
.sf-proof-details[open] summary span { transform: rotate(45deg); }
.sf-proof-details > div { padding: 0 0 2rem; }
.sf-proof-details dl { margin: 0; }
.sf-proof-details dl div { display: grid; grid-template-columns: 9rem 1fr; gap: 2rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.sf-proof-details dt { color: var(--sf-citrus); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sf-proof-details dd { margin: 0; color: rgba(255,253,249,.76); font-size: .84rem; }

.sf-system { padding: clamp(6rem, 10vw, 10rem) 0; background: var(--sf-paper); }
.sf-system-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 5rem; border: 1px solid var(--sf-border); background: var(--sf-border); }
.sf-system-card { position: relative; min-height: 22rem; padding: clamp(2rem, 4vw, 4rem); overflow: hidden; background: var(--sf-cream); }
.sf-system-card > span { color: var(--sf-purple); font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.sf-system-card h3 { max-width: 28rem; margin-top: 3rem; font-size: clamp(2.15rem, 3vw, 3rem); line-height: 1; }
.sf-system-card p { max-width: 31rem; margin: 1.2rem 0 0; color: var(--sf-ink-soft); }
.sf-system-card-pattern { color: var(--sf-paper); background: var(--sf-green-deep); }
.sf-system-card-pattern::after { content: ""; position: absolute; width: 17rem; height: 17rem; right: -3rem; bottom: -4rem; opacity: .25; background: url("/assets/brand/Pattern%20Design/Pattern%20Design_A.png") center / cover; border-radius: 50%; }
.sf-system-card-pattern > span { color: var(--sf-citrus); }
.sf-system-card-pattern h3, .sf-system-card-pattern p { position: relative; z-index: 1; }
.sf-system-card-pattern p { color: rgba(255,253,249,.72); }

.sf-closing { padding: clamp(5rem, 7vw, 6.5rem) 0; background: var(--sf-cream); }
.sf-closing-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sf-closing-inner > img { width: 4.25rem; height: 5.95rem; object-fit: contain; margin-bottom: 1.25rem; }
.sf-closing .sf-kicker { justify-content: center; }
.sf-closing h2 { max-width: 66rem; font-size: clamp(2.75rem, 3.8vw, 4rem); line-height: .97; letter-spacing: -.03em; }
.sf-action-row-centered { justify-content: center; }

.sf-footer { position: relative; overflow: hidden; padding: 5rem 0 2rem; color: rgba(255,253,249,.82); background: var(--sf-green); }
.sf-footer::before { content: ""; position: absolute; inset: 0; opacity: .07; background: url("/assets/brand/Pattern%20Design/Pattern%20Design_A.png") center / 30rem auto repeat; mix-blend-mode: multiply; pointer-events: none; }
.sf-footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 4rem; }
.sf-footer-brand { width: fit-content; display: block; }
.sf-footer-brand img { width: 11rem; height: auto; }
.sf-footer-brand + p { max-width: 23rem; margin-top: 1.2rem; color: #fffdf9; font-family: var(--sf-display); font-size: 1.35rem; }
.sf-footer-label { margin: 0 0 1rem; color: var(--sf-citrus); font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.sf-footer-grid > div:not(:first-child) a { min-width: 2.875rem; min-height: 2.75rem; display: flex; align-items: center; width: max-content; margin-left: -.5rem; padding-inline: .5rem; color: #fffdf9; font-size: .83rem; text-decoration: none; }
.sf-footer-grid > div:not(:first-child) a:hover { color: #fff; text-decoration: underline; text-underline-offset: .3rem; }
.sf-footer-legal { grid-column: 1 / -1; margin: 1rem 0 0; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.32); color: rgba(255,253,249,.82); font-size: .74rem; }

.js [data-reveal] { opacity: 0; transform: translateY(1.2rem); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 70rem) {
  .sf-hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .sf-kitchen-stage { min-height: 37rem; }
  .sf-kitchen-stage > img { height: 35rem; }
  .sf-story-grid { gap: 4rem; }
  .sf-story-step { padding: 2.4rem; }
  .sf-kitchen-tile { min-height: 18rem; }
  .sf-kitchen-tile-wide, .sf-kitchen-tile-tall { min-height: 25rem; }
}

@media (max-width: 58rem) {
  .sf-shell { width: min(calc(100% - 2rem), var(--sf-shell)); }
  .sf-hero { min-height: auto; padding-top: 8rem; }
  .sf-hero-grid, .sf-story-grid, .sf-proof-grid { grid-template-columns: 1fr; }
  .sf-hero-copy { max-width: 48rem; }
  .sf-kitchen-stage { width: min(100%, 42rem); min-height: 38rem; margin: 1rem auto 0; }
  .sf-kitchen-stage > img { height: 36rem; }
  .sf-flavor-bar .sf-shell { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 2rem; }
  .sf-flavor-bar ul { width: 100%; }
  .sf-story-heading, .sf-proof-copy { position: static; }
  .sf-community-intro { grid-template-columns: 1fr; gap: 2rem; }
  .sf-community-bridge { grid-template-columns: 1fr; gap: 1.5rem; }
  .sf-kitchen-tile, .sf-kitchen-tile-wide, .sf-kitchen-tile-tall { grid-column: span 6; min-height: 22rem; }
  .sf-kitchen-tile:last-child { grid-column: 4 / span 6; }
  .sf-rhythm-list { grid-template-columns: repeat(2, 1fr); }
  .sf-rhythm-list li { min-height: 21rem; border-bottom: 1px solid var(--sf-border); }
  .sf-rhythm-list li:nth-child(2) { border-right: 0; }
  .sf-rhythm-list li:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 40rem) {
  :root { --sf-text-base: 1rem; }
  html { scroll-padding-top: 5rem; }
  .sf-nav { min-height: 5.3rem; gap: .75rem; }
  .sf-brand { gap: .35rem; }
  .sf-brand-icon { width: 2.7rem; height: 2.7rem; }
  .sf-brand-wordmark { width: 6.8rem; }
  .sf-header-actions > span { display: none; }
  .sf-nav-cta { min-height: 2.8rem; padding-inline: 1rem; font-size: .76rem; }
  .sf-hero { padding: 7.5rem 0 4.5rem; }
  h1 { font-size: clamp(2.8rem, 12.7vw, 3.8rem); }
  .sf-lede { font-size: 1.04rem; }
  .sf-action-row, .sf-action-row > * { width: 100%; }
  .sf-text-link { justify-content: center; }
  .sf-trust-list { display: grid; }
  .sf-kitchen-stage { min-height: 30rem; padding: .7rem 0 0 .7rem; }
  .sf-kitchen-stage::before { inset: 0 .7rem .7rem 0; border-radius: 10rem 10rem 1rem 1rem; }
  .sf-kitchen-stage > img { height: 28rem; border-radius: 10rem 10rem 1rem 1rem; object-position: 49% center; }
  .sf-kitchen-stage figcaption { right: -.25rem; bottom: 1.25rem; width: 78%; padding: 1rem 1.1rem; }
  .sf-kitchen-stage figcaption strong { font-size: 1.65rem; }
  .sf-flavor-bar .sf-shell { width: 100%; padding: 1.75rem 1rem; }
  .sf-flavor-bar p { padding-inline: .25rem; }
  .sf-flavor-bar ul { grid-template-columns: repeat(2, 1fr); }
  .sf-flavor-bar li { padding: .8rem .6rem; border-bottom: 1px solid rgba(255,255,255,.13); }
  .sf-flavor-bar li:nth-child(odd) { border-left: 0; }
  .sf-flavor-bar li:nth-last-child(-n+2) { border-bottom: 0; }
  .sf-section-heading h2 { font-size: clamp(2.55rem, 11.5vw, 3.55rem); }
  .sf-story-step { min-height: 0; grid-template-columns: 1fr; padding: 2rem 1.25rem; }
  .sf-story-step h3 { font-size: 2.15rem; }
  .sf-community h2 { font-size: clamp(2.8rem, 12vw, 3.75rem); }
  .sf-kitchen-mosaic { display: block; margin-top: 3rem; }
  .sf-kitchen-tile, .sf-kitchen-tile-wide, .sf-kitchen-tile-tall { min-height: 22rem; margin-top: .75rem; }
  .sf-kitchen-tile:first-child { margin-top: 0; }
  .sf-kitchen-tile-tall img { object-position: center; }
  .sf-rhythm-list { grid-template-columns: 1fr; margin-top: 3rem; }
  .sf-rhythm-list li { min-height: 0; padding: 2rem .25rem; border-right: 0; border-bottom: 1px solid var(--sf-border) !important; }
  .sf-rhythm-list li:last-child { border-bottom: 0 !important; }
  .sf-rhythm-icon { margin-bottom: 2rem; }
  .sf-proof-copy h2 { font-size: clamp(2.55rem, 11.5vw, 3.55rem); }
  .sf-proof-details dl div { grid-template-columns: 1fr; gap: .25rem; }
  .sf-system-grid { grid-template-columns: 1fr; margin-top: 3rem; }
  .sf-system-card { min-height: 19rem; padding: 2rem 1.25rem; }
  .sf-system-card h3 { margin-top: 2.2rem; font-size: 2.25rem; }
  .sf-closing-inner > img { width: 3.6rem; height: 5rem; }
  .sf-closing h2 { font-size: clamp(2.5rem, 10.5vw, 3.25rem); }
  .sf-footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sf-footer-legal { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root { --sf-ink-soft: #332c24; --sf-border: #877765; }
  .sf-header { background: var(--sf-paper); backdrop-filter: none; }
  .sf-evidence { border-width: 2px; }
}

/* Shared public journey shell. The same navigation, type scale, focus
   treatment, and motion language is used by the landing page and every
   customer-facing destination. */
.sf-header .sf-brand-icon { width: 3.6rem; height: 3.6rem; }
.sf-header .sf-brand-wordmark { width: 9.25rem; }
.sf-nav-menu {
  display: none;
  min-width: 2.875rem;
  min-height: 2.875rem;
  padding: .55rem .75rem;
  border: 1px solid var(--sf-border-strong);
  border-radius: 999px;
  color: var(--sf-ink);
  background: transparent;
  font: 700 .74rem/1 var(--sf-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.sf-nav-panel {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.3vw, 2.35rem);
}

.sf-nav-links { display: flex; align-items: center; gap: clamp(.8rem, 1.8vw, 1.8rem); }
.sf-nav-links a {
  min-height: 2.875rem;
  display: inline-flex;
  align-items: center;
  color: var(--sf-ink-soft);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: .28rem;
  white-space: nowrap;
}
.sf-nav-links a:hover, .sf-nav-links a[aria-current="page"] { color: var(--sf-ink); text-decoration: underline; }
.sf-nav-cta:focus-visible, .sf-nav-menu:focus-visible, .sf-nav-links a:focus-visible { outline: .2rem solid var(--sf-vivid-orange); outline-offset: .22rem; }

.sf-site { background: var(--sf-cream); color: var(--sf-ink); font-family: var(--sf-sans); }
.sf-site .sf-header { position: fixed; }
.sf-site .sf-nav { min-height: 5.8rem; }
.sf-site .sf-brand-icon { width: 3.6rem; height: 3.6rem; }
.sf-site .sf-brand-wordmark { width: 9.25rem; }
.sf-site .sf-nav-cta { color: var(--sf-paper); background: var(--sf-red); border-color: var(--sf-red); box-shadow: 0 .55rem 1.45rem rgba(203, 67, 43, .18); }
.sf-site .sf-nav-cta:hover { color: var(--sf-paper); background: var(--sf-ink); border-color: var(--sf-ink); }
.sf-site .sf-header.is-scrolled { background: rgba(255,253,249,.96); border-bottom-color: rgba(38,32,22,.14); }
.sf-site main { position: relative; }

/* Legacy route content is intentionally kept structurally stable for forms,
   interactive demos, and legal copy while receiving the new visual system. */
.sf-legacy main { padding-top: 5.8rem; }
.sf-legacy .page-hero,
.sf-legacy .demo-page,
.sf-legacy .application-page { padding: clamp(5rem, 8vw, 8rem) 0; background: var(--sf-cream); }
.sf-legacy .page-hero-grid,
.sf-legacy .split { align-items: center; gap: clamp(2.25rem, 6vw, 6rem); }
.sf-legacy .page-hero h1,
.sf-legacy .demo-page h1,
.sf-legacy .application-page h1 { max-width: 46rem; font: 600 clamp(2.9rem, 5.2vw, 5.2rem)/.96 var(--sf-display); letter-spacing: -.035em; }
.sf-legacy .page-hero h1 em,
.sf-legacy .demo-page h1 em,
.sf-legacy .application-page h1 em { color: var(--sf-purple); }
.sf-legacy .section-intro h2,
.sf-legacy section h2 { max-width: 48rem; font: 600 clamp(2.45rem, 4vw, 4.2rem)/.98 var(--sf-display); letter-spacing: -.03em; }
.sf-legacy .section-intro { max-width: 48rem; margin-bottom: 3.5rem; }
.sf-legacy .section-intro.centered { margin-inline: auto; text-align: center; }
.sf-legacy .section-intro.centered .lede { margin-inline: auto; }
.sf-legacy .lede { max-width: 42rem; color: var(--sf-ink-soft); font-size: clamp(1.05rem, 1rem + .25vw, 1.22rem); line-height: 1.55; }
.sf-legacy .eyebrow,
.sf-legacy .mini-label,
.sf-legacy .footer-title { color: var(--sf-purple); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sf-legacy .eyebrow { font-size: .7rem; }
.sf-legacy .band-warm { background: var(--sf-paper); }
.sf-legacy .band-paper { background: var(--sf-paper-warm); }
.sf-legacy .band-green { color: var(--sf-paper); background: var(--sf-green-deep); }
.sf-legacy .band-ink { color: var(--sf-paper); background: var(--sf-ink); }
.sf-legacy .band-warm, .sf-legacy .band-paper, .sf-legacy .band-green, .sf-legacy .band-ink,
.sf-legacy main > section:not(.page-hero):not(.demo-page):not(.application-page) { padding-block: clamp(4.5rem, 8vw, 8rem); }
.sf-legacy .band-green .eyebrow, .sf-legacy .band-ink .eyebrow { color: var(--sf-citrus); }
.sf-legacy .process-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; border: 1px solid var(--sf-border); background: var(--sf-border); }
.sf-legacy .process-step { min-height: 15rem; display: grid; align-items: end; padding: clamp(1.5rem, 3vw, 3rem); background: var(--sf-cream); }
.sf-legacy .process-step:nth-child(3n) { background: var(--sf-purple-soft); }
.sf-legacy .process-step h3 { max-width: 24rem; font-size: clamp(1.8rem, 2.6vw, 2.6rem); line-height: 1; }
.sf-legacy .process-step p { max-width: 34rem; margin: 1rem 0 0; color: var(--sf-ink-soft); }
.sf-legacy .band-green .process-step { background: rgba(255,253,249,.1); border-color: rgba(255,255,255,.2); }
.sf-legacy .card, .sf-legacy .ui-card, .sf-legacy .command-card, .sf-legacy .location-compare { border-color: var(--sf-border); border-radius: var(--sf-radius-md); box-shadow: var(--sf-shadow-soft); }
.sf-legacy .card, .sf-legacy .ui-card, .sf-legacy .command-card { background: var(--sf-paper); }
.sf-legacy .card h3, .sf-legacy .ui-card h3, .sf-legacy .command-card h3 { font-family: var(--sf-display); font-size: clamp(1.7rem, 2.5vw, 2.5rem); line-height: 1.02; }
.sf-legacy .card-green { color: var(--sf-paper); background: var(--sf-green-deep); border-color: var(--sf-green-deep); }
.sf-legacy .card-purple { background: var(--sf-purple-soft); }
.sf-legacy .card-gold { background: var(--sf-gold-soft); }
.sf-legacy .card-coral { background: var(--sf-coral-soft); }
.sf-legacy .ui-head { color: var(--sf-paper); background: var(--sf-green-deep); border-bottom-color: rgba(255,255,255,.2); }
.sf-legacy .ui-body { background: var(--sf-paper); }
.sf-legacy .demo-frame { overflow: hidden; border: 1px solid var(--sf-border); border-radius: var(--sf-radius-lg); background: var(--sf-paper); box-shadow: var(--sf-shadow); }
.sf-legacy .demo-bar { min-height: 4.75rem; padding-inline: clamp(1rem, 3vw, 2rem); background: var(--sf-green-deep); }
.sf-legacy .demo-stage { min-height: 34rem; }
.sf-legacy .demo-page .section-intro { margin-bottom: 3.5rem; }
.sf-legacy .demo-page .section-intro h1 { margin-inline: auto; }
.sf-legacy .application-page { background: linear-gradient(180deg, var(--sf-cream) 0%, var(--sf-paper) 100%); }
.sf-legacy .application-page .application-shell { max-width: 78rem; }
.sf-legacy .application-page .card { border-radius: var(--sf-radius-md); }
.sf-legacy .field input, .sf-legacy .field textarea, .sf-legacy .field select { min-height: 3.1rem; border-color: var(--sf-border-strong); border-radius: .5rem; background: var(--sf-paper); }
.sf-legacy .field input:focus, .sf-legacy .field textarea:focus, .sf-legacy .field select:focus { outline: .2rem solid rgba(238,122,21,.45); outline-offset: .1rem; border-color: var(--sf-orange); }
.sf-legacy .form-actions .btn-primary, .sf-legacy .btn-primary { color: var(--sf-paper); background: var(--sf-red); border-color: var(--sf-red); }
.sf-legacy .form-actions .btn-primary:hover, .sf-legacy .btn-primary:hover { color: var(--sf-paper); background: var(--sf-ink); border-color: var(--sf-ink); }
.sf-apply-flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin: 2.4rem 0 2.8rem; padding: 0; border: 1px solid var(--sf-border); background: var(--sf-border); list-style: none; }
.sf-apply-flow li { min-height: 7rem; display: grid; grid-template-columns: 2rem 1fr; grid-template-rows: auto auto; align-content: center; padding: 1rem 1.1rem; background: var(--sf-paper); }
.sf-apply-flow li > span { grid-row: 1 / 3; align-self: start; width: 1.65rem; height: 1.65rem; display: grid; place-items: center; border-radius: 50%; color: var(--sf-paper); background: var(--sf-purple); font-size: .62rem; font-weight: 700; }
.sf-apply-flow strong { font-size: .8rem; }
.sf-apply-flow small { color: var(--sf-ink-soft); font-size: .72rem; line-height: 1.35; }

/* A quiet, legible footer with enough contrast on the culantro-green field. */
.sf-footer { position: relative; overflow: hidden; padding: 5.5rem 0 2rem; color: rgba(255,253,249,.86); background: var(--sf-green); }
.sf-footer::before { content: ""; position: absolute; inset: 0; opacity: .12; background: url("/assets/brand/Pattern%20Design/Pattern%20Design_A.png") center / 30rem auto repeat; mix-blend-mode: screen; pointer-events: none; }
.sf-footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(16rem,1.7fr) repeat(2,minmax(9rem,1fr)); gap: clamp(2rem, 6vw, 6rem); }
.sf-footer-brand { display: inline-flex; align-items: center; min-height: 3.5rem; }
.sf-footer-brand img { width: min(12rem, 70vw); height: auto; }
.sf-footer-grid > div:first-child > p { max-width: 25rem; margin: 1.2rem 0 0; color: #fffdf9; font: 500 1.35rem/1.1 var(--sf-display); }
.sf-footer-label { margin: 0 0 .8rem; color: var(--sf-citrus); font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.sf-footer-grid > div:not(:first-child) a { min-width: 2.875rem; min-height: 2.75rem; display: flex; align-items: center; width: max-content; margin-left: -.5rem; padding-inline: .5rem; color: #fffdf9; font-size: .84rem; text-decoration: none; text-underline-offset: .3rem; }
.sf-footer-grid > div:not(:first-child) a:hover { text-decoration: underline; }
.sf-footer-legal { grid-column: 1 / -1; margin: 1rem 0 0; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.32); color: rgba(255,253,249,.82); font-size: .74rem; }

@media (max-width: 58rem) {
  .sf-nav-menu { display: inline-flex; align-items: center; justify-content: center; }
  .sf-nav-panel { position: absolute; inset: calc(100% + 1px) 1rem auto; display: grid; gap: .75rem; padding: .8rem; border: 1px solid var(--sf-border); border-radius: 1rem; background: rgba(255,253,249,.98); box-shadow: var(--sf-shadow-soft); opacity: 0; pointer-events: none; transform: translateY(-.5rem); transition: opacity .2s ease, transform .2s ease; }
  .sf-nav-panel.open { opacity: 1; pointer-events: auto; transform: none; }
  .sf-nav-links { display: grid; gap: .2rem; }
  .sf-nav-links a { min-height: 3.1rem; padding-inline: .8rem; border-radius: .6rem; }
  .sf-nav-links a:hover, .sf-nav-links a[aria-current="page"] { background: var(--sf-purple-soft); text-decoration: none; }
  .sf-nav-cta { justify-content: center; }
  .sf-site .sf-brand-wordmark { width: 7.8rem; }
  .sf-legacy .process-list { grid-template-columns: 1fr; }
  .sf-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
}

@media (max-width: 40rem) {
  .sf-site .sf-nav { min-height: 5.3rem; }
  .sf-site .sf-brand-icon { width: 2.9rem; height: 2.9rem; }
  .sf-site .sf-brand-wordmark, .sf-header .sf-brand-wordmark { width: 7.5rem; }
  .sf-site .sf-nav-cta { min-height: 2.8rem; padding-inline: .95rem; font-size: .76rem; }
  .sf-legacy main { padding-top: 5.3rem; }
  .sf-legacy .page-hero,
  .sf-legacy .demo-page,
  .sf-legacy .application-page { padding-block: 4.5rem; }
  .sf-legacy .page-hero h1,
  .sf-legacy .demo-page h1,
  .sf-legacy .application-page h1 { font-size: clamp(2.65rem, 11vw, 3.65rem); }
  .sf-legacy section h2 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .sf-legacy .split, .sf-legacy .page-hero-grid { grid-template-columns: 1fr; }
  .sf-legacy .sf-footer-grid, .sf-footer-grid { grid-template-columns: 1fr 1fr; }
  .sf-footer-grid > div:first-child, .sf-footer-legal { grid-column: 1 / -1; }
  .sf-apply-flow { grid-template-columns: repeat(2,1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .sf-nav-panel { transition: none; }
}

/* How-it-works journey chapters. */
.sf-journey-hero { padding: clamp(7rem, 12vw, 11rem) 0 5rem; background: var(--sf-cream); }
.sf-journey-hero-grid { display: grid; grid-template-columns: minmax(0,.86fr) minmax(23rem,1.14fr); gap: clamp(3rem,7vw,7rem); align-items: center; }
.sf-journey-hero-copy { max-width: 43rem; }
.sf-journey-hero-copy h1 { margin-top: 1.5rem; font: 600 clamp(3.1rem, 5.2vw, 5.1rem)/.94 var(--sf-display); letter-spacing: -.04em; }
.sf-journey-hero-copy .sf-lede { margin-top: 1.8rem; }
.sf-journey-hero-art { position: relative; min-height: 31rem; margin: 0; padding: .8rem 0 0 .8rem; }
.sf-journey-hero-art::before { content: ""; position: absolute; inset: 0 .8rem .8rem 0; border-radius: 12rem 12rem 1.5rem 1.5rem; background: var(--sf-citrus); }
.sf-journey-hero-art img { position: relative; width: 100%; height: 30rem; border-radius: 12rem 12rem 1.5rem 1.5rem; object-fit: cover; box-shadow: var(--sf-shadow); }
.sf-journey-hero-art figcaption { position: absolute; right: -1rem; bottom: 1.5rem; width: min(19rem,75%); padding: 1.1rem 1.3rem; border-left: .3rem solid var(--sf-citrus); color: var(--sf-paper); background: var(--sf-green-deep); box-shadow: var(--sf-shadow-soft); }
.sf-journey-hero-art figcaption span { display: block; color: var(--sf-citrus); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sf-journey-hero-art figcaption strong { display: block; margin-top: .35rem; font: 600 1.75rem/1 var(--sf-display); }
.sf-journey-strip { color: var(--sf-paper); background: var(--sf-ink); }
.sf-journey-strip .sf-shell { min-height: 7.5rem; display: grid; grid-template-columns: .65fr 2.35fr; gap: 2.5rem; align-items: center; }
.sf-journey-strip p { margin: 0; color: var(--sf-citrus); font: 600 1.45rem/1 var(--sf-display); }
.sf-journey-strip ul { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; list-style: none; }
.sf-journey-strip li { min-height: 4rem; display: grid; grid-template-columns: 2.5rem 1fr; grid-template-rows: auto auto; align-items: center; padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.18); }
.sf-journey-strip strong { font-size: .76rem; line-height: 1.2; }
.sf-journey-strip small { color: rgba(255,253,249,.64); font-size: .65rem; }
.sf-journey-ingredient { grid-row: 1 / 3; font-size: 1.8rem; line-height: 1; }
.sf-journey-purple { color: var(--sf-purple-soft); }.sf-journey-gold { color: var(--sf-citrus); }.sf-journey-orange { color: var(--sf-orange); }.sf-journey-green { color: var(--sf-sage); }
.sf-journey-chapters { padding: clamp(6rem, 10vw, 10rem) 0; background: var(--sf-paper); }
.sf-journey-heading { max-width: 45rem; margin-bottom: 4rem; }
.sf-journey-heading h2 { margin-top: 1rem; font: 600 clamp(2.8rem, 4.2vw, 4.5rem)/.97 var(--sf-display); }
.sf-journey-heading > p:last-child { margin-top: 1.25rem; color: var(--sf-ink-soft); font-size: var(--sf-text-lede); }
.sf-chapter-list { display: grid; gap: 1px; border: 1px solid var(--sf-border); background: var(--sf-border); }
.sf-chapter { display: grid; grid-template-columns: 3rem minmax(0,1fr) minmax(14rem,.72fr); gap: clamp(1.2rem,3vw,3rem); min-height: 23rem; padding: clamp(1.7rem,4vw,4rem); background: var(--sf-cream); }
.sf-chapter-index { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--sf-purple); font-size: .68rem; font-weight: 700; }
.sf-chapter-copy { max-width: 38rem; }
.sf-chapter-copy h3 { margin-top: .65rem; font: 600 clamp(2rem, 3vw, 3rem)/.98 var(--sf-display); letter-spacing: -.02em; }
.sf-chapter-copy > p:not(.sf-overline) { margin-top: 1.1rem; color: var(--sf-ink-soft); }
.sf-chapter-photo { min-height: 15rem; margin: 0; overflow: hidden; border-radius: 9rem 9rem .9rem .9rem; }
.sf-chapter-photo img { width: 100%; height: 100%; min-height: 15rem; object-fit: cover; }
.sf-chapter-dark { color: var(--sf-paper); background: var(--sf-ink); }
.sf-chapter-dark .sf-chapter-index, .sf-chapter-dark .sf-overline { color: var(--sf-citrus); }
.sf-chapter-dark .sf-chapter-copy > p:not(.sf-overline) { color: rgba(255,253,249,.72); }
.sf-chapter-note { display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
.sf-chapter-note p { margin: 0 0 .8rem; color: rgba(255,253,249,.7); font-size: .84rem; }
.sf-chapter-note .sf-evidence { color: var(--sf-ink); background: var(--sf-paper); }
.sf-chapter-accent { background: var(--sf-purple-soft); }
.sf-chapter-paper { background: var(--sf-paper-warm); }
.sf-journey-line { position: relative; display: flex; justify-content: space-between; max-width: 24rem; margin-top: 3rem; }
.sf-journey-line::before { content: ""; position: absolute; left: .35rem; right: .35rem; top: .38rem; border-top: 1px solid rgba(255,255,255,.34); }
.sf-journey-line i { position: relative; width: .8rem; height: .8rem; border: 2px solid var(--sf-ink); border-radius: 50%; background: var(--sf-citrus); }
.sf-memory-grid { display: grid; grid-template-columns: repeat(2, minmax(7rem,1fr)); gap: .55rem; margin-top: 1.5rem; }
.sf-memory-grid span { padding: .65rem .75rem; border: 1px solid var(--sf-border); border-radius: .5rem; color: var(--sf-ink-soft); background: rgba(255,253,249,.64); font-size: .73rem; font-weight: 600; }
.sf-journey-evidence { padding: clamp(6rem,10vw,10rem) 0; color: var(--sf-paper); background: var(--sf-green-deep); }
.sf-journey-evidence-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,7vw,7rem); align-items: start; }
.sf-journey-evidence h2 { margin-top: 1rem; font: 600 clamp(2.7rem,4.2vw,4.2rem)/.98 var(--sf-display); }
.sf-journey-evidence-grid > div:first-child > p:last-child { max-width: 35rem; margin-top: 1.4rem; color: rgba(255,253,249,.74); font-size: var(--sf-text-lede); }
.sf-journey-evidence-cards { border-top: 1px solid rgba(255,255,255,.24); }
.sf-journey-evidence-cards article { padding: 1.8rem 0; border-bottom: 1px solid rgba(255,255,255,.24); }
.sf-journey-evidence-cards .sf-evidence { color: var(--sf-ink); background: var(--sf-paper); }
.sf-journey-evidence-cards h3 { margin-top: .9rem; font: 600 2rem/1 var(--sf-display); }
.sf-journey-evidence-cards p { margin-top: .65rem; color: rgba(255,253,249,.7); }
.sf-journey-cta { padding: clamp(5rem,8vw,8rem) 0; background: var(--sf-cream); }
.sf-journey-cta h2 { max-width: 49rem; margin-top: 1rem; font: 600 clamp(2.8rem,4.5vw,4.5rem)/.97 var(--sf-display); }
.sf-demo-context { display: grid; grid-template-columns: 8rem minmax(0,1fr) 8rem; gap: 1.4rem; align-items: center; max-width: 62rem; margin: 0 auto 3rem; padding: 1rem; border: 1px solid var(--sf-border); border-radius: 1rem; background: var(--sf-paper); text-align: left; }
.sf-demo-context figure { height: 6.5rem; margin: 0; overflow: hidden; border-radius: .7rem; }
.sf-demo-context img { width: 100%; height: 100%; object-fit: cover; }
.sf-demo-context p { margin: 0; color: var(--sf-ink-soft); font-size: .9rem; }
.sf-demo-context strong { color: var(--sf-ink); font-family: var(--sf-display); font-size: 1.35rem; line-height: 1; }

@media (max-width: 58rem) {
  .sf-journey-hero-grid, .sf-journey-evidence-grid { grid-template-columns: 1fr; }
  .sf-journey-hero-art { width: min(100%, 42rem); margin-inline: auto; }
  .sf-journey-strip .sf-shell { grid-template-columns: 1fr; gap: 1rem; padding-block: 2rem; }
  .sf-chapter { grid-template-columns: 2.5rem 1fr; }
  .sf-chapter-photo, .sf-chapter-note { grid-column: 2; }
}

@media (max-width: 40rem) {
  .sf-journey-hero { padding-top: 6rem; }
  .sf-journey-hero-copy h1 { font-size: clamp(2.75rem,11vw,3.7rem); }
  .sf-journey-hero-art img { height: 23rem; }
  .sf-journey-hero-art { min-height: 24rem; }
  .sf-journey-strip ul { grid-template-columns: repeat(2,1fr); gap: 1rem 0; }
  .sf-chapter { grid-template-columns: 1fr; }
  .sf-chapter-index, .sf-chapter-photo, .sf-chapter-note { grid-column: auto; }
  .sf-chapter-photo { min-height: 13rem; }
  .sf-chapter-photo img { min-height: 13rem; }
  .sf-demo-context { grid-template-columns: 1fr 1fr; }
  .sf-demo-context p { grid-column: 1 / -1; grid-row: 1; }
}

/* September preview: make the working product visible without crowding the
   cooking narrative. These illustrations are decorative CSS shapes, and the
   still state retains the complete presentation when motion is reduced. */
.sf-site .sf-hero h1 { font-size: clamp(2.8rem, 3.9vw, 4.1rem); }
.sf-site .sf-section-heading h2 { font-size: clamp(2.35rem, 3.8vw, 4rem); }
.sf-nav-login { color: var(--sf-ink); font-size: .84rem; font-weight: 700; text-decoration: none; }
.sf-nav-login:hover { text-decoration: underline; text-underline-offset: .3rem; }
.sf-nav-login:focus-visible { outline: .2rem solid var(--sf-vivid-orange); outline-offset: .22rem; }
.sf-footer-operator { margin-top: .85rem; color: rgba(255,253,249,.72); font-size: .78rem; line-height: 1.55; }

.sf-product-glimpse { padding: clamp(5rem,9vw,8rem) 0; background: var(--sf-paper-warm); }
.sf-product-glimpse-grid { display: grid; grid-template-columns: minmax(0,.82fr) minmax(25rem,1.18fr); gap: clamp(2.5rem,7vw,7rem); align-items: center; }
.sf-product-glimpse .sf-section-heading > p:last-of-type { max-width: 37rem; }
.sf-weekly-brief-preview { overflow: hidden; border: 1px solid var(--sf-border); border-radius: 1.3rem; color: var(--sf-ink); background: var(--sf-paper); box-shadow: var(--sf-shadow); }
.sf-weekly-brief-preview > header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.45rem; color: var(--sf-paper); background: var(--sf-green-deep); }
.sf-weekly-brief-preview > header span { color: var(--sf-citrus); font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sf-weekly-brief-preview > header strong { font: 600 1.25rem/1 var(--sf-display); }
.sf-weekly-brief-preview > section { padding: 1.65rem; }
.sf-weekly-brief-preview h3 { margin-top: .65rem; font: 600 clamp(1.65rem,2.4vw,2.15rem)/1.05 var(--sf-display); }
.sf-weekly-brief-preview dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 1.5rem 0 0; background: var(--sf-border); }
.sf-weekly-brief-preview dl > div { padding: 1rem; background: var(--sf-cream); }
.sf-weekly-brief-preview dt { color: var(--sf-ink-soft); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sf-weekly-brief-preview dd { margin: .4rem 0 0; color: var(--sf-ink); font: 600 1.18rem/1.1 var(--sf-display); }
.sf-weekly-brief-preview .sf-brief-next-move { border-top: 1px solid var(--sf-border); background: var(--sf-green-soft); }
.sf-weekly-brief-preview .sf-brief-next-move p { margin: .65rem 0; }
.sf-weekly-brief-preview .sf-brief-next-move small { display: block; color: var(--sf-ink-soft); font-size: .78rem; line-height: 1.5; }
.sf-weekly-brief-preview > footer { padding: 1.1rem 1.45rem; border-top: 1px solid var(--sf-border); color: var(--sf-ink-soft); font-size: .78rem; line-height: 1.55; }

@media (max-width: 58rem) {
  .sf-nav-login { min-height: 3.1rem; display: flex; align-items: center; justify-content: center; padding-inline: .8rem; border-radius: .6rem; }
  .sf-nav-login:hover { background: var(--sf-purple-soft); text-decoration: none; }
  .sf-product-glimpse-grid { grid-template-columns: 1fr; }
  .sf-weekly-brief-preview { width: min(100%, 42rem); }
}

@media (max-width: 40rem) {
  .sf-site .sf-hero h1 { font-size: clamp(2.6rem, 11vw, 3.65rem); }
  .sf-weekly-brief-preview > header { align-items: flex-start; flex-direction: column; }
  .sf-weekly-brief-preview dl { grid-template-columns: 1fr; }
}

/* Sid-approved compact public scale: preserve the editorial face and public
   hierarchy while giving the site the Console's calmer reading density. */
:root {
  --sf-text-sm: clamp(.82rem, .8rem + .08vw, .88rem);
  --sf-text-base: clamp(.92rem, .9rem + .08vw, .98rem);
  --sf-text-lede: clamp(.98rem, .95rem + .2vw, 1.1rem);
}

.sf-site h1,
.sf-site .sf-hero h1 { font-size: clamp(2rem, 2.55vw, 2.7rem); }

.sf-site h2,
.sf-site .sf-section-heading h2,
.sf-site .sf-community h2,
.sf-site .sf-proof-copy h2,
.sf-site .sf-closing h2 { font-size: clamp(1.55rem, 2.05vw, 2.1rem); }

.sf-site h3,
.sf-site .sf-story-step h3,
.sf-site .sf-rhythm-list h3,
.sf-site .sf-evidence-stack h3,
.sf-site .sf-system-card h3,
.sf-site .sf-weekly-brief-preview h3 { font-size: clamp(1.25rem, 1.55vw, 1.65rem); }

@media (max-width: 40rem) {
  .sf-site h1,
  .sf-site .sf-hero h1 { font-size: clamp(1.95rem, 8.2vw, 2.2rem); }

  .sf-site h2,
  .sf-site .sf-section-heading h2,
  .sf-site .sf-community h2,
  .sf-site .sf-proof-copy h2,
  .sf-site .sf-closing h2 { font-size: clamp(1.4rem, 5.9vw, 1.75rem); }

  .sf-site h3,
  .sf-site .sf-story-step h3,
  .sf-site .sf-rhythm-list h3,
  .sf-site .sf-evidence-stack h3,
  .sf-site .sf-system-card h3,
  .sf-site .sf-weekly-brief-preview h3 { font-size: clamp(1.2rem, 5vw, 1.5rem); }
}

/* Final public pass: show the product sooner, keep long stories compact, and
   reserve the lightest approved colors for small text on dark surfaces. */
.sf-site .sf-story,
.sf-site .sf-community,
.sf-site .sf-product-glimpse,
.sf-site .sf-proof { padding-block: clamp(3.75rem, 6vw, 5.75rem); }
.sf-site .sf-closing { padding-block: clamp(3.75rem, 5vw, 5rem); }
.sf-site .sf-story-step { min-height: 0; padding: clamp(1.75rem, 3vw, 2.5rem); }
.sf-site .sf-community-bridge { margin-top: 2.5rem; padding-top: 2.25rem; }
.sf-site .sf-flavor-bar p,
.sf-site .sf-footer-label,
.sf-site .sf-proof .sf-kicker-light,
.sf-site .sf-proof .sf-proof-details dt { color: var(--sf-purple-soft); }
.sf-site .sf-story-step-dark p:not(.sf-overline),
.sf-site .sf-community-intro > p,
.sf-site .sf-proof-copy > p:not(.sf-kicker),
.sf-site .sf-proof-details dd { color: #eff6eb; }
.sf-site .sf-community-bridge strong { color: #fffdf9; }
.sf-site .sf-proof .sf-button-light { color: var(--sf-paper); background: var(--sf-red); }
.sf-site .sf-proof .sf-button-light:hover { color: var(--sf-ink); background: var(--sf-paper); }

@media (max-width: 40rem) {
  .sf-site .sf-story,
  .sf-site .sf-community,
  .sf-site .sf-product-glimpse,
  .sf-site .sf-proof,
  .sf-site .sf-closing { padding-block: 3.25rem; }
  .sf-site .sf-story-step { padding: 1.5rem; }
}

/* Final type scale: the public pages follow the Console's quiet reading
   density. Editorial type remains distinct, but no hero dominates its page. */
.sf-site h1,
.sf-site .sf-hero h1 { font-size: clamp(1.9rem, 2.3vw, 2.45rem); }
.sf-site h2,
.sf-site .sf-section-heading h2,
.sf-site .sf-community h2,
.sf-site .sf-proof-copy h2,
.sf-site .sf-closing h2 { font-size: clamp(1.45rem, 1.8vw, 1.9rem); }
.sf-site h3,
.sf-site .sf-story-step h3,
.sf-site .sf-rhythm-list h3,
.sf-site .sf-evidence-stack h3,
.sf-site .sf-system-card h3,
.sf-site .sf-weekly-brief-preview h3 { font-size: clamp(1.18rem, 1.35vw, 1.45rem); }

@media (max-width: 40rem) {
  .sf-site h1,
  .sf-site .sf-hero h1 { font-size: clamp(1.82rem, 7.5vw, 2.05rem); }
  .sf-site h2,
  .sf-site .sf-section-heading h2,
  .sf-site .sf-community h2,
  .sf-site .sf-proof-copy h2,
  .sf-site .sf-closing h2 { font-size: clamp(1.35rem, 5.4vw, 1.6rem); }
  .sf-site h3,
  .sf-site .sf-story-step h3,
  .sf-site .sf-rhythm-list h3,
  .sf-site .sf-evidence-stack h3,
  .sf-site .sf-system-card h3,
  .sf-site .sf-weekly-brief-preview h3 { font-size: clamp(1.12rem, 4.7vw, 1.35rem); }
}

/* Restored reference states: these two landmark sections intentionally retain
   their original editorial hierarchy and ingredient treatment. */
.sf-site .sf-hero h1 { font-size: clamp(2.8rem, 3.75vw, 4rem); }
.sf-site .sf-hero-sentence { white-space: nowrap; }
.sf-site .sf-trust-list,
.sf-site .sf-rhythm-list,
.sf-site .sf-rhythm-list li { border-color: #d9c9b7; }
.sf-site .sf-rhythm-list { gap: 0; margin-top: 5rem; }
.sf-site .sf-rhythm-list h3 { font-size: clamp(1.85rem, 2.4vw, 2.45rem); }
.sf-site .sf-kitchen-stage > img { box-shadow: 0 2rem 6rem rgba(38, 32, 22, .14); }
.sf-site .sf-kitchen-stage figcaption { box-shadow: 0 1rem 3rem rgba(38, 32, 22, .09); }
.sf-site .sf-kitchen-stage figcaption strong { color: var(--ink); }
.sf-site .sf-kitchen-stage figcaption span { color: var(--sf-citrus); }

@media (max-width: 40rem) {
  .sf-site .sf-hero h1 { font-size: clamp(1.82rem, 7.5vw, 2.05rem); }
  .sf-site .sf-rhythm-list { gap: 0; margin-top: 3rem; }
  .sf-site .sf-rhythm-list h3 { font-size: clamp(1.85rem, 2.4vw, 2.45rem); }
}

/* Public revision: product evidence arrives with the food-business story. */
.sf-site .sf-hero { min-height: min(48rem, 88svh); padding: 7rem 0 3.5rem; }
.sf-site .sf-kitchen-stage figcaption strong { color: #fffdf9; }
.sf-site .sf-weekly-brief-preview > header strong { color: #fffdf9; }
.sf-site .sf-flavor-bar li strong { color: #fffdf9; }
.sf-site .sf-flavor-bar li span { color: rgba(255,253,249,.78); }
.sf-hero-brief { max-width: 34rem; margin: 1.35rem 0 1.5rem; padding: .9rem 1rem; border-left: .28rem solid var(--sf-citrus); background: rgba(255,253,249,.72); }
.sf-hero-brief span { display: block; color: var(--sf-purple); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sf-hero-brief strong { display: block; margin-top: .35rem; color: var(--sf-ink); font: 600 1.05rem/1.15 var(--sf-display); }
.sf-hero-brief small { display: block; margin-top: .4rem; color: var(--sf-ink-soft); font-size: .76rem; line-height: 1.4; }
.sf-site .sf-story { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
.sf-site .sf-story-grid { grid-template-columns: 1fr; gap: 2rem; }
.sf-site .sf-story-heading { position: static; max-width: 44rem; }
.sf-site .sf-story-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.sf-site .sf-story-step { min-height: 0; padding: clamp(1.35rem, 2.3vw, 2rem); }
.sf-site .sf-story-step h3 { font-size: clamp(1.22rem, 1.5vw, 1.55rem); }
.sf-site .sf-story-step p { max-width: none; }
.sf-site .sf-story-step .sf-inline-link { margin-top: 1rem; }
.sf-site .sf-footer-brand img,
.sf-site .sf-footer-word { width: min(22rem, 100%); height: auto; margin-bottom: 0; }
.sf-site .sf-footer-grid > div:first-child > p.sf-footer-operator,
.sf-site .sf-footer-bottom { display: none; }
.sf-site .sf-footer h2 { font-size: .72rem; }

@media (max-width: 58rem) {
  .sf-site .sf-hero { min-height: auto; padding: 6.2rem 0 3rem; }
  .sf-site .sf-story-steps { grid-template-columns: 1fr; }
}

@media (max-width: 40rem) {
  .sf-site .sf-hero { padding: 5.75rem 0 2.5rem; }
  .sf-hero-brief { margin: 1.15rem 0 1.25rem; }
  .sf-site .sf-footer-brand img,
  .sf-site .sf-footer-word { width: min(18rem, 88vw); }
}
