/* ==========================================================================
   Mizan Beslenme — site stylesheet
   Flat colours only (no gradients, no glows). Light + dark themes.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root,
:root[data-theme="light"] {
  --bezel: #14180F;
  --paper: #F7F5EF;
  --paper-2: #EFEBE0;
  --card: #FFFFFF;
  --field: #FFFFFF;
  --ink: #171A14;
  --ink-2: #4A5249;
  --ink-3: #5F655B;
  --line: #E4E0D4;
  --line-2: #C9C3B4;
  --olive: #2F4429;
  --olive-hover: #22331D;
  --on-olive: #F7F5EF;
  --olive-text: #2F4429;
  --sage: #E4EAD8;
  --sage-2: #CFDBBC;
  --terra: #964825;
  --terra-soft: #F2E0D2;
  --ok: #2F6A3E;
  --err: #A1352A;
  --shade: rgba(14, 18, 11, 0.54);
  --backdrop: rgba(14, 18, 11, 0.58);
  --shadow: 0 1px 2px rgba(23, 26, 20, 0.04), 0 12px 28px -18px rgba(23, 26, 20, 0.22);
  --bmi-1: #7F9CB3;
  --bmi-2: #6F9160;
  --bmi-3: #CFA046;
  --bmi-4: #B8663F;
  --bmi-5: #8C3A2A;
  --macro-p: #34492F;
  --macro-c: #CFA046;
  --macro-f: #A14E29;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bezel: #0C0C0C;
  --paper: #121212;
  --paper-2: #171717;
  --card: #1A1A1A;
  --field: #0E0E0E;
  --ink: #EDEBE6;
  --ink-2: #B5B2AB;
  --ink-3: #93908A;
  --line: #272727;
  --line-2: #3C3C3C;
  --olive: #C6D8A8;
  --olive-hover: #D6E4BD;
  --on-olive: #121212;
  --olive-text: #BCCF9C;
  --sage: #1E2419;
  --sage-2: #2A3325;
  --terra: #E09A72;
  --terra-soft: #2E211A;
  --ok: #9BCB8E;
  --err: #F09A8A;
  --shade: rgba(6, 6, 6, 0.60);
  --backdrop: rgba(0, 0, 0, 0.72);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 16px 34px -20px rgba(0, 0, 0, 0.9);
  --bmi-1: #8FAAC0;
  --bmi-2: #86A874;
  --bmi-3: #D9AE57;
  --bmi-4: #CF7D55;
  --bmi-5: #B0503D;
  --macro-p: #B5C99B;
  --macro-c: #D9AE57;
  --macro-f: #E49C75;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bezel: #0C0C0C; --paper: #121212; --paper-2: #171717; --card: #1A1A1A; --field: #0E0E0E;
    --ink: #EDEBE6; --ink-2: #B5B2AB; --ink-3: #93908A; --line: #272727; --line-2: #3C3C3C;
    --olive: #C6D8A8; --olive-hover: #D6E4BD; --on-olive: #121212; --olive-text: #BCCF9C;
    --sage: #1E2419; --sage-2: #2A3325; --terra: #E09A72; --terra-soft: #2E211A;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 16px 34px -20px rgba(0, 0, 0, 0.9);
    color-scheme: dark;
  }
}

:root {
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gap: 8px;
  --radius: 20px;
  --radius-sm: 16px;
  --radius-xs: 12px;
  --r-ctl: 10px;
  --pad-x: 20px;
  --pad-y: 80px;
  --wrap: 1280px;
  --header-h: 60px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (min-width: 768px) {
  :root { --gap: 12px; --pad-x: 40px; --pad-y: 112px; --header-h: 64px; }
}
@media (min-width: 1200px) {
  :root { --gap: 14px; --pad-x: 64px; --pad-y: 136px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--paper); scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
html:not([lang="en"]) [data-lang-block="en"], html[lang="en"] [data-lang-block="tr"] { display: none !important; }
.lang-pending body { visibility: hidden; animation: reveal-body 0s linear 1.2s forwards; }
@keyframes reveal-body { to { visibility: visible; } }
::selection { background: var(--olive); color: var(--on-olive); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
a, button, summary, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.theme-switching *, .theme-switching *::before, .theme-switching *::after { transition: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 2000;
  padding: 12px 18px; border-radius: var(--r-ctl);
  background: var(--olive); color: var(--on-olive); font-weight: 600;
  transform: translateY(-160%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Typography ---------- */
.display, .h2, .h3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.display em, .h2 em, .h3 em, .serif em { font-style: italic; }
.h2 { font-size: clamp(2.35rem, 5.2vw, 4.6rem); line-height: 1; }
.h2 em { color: var(--olive-text); }
.h3 { font-size: clamp(1.5rem, 2.1vw, 1.95rem); line-height: 1.12; letter-spacing: -0.015em; }
.lede { max-width: 56ch; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.65; text-wrap: pretty; }
@media (min-width: 768px) { .lede { font-size: 1.1875rem; } }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.7rem; line-height: 1.2;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
p { text-wrap: pretty; }

/* ---------- Layout ---------- */
main { display: flex; flex-direction: column; }
.panel {
  position: relative;
  background: var(--paper);
  padding: var(--pad-y) var(--pad-x);
  overflow: hidden;
  overflow: clip;
}
.panel--alt { background: var(--paper); }
/* Sections run on as one page; a hairline at wrap width marks where a new one starts */
.panel + .panel::before {
  content: ""; position: absolute; top: 0; height: 1px; background: var(--line);
  left: max(var(--pad-x), calc((100% - var(--wrap)) / 2)); right: max(var(--pad-x), calc((100% - var(--wrap)) / 2));
}
.facts::before, .sky::before, .site-footer::before, .sky + .panel::before { display: none; }
.panel--tight { padding-block: calc(var(--pad-y) * 0.5); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; }
.sec-head { display: grid; gap: 18px; align-content: start; margin-bottom: 44px; }
@media (min-width: 768px) { .sec-head { margin-bottom: 64px; gap: 22px; } }
.sec-head--split { align-items: end; }
@media (min-width: 1024px) {
  .sec-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
  .sec-head--split > .lede, .sec-head--split > .link-arrow { justify-self: end; }
}
.sec-head .h2 { max-width: 15ch; }
.sec-head .sec-head { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--r-ctl);
  font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.1; white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--olive); color: var(--on-olive); }
