@font-face { font-family: "Alegreya"; src: url("../_shared/fonts/alegreya-normal-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: block; }
@font-face { font-family: "Alegreya"; src: url("../_shared/fonts/alegreya-italic-latin.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: block; }
@font-face { font-family: "Sofia Sans"; src: url("../_shared/fonts/sofiasans-normal-latin.woff2") format("woff2"); font-weight: 100 900; font-display: block; }
@font-face { font-family: "Sofia Sans XC"; src: url("../_shared/fonts/sofiasansxcond-normal-latin.woff2") format("woff2"); font-weight: 100 900; font-display: block; }

:root {
  --ink: #0e121c; --ink2: #171d2b; --paper: #f4f1ec; --line: rgba(255,255,255,.18);
  --serif: "Alegreya", "Baskerville", Georgia, serif;
  --sans: "Sofia Sans", system-ui, "Helvetica Neue", sans-serif;
  --cond: "Sofia Sans XC", "Sofia Sans", system-ui, sans-serif;
  --fg: #f6f0e6; --bg: #0e121c; --navfg: #f6f0e6;
  --pad: clamp(22px, 5.6vw, 96px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--ink); color: var(--fg); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; }
em { font-style: italic; }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
main { position: relative; z-index: 1; }

/* ---------- type ---------- */
.eyebrow { font: 700 13px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 22px; display: flex; align-items: center; gap: 12px; }
.eyebrow .rule { display: inline-block; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
h1, h2 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -.018em; }
h1 { font-size: clamp(54px, 7.1vw, 120px); line-height: .9; }
h1 em, h2 em { font-weight: 500; }
.lede { font-size: 18px; line-height: 1.5; max-width: 30em; margin: 24px 0 0; opacity: .86; }

/* ---------- buttons ---------- */
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: 999px; font: 600 15px/1 var(--sans); letter-spacing: .01em; white-space: nowrap; transition: transform .25s cubic-bezier(.2,.8,.2,1), background-color .25s, color .25s; }
.btn.solid { background: var(--fg); color: var(--bg); }
.btn.ghost { box-shadow: inset 0 0 0 1.5px currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn.dark { background: var(--ink); color: #f6f0e6; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 76px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; color: var(--navfg); }
.nav::before { content: ""; position: absolute; inset: 0 0 -26px; background: linear-gradient(var(--navink, transparent) 72%, transparent); opacity: var(--navbgo, 0); z-index: -1; pointer-events: none; }
.brand { display: flex; align-items: baseline; gap: 12px; }
.wm { font: italic 800 30px/1 var(--serif); letter-spacing: -.02em; }
.co { font: 700 11px/1 var(--cond); letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.links { display: flex; gap: 34px; font: 500 15px/1 var(--sans); }
.links a { position: relative; padding: 6px 0; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.links a:hover::after { transform: scaleX(1); }
.icons { display: flex; align-items: center; gap: 10px; }
.icons button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.icons svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.icons .bag { width: auto; padding: 0 6px 0 16px; height: 40px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px currentColor; display: flex; gap: 10px; font: 600 14px/1 var(--sans); }
.icons .bag i { font-style: normal; min-width: 28px; height: 28px; border-radius: 999px; background: var(--navfg); color: var(--navink, #0e121c); display: grid; place-items: center; font-size: 13px; }
.burger { display: none !important; }

/* ---------- hero ---------- */
#hero { position: relative; height: 100vh; min-height: 620px; color: var(--fg); overflow: clip; }
.hero-copy { position: absolute; left: var(--pad); top: 50%; transform: translateY(-44%); width: min(560px, 40vw); display: grid; }
.state { grid-area: 1 / 1; }
.s-open { opacity: 0; visibility: hidden; }
.route { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: relative; max-width: 470px; }
.route::before { content: ""; position: absolute; left: 7px; right: 50%; top: 7px; height: 0; border-top: 1.5px dashed currentColor; opacity: .55; }
.route li { position: relative; padding-top: 26px; }
.route li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.route li:last-child::before { background: currentColor; }
.route span { display: block; font: 700 12px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.route b { display: block; font: 500 26px/1.1 var(--serif); margin-top: 8px; }
.route small { display: block; font-size: 14px; opacity: .78; margin-top: 6px; max-width: 16em; line-height: 1.35; }
.hint { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; pointer-events: none; font: 700 13px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: #f6f0e6; height: 38px; padding: 0 16px 0 10px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.35); will-change: transform, opacity; }
.hint::before { content: ""; position: absolute; left: 22px; top: -7px; width: 14px; height: 14px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.hint svg { width: 34px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hit { position: absolute; left: 0; top: 0; width: 10px; height: 10px; touch-action: none; cursor: grab; border-radius: 22px; outline: none; }
.hit:focus-visible { box-shadow: 0 0 0 2px var(--fg); }
.hit.drag { cursor: grabbing; }
.define { position: absolute; left: var(--pad); bottom: 34px; margin: 0; font: 400 14px/1.3 var(--sans); opacity: .62; }
.define em { font-family: var(--serif); font-size: 17px; }
.scrollcue { position: absolute; right: var(--pad); bottom: 30px; display: flex; align-items: center; gap: 14px; font: 700 12px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; }
.scrollcue i { width: 1.5px; height: 40px; background: linear-gradient(currentColor 50%, transparent 0) 0 0 / 100% 200%; animation: cue 1.8s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes cue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* ---------- library ---------- */
#library { position: relative; height: 820vh; }
.pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.panels { position: absolute; left: var(--pad); top: 50%; width: min(520px, 38vw); transform: translateY(-46%); }
.panel { position: absolute; left: 0; top: 50%; width: 100%; transform: translateY(-50%); color: var(--pfg, #fff); opacity: 0; visibility: hidden; }
.panel .idx { font: 700 13px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; opacity: .8; margin: 0 0 18px; }
.panel h2 { font-size: clamp(40px, 4.4vw, 72px); line-height: .96; }
.panel .line { font-size: 17px; line-height: 1.5; margin: 20px 0 0; max-width: 28em; opacity: .9; }
.panel .route { margin-top: 30px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.tags span { font: 600 13px/1 var(--sans); padding: 9px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1.2px currentColor; opacity: .85; }
.panel .ctas { margin-top: 28px; }
.panel .btn.solid { background: var(--pfg); color: var(--pbg); }
.rail { position: absolute; right: var(--pad); bottom: 34px; display: flex; gap: 6px; color: var(--libfg, var(--fg)); }
.rail button { width: 112px; padding: 8px 6px 12px; display: grid; justify-items: center; gap: 8px; position: relative; opacity: .6; transition: opacity .3s; }
.rail button.on, .rail button:hover { opacity: 1; }
.rail img { height: 64px; width: auto; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.rail button.on img { transform: translateY(-4px) rotate(-6deg) scale(1.08); }
.rail span { font: 700 11px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; }
.rail button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: currentColor; transform: scaleX(var(--fill, 0)); transform-origin: left; }
.count { display: none; }

/* ---------- case ---------- */
#case { background: var(--ink); color: #f6f0e6; padding: 150px 0 140px; position: relative; }
.wrap { padding: 0 var(--pad); max-width: 1600px; margin: 0 auto; }
.case-title { font-size: clamp(44px, 5.6vw, 92px); line-height: .95; max-width: 12em; }
.claims { list-style: none; margin: 80px 0 0; padding: 0; border-top: 1px solid var(--line); }
.claims li { position: relative; display: grid; grid-template-columns: 90px 1fr 280px; align-items: center; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.claims .n { font: 700 13px/1 var(--cond); letter-spacing: .16em; opacity: .55; }
.claims b { font: 500 clamp(34px, 4.6vw, 76px)/1 var(--serif); letter-spacing: -.02em; }
.claims b em { color: var(--c); transition: color .4s; }
.claims small { font-size: 16px; opacity: .7; }
.claims img { position: absolute; right: 300px; top: 50%; height: 120%; width: auto; transform: translate(40px, -50%) rotate(8deg) scale(.86); opacity: 0; transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .5s; pointer-events: none; }
.claims li.on img, .claims li:hover img { opacity: 1; transform: translate(0, -50%) rotate(-5deg) scale(1); }

/* ---------- kitchen ---------- */
#kitchen { background: var(--paper); color: var(--ink); padding: 150px 0 170px; position: relative; overflow: hidden; }
.k-grid { display: grid; grid-template-columns: 1.05fr .8fr .62fr; grid-template-rows: auto auto; gap: 28px; align-items: start; }
.k-copy { grid-row: 1 / 3; padding-right: 40px; align-self: center; }
#kitchen h2 { font-size: clamp(42px, 4.6vw, 78px); line-height: .96; }
#kitchen h2 em { color: #e5442f; }
.recipes { list-style: none; margin: 46px 0 40px; padding: 0; border-top: 1px solid rgba(14,18,28,.16); }
.recipes a { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid rgba(14,18,28,.16); transition: padding .3s; }
.recipes a:hover { padding-left: 10px; }
.recipes b { font: 500 23px/1.2 var(--serif); }
.recipes span { font: 700 12px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
.ph { margin: 0; border-radius: 20px; overflow: hidden; position: relative; will-change: transform; }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.06) contrast(1.04); }
.ph-a { grid-column: 2; grid-row: 1 / 3; aspect-ratio: 3 / 4.3; }
.ph-b { grid-column: 3; grid-row: 1; aspect-ratio: 4 / 5; margin-top: 90px; }
.ph-c { grid-column: 3; grid-row: 2; aspect-ratio: 1; }

/* ---------- bundle ---------- */
#bundle { background: #d83b27; color: #fff7ec; padding: 140px 0; overflow: hidden; --fg: #fff7ec; --bg: #d83b27; }
.b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
#bundle h2 { font-size: clamp(48px, 5.8vw, 98px); line-height: .92; }
.sizes { display: inline-flex; margin-top: 34px; padding: 5px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255,247,236,.5); }
.sizes button { height: 42px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--sans); transition: background-color .25s, color .25s; }
.sizes button.on { background: #fff7ec; color: #d83b27; }
.guarantee { margin: 40px 0 0; max-width: 30em; font-size: 15px; line-height: 1.5; opacity: .9; padding-top: 22px; border-top: 1px solid rgba(255,247,236,.35); }
.guarantee b { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.b-img { margin: 0; position: relative; }
.b-img img { width: 112%; max-width: none; margin-left: -4%; filter: drop-shadow(0 40px 50px rgba(80,10,0,.35)); will-change: transform; }

/* ---------- footer ---------- */
#foot { background: var(--ink); color: #f6f0e6; padding: 110px 0 30px; overflow: hidden; }
.news { display: grid; grid-template-columns: 1fr minmax(320px, 520px); gap: 40px; align-items: center; padding-bottom: 70px; border-bottom: 1px solid var(--line); position: relative; }
.news p { font: 500 clamp(26px, 2.4vw, 38px)/1.15 var(--serif); margin: 0; max-width: 18em; }
.field { display: flex; gap: 8px; padding: 6px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(246,240,230,.4); }
.field input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: inherit; font: 400 16px var(--sans); padding: 0 18px; }
.field input::placeholder { color: rgba(246,240,230,.55); }
.field .btn { height: 46px; --fg: #f6f0e6; --bg: #0e121c; }
.news .thanks { display: none; }
.news.done .field { display: none; } .news.done .thanks { display: block; font: 500 22px var(--serif); }
.f-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 20px; }
.about { font: 400 17px/1.55 var(--sans); max-width: 26em; margin: 0; opacity: .85; }
.f-grid h4 { font: 700 12px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 18px; opacity: .6; }
.f-grid a { display: block; font-size: 15px; padding: 5px 0; opacity: .9; }
.giant { font: italic 800 clamp(120px, 23vw, 380px)/.8 var(--serif); letter-spacing: -.04em; margin: 30px 0 0; color: #1a2131; white-space: nowrap; text-align: center; }
.legal { display: flex; gap: 28px; font-size: 13px; opacity: .55; padding-top: 24px; }

/* ---------- tablet / phone ---------- */
@media (max-width: 1080px) {
  .links { display: none; }
  .burger { display: grid !important; }
}
@media (max-width: 760px) {
  :root { --pad: 22px; }
  body { font-size: 16px; }
  .nav { height: 64px; }
  .wm { font-size: 26px; }
  .co, .hide-s, .icons button[aria-label="Search"] { display: none; }
  .icons .bag span { display: none; }
  .icons .bag { padding: 0 6px; }
  #hero { min-height: 600px; }
  .hero-copy { left: 0; right: 0; top: 0; bottom: 0; width: auto; transform: none; }
  .state { position: absolute; inset: 92px 22px calc(28px + var(--safe, 0px)) 22px; display: flex; flex-direction: column; }
  h1 { font-size: clamp(44px, 13.4vw, 64px); }
  .eyebrow { font-size: 12px; margin-bottom: 16px; }
  .lede { font-size: 15.5px; margin-top: 14px; max-width: 22em; }
  .route { margin-top: auto; }
  .route b { font-size: 21px; }
  .route small { font-size: 12.5px; }
  .ctas { margin-top: 20px; gap: 10px; flex-wrap: nowrap; }
  .ctas .btn { flex: 1; padding: 0 14px; height: 50px; font-size: 14.5px; }
  .s-closed .ctas { margin-top: auto; }
  .define, .scrollcue { display: none; }
  #library { height: 700vh; }
  .panels { left: 22px; right: 22px; width: auto; top: auto; bottom: calc(26px + var(--safe, 0px)); transform: none; height: 0; }
  .panel { top: auto; bottom: 0; transform: none; }
  .panel .idx { margin-bottom: 10px; }
  .panel h2 { font-size: 34px; }
  .panel .line { font-size: 14.5px; margin-top: 10px; }
  .panel .route { margin-top: 18px; }
  .panel .tags { display: none; }
  .panel .ctas { margin-top: 18px; }
  .rail { display: none; }
  .count { display: flex; align-items: baseline; gap: 6px; position: absolute; right: 22px; top: 78px; font: 700 12px/1 var(--cond); letter-spacing: .16em; color: var(--libfg, var(--fg)); }
  .count b { font: 500 22px/1 var(--serif); letter-spacing: 0; }
  #case { padding: 96px 0; }
  .claims { margin-top: 44px; }
  .claims li { grid-template-columns: 34px 1fr; gap: 8px 12px; padding: 22px 0; }
  .claims small { grid-column: 2; font-size: 14px; }
  .claims b { font-size: 34px; }
  .claims img { display: none; }
  #kitchen { padding: 96px 0; }
  .k-grid { grid-template-columns: 1fr 1fr; }
  .k-copy { grid-column: 1 / 3; grid-row: auto; padding: 0; }
  .ph-a { grid-column: 1; grid-row: auto; }
  .ph-b { grid-column: 2; grid-row: auto; margin-top: 48px; }
  .ph-c { display: none; }
  .recipes b { font-size: 20px; }
  #bundle { padding: 96px 0 60px; }
  .b-grid { grid-template-columns: 1fr; }
  .b-img img { width: 100%; margin: 0; }
  .sizes button { padding: 0 16px; }
  #foot { padding-top: 80px; }
  .news { grid-template-columns: 1fr; gap: 24px; padding-bottom: 50px; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .about { grid-column: 1 / 3; }
  .legal { flex-wrap: wrap; gap: 14px; }
}
html.device-mobile { --safe: 40px; }

/* ---------- menu (phone + tablet) ---------- */
.menu { position: fixed; inset: 0; z-index: 19; background: var(--ink); color: #f6f0e6; padding: 110px var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s .45s; }
.menu nav { display: grid; gap: 6px; }
.menu nav a { font: 500 clamp(40px, 10vw, 72px)/1.08 var(--serif); letter-spacing: -.02em; border-bottom: 1px solid var(--line); padding: 8px 0 12px; }
.menu nav a:nth-child(even) { font-style: italic; }
.menu-foot { display: flex; gap: 24px; flex-wrap: wrap; font: 700 12px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; opacity: .75; padding-bottom: var(--safe, 0px); }
html.menu-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1); }
html.menu-open .nav { --navfg: #f6f0e6 !important; --navbgo: 0 !important; }
html.menu-open .burger svg path { d: path("M6 6l12 12M18 6 6 18"); }
.burger svg path { transition: d .3s; }
@media (max-width: 1200px) { .claims img { display: none; } }
@media (max-width: 1080px) and (min-width: 761px) {
  .panels { width: min(440px, 42vw); }
  .panel h2 { font-size: 40px; }
  .panel .tags { display: none; }
}
