/* Chef League — site styles. Palette from chefleague2026/DESIGN-SYSTEM.md (teal darkened to AA). Type: Brown (licensed, self-hosted). */
@font-face { font-family: "Brown"; src: url("../fonts/Brown-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Brown"; src: url("../fonts/Brown-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Brown"; src: url("../fonts/Brown-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --text: #515E69; --text-dark: #313131; --text-dim: #6F6A69; --text-muted: #8D8685;
  --bg: #FFFFFF; --bg-light: #F9FAFB; --bg-warm: #F7F2E7; --border: #D9DCDC; --border-light: #ECEEED;
  --teal: #3A8FA3; --teal-deep: #2B7A8C; --teal-light: #EBF5F8; --tan: #C8A691; --tan-bg: rgba(200,166,145,0.14);
  --coral: #E99197; --navy: #2A2E43; --star: #E8C170;
  --max: 1080px; --gutter: clamp(20px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: "Brown", -apple-system, "SF Pro Text", system-ui, sans-serif; font-weight: 300; color: var(--text); background: var(--bg); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; }
strong, b { font-weight: 700; }
h1, h2, h3 { font-weight: 700; color: var(--text-dark); line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5.2vw, 56px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 19px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 10px; }
.sub { font-size: 19px; color: var(--text-dim); max-width: 34em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(255,255,255,0.92); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--border-light); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text-dark); font-size: 17px; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 22px; align-items: center; font-size: 15px; }
.nav a { color: var(--text); }
.nav .cta-sm { background: var(--text-dark); color: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.nav .cta-sm:hover { background: var(--teal-deep); text-decoration: none; }
@media (max-width: 560px) { .nav a:not(.cta-sm) { display: none; } }

/* hero */
.hero { padding-block: clamp(40px, 8vw, 96px) clamp(24px, 5vw, 64px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy .icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 6px 22px rgba(42,46,67,0.16); margin-bottom: 26px; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .sub { margin-bottom: 30px; }
.store-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border-radius: 10px; padding: 10px 18px 10px 14px; line-height: 1.05; }
.store-btn:hover { background: var(--navy); text-decoration: none; }
.store-btn svg { width: 24px; height: 24px; fill: #fff; flex: none; }
.store-btn small { display: block; font-size: 10px; font-weight: 300; letter-spacing: 0.02em; }
.store-btn span { display: block; font-size: 19px; font-weight: 700; }
.store-note { font-size: 14px; color: var(--text-muted); }
.phone { justify-self: center; width: min(300px, 78vw); border-radius: 38px; padding: 10px; background: var(--navy); box-shadow: 0 24px 60px rgba(42,46,67,0.28); }
.phone img { border-radius: 30px; }

/* sections */
.band { padding-block: clamp(48px, 7vw, 88px); }
.band.light { background: var(--bg-light); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.band h2 { margin-bottom: 12px; }
.band .sub { margin-bottom: 36px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--bg); border: 1px solid var(--border-light); border-radius: 16px; padding: 22px 22px 0; overflow: hidden; display: flex; flex-direction: column; }
.step .num { width: 32px; height: 32px; border-radius: 50%; background: var(--teal-light); color: var(--teal-deep); font-weight: 700; display: grid; place-items: center; font-size: 14px; margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 16px; margin-bottom: 18px; }
.step .shot { margin-top: auto; border-radius: 18px 18px 0 0; overflow: hidden; border: 4px solid var(--navy); border-bottom: 0; }
.step .shot img { aspect-ratio: 1206 / 1600; object-fit: cover; object-position: top; }

.dims { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.dims li { list-style: none; background: var(--tan-bg); color: var(--text-dark); border-radius: 999px; padding: 6px 14px; font-size: 15px; }

.two { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.two p + p { margin-top: 14px; }
.origin { margin-top: 22px; padding: 16px 20px; border-left: 3px solid var(--tan); background: var(--tan-bg); border-radius: 0 12px 12px 0; }
.origin p { font-size: 16px; line-height: 1.55; color: var(--text-dark); }
.origin cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--text-muted); }
.facts { list-style: none; display: grid; gap: 14px; }
.facts li { border-left: 3px solid var(--teal); padding: 4px 0 4px 16px; }
.facts b { display: block; color: var(--text-dark); }
.facts span { color: var(--text-dim); font-size: 15px; }

.download { text-align: center; }
.download .icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 6px 22px rgba(42,46,67,0.16); }
.download h2 { margin-bottom: 10px; }
.download .sub { margin: 0 auto 28px; }
.download .store-row { justify-content: center; }

/* proof row, trailer, press */
.proof-row { margin-top: 18px; font-size: 15px; color: var(--text-dim); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stars { color: var(--star); letter-spacing: 1px; font-size: 17px; line-height: 1; }
.stars .half { background: linear-gradient(90deg, var(--star) 50%, var(--border) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trailer-wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.trailer { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--navy); box-shadow: 0 18px 48px rgba(42,46,67,0.22); }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; display: block; }
.trailer-play img { width: 100%; height: 100%; object-fit: cover; }
.play-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,0.94); color: var(--text-dark); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,0.25); transition: transform 0.15s ease; }
.trailer-play:hover .play-badge { transform: translate(-50%, -50%) scale(1.06); }
.trailer-play:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: -3px; }
.press blockquote { margin: 0 0 22px; }
.press blockquote p { font-size: clamp(19px, 2vw, 23px); font-weight: 400; color: var(--text-dark); line-height: 1.4; margin-bottom: 8px; }
.press cite { font-style: normal; font-size: 14px; color: var(--text-muted); }
.press-list { list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--text-dim); }
.press-list a, .press-list span { font-weight: 700; color: var(--text-dark); }

