@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #f6f1e7;
  --cream-2: #efe7d6;
  --paper: #fffdf8;
  --soy: #2b1d14;
  --soy-2: #5a4334;
  --muted: #7a6656;
  --line: rgba(43, 29, 20, 0.12);
  --line-strong: rgba(43, 29, 20, 0.28);
  --matcha: #5b7a3a;
  --matcha-2: #e3ead3;
  --chili: #b8402b;
  --serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--soy);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.02em; font-variation-settings: "SOFT" 100, "WONK" 0; }
h1 em, h2 em { font-style: italic; color: var(--matcha); font-variation-settings: "SOFT" 100, "WONK" 1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--soy); color: var(--cream); padding: 10px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--matcha); outline-offset: 3px; border-radius: 6px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(246, 241, 231, 0.85); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 23px; letter-spacing: -0.02em; white-space: nowrap; font-variation-settings: "SOFT" 100; }
.mark { width: 30px; height: 30px; }
.mark-top { fill: #fffaf0; stroke: var(--soy); stroke-width: 1.6; stroke-linejoin: round; }
.mark-left { fill: #eadfc6; stroke: var(--soy); stroke-width: 1.6; stroke-linejoin: round; }
.mark-right { fill: #d8c9a6; stroke: var(--soy); stroke-width: 1.6; stroke-linejoin: round; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--soy-2); }
.nav-links a:hover { color: var(--soy); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 999px; background: var(--soy); color: var(--cream); text-decoration: none; font-weight: 500; font-size: 16px; white-space: nowrap; transition: transform 0.25s var(--ease), background 0.25s; }
.btn:hover { transform: translateY(-1px); background: #3f2c1f; }
.btn-small { padding: 10px 18px; font-size: 14.5px; }
.btn-ghost { background: transparent; color: var(--soy); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { background: rgba(43, 29, 20, 0.05); }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--line-strong); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--soy); }

/* hero */
.hero { padding: 64px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--soy-2); background: var(--paper); padding: 7px 14px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--matcha); box-shadow: 0 0 0 4px var(--matcha-2); }
.hero h1 { font-size: clamp(56px, 7.6vw, 108px); margin: 28px 0 26px; letter-spacing: -0.035em; font-weight: 350; }
.lede { font-size: clamp(17px, 1.45vw, 20px); color: var(--soy-2); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 44px; font-size: 14px; color: var(--muted); }
.badges li::before { content: "✓"; color: var(--matcha); font-weight: 700; margin-right: 8px; }

.plate { position: relative; margin: 0; }
.plate::before { content: ""; position: absolute; inset: 6% 2% 2% 6%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fbf4e1 0%, rgba(239, 231, 214, 0) 68%); z-index: -1; }
.plate svg { width: 100%; height: auto; }
.shadow { fill: rgba(43, 29, 20, 0.14); filter: blur(10px); }
.soy-shine { fill: rgba(255, 255, 255, 0.16); }
.edge { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.5; stroke-linecap: round; }
.pores circle { fill: rgba(150, 125, 85, 0.35); }
.sesame ellipse { fill: #fff6e0; stroke: #c9b385; stroke-width: 0.8; }
.scallion circle { fill: none; stroke: #6c9a3c; stroke-width: 3; }
.block { animation: jiggle 6s var(--ease) infinite; transform-origin: 260px 372px; }
@keyframes jiggle {
  0%, 84%, 100% { transform: scale(1, 1); }
  88% { transform: scale(1.025, 0.97); }
  92% { transform: scale(0.985, 1.02); }
  96% { transform: scale(1.008, 0.994); }
}
.steam path { fill: none; stroke: rgba(122, 102, 86, 0.38); stroke-width: 3; stroke-linecap: round; opacity: 0; animation: rise 4.5s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: 1.3s; }
.steam path:nth-child(3) { animation-delay: 2.6s; }
@keyframes rise { 0% { opacity: 0; transform: translateY(16px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-18px); } }

.tag { position: absolute; right: 0; top: 8%; display: grid; gap: 6px; width: 196px; padding: 16px 18px; background: var(--paper); border-radius: 16px; box-shadow: 0 20px 40px -18px rgba(43, 29, 20, 0.35), 0 0 0 1px var(--line); font-size: 13.5px; transform: rotate(3deg); }
.tag-k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--matcha); font-weight: 700; margin-bottom: 4px; }
.tag-row { display: flex; justify-content: space-between; color: var(--soy-2); }
.tag-row b { color: var(--soy); font-weight: 600; }
.tag-foot { margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line-strong); font-size: 12px; color: var(--muted); font-style: italic; }