.btn--primary:not([disabled]):hover { background: var(--olive-hover); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:not([disabled]):hover { background: var(--paper-2); border-color: var(--ink-3); }
.btn--cream { background: #F7F5EF; color: #171A14; }
.btn--cream:hover { background: #FFFFFF; }
.btn--outline-cream { border-color: rgba(247, 245, 239, 0.6); color: #F7F5EF; }
.btn--outline-cream:hover { background: rgba(247, 245, 239, 0.12); border-color: #F7F5EF; }
.btn .i { width: 18px; height: 18px; flex: none; }
.btn-spinner { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
.btn.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line-2); color: inherit;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn[disabled] { opacity: 0.35; cursor: not-allowed; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9375rem; color: var(--ink);
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: border-color 0.2s ease, gap 0.25s var(--ease);
}
.link-arrow::after { content: "→"; font-family: var(--sans); transition: transform 0.25s var(--ease); }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover::after { transform: translateX(3px); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: var(--r-ctl);
  font-size: 0.875rem; font-weight: 500; color: var(--ink);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  padding: 3px 8px; border-radius: 3px; background: var(--paper-2);
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em; color: var(--ink-2);
}

.i { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; z-index: 90; top: 0; left: 0; right: 0;
  color: #F7F5EF; border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: calc(var(--wrap) + var(--pad-x) * 2); margin-inline: auto;
  height: var(--header-h); padding: 0 var(--pad-x);
}
@media (max-width: 767px) { .header-bar { padding-right: 12px; } }
.site-header.is-solid { color: var(--ink); background: var(--paper); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; }
.brand-name { font-family: var(--serif); font-size: 1.75rem; line-height: 1; letter-spacing: -0.03em; }
.brand-name em { font-style: italic; }
.brand-sub {
  display: flex; flex-direction: column; padding-left: 10px; border-left: 1px solid currentColor;
  font-family: var(--mono); font-size: 0.56rem; line-height: 1.3; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8;
}
.nav { display: none; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 12px;
  font-size: 0.9rem; font-weight: 500; white-space: nowrap;
  transition: background-color 0.2s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-actions .icon-btn { border-color: currentColor; border-color: color-mix(in srgb, currentColor 40%, transparent); }
.header-actions .icon-btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.header-cta { display: none; }
.site-header:not(.is-solid) .header-cta { background: #F7F5EF; color: #171A14; }
.site-header:not(.is-solid) .header-cta:hover { background: #FFFFFF; }
.lang-switch { display: none; align-items: center; height: 44px; padding: 4px; border-radius: var(--r-ctl); border: 1px solid color-mix(in srgb, currentColor 40%, transparent); }
.lang-switch button {
  height: 34px; min-width: 38px; padding: 0 8px; border-radius: 3px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; opacity: 0.75;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.lang-switch button[aria-pressed="true"] { background: currentColor; opacity: 1; }
.lang-switch button[aria-pressed="true"] span { color: var(--paper); }
.site-header:not(.is-solid) .lang-switch button[aria-pressed="true"] span { color: #171A14; }
[data-theme="light"] .site-header:not(.is-solid) .lang-switch button[aria-pressed="true"] span,
[data-theme="dark"] .site-header:not(.is-solid) .lang-switch button[aria-pressed="true"] span { color: #171A14; }
.i-sun, [data-theme="dark"] .i-moon { display: none; }
[data-theme="dark"] .i-sun { display: block; }
.menu-btn .i-close, .menu-open .menu-btn .i-menu { display: none; }
.menu-open .menu-btn .i-close { display: block; }
@media (min-width: 640px) { .lang-switch { display: inline-flex; } .header-cta { display: inline-flex; } }
@media (min-width: 1180px) { .nav { display: flex; } .menu-btn { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 36px) 24px 24px;
  background: var(--paper); color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s ease, transform 0.45s var(--ease), visibility 0s; }
.mobile-menu ul { display: grid; gap: 2px; }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(1.9rem, 8vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em;
}
.mobile-menu li a b { font-weight: 400; }
.mobile-menu-foot { display: grid; gap: 12px; margin-top: auto; padding-top: 32px; }
.mobile-menu-foot .row { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.mobile-menu .lang-switch { display: inline-flex; border-color: var(--line-2); }
.mobile-menu .lang-switch button[aria-pressed="true"] { background: var(--ink); }
.mobile-menu .lang-switch button[aria-pressed="true"] span { color: var(--paper); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 90px);
  padding-bottom: var(--pad-x);
  background: var(--bezel); color: #F7F5EF;
}
@media (min-width: 768px) { .hero { padding-bottom: 40px; } }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: var(--shade); }
.hero-kicker {
  margin-bottom: 20px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(247, 245, 239, 0.88);
}
.hero-title { font-size: clamp(3rem, 8.6vw, 7.6rem); line-height: 0.95; max-width: 14ch; }
.hero-title em { color: #D3E3B8; }
.hero-bottom { display: grid; gap: 28px; margin-top: 32px; }
@media (min-width: 1024px) { .hero-bottom { grid-template-columns: minmax(0, 1fr) 380px; align-items: end; gap: 48px; margin-top: 44px; padding-right: 76px; } }
.hero-lede { max-width: 50ch; font-size: 1.0625rem; line-height: 1.6; color: rgba(247, 245, 239, 0.9); }
@media (min-width: 768px) { .hero-lede { font-size: 1.25rem; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.next-slot {
  display: grid; gap: 6px; padding: 20px 22px;
  border-radius: var(--radius-sm); background: #F7F5EF; color: #171A14;
}
[data-theme="dark"] .next-slot { background: #151713; color: #EDEBE6; }
.next-slot .label { color: #5F655B; }
[data-theme="dark"] .next-slot .label { color: #93908A; }
.next-slot-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.next-slot-time { font-family: var(--serif); font-size: 2.3rem; line-height: 1; letter-spacing: -0.02em; }
.next-slot-time strong { font-weight: 400; font-style: italic; }
.next-slot-meta { font-size: 0.875rem; color: #4A5249; }
[data-theme="dark"] .next-slot-meta { color: #B5B2AB; }
.next-slot .link-arrow { justify-self: start; margin-top: 8px; color: inherit; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3E7A4B; }

/* ---------- Facts strip ---------- */
.facts { padding-block: 0; }
.facts-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts-list li { display: grid; gap: 6px; align-content: start; padding: 28px 0 28px; border-bottom: 1px solid var(--line); }
.facts-list li:nth-child(odd) { padding-right: 16px; }
.facts-list li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.facts-list li:nth-last-child(-n+2) { border-bottom: 0; }
@media (min-width: 900px) {
  .facts-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts-list li { padding: 40px 28px !important; border-bottom: 0; border-left: 1px solid var(--line); }
  .facts-list li:first-child { border-left: 0; padding-left: 0 !important; }
}
.facts-num { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; }
.facts-num small { font-size: 0.45em; font-style: italic; letter-spacing: 0; margin-left: 4px; }
.facts-label { font-size: 0.9rem; color: var(--ink-2); }

/* ---------- Services ---------- */
.services { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) {
  .services { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
  .service { grid-column: span 3; }
  .service--lg { grid-column: span 6; }
}
.service > a { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color 0.25s ease; }
.service > a:hover { border-color: var(--line-2); }
.service-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.service--lg .service-media { aspect-ratio: 16 / 9; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 22px 22px 24px; }
.service-body p { color: var(--ink-2); font-size: 0.95rem; }
.service-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.service-foot .mono { font-size: 0.72rem; color: var(--ink-3); }

/* ---------- Notecards collage ---------- */
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 10px; }
.notes-center { grid-column: 1 / -1; order: -1; padding-bottom: 36px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.notes-center .h2 { max-width: 16ch; }
.notes-center .eyebrow { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--ink-2); }
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pill-serif {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border: 1px solid var(--ink); border-radius: var(--r-ctl);
  font-family: var(--serif); font-style: italic; font-size: 1.1rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.pill-serif:hover { background: var(--ink); color: var(--paper); }
.note { margin: 0; background: var(--card); padding: 0; box-shadow: 0 16px 30px -18px rgba(40, 32, 18, 0.45); }
[data-theme="dark"] .note { box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.9); }
.note img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.note figcaption { display: none; }
.note--x { display: none; }
@media (min-width: 1024px) {
  .notes { display: block; position: relative; min-height: 780px; }
  .notes-center { position: absolute; inset: 0; z-index: 50; justify-content: center; padding: 0; pointer-events: none; }
  .notes-center > * { pointer-events: auto; }
  .note, .note--x { display: block; position: absolute; }
  .note img { aspect-ratio: auto; }
  .note figcaption {
    display: block; padding: 8px 10px 9px; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
  }
  .note--1 { left: 1%;  top: 2%;  width: 15%; transform: rotate(-2deg); }
  .note--2 { left: 30%; top: 0%;  width: 10%; transform: rotate(1.5deg); }
  .note--3 { left: 77%; top: 4%;  width: 17%; transform: rotate(2deg); }
  .note--4 { left: 5%;  top: 60%; width: 12%; transform: rotate(1deg); }
  .note--5 { left: 27%; top: 72%; width: 15%; transform: rotate(-1.5deg); }
  .note--6 { left: 58%; top: 75%; width: 11%; transform: rotate(2.5deg); }
  .note--7 { left: 82%; top: 62%; width: 13%; transform: rotate(-2deg); }
}

/* ---------- Process ---------- */
.process-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .process-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: end; } }
.process-grid .sec-head { margin-bottom: 0; }
.quote { display: grid; gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.quote p { font-family: var(--serif); font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.3; letter-spacing: -0.01em; }
.quote footer { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--ink-2); }
.quote footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.process-media { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.process-media img { width: 100%; height: 100%; object-fit: cover; }
.road { display: grid; gap: 0; margin-top: 64px; counter-reset: step; }
@media (min-width: 900px) { .road { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 88px; } }
.step { position: relative; display: grid; align-content: start; gap: 10px; padding: 0 0 36px 36px; }
.step::before { content: ""; position: absolute; left: 5px; top: 18px; bottom: 0; width: 1px; border-left: 1px dashed var(--line-2); }
.step:last-child::before { display: none; }
.node { position: absolute; left: 0; top: 2px; width: 11px; height: 11px; border: 1px solid var(--ink-3); background: var(--paper); transform: rotate(45deg); transition: background-color 0.25s ease, border-color 0.25s ease; }
.step:first-child .node { background: var(--olive); border-color: var(--olive); }
.step:hover .node { border-color: var(--terra); }
@media (min-width: 900px) {
  .step { padding: 44px 36px 0 0; }
  .step::before { left: 16px; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; border-left: 0; border-top: 1px dashed var(--line-2); }
  .node { top: 0; }
}
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; letter-spacing: -0.015em; }
.step p { font-size: 0.95rem; color: var(--ink-2); }

/* ---------- Team ---------- */
.team { display: grid; gap: 20px; }
@media (min-width: 760px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.person { display: flex; flex-direction: column; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.person-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.person-media img { width: 100%; height: 100%; object-fit: cover; }
.person-badge {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 9px; border-radius: 3px; background: #F7F5EF; color: #171A14;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.person-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 22px 22px 24px; }
.person-body > p:not(.label) { color: var(--ink-2); font-size: 0.95rem; }
.person-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.person-facts div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
.person-facts dt { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.person-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Tabs & segmented controls ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px;
  border-radius: var(--r-ctl); border: 1px solid var(--line-2);
  font-weight: 600; font-size: 0.9375rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tab .mono { font-size: 0.68rem; color: var(--ink-3); font-weight: 400; }
.tab:hover { border-color: var(--ink-3); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tab[aria-selected="true"] .mono { color: inherit; opacity: 0.6; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--radius-sm); background: var(--paper-2); }
.segmented button {
  display: grid; gap: 2px; justify-items: start; min-height: 48px; padding: 8px 16px;
  border-radius: var(--r-ctl); text-align: left; font-weight: 600; font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.segmented button small { font-family: var(--mono); font-size: 0.66rem; font-weight: 400; color: var(--ink-3); letter-spacing: 0.04em; }
.segmented button[aria-checked="true"] { background: var(--card); box-shadow: 0 1px 0 var(--line), 0 6px 18px -12px rgba(0, 0, 0, 0.4); }

/* ---------- Forms ---------- */
.field-group { display: grid; gap: 6px; align-content: start; }
.field-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 0.875rem; font-weight: 600; }
.field-label .opt { font-family: var(--mono); font-size: 0.66rem; font-weight: 400; letter-spacing: 0.06em; color: var(--ink-3); text-transform: uppercase; }
.field {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line-2); border-radius: var(--r-ctl);
  background: var(--field); color: var(--ink);
  font-size: 1rem; line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field::placeholder { color: var(--ink-3); opacity: 0.85; }
.field:hover { border-color: var(--ink-3); }
.field:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px color-mix(in srgb, var(--olive) 22%, transparent); }
.field[aria-invalid="true"] { border-color: var(--err); }
textarea.field { min-height: 104px; resize: vertical; }
select.field { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; background-image: none; }
.select-wrap { position: relative; }
.select-wrap svg { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; color: var(--ink-3); }
.field-err { font-size: 0.8125rem; line-height: 1.3; color: var(--err); }
.field-err:empty { display: none; }
.field-hint { font-size: 0.8125rem; color: var(--ink-3); }
.field-unit { position: relative; }
.field-unit .field { padding-right: 56px; }
.field-unit span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 0.75rem; color: var(--ink-3); pointer-events: none; }
input.field:-webkit-autofill { -webkit-text-fill-color: var(--ink); transition: background-color 600000s 0s; }
.form-grid { display: grid; gap: 10px 14px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span-2 { grid-column: 1 / -1; } }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1px solid var(--line-2); border-radius: 3px; background: var(--field); display: grid; place-items: center; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease; }
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--on-olive); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--olive); border-color: var(--olive); }
.check input:checked::after { opacity: 1; }
.check input[aria-invalid="true"] { border-color: var(--err); }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--line); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--olive); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--olive); border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--olive); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--olive); border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--olive); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--olive), 0 0 0 5px color-mix(in srgb, var(--olive) 25%, transparent); }

.radio-row { display: flex; flex-wrap: wrap; gap: 6px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: var(--r-ctl); font-size: 0.875rem; font-weight: 500;
  cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.radio-pill span:hover { border-color: var(--ink-3); }
.radio-pill input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.radio-pill input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.radio-pill input:disabled + span { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

/* ---------- Tools ---------- */
.tools-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.tool { display: grid; gap: 16px; }
@media (min-width: 960px) { .tool { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; } }
.tool-card { border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); padding: 24px; }
@media (min-width: 768px) { .tool-card { padding: 32px; } }
.tool-form { display: grid; gap: 18px; align-content: start; }
.range-field { display: grid; gap: 6px; }
.range-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.range-top .field { width: 120px; min-height: 44px; padding: 8px 12px; text-align: right; font-family: var(--mono); font-size: 0.95rem; }
.range-top .field-unit .field { padding-right: 44px; }
.range-top .field-unit span { right: 12px; }
.tool-result { display: grid; gap: 22px; align-content: start; }
.result-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.result-num { font-family: var(--serif); font-size: clamp(4rem, 9vw, 6.5rem); line-height: 0.9; letter-spacing: -0.04em; }
.result-unit { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--ink-3); text-transform: uppercase; }
.result-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 3px; font-weight: 600; font-size: 0.875rem; background: var(--paper-2); }
.result-tag i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.result-text { color: var(--ink-2); max-width: 60ch; }
.scale { display: grid; gap: 8px; }
.scale-bar { position: relative; display: grid; grid-template-columns: 3.5fr 6.5fr 5fr 5fr 5fr; height: 12px; border-radius: 999px; overflow: hidden; gap: 2px; }
.scale-bar span:nth-child(1) { background: var(--bmi-1); }
.scale-bar span:nth-child(2) { background: var(--bmi-2); }
.scale-bar span:nth-child(3) { background: var(--bmi-3); }
.scale-bar span:nth-child(4) { background: var(--bmi-4); }
.scale-bar span:nth-child(5) { background: var(--bmi-5); }
.scale-wrap { position: relative; padding-top: 18px; }
.scale-marker { position: absolute; top: 0; left: 0; width: 2px; height: 32px; background: var(--ink); transform: translateX(-1px); transition: left 0.5s var(--ease); }
.scale-marker::before { content: ""; position: absolute; top: -2px; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.scale-ticks { position: relative; height: 16px; font-family: var(--mono); font-size: 0.66rem; color: var(--ink-3); }
.scale-ticks span { position: absolute; transform: translateX(-50%); }
.stat-rows { display: grid; border-top: 1px solid var(--line); }
.stat-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.stat-row dt { color: var(--ink-2); font-size: 0.9rem; }
.stat-row dd { font-family: var(--mono); font-size: 0.95rem; text-align: right; }
.macro-bars { display: grid; gap: 14px; }
.macro { display: grid; gap: 6px; }
.macro-head { display: flex; justify-content: space-between; gap: 12px; font-size: 0.875rem; }
.macro-head b { font-weight: 600; }
.macro-head span { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2); }
.macro-track { height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.macro-fill { height: 100%; border-radius: inherit; width: 0; transition: width 0.6s var(--ease); }
.macro--p .macro-fill { background: var(--macro-p); }
.macro--c .macro-fill { background: var(--macro-c); }
.macro--f .macro-fill { background: var(--macro-f); }
.glasses { display: flex; flex-wrap: wrap; gap: 6px; }
.glass {
  position: relative; width: 34px; height: 44px; border: 1.5px solid var(--line-2); border-top: 0;
  border-radius: 0 0 9px 9px; overflow: hidden; background: transparent; transition: border-color 0.2s ease;
}
.glass::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--bmi-1); transition: height 0.35s var(--ease); }
.glass.is-full::after { height: 78%; }
.glass:hover { border-color: var(--ink-3); }
.tool-note { font-size: 0.8125rem; color: var(--ink-3); border-left: 2px solid var(--line-2); padding-left: 12px; }

/* ---------- Program ---------- */
.program-top { display: grid; gap: 16px; margin-bottom: 20px; }
@media (min-width: 1024px) { .program-top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.day-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tab {
  flex: none; display: grid; justify-items: center; gap: 0; min-width: 52px; padding: 8px 10px;
  border-radius: var(--r-ctl); border: 1px solid var(--line); font-weight: 600; font-size: 0.875rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.day-tab small { font-family: var(--mono); font-size: 0.62rem; font-weight: 400; color: var(--ink-3); }
.day-tab[aria-selected="true"] { background: var(--olive); border-color: var(--olive); color: var(--on-olive); }
.day-tab[aria-selected="true"] small { color: inherit; opacity: 0.75; }
.program { display: grid; gap: 16px; }
@media (min-width: 1024px) { .program { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 20px; } }
.meals { display: grid; align-content: start; align-self: start; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.meal { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.meal:last-child { border-bottom: 0; }
@media (min-width: 768px) { .meal { grid-template-columns: 88px minmax(0, 1fr) 90px; padding: 22px 28px; align-items: start; } }
.meal-time { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); padding-top: 4px; }
.meal-name { font-family: var(--serif); font-size: 1.4rem; line-height: 1.15; }
.meal-items { margin-top: 6px; color: var(--ink-2); font-size: 0.95rem; }
.meal-kcal { grid-column: 2; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2); }
@media (min-width: 768px) { .meal-kcal { grid-column: auto; text-align: right; padding-top: 4px; } }
.program-side { display: grid; gap: 16px; align-content: start; }
.program-total { display: flex; align-items: baseline; gap: 10px; }
.program-total b { font-family: var(--serif); font-weight: 400; font-size: 3.6rem; line-height: 1; letter-spacing: -0.04em; }
.program-tip { padding: 18px 20px; border-radius: var(--radius-xs); background: var(--sage); }
.program-tip p:not(.label) { font-size: 0.925rem; }
.program-tip .label { margin-bottom: 6px; color: var(--olive-text); }
.program-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.program-media { display: none; }
@media (min-width: 1024px) {
  .program-media { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; }
  .program-media img { width: 100%; height: 100%; object-fit: cover; }
}
.disclaimer { margin-top: 18px; font-size: 0.8125rem; color: var(--ink-3); max-width: 80ch; }

/* ---------- Recipes ---------- */
.filter-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 24px; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-row .chip { flex: none; }
.recipes { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .recipes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .recipes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.recipe-card { display: flex; flex-direction: column; width: 100%; text-align: left; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color 0.25s ease; }
.recipe-card:hover { border-color: var(--line-2); }
.recipe-card figure { aspect-ratio: 5 / 4; overflow: hidden; background: var(--paper-2); }
.recipe-card img { width: 100%; height: 100%; object-fit: cover; }
.recipe-card-body { display: grid; gap: 10px; padding: 18px 20px 20px; }
.recipe-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.12; letter-spacing: -0.015em; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); letter-spacing: 0.04em; }
.recipe-meta span { display: inline-flex; align-items: center; gap: 6px; }
.recipe-meta svg { width: 14px; height: 14px; }
.recipes-empty { padding: 40px; text-align: center; color: var(--ink-3); }

/* ---------- Dialogs ---------- */
dialog {
  width: min(960px, calc(100vw - 16px)); max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px);
  padding: 0; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink);
  overflow: hidden;
}
dialog::backdrop { background: var(--backdrop); }
dialog[open] { animation: dialog-in 0.35s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(0.99); } to { opacity: 1; transform: none; } }
.dialog-scroll { max-height: calc(100dvh - 16px); overflow-y: auto; overscroll-behavior: contain; }
.dialog-close { position: absolute; top: 12px; right: 12px; z-index: 3; background: var(--paper); }
#recipe-dialog { width: min(820px, calc(100vw - 16px)); }
.recipe-dialog-grid { display: grid; }
.recipe-hero { position: relative; aspect-ratio: 16 / 10; background: var(--paper-2); }
.recipe-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.recipe-content { display: grid; gap: 22px; padding: 28px 22px 32px; }
@media (min-width: 768px) { .recipe-content { padding: 40px 48px 48px; } }
.recipe-content h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.02; letter-spacing: -0.02em; padding-right: 40px; }
.nutri { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-xs); }
.nutri div { display: grid; gap: 2px; padding: 12px; border-left: 1px solid var(--line); }
.nutri div:first-child { border-left: 0; }
.nutri b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1; }
.nutri span { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.servings { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; border-radius: var(--radius-sm); background: var(--paper-2); }
.servings-ctrl { display: flex; align-items: center; gap: 6px; }
.servings-ctrl output { min-width: 32px; text-align: center; font-family: var(--mono); }
.servings .icon-btn { width: 36px; height: 36px; background: var(--card); }
.ingredients { display: grid; }
.ingredients li { border-bottom: 1px solid var(--line); }
.ingredients label { display: grid; grid-template-columns: 22px 128px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 0; cursor: pointer; }
.ingredients input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border: 1px solid var(--line-2); border-radius: 50%; position: relative; top: 3px; cursor: pointer; }
.ingredients input:checked { background: var(--olive); border-color: var(--olive); }
.ingredients input:checked ~ span { text-decoration: line-through; color: var(--ink-3); }
.ingredients .qty { font-family: var(--mono); font-size: 0.85rem; color: var(--ink-2); }
@media (max-width: 480px) {
  .ingredients label { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .ingredients label > span:last-child { grid-column: 2; grid-row: 1; }
  .ingredients .qty { grid-column: 3; grid-row: 1; text-align: right; font-size: 0.8rem; }
}
.steps-list { display: grid; gap: 14px; counter-reset: rs; }
.steps-list li { counter-increment: rs; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
.steps-list li::before { content: counter(rs, decimal-leading-zero); font-family: var(--mono); font-size: 0.75rem; color: var(--terra); padding-top: 3px; }
.tip-box { padding: 16px 18px; border-radius: var(--radius-xs); background: var(--sage); font-size: 0.925rem; }
.tip-box .label { color: var(--olive-text); display: flex; margin-bottom: 4px; }
.dialog-h3 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; } }
.plan { display: flex; flex-direction: column; gap: 22px; padding: 28px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--card); }
.plan--hi { background: var(--olive); border-color: var(--olive); color: var(--on-olive); }
.plan--hi .label, .plan--hi .plan-sub, .plan--hi .feat { color: inherit; opacity: 0.85; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { display: flex; align-items: baseline; gap: 8px; font-family: var(--serif); font-size: 3rem; line-height: 1; letter-spacing: -0.03em; }
.price small { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; }
.plan-sub { font-size: 0.925rem; color: var(--ink-2); }
.feats { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.plan--hi .feats { border-color: color-mix(in srgb, var(--on-olive) 25%, transparent); }
.feat { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 0.925rem; color: var(--ink-2); }
.feat svg { width: 16px; height: 16px; margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan--hi .btn--primary { background: var(--on-olive); color: var(--olive); }
.plan--hi .btn--primary:hover { background: var(--paper); }
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 20px; padding: 24px 28px; border-radius: var(--radius-sm); border: 1px dashed var(--line-2); }
.strip b { display: block; font-weight: 600; margin-bottom: 4px; }
.strip span { color: var(--ink-2); font-size: 0.925rem; }
.incl { display: grid; gap: 32px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .incl { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; } }
.incl-cols { display: grid; gap: 28px; }
@media (min-width: 640px) { .incl-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
.incl-list { display: grid; gap: 0; }
.incl-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.incl-list svg { width: 16px; height: 16px; margin-top: 4px; }
.incl-list--yes svg { color: var(--ok); }
.incl-list--no svg { color: var(--ink-3); }

/* ---------- Booking ---------- */
.booking-panel { background: var(--paper); }
.clock-card { display: grid; gap: 4px; justify-items: start; padding: 18px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--card); }
@media (min-width: 1024px) { .clock-card { justify-self: end; min-width: 300px; } }
.clock { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.clock-date { font-size: 0.9rem; color: var(--ink-2); }
.stepper { display: flex; gap: 6px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.stepper::-webkit-scrollbar { display: none; }
.stepper li { flex: 1 0 auto; }
.stepper button {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 8px 16px 8px 8px;
  border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--card);
  font-size: 0.875rem; font-weight: 600; color: var(--ink-3); white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.stepper button span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 3px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 0.72rem; font-weight: 400; }
.stepper button:disabled { cursor: default; }
.stepper .is-done button { color: var(--ink); }
.stepper .is-done button span { background: var(--sage-2); border-color: var(--sage-2); color: var(--olive-text); }
.stepper .is-current button { color: var(--ink); border-color: var(--ink); }
.stepper .is-current button span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (max-width: 719px) {
  .stepper li:not(.is-current) button { width: auto; padding-right: 8px; }
  .stepper li:not(.is-current) .step-text { display: none; }
}
.booking-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 1100px) { .booking-grid { grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr); gap: 20px; } }
.booking-main { position: relative; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); padding: 22px 18px 24px; min-width: 0; }
@media (min-width: 768px) { .booking-main { padding: 36px 36px 36px; } }
.bstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.bstep-title { display: block; padding: 0; margin-bottom: 20px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -0.02em; }
.bstep-sub { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 34px 0 14px; font-family: var(--mono); font-weight: 400; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.bstep-sub .hint { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 0.8125rem; }
.bstep-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.bstep-nav .btn--primary { margin-left: auto; }
.bstep-msg { width: 100%; font-size: 0.875rem; color: var(--err); }
.bstep-msg:empty { display: none; }
.choice-grid { display: grid; gap: 10px; }
@media (min-width: 720px) { .choice-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .choice-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 720px) { .choice-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-box {
  display: grid; gap: 8px; height: 100%; padding: 18px;
  border-radius: var(--radius-xs); border: 1px solid var(--line-2); background: var(--field);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.choice:hover .choice-box { border-color: var(--ink-3); }
.choice input:checked + .choice-box { border-color: var(--olive); box-shadow: inset 0 0 0 1px var(--olive); background: var(--sage); }
.choice input:focus-visible + .choice-box { outline: 2px solid var(--terra); outline-offset: 2px; }
.choice input:disabled + .choice-box { opacity: 0.45; cursor: not-allowed; }
.choice-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.choice-title { font-weight: 600; line-height: 1.25; }
.choice-desc { font-size: 0.85rem; color: var(--ink-2); }
.choice-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); }
.choice-radio { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }
.choice input:checked + .choice-box .choice-radio { border-color: var(--olive); }
.choice input:checked + .choice-box .choice-radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--olive); }
.staff-choice .choice-box { grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px; }
.staff-choice img, .staff-any { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.staff-any { display: grid; place-items: center; background: var(--paper-2); color: var(--ink-2); }
.staff-any svg { width: 22px; height: 22px; }
.staff-note { font-size: 0.75rem; color: var(--ink-3); }
.choice input:disabled + .choice-box .staff-note { color: var(--err); }

.datetime { display: grid; gap: 22px; }
@media (min-width: 900px) { .datetime { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.cal-title { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1; letter-spacing: -0.015em; text-transform: capitalize; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { margin-bottom: 6px; }
.cal-dow span { text-align: center; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding: 4px 0; }
.cal-day {
  position: relative; display: grid; align-content: center; justify-items: center; gap: 2px;
  aspect-ratio: 1 / 1; min-height: 42px; border-radius: var(--r-ctl); border: 1px solid transparent;
  font-variant-numeric: tabular-nums; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
@media (min-width: 560px) { .cal-day { aspect-ratio: 1 / 0.9; } }
.cal-num { font-size: 0.95rem; font-weight: 600; line-height: 1; }
.cal-meta { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.02em; line-height: 1; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 479px) { .cal-meta { font-size: 0; width: 5px; height: 5px; border-radius: 50%; } .cal-day.is-available .cal-meta { background: var(--olive); } .cal-day.is-full .cal-meta { background: var(--terra); } }
.cal-day.is-available { background: var(--sage); color: var(--ink); }
.cal-day.is-available:hover { border-color: var(--olive); }
.cal-day.is-available .cal-meta { color: var(--olive-text); }
.cal-day.is-disabled { color: var(--ink-3); cursor: not-allowed; }
.cal-day.is-past .cal-num { opacity: 0.45; }
.cal-day.is-closed .cal-num { opacity: 0.55; }
.cal-day.is-full { background: var(--terra-soft); color: var(--ink-2); }
.cal-day.is-full .cal-meta { color: var(--terra); }
.cal-day.is-today::before { content: ""; position: absolute; inset: 3px; border-radius: 2px; border: 1px dashed var(--ink-3); pointer-events: none; }
.cal-day[aria-pressed="true"] { background: var(--olive); color: var(--on-olive); border-color: var(--olive); }
.cal-day[aria-pressed="true"] .cal-meta { color: inherit; opacity: 0.8; }
@media (max-width: 479px) { .cal-day[aria-pressed="true"] .cal-meta { background: var(--on-olive) !important; } }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 0.75rem; color: var(--ink-3); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 12px; height: 12px; border-radius: 2px; }
.lg-free { background: var(--sage); border: 1px solid var(--sage-2); }
.lg-full { background: var(--terra-soft); }
.lg-closed { border: 1px solid var(--line-2); }
.lg-today { border: 1px dashed var(--ink-3); }
.slots { display: grid; gap: 16px; align-content: start; }
.slots-head { display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.slots-title { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.05; letter-spacing: -0.015em; }
.slots-note { font-size: 0.8125rem; color: var(--ink-3); }
.slot-group { display: grid; gap: 8px; }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.slot {
  min-height: 44px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: var(--field);
  font-family: var(--mono); font-size: 0.85rem; font-variant-numeric: tabular-nums;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.slot:not(:disabled):hover { border-color: var(--olive); }
.slot:disabled { cursor: not-allowed; color: var(--ink-3); background: transparent; border-style: dashed; text-decoration: line-through; opacity: 0.7; }
.slot[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--on-olive); }
.slots-empty { padding: 28px 18px; border-radius: var(--radius-xs); border: 1px dashed var(--line-2); text-align: center; color: var(--ink-2); font-size: 0.925rem; }
.slots-empty .btn { margin-top: 12px; }
.skeleton { border-radius: var(--r-ctl); background: var(--paper-2); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.5; } }
.tz-note { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-ctl); background: var(--terra-soft); color: var(--ink); font-size: 0.8125rem; }
.review { display: grid; gap: 0; border-top: 1px solid var(--line); }
.review-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.review-row dt { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); grid-column: 1; }
.review-row dd { grid-column: 1; font-size: 1rem; }
.review-row button { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 0.8125rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); }
.prep { margin-top: 24px; padding: 18px 20px; border-radius: var(--radius-xs); background: var(--paper-2); }
.prep ul { display: grid; gap: 6px; margin-top: 10px; font-size: 0.9rem; color: var(--ink-2); }
.prep li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; }
.prep li::before { content: "—"; color: var(--ink-3); }