/* signup band */
.signup { border-top: 1px solid var(--border-light); }
.signup-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.signup .sub { margin-bottom: 0; }
.nl-row { display: flex; gap: 10px; }
.nl-row input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text-dark); }
.nl-row input:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 2px; border-color: var(--teal-deep); }
.is-checked input:invalid { border-color: var(--coral); }
.cta { font: inherit; font-weight: 700; font-size: 15px; background: var(--text-dark); color: #fff; border: 0; border-radius: 10px; padding: 12px 18px; cursor: pointer; white-space: nowrap; }
.cta:hover { background: var(--teal-deep); }
.cta:disabled { opacity: 0.6; cursor: default; }
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nl-consent { font-size: 13px; color: var(--text-muted); margin-top: 10px; }
.nl-error { font-size: 14px; color: #B04A52; margin-top: 8px; }
.nl-done { background: var(--teal-light); border: 1px solid #CFE6ED; border-radius: 12px; padding: 16px 18px; color: var(--text-dark); }
@media (max-width: 860px) { .trailer-wrap, .signup-wrap { grid-template-columns: 1fr; } .nl-row { flex-direction: column; } }

/* prose pages */
.prose { max-width: 720px; padding-block: clamp(36px, 6vw, 72px); }
.prose h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.prose .meta { color: var(--text-muted); font-size: 15px; margin-bottom: 32px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose h3 { font-size: 17px; margin: 22px 0 6px; }
.prose p, .prose li { margin-bottom: 12px; font-size: 16.5px; }
.prose ul { padding-left: 22px; }
.prose address { font-style: normal; line-height: 1.6; margin-bottom: 12px; }
.prose .box { background: var(--bg-light); border: 1px solid var(--border-light); border-radius: 12px; padding: 18px 20px; margin: 18px 0; }
.prose .box p:last-child { margin-bottom: 0; }

/* footer */
.site-foot { border-top: 1px solid var(--border-light); padding-block: 36px 44px; font-size: 14px; color: var(--text-dim); }
.site-foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: start; }
.site-foot .colophon a { color: var(--text-dark); font-weight: 700; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot nav a { color: var(--text); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { order: -1; width: min(240px, 70vw); }
  .steps { grid-template-columns: 1fr; }
  .step .shot img { aspect-ratio: 1206 / 900; }
  .two { grid-template-columns: 1fr; }
  .site-foot .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.6s ease-out both; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.06s; } .hero-copy > *:nth-child(3) { animation-delay: 0.12s; } .hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