/* marquee */
.marquee { overflow: hidden; background: var(--soy); color: var(--cream); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.marquee p { display: flex; align-items: center; gap: 34px; padding-right: 34px; white-space: nowrap; font-family: var(--serif); font-size: 24px; font-style: italic; font-variation-settings: "SOFT" 100; }
.marquee i { font-style: normal; color: #b8c99a; font-size: 16px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
.section { padding: 112px 0; }
.section-head { margin-bottom: 60px; max-width: 760px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-head.split > p { max-width: 26em; color: var(--soy-2); }
.section-head h2, .ai h2, .visit h2 { font-size: clamp(40px, 5.2vw, 70px); margin-top: 14px; letter-spacing: -0.03em; font-weight: 350; }
.eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; color: var(--chili); }

/* firmness */
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.scale li { background: var(--paper); border-radius: var(--radius); padding: 30px 24px 28px; box-shadow: 0 0 0 1px var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.scale li:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 24px 40px -24px rgba(43, 29, 20, 0.35); }
.scale h3 { font-size: 26px; margin: 22px 0 8px; }
.scale p { font-size: 15px; color: var(--soy-2); }
.cube { width: 64px; height: 64px; border-radius: 14px; background: linear-gradient(150deg, #fffaf0, #eadfc6); box-shadow: inset 0 -6px 0 rgba(150, 125, 85, 0.18), 0 8px 18px -8px rgba(43, 29, 20, 0.3); }
.c1 { border-radius: 26px; transform: scale(0.92, 0.82); transform-origin: bottom; background: linear-gradient(150deg, #fffdf8, #f4ecd9); }
.c2 { border-radius: 20px; transform: scale(0.96, 0.9); transform-origin: bottom; }
.c3 { border-radius: 12px; }
.c4 { border-radius: 7px; background: linear-gradient(150deg, #f6ecd5, #dccca7); }
.c5 { border-radius: 2px; background: repeating-linear-gradient(45deg, #d6c49c 0 6px, #cdb98d 6px 12px); box-shadow: inset 0 0 0 2px var(--soy), 0 8px 18px -8px rgba(43, 29, 20, 0.4); }
.enterprise { background: var(--soy) !important; color: var(--cream); }
.enterprise p { color: #d9cbb8 !important; }

/* AI */
.ai { background: var(--matcha-2); border-block: 1px solid rgba(91, 122, 58, 0.18); }
.ai-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
.ai .lede { margin-top: 22px; }
.features { display: grid; gap: 26px; margin-top: 40px; }
.features li { display: flex; gap: 18px; }
.f-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--paper); box-shadow: 0 0 0 1px rgba(91, 122, 58, 0.2); }
.f-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--matcha); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.features h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.features p { color: var(--soy-2); font-size: 16px; }

.chat { background: var(--paper); border-radius: 26px; box-shadow: 0 40px 80px -40px rgba(43, 29, 20, 0.45), 0 0 0 1px rgba(43, 29, 20, 0.08); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.chat-avatar { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(150deg, #fffaf0, #e3d5b3); box-shadow: inset 0 0 0 1.5px var(--soy); position: relative; }
.chat-avatar::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: #7bc043; border: 2px solid var(--paper); }
.chat-name { font-weight: 600; }
.chat-status { font-size: 13px; color: var(--muted); }
.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; }
.msg { max-width: 84%; padding: 11px 16px; border-radius: 18px; font-size: 15.5px; line-height: 1.45; }
.msg.me { align-self: flex-end; background: var(--soy); color: var(--cream); border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: var(--cream-2); border-bottom-left-radius: 6px; }
.chat-foot { padding: 14px 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); text-align: center; }

/* menu */
.menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.menu li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 26px; background: var(--paper); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.menu-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.menu h3 { font-size: 26px; }
.price { font-family: var(--serif); font-size: 22px; color: var(--chili); }
.menu p { color: var(--soy-2); font-size: 15.5px; flex: 1; }
.chip { align-self: flex-start; margin-top: 8px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; background: var(--cream-2); color: var(--soy-2); }
.chip-ai { background: var(--matcha); color: #fff; }
.menu-special { background: linear-gradient(160deg, var(--paper), #f1f5e7) !important; box-shadow: 0 0 0 1.5px rgba(91, 122, 58, 0.45) !important; }

/* craft */
.craft { background: var(--paper); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 74px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--matcha); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
.step-time { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); font-weight: 700; }
.steps h3 { font-size: 28px; margin: 8px 0 10px; }
.steps p:not(.step-time) { color: var(--soy-2); font-size: 15.5px; }
.step-five { margin: 64px auto 0; max-width: 40em; text-align: center; padding: 18px 26px; border-radius: 999px; background: var(--cream); color: var(--soy-2); font-size: 16px; }
.step-five b { color: var(--soy); }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px 32px; background: var(--paper); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.plan h3 { font-size: 30px; }
.plan-price { font-family: var(--serif); font-size: 52px; letter-spacing: -0.03em; margin-top: 18px; line-height: 1; font-variation-settings: "SOFT" 100; }
.plan-price span { font-family: var(--sans); font-size: 16px; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan-note { margin-top: 10px; color: var(--muted); font-size: 15px; }
.plan ul { margin: 26px 0 30px; display: grid; align-content: start; gap: 11px; flex: 1; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--matcha); font-weight: 700; }
.plan-featured { background: var(--soy); color: var(--cream); box-shadow: 0 40px 70px -40px rgba(43, 29, 20, 0.6); }
.plan-featured .plan-note, .plan-featured .plan-price span { color: #cbbba5; }
.plan-featured li::before { color: #b8d48f; }
.plan-featured .btn { background: var(--cream); color: var(--soy); }
.plan-featured .btn:hover { background: #fff; }
.plan-flag { position: absolute; top: 20px; right: 20px; padding: 4px 12px; border-radius: 999px; background: #b8d48f; color: var(--soy); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; }

/* numbers */
.numbers { border-block: 1px solid var(--line); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers-grid > div { padding: 46px 24px; text-align: center; }
.numbers-grid > div + div { border-left: 1px solid var(--line); }
.num { font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; font-variation-settings: "SOFT" 100; }
.numbers-grid p:not(.num) { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* visit */
.visit-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.visit .lede { margin-top: 22px; }
.hours { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 10px 30px; box-shadow: 0 0 0 1px var(--line); }
.hours div { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px dashed var(--line-strong); }
.hours div:last-child { border-bottom: 0; }
.hours dt { color: var(--muted); font-size: 15px; }
.hours dd { margin: 0; font-weight: 500; text-align: right; }

/* footer */
.foot { background: var(--soy); color: var(--cream); padding: 56px 0 44px; }
.foot-grid { display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: center; }
.foot .mark-top { stroke: var(--cream); fill: #fffaf0; }
.foot .mark-left, .foot .mark-right { stroke: var(--cream); }
.foot-tag { justify-self: end; color: #cbbba5; font-family: var(--serif); font-style: italic; font-size: 19px; font-variation-settings: "SOFT" 100; }
.fine { grid-column: 1 / -1; margin-top: 18px; padding-top: 24px; border-top: 1px solid rgba(246, 241, 231, 0.12); color: #a8957f; font-size: 13px; }

/* 404 */
.lost { min-height: calc(100vh - 70px); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.lost h1 { font-size: clamp(60px, 10vw, 130px); letter-spacing: -0.04em; font-weight: 350; margin: 18px 0; }
.lost p:not(.eyebrow) { color: var(--soy-2); font-size: 19px; max-width: 30em; margin: 0 auto 32px; }

/* responsive */
@media (max-width: 1100px) {
  .scale { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .hero-grid, .ai-grid, .visit-grid { grid-template-columns: 1fr; gap: 48px; }
  .plate { max-width: 560px; margin-inline: auto; width: 100%; }
  .menu, .plans { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid > div:nth-child(3) { border-left: 0; }
  .numbers-grid > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .section { padding: 84px 0; }
  .section-head.split { display: block; }
  .section-head.split > p { margin-top: 18px; }
  .scale { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-tag { justify-self: start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: min(1200px, 100% - 32px); }
  .nav-inner { gap: 12px; }
  .brand { font-size: 20px; }
  .btn-small { padding: 9px 14px; font-size: 13.5px; }
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: 15vw; }
  .tag { position: relative; right: auto; top: auto; width: 220px; margin: -8px auto 0; transform: rotate(-2deg); }
  .scale, .menu, .plans, .steps { grid-template-columns: 1fr; }
  .scale li { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; align-items: center; }
  .scale li .cube { grid-row: span 2; }
  .scale h3 { margin: 0; }
  .numbers-grid > div { padding: 32px 12px; }
  .hours { padding: 6px 20px; }
  .hours div { flex-direction: column; gap: 2px; }
  .hours dd { text-align: left; }
  .step-five { border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .steam path { opacity: 0.6; }
}