.booking-summary { border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
@media (min-width: 1100px) { .booking-summary { position: sticky; top: 96px; } }
.summary-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; cursor: pointer; list-style: none; }
.summary-toggle::-webkit-details-marker { display: none; }
.summary-toggle .h3 { font-size: 1.35rem; }
.summary-toggle svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
details[open] > .summary-toggle svg { transform: rotate(180deg); }
@media (min-width: 1100px) { .summary-toggle { cursor: default; } .summary-toggle svg { display: none; } }
.summary-body { padding: 0 20px 22px; }
.sum-list { display: grid; border-top: 1px solid var(--line); }
.sum-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.sum-row dt { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.sum-row dd.is-empty { color: var(--ink-3); }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 0 6px; }
.sum-total b { font-family: var(--serif); font-weight: 400; font-size: 2rem; letter-spacing: -0.02em; }
.sum-policy { margin-top: 12px; font-size: 0.8rem; color: var(--ink-3); }
.sum-policy button { text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); font-size: inherit; }
.done { display: grid; gap: 22px; }
.done .bstep-title { margin-bottom: 0; }
.done-ref { display: grid; gap: 8px; justify-items: start; }
.done-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--olive); color: var(--on-olive); }
.done-icon svg { width: 30px; height: 30px; }
.ref { display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: var(--r-ctl); background: var(--paper-2); font-family: var(--mono); font-size: 1rem; letter-spacing: 0.1em; }
.ref .icon-btn { width: 36px; height: 36px; background: var(--card); }
.done-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.done .demo-tag { color: var(--terra); margin-bottom: -12px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; gap: 20px; }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 28px; } }
.post-feature a { display: grid; gap: 18px; }
.post-feature figure { aspect-ratio: 16 / 11; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); }
.post-feature img, .post-row img, .post-card img { width: 100%; height: 100%; object-fit: cover; }
.post-feature h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.04; letter-spacing: -0.02em; }
.post-feature p { color: var(--ink-2); max-width: 60ch; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.post-meta .cat { color: var(--terra); }
.post-list { display: grid; }
.post-row { border-top: 1px solid var(--line); }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row a { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; align-items: center; padding: 18px 0; }
@media (min-width: 560px) { .post-row a { grid-template-columns: minmax(0, 1fr) 140px; gap: 24px; } }
.post-row figure { aspect-ratio: 4 / 3; border-radius: var(--radius-xs); overflow: hidden; background: var(--paper-2); }
.post-row h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.12; letter-spacing: -0.012em; margin-top: 6px; }
.post-row a:hover h3, .post-feature a:hover h3, .post-card a:hover h3, .post-card a:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.blog-more { display: flex; justify-content: flex-end; margin-top: 24px; }
.posts-grid { display: grid; gap: 28px 20px; }
@media (min-width: 640px) { .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .posts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card a { display: grid; gap: 14px; }
.post-card figure { aspect-ratio: 16 / 11; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); }
.post-card h3, .post-card h2 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.08; letter-spacing: -0.015em; }
.post-card p:not(.post-meta) { color: var(--ink-2); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; } .faq-side { position: sticky; top: 110px; align-self: start; } }
.faq-side .sec-head { margin-bottom: 28px; }
.faq-help { display: grid; gap: 12px; padding: 22px; border-radius: var(--radius-sm); background: var(--paper-2); }
.faq-help p { font-size: 0.95rem; color: var(--ink-2); }
.faq-help .row { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 36px; gap: 16px; align-items: center; padding: 22px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.2; letter-spacing: -0.012em; }
.faq-icon { position: relative; width: 36px; height: 36px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); transition: transform 0.35s var(--ease), background-color 0.2s ease, border-color 0.2s ease; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-icon { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.faq[open] .faq-icon::after { transform: translate(-50%, -50%); }
.faq summary:hover .faq-icon { border-color: var(--ink-3); }
.faq-a { display: grid; gap: 10px; padding: 0 52px 26px 0; color: var(--ink-2); max-width: 72ch; }
@media (max-width: 559px) { .faq-a { padding: 0 0 22px; } }
.faq[open] .faq-a { animation: faq-in 0.45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Sky cover ---------- */
.sky { isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 560px; padding: 0; color: #F7F5EF; background: var(--bezel); }
@media (min-width: 768px) { .sky { min-height: min(760px, 100svh); } }
.sky-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.sky-shade { position: absolute; inset: 0; z-index: -1; background: rgba(18, 21, 16, 0.58); }
[data-theme="dark"] .sky-shade { background: rgba(8, 9, 7, 0.6); }
.sky-word { padding: 72px 14px 0; }
@media (min-width: 768px) { .sky-word { padding: 88px 28px 0; } }
[data-fit] { display: block; white-space: nowrap; font-size: 18vw; line-height: 0.82; }
[data-fit] > span { display: inline-block; }
.sky-word p { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.04em; color: #F7F5EF; }
.sky-mid { padding: 0 var(--pad-x); }
.sky-mid h2 { max-width: 34ch; font-family: var(--serif); font-weight: 400; font-size: clamp(1.45rem, 2.5vw, 2.3rem); line-height: 1.12; letter-spacing: -0.02em; color: #F7F5EF; }
.sky-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 0 var(--pad-x) var(--pad-x); padding-right: calc(var(--pad-x) + 64px); }
.sky-foot .pill-row { justify-content: flex-start; }
.pill-soft { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-ctl); background: #F7F5EF; color: #22331D; font-weight: 600; font-size: 0.95rem; transition: background-color 0.2s ease; }
.pill-soft:hover { background: #FFFFFF; }
.pill-soft svg { width: 18px; height: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; } }
.contact-info { display: grid; gap: 16px; align-content: start; }
.info-card { padding: 24px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.info-card .label { margin-bottom: 12px; }
.info-lines { display: grid; gap: 6px; font-size: 1rem; }
.info-lines a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.info-lines a:hover { text-decoration-color: currentColor; }
.open-status { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 5px 10px; border-radius: 3px; background: var(--paper-2); font-size: 0.8125rem; font-weight: 600; }
.open-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.open-status.is-open i { background: var(--ok); }
.open-status.is-closed i { background: var(--terra); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.925rem; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-family: var(--mono); font-size: 0.85rem; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--ink); }
.hours tr.is-today th::after { content: " •"; color: var(--terra); }
.form-card { padding: 24px 20px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
@media (min-width: 768px) { .form-card { padding: 36px; } }
.form-card .h3 { margin-bottom: 8px; }
.form-card > p { color: var(--ink-2); margin-bottom: 24px; }
.form-status { margin-top: 14px; font-size: 0.925rem; font-weight: 600; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-err { color: var(--err); }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { --f-bg: var(--olive); --f-ink: var(--on-olive); background: var(--f-bg); color: var(--f-ink); padding-bottom: calc(var(--pad-x) * 0.7); }
[data-theme="dark"] .site-footer { --f-bg: #1D261B; --f-ink: #E3E9D6; }
.footer-word { margin-bottom: 44px; }
.footer-word p { font-family: var(--serif); font-weight: 400; letter-spacing: -0.05em; line-height: 0.8; }
.footer-cols { display: grid; gap: 32px; padding-top: 32px; border-top: 1px solid color-mix(in srgb, var(--f-ink) 25%, transparent); }
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-cols { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.5fr)); } }
.footer-cols h2 { font-family: var(--mono); font-weight: 400; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; margin-bottom: 14px; }
.footer-cols ul { display: grid; gap: 8px; }
.footer-cols a { opacity: 0.92; }
.footer-cols a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-about p { max-width: 40ch; opacity: 0.85; font-size: 0.95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 44px; padding-top: 20px; padding-right: 72px; border-top: 1px solid color-mix(in srgb, var(--f-ink) 25%, transparent); font-size: 0.8125rem; opacity: 0.85; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
/* Yapımcı imzası: yalnızca Asteria Soft işareti, yazısız. */
.footer-bottom .credit-mark { text-decoration: none; }
.credit-mark { display: inline-flex; align-items: center; gap: 10px; color: var(--f-ink); opacity: 0.75; text-decoration: none; transition: opacity 0.25s ease; }
.credit-mark svg { width: 22px; height: 22px; flex: none; display: block; }
.credit-sub {
  display: flex; flex-direction: column; padding-left: 10px; border-left: 1px solid currentColor;
  font-family: var(--mono); font-size: 0.56rem; line-height: 1.3; letter-spacing: 0.16em; text-transform: uppercase;
}
.credit-mark:hover, .credit-mark:focus-visible { opacity: 1; }
.footer-disclaimer { margin-top: 16px; font-size: 0.78rem; opacity: 0.7; max-width: 90ch; }
.site-footer .icon-btn { border-color: color-mix(in srgb, var(--f-ink) 35%, transparent); }
.site-footer .icon-btn:hover { background: color-mix(in srgb, var(--f-ink) 12%, transparent); }

/* ---------- Floating actions ---------- */
.fab {
  position: fixed; right: 16px; z-index: 95;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(247, 245, 239, 0.28);
  transition: transform 0.25s var(--ease), opacity 0.3s ease, visibility 0s linear 0s, background-color 0.2s ease;
}
@media (min-width: 768px) { .fab { right: 28px; } }
.fab:hover { transform: translateY(-3px); }
.fab-wa { bottom: 84px; background: #25D366; color: #0B2E17; }
@media (min-width: 768px) { .fab-wa { bottom: 100px; } }
.fab-wa svg { width: 26px; height: 26px; }
.fab-chat { bottom: 16px; background: var(--olive); color: var(--on-olive); }
@media (min-width: 768px) { .fab-chat { bottom: 28px; } }
.fab-chat svg { width: 24px; height: 24px; transition: opacity 0.25s ease, transform 0.35s var(--ease); grid-area: 1 / 1; }
.fab-chat .i-x { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.chat-open .fab-chat .i-chat { opacity: 0; transform: rotate(90deg) scale(0.6); }
.chat-open .fab-chat .i-x { opacity: 1; transform: none; }
.chat-open .fab-wa, .menu-open .fab, body.fabs-off .fab-wa, body.fabs-off:not(.chat-open) .fab-chat {
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px) scale(0.92);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}
.fab-badge { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--terra); border: 2px solid var(--bezel); }
.chat-open .fab-badge, .fab-badge.is-hidden { display: none; }

/* ---------- Chat ---------- */
.chat {
  position: fixed; right: 16px; bottom: 84px; z-index: 96;
  display: flex; flex-direction: column;
  width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 108px));
  border-radius: var(--radius); background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
  overflow: hidden; transform-origin: bottom right;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.4s var(--ease), visibility 0s linear 0.4s;
}
@media (min-width: 768px) { .chat { right: 28px; bottom: 100px; } }
.chat-open .chat { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s ease, transform 0.4s var(--ease), visibility 0s; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--olive); color: var(--on-olive); }
.chat-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--on-olive); color: var(--olive); font-family: var(--serif); font-size: 1.5rem; font-style: italic; line-height: 1; flex: none; }
.chat-head-text { flex: 1; min-width: 0; }
.chat-head-text b { display: block; font-weight: 600; font-size: 1rem; line-height: 1.2; }
.chat-head-text span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; opacity: 0.85; }
.chat-head-text .live-dot { background: #9FD39A; }
.chat-head .icon-btn { border-color: color-mix(in srgb, var(--on-olive) 35%, transparent); width: 38px; height: 38px; }
.chat-head .icon-btn:hover { background: color-mix(in srgb, var(--on-olive) 14%, transparent); }
.chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 14px 8px; scrollbar-width: thin; }
.chat-day { text-align: center; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.msg { display: flex; margin-top: 10px; animation: msg-in 0.3s var(--ease) both; }
.msg:first-of-type { margin-top: 0; }
.msg--user { justify-content: flex-end; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bubble { max-width: 88%; padding: 11px 14px; border-radius: 18px; font-size: 0.9rem; line-height: 1.5; overflow-wrap: anywhere; }
.msg--bot .bubble { background: var(--card); border: 1px solid var(--line); border-top-left-radius: 6px; }
.msg--user .bubble { max-width: 80%; background: var(--olive); color: var(--on-olive); border-top-right-radius: 6px; }
.bubble p + p { margin-top: 6px; }
.bubble-title { font-weight: 700; margin-bottom: 2px; }
.bubble-rows { margin-top: 8px; display: grid; }
.bubble-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 0.85rem; }
.bubble-row span:last-child { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2); text-align: right; white-space: nowrap; }
.bubble-note { margin-top: 8px; font-size: 0.78rem; color: var(--ink-3); }
.bubble-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bubble-action { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); font-size: 0.8rem; font-weight: 600; }
.bubble-action:hover { border-color: var(--ink); }
.bubble-action--primary { background: var(--olive); border-color: var(--olive); color: var(--on-olive); }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; animation: msg-in 0.3s 0.05s var(--ease) both; }
.quick button { padding: 7px 12px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: var(--paper); font-size: 0.8rem; font-weight: 500; transition: background-color 0.2s ease, border-color 0.2s ease; }
.quick button:hover { border-color: var(--ink); background: var(--paper-2); }
.typing .bubble { display: inline-flex; align-items: center; gap: 4px; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: wave 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes wave { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); background: var(--paper); }
.chat-input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: var(--field); color: var(--ink); font-size: 1rem; }
.chat-input:focus-visible { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px color-mix(in srgb, var(--olive) 22%, transparent); }
.chat-send { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--olive); color: var(--on-olive); flex: none; transition: opacity 0.2s ease; }
.chat-send:disabled { opacity: 0.35; cursor: default; }
.chat-send svg { width: 20px; height: 20px; }
.chat-foot { padding: 0 14px 10px; font-size: 0.68rem; color: var(--ink-3); text-align: center; background: var(--paper); }
@media (max-width: 480px) {
  .chat { right: 8px; left: 8px; width: auto; bottom: 80px; height: calc(100dvh - 96px); }
}

