/* Layout: sticky logo bar, split hero, service grid, long-form founder story on sand, tinted proof bands, emerald closing band */
:root {
  --ink: #0F3D33;
  --ink-soft: #4F6660;
  --aqua: #3DD9D6;
  --aqua-deep: #0E6E6B;
  --tint: #E6FAF8;
  --sand: #FAF8F4;
  --paper: #FFFFFF;
  --line: #DCE7E3;
  --band: #E3F4F0;
  --band-fg: #0F3D33;
  --foot: #F1EEE7;
  --font-display: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--sand); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--aqua-deep); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn-primary { background: var(--aqua); color: #0F3D33; }
.btn-primary:hover { background: #22BFBC; transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--tint); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--sand); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo svg { width: 62px; height: auto; flex: none; }
.logo-text { display: flex; flex-direction: column; gap: 4px; }
.logo-name { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; letter-spacing: 0.1em; line-height: 0.95; }
.logo-sub { font-family: var(--font-display); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.33em; color: var(--aqua-deep); }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav > a:not(.btn), .dd summary { font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); text-decoration: none; }
.nav > a:not(.btn):hover { color: var(--ink); }
.dd { position: relative; }
.dd summary, .menu summary { list-style: none; cursor: pointer; }
.dd summary::-webkit-details-marker, .menu summary::-webkit-details-marker { display: none; }
.dd summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.dd summary:hover, .dd[open] summary { color: var(--ink); }
.dd summary:focus-visible, .menu summary:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.dd-panel { position: absolute; top: calc(100% + 14px); left: -16px; z-index: 20; min-width: 290px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; box-shadow: 0 18px 40px -20px rgba(15, 61, 51, 0.35); }
.dd-panel a { text-decoration: none; padding: 10px 12px; border-radius: 8px; font-weight: 500; color: var(--ink); }
.dd-panel a:hover { background: var(--tint); }
.menu { display: none; }
.menu summary { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
.menu summary svg { width: 22px; height: 22px; }
.menu[open] summary { background: var(--tint); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: var(--sand); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: flex; flex-direction: column; max-height: calc(100vh - 64px); overflow-y: auto; box-shadow: 0 24px 40px -24px rgba(15, 61, 51, 0.35); }
.menu-panel a { text-decoration: none; padding: 14px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); }
.menu-panel a:last-child { border-bottom: 0; }
@media (max-width: 760px) {
  .nav > a:not(.btn), .dd { display: none; }
  .menu { display: block; }
  .btn-small { min-height: 42px; padding: 0 16px; font-size: 0.88rem; }
  .nav { gap: 10px; }
}
@media (max-width: 380px) { .nav .btn-small { display: none; } }

/* Hero */
.hero { padding-block: 64px 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-copy .lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.mc-faq details[id] { scroll-margin-top: 96px; }
.faq-more { margin: 16px 0 0; color: var(--ink-soft); }
.hero-price { margin: 0; font-weight: 600; color: var(--ink); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 4px 0 0; font-size: 0.93rem; color: var(--ink-soft); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; flex: none; color: var(--aqua-deep); }
.hero-card { background: var(--tint); border-radius: 28px; padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; }
.hero-card .mark { width: 120px; }
.hero-card blockquote { margin: 0; font-size: 1.25rem; line-height: 1.5; font-style: italic; }
.hero-card .founder-note { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.hero-card cite { font-style: normal; font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Sections */
section { padding-block: 72px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 40em; margin-bottom: 40px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(196px, 100%), 1fr)); gap: 16px; }
.service { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.service p { color: var(--ink-soft); font-size: 0.98rem; }
.service .icon { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; color: var(--aqua-deep); }
.service .icon svg { width: 22px; height: 22px; }

/* Story */
.story { background: var(--paper); border-block: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
.story-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; align-self: start; }
.story-aside .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.5rem, 8vw, 5.5rem); line-height: 0.9; color: var(--aqua-deep); }
.story-aside .big-label { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.9rem; }
.story-body { display: flex; flex-direction: column; gap: 20px; max-width: 38em; font-size: 1.1rem; }
.story-body .pull { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.3; text-wrap: balance; padding-block: 8px; }
.story-body .pull span { color: var(--aqua-deep); }
.signature { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; border-top: 1px solid var(--line); }
.signature strong { font-family: var(--font-display); font-weight: 600; }
.signature span { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 860px) { .story-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .story-aside { position: static; } }

/* Promise */
.promise-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.promise-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.promise-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; }
.promise-list svg { width: 26px; height: 26px; color: var(--aqua-deep); margin-top: 2px; }
.promise-list strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.promise-list span { color: var(--ink-soft); }
.faq-card { background: var(--tint); border-radius: 24px; padding: 34px; display: flex; flex-direction: column; gap: 16px; }
.faq-card .q { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.faq-card .a { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--aqua-deep); line-height: 1; }
@media (max-width: 860px) { .promise-grid { grid-template-columns: minmax(0, 1fr); } }

/* Areas */
.areas { background: var(--tint); }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.area-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: 0.95rem; }

/* CTA band */
.cta-band { background: var(--band); color: var(--band-fg); }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-row h2 { max-width: 16em; color: var(--band-fg); }
.cta-row p { color: var(--ink-soft); margin-top: 10px; }
.contact-lines { display: flex; flex-direction: column; gap: 6px; font-size: 1rem; }
.contact-lines .label { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aqua-deep); }
.contact-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

.pricing { padding-block: 0; border-top: 1px solid var(--line); }
#mc { scroll-margin-top: 90px; }
footer { background: var(--foot); color: var(--ink-soft); border-top: 1px solid var(--line); padding-block: 48px 28px; font-size: 0.93rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.foot-grid h3 { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aqua-deep); margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { text-decoration: none; color: var(--ink); }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-brand p { max-width: 30em; margin-top: 12px; }
.foot-brand .logo-name { color: var(--band-fg); }
.foot-brand .logo { color: var(--band-fg); }
.foot-brand .logo-sub { color: var(--aqua-deep) !important; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* Inner pages */
.crumbs { font-size: 0.88rem; color: var(--ink-soft); padding-top: 24px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-soft); }
.page-hero { padding-block: 40px 56px; }
.page-hero .hero-grid { align-items: start; }
.price-card { background: var(--tint); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.price-card .from { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-card .from small { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-card p { color: var(--ink-soft); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 38em; }
.prose p { color: var(--ink-soft); }
.prose h2 { margin-bottom: 4px; }
.check-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.check-panel h3 { font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.checks svg { width: 20px; height: 20px; color: var(--aqua-deep); margin-top: 3px; }
.phases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.phase { border-top: 3px solid var(--aqua); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.phase .tag { font-family: var(--font-display); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aqua-deep); }
.phase p { color: var(--ink-soft); font-size: 0.98rem; }
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 46em; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--aqua-deep); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 12px; }
.faq .answer { padding: 0 18px 18px; color: var(--ink-soft); }
.tinted { background: var(--tint); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.related { display: flex; flex-direction: column; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; }
.related:hover { border-color: var(--aqua); }
.related strong { font-family: var(--font-display); font-weight: 600; }
.related span { color: var(--ink-soft); font-size: 0.93rem; }
.service-link { margin-top: auto; padding-top: 6px; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--aqua-deep); text-decoration: none; }
.service-link:hover { text-decoration: underline; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; }
.values div { display: flex; flex-direction: column; gap: 6px; }
.values p { color: var(--ink-soft); }

/* Calculator sits inside the page: don't apply page section spacing to its inner sections */
#mc section { padding-block: 0; }

/* Compact one-row header on phones */
@media (max-width: 760px) {
  .header-row { flex-wrap: nowrap; padding-block: 8px; gap: 12px; }
  .logo { gap: 8px; min-width: 0; }
  .logo svg { width: 44px; }
  .logo-name { font-size: 1.1rem; }
  .logo-sub { font-size: 0.52rem; letter-spacing: 0.26em; }
  .nav { flex-wrap: nowrap; flex: none; }
}

/* Tighter space above the H1 */
.hero { padding-block: 32px 48px; }
.page-hero { padding-block: 16px 48px; }
.hero-copy { gap: 18px; }
.crumbs { padding-top: 16px; }
@media (max-width: 760px) {
  .hero { padding-block: 20px 40px; }
  .page-hero { padding-block: 12px 40px; }
  .crumbs { padding-top: 12px; }
  .hero-copy { gap: 14px; }
}

/* Keyword H1 styled as the small label; the big line is display text */
h1.eyebrow { line-height: 1.4; letter-spacing: 0.22em; }
.display { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; margin: 0; color: var(--ink); }

/* Phone menu groups */
.menu-label { font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aqua-deep); margin: 16px 0 2px; }
.menu-panel a.sub { padding: 12px 4px; font-size: 0.98rem; }
.menu-panel a.sub:last-of-type { border-bottom: 0; }

/* Inner pages without breadcrumbs: match the homepage's space above the H1 */
.page-hero { padding-block: 32px 48px; }
@media (max-width: 760px) { .page-hero { padding-block: 20px 40px; } }

/* Guide promo band (homepage) */
.guide-band { padding-block: 48px; border-top: 1px solid var(--line); }
.guide-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.guide-row > div { max-width: 40em; display: flex; flex-direction: column; gap: 10px; }
.guide-row p:not(.eyebrow) { color: var(--ink-soft); }

/* Natural cleaning guide page */
.g-hero .lede { max-width: 40em; }
.g-jump { font-size: 0.93rem; color: var(--ink-soft); }
.g-jump a { color: var(--aqua-deep); }
.g-section { padding-block: 64px; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.g-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.g-card p { font-size: 0.97rem; color: var(--ink-soft); }
.g-card strong { color: var(--ink); font-weight: 600; }
.g-cost { margin-top: auto; padding-top: 6px; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--aqua-deep) !important; }
.g-rules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px 32px; }
.g-rules li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.g-rules svg { width: 22px; height: 22px; color: var(--aqua-deep); margin-top: 2px; }
.g-rules strong { display: block; font-family: var(--font-display); font-weight: 600; }
.g-rules span { color: var(--ink-soft); }
.g-team { grid-template-columns: minmax(0, 1fr); }
.g-note { margin-top: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: var(--ink-soft); }
.g-note strong { color: var(--ink); }
.g-note a, .g-cite a { color: var(--aqua-deep); }
.g-recipes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.g-recipe { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.g-recipe-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.g-chip { font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; background: var(--tint); color: var(--ink); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.g-use { color: var(--ink-soft); font-size: 0.95rem; }
.g-ingr { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 2px; }
.g-recipe p { font-size: 0.97rem; }
.g-amz { margin-top: auto; padding-top: 4px; font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--aqua-deep); }
.g-search { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; max-width: 40em; }
.g-search label { font-family: var(--font-display); font-weight: 600; }
.g-search input { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.g-search input:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }
.g-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.g-filter { font: inherit; font-size: 0.88rem; font-weight: 500; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.g-filter.on { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.g-filter:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }
.g-empty { color: var(--ink-soft); }
.g-cats { display: flex; flex-direction: column; gap: 32px; }
.g-cat h3 { margin-bottom: 10px; }
.g-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.g-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 640px; }
.g-table th, .g-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.g-table thead th { font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aqua-deep); }
.g-table tbody th { font-family: var(--font-display); font-weight: 600; width: 22%; }
.g-table td:last-child { color: var(--ink-soft); }
.g-table tbody tr:last-child th, .g-table tbody tr:last-child td { border-bottom: 0; }
.g-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .g-two { grid-template-columns: minmax(0, 1fr); } }
.g-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.g-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.g-list li div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.g-list strong { font-family: var(--font-display); font-weight: 600; }
.g-list span { color: var(--ink-soft); font-size: 0.93rem; }
.g-list a { flex: none; font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--ink); background: var(--tint); border-radius: 999px; padding: 6px 14px; text-decoration: none; }
.g-sci-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.g-sci { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.g-sci p { font-size: 0.96rem; color: var(--ink-soft); }
.g-take strong { color: var(--ink); }
.g-cite { margin-top: auto; padding-top: 6px; font-size: 0.85rem !important; }
.g-fine { font-size: 0.85rem; color: var(--ink-soft); max-width: 60em; }

/* Guide language switcher */
.g-lang { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); flex-wrap: wrap; }
.g-lang a { font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--ink-soft); text-decoration: none; padding: 8px 16px; border-radius: 999px; min-height: 36px; display: inline-flex; align-items: center; }
.g-lang a:hover { color: var(--ink); background: var(--tint); }
.g-lang a[aria-current="page"] { background: var(--ink); color: var(--sand); }
.g-lang a:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }

[hidden] { display: none !important; }
/* Stain tables become stacked cards on phones (no sideways scrolling) */
@media (max-width: 700px) {
  .g-table-wrap { overflow: visible; border: 0; background: none; border-radius: 0; }
  .g-table { min-width: 0; }
  .g-table, .g-table tbody, .g-table tr, .g-table th, .g-table td { display: block; width: 100%; }
  .g-table thead { display: none; }
  .g-table tbody tr { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
  .g-table tbody th { width: auto; padding: 0 0 6px; border: 0; font-size: 1.02rem; }
  .g-table td { padding: 6px 0 0; border: 0; }
  .g-table td::before { content: attr(data-label); display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aqua-deep); margin-bottom: 2px; }
  .g-table tbody tr:last-child th, .g-table tbody tr:last-child td { border-bottom: 0; }
}

/* Language switch stays on one line, even on narrow phones */
.g-lang { flex-wrap: nowrap; max-width: 100%; }
@media (max-width: 400px) { .g-lang a { padding: 7px 11px; font-size: 0.82rem; } }

/* Recipe batch sizes */
.g-size { display: inline-flex; align-self: flex-start; font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; background: var(--tint); color: var(--ink); border-radius: 999px; padding: 4px 12px; }
.g-home { font-size: 0.9rem !important; color: var(--ink-soft); background: var(--sand); border-radius: 10px; padding: 10px 12px; }
.g-home strong { color: var(--ink); }

/* Tappable phone and email in contact bands */
.contact-lines a { color: inherit; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }

/* Click to call */
.btn-call { gap: 8px; }
.btn-call svg, .call-bar svg { width: 16px; height: 16px; flex: none; }
.call-bar { display: none; }
@media (max-width: 1060px) {
  .btn-call { width: 42px; padding: 0; }
  .btn-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 760px) {
  .btn-call { display: none; }
  .call-bar { display: flex; align-items: center; justify-content: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; min-height: 56px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--aqua); color: #0F3D33; font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-decoration: none; box-shadow: 0 -10px 24px -16px rgba(15, 61, 51, 0.5); }
  .call-bar svg { width: 18px; height: 18px; }
  .call-bar:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

/* Header CTA with a shorter label where the full one would wrap the header */
.lbl-short { display: none; }
@media (max-width: 879px) { .lbl-long { display: none; } .lbl-short { display: inline; } }