/* ---------- Demo notice ---------- */
.demo-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: var(--olive); color: var(--on-olive); }
.demo-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; max-width: calc(var(--wrap) + var(--pad-x) * 2); margin-inline: auto; padding: 14px var(--pad-x); }
.demo-bar-label { flex: none; padding: 3px 8px; border: 1px solid currentColor; border-radius: 3px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; }
.demo-bar p { flex: 1 1 280px; font-size: 0.9rem; line-height: 1.45; }
.demo-bar-btn { flex: none; min-height: 40px; background: var(--on-olive); color: var(--olive); }
.demo-bar-btn:hover { opacity: 0.9; }
@media (max-width: 639px) { .demo-bar-inner { padding: 14px 16px; } .demo-bar p { flex-basis: 100%; order: 2; } .demo-bar-btn { order: 3; margin-left: auto; } }
body.demo-open .fab { opacity: 0; visibility: hidden; pointer-events: none; }
body.demo-open { padding-bottom: var(--demo-h, 0px); }
.demo-open .hero { min-height: calc(100svh - var(--demo-h, 0px)); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: var(--r-ctl); background: var(--ink); color: var(--paper); font-size: 0.875rem; font-weight: 600; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, transform 0.35s var(--ease), visibility 0s linear 0.35s; }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 0.25s ease, transform 0.35s var(--ease), visibility 0s; }

/* ---------- Article pages ---------- */
.page-top { padding-top: calc(var(--header-h) + 84px); }
article.page-top > .wrap > nav { max-width: 980px; margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 28px; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.article-head { display: grid; gap: 22px; max-width: 980px; margin-inline: auto; }
.article-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 0.98; letter-spacing: -0.025em; text-wrap: balance; }
.article-head .lede { max-width: 62ch; }
.byline { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.byline b { display: block; font-weight: 600; }
.byline span { font-size: 0.85rem; color: var(--ink-3); }
.article-cover { max-width: 1180px; margin: 48px auto 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; gap: 40px; max-width: 1180px; margin: 56px auto 0; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; } }
.toc { display: none; }
@media (min-width: 1024px) { .toc { display: block; position: sticky; top: 110px; align-self: start; } }
.toc ol { display: grid; gap: 10px; margin-top: 14px; padding-left: 14px; border-left: 1px solid var(--line); }
.toc li { font-size: 0.875rem; line-height: 1.4; color: var(--ink-2); }
.toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose { max-width: 70ch; font-size: 1.0625rem; line-height: 1.75; color: var(--ink); }
@media (min-width: 768px) { .prose { font-size: 1.125rem; } }
.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.2em; font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.1; letter-spacing: -0.018em; scroll-margin-top: 110px; }
.prose h3 { margin-top: 1.6em; font-weight: 700; font-size: 1.125rem; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--terra); }
.prose strong { font-weight: 700; }
.prose a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose blockquote { padding: 4px 0 4px 20px; border-left: 2px solid var(--olive); font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; font-style: italic; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-family: var(--mono); font-weight: 400; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.table-scroll { overflow-x: auto; }
.callout { padding: 20px 22px; border-radius: var(--radius-xs); background: var(--sage); font-size: 1rem; line-height: 1.6; }
.callout .label { display: flex; color: var(--olive-text); margin-bottom: 6px; }
.callout--warn { background: var(--terra-soft); }
.callout--warn .label { color: var(--terra); }
.sources { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--ink-2); }
.sources ol { margin-top: 8px; }
.article-cta { display: grid; gap: 16px; margin-top: 3em; padding: 28px; border-radius: var(--radius-sm); background: var(--olive); color: var(--on-olive); }
.article-cta .h3 { color: inherit; }
.article-cta .btn--primary { background: var(--on-olive); color: var(--olive); justify-self: start; }
.related { margin-top: 0; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on [data-reveal] { transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
  .reveal-on [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }
  .reveal-on [data-reveal="d1"] { --d: 0.08s; }
  .reveal-on [data-reveal="d2"] { --d: 0.16s; }
  .reveal-on [data-reveal="d3"] { --d: 0.24s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

/* ---------- Print (diet program / recipe) ---------- */
@media print {
  @page { margin: 16mm; }
  html, body { background: #fff !important; color: #000 !important; padding: 0; }
  body * { visibility: hidden; }
  .print-target, .print-target * { visibility: visible; }
  .print-target { position: absolute; left: 0; top: 0; width: 100%; }
  .print-target .btn, .print-target .program-actions, .print-target .icon-btn { display: none !important; }
  .meals, .meal, .program-tip { border-color: #ccc !important; background: #fff !important; }
}
