/*
Theme Name: AG Beaver
Theme URI: https://agbeaverllc.com/
Author: AG Beaver LLC
Description: Lead-generation theme for AG Beaver LLC, fractional CMO and marketing consulting. Home page sections are editable blocks; Appearance > AG Beaver setup creates the pages and the contact form.
Version: 1.0.2
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agbeaver
*/

/* Layout: warm, conversational single column; brand black + tan from the AG Beaver mark; one playful moment (the faucet) on a tan band. */
:root {
  --paper: #FBFAF7;
  --panel: #F3EFE7;
  --tint: #EDE5D6;
  --ink: #161514;
  --muted: #443F37;
  --line: #E2DCCF;
  --tan: #C4B49A;
  --tan-text: #5E4C2E;
  --band: #161514;
  --band-fg: #F5F2EB;
  --band-muted: #CFC8BA;
  --focus: #5E4C2E;
  --pop: #1D6B5E;
  --pop-soft: #D6EAE3;
  --logo-dark: block;
  --logo-light: none;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --step--1: .9rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 4vw, 2.75rem);
  --step-4: clamp(2.5rem, 6vw, 4.4rem);
  --wrap: 70rem;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #141413; --panel: #1D1C1A; --tint: #24211C; --ink: #F3F0E9; --muted: #A8A295; --line: #2E2C28;
    --tan: #C9BA9E; --tan-text: #D3C4A6; --band: #1F1E1C; --band-fg: #F5F2EB; --band-muted: #CFC8BA;
    --focus: #D3C4A6; --pop: #6FC7B0; --pop-soft: #18332D; --logo-dark: none; --logo-light: block; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #141413; --panel: #1D1C1A; --tint: #24211C; --ink: #F3F0E9; --muted: #A8A295; --line: #2E2C28;
  --tan: #C9BA9E; --tan-text: #D3C4A6; --band: #1F1E1C; --band-fg: #F5F2EB; --band-muted: #CFC8BA;
  --focus: #D3C4A6; --pop: #6FC7B0; --pop-soft: #18332D; --logo-dark: none; --logo-light: block; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: var(--step-0); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--tan-text); }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--muted); }
.logo-on-light { display: var(--logo-dark); }
.logo-on-dark { display: var(--logo-light); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: .5rem .75rem; z-index: 20; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .85rem; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; font-size: var(--step--1); }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav .nav-link { display: none; } .brand img { height: 24px; } }

/* Buttons */
.btn, /* Buttons */
.wp-block-button[class*="ag-"] > .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 var(--step--1)/1 var(--body); text-decoration: none; padding: .95rem 1.4rem; border-radius: 999px; border: 1.5px solid var(--ink); cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn:hover, .wp-block-button[class*="ag-"] > .wp-block-button__link:hover { transform: translateY(-1px); }
.btn-solid, .wp-block-button.ag-solid > .wp-block-button__link { background: var(--ink); color: var(--paper); }
.btn-solid:hover, .wp-block-button.ag-solid > .wp-block-button__link:hover { background: transparent; color: var(--ink); }
.btn-line, .wp-block-button.ag-line > .wp-block-button__link { background: transparent; color: var(--ink); }
.btn-line:hover, .wp-block-button.ag-line > .wp-block-button__link:hover { background: var(--ink); color: var(--paper); }
.nav .btn { padding: .7rem 1.1rem; color: var(--paper); }
.nav .btn:hover { color: var(--ink); }
.btn-tan, .wp-block-button.ag-tan > .wp-block-button__link { background: var(--tan); color: #161514; border-color: var(--tan); }
.btn-tan:hover, .wp-block-button.ag-tan > .wp-block-button__link:hover { background: transparent; color: var(--band-fg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } .btn:hover, .wp-block-button[class*="ag-"] > .wp-block-button__link:hover { transform: none; } }

/* Hero */
.hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: var(--step-4); line-height: 1.04; }
.swoosh { display: block; width: min(100%, 30rem); height: auto; margin-block: 1.1rem 1.6rem; color: var(--tan); }
.hero .lede { max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.note-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.1rem); display: grid; gap: 1.1rem; transform: rotate(-1deg); }
.note-card .who { display: flex; align-items: center; gap: .85rem; }
.note-card .who img { width: 48px; height: 48px; }
.note-card .who strong { display: block; font-family: var(--display); font-size: var(--step-1); font-weight: 500; line-height: 1.2; }
.note-card .who span { font-size: var(--step--1); color: var(--muted); }
.note-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.note-card li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: .5rem; align-items: start; }
.note-card li svg { margin-top: .3rem; color: var(--tan-text); }
.note-card .sig { font-family: var(--display); font-style: italic; font-size: var(--step-1); color: var(--tan-text); }

/* Section rhythm */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 42rem; }
.section-head p { color: var(--muted); }

/* Faucet band */
.faucet-band { background: var(--tint); }
.faucet-band .wrap { padding-block: clamp(3.5rem, 8vw, 6rem); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 820px) { .faucet-band .wrap { grid-template-columns: 1fr; } .faucet-art { max-width: 15rem; } }
.faucet-art { width: 100%; max-width: 20rem; color: var(--ink); }
.faucet-art .drip { fill: var(--tan-text); animation: drip 2.8s ease-in infinite; transform-box: fill-box; }
@keyframes drip { 0%, 30% { transform: translateY(0) scale(.6); opacity: 0; } 40% { opacity: 1; transform: translateY(0) scale(1); } 85% { transform: translateY(70px) scale(1); opacity: 1; } 100% { transform: translateY(80px); opacity: 0; } }
.faucet-copy { display: grid; gap: 1.1rem; }
.faucet-copy p { color: var(--muted); max-width: 38rem; }
.truths { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .9rem; }
.truths li { padding: 1rem 1.2rem; background: var(--paper); border-radius: var(--radius); }
.truths strong { display: block; }
.truths span { color: var(--muted); font-size: .97rem; }

/* Definition */
.definition { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 800px) { .definition { grid-template-columns: 1fr; } }
.definition-answer { font-family: var(--display); font-size: clamp(1.3rem, 2.3vw, 1.65rem); line-height: 1.45; }
.definition-more { margin-top: 1.25rem; color: var(--muted); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; display: grid; gap: .55rem; align-content: start; padding: 1.4rem; background: var(--panel); border-radius: var(--radius); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: 1.15rem; margin-bottom: .35rem; }
.steps li:nth-child(2)::before { background: var(--tan); color: #161514; }
.steps p { color: var(--muted); font-size: .97rem; }
.steps .tag { font-size: .88rem; color: var(--tan-text); font-weight: 600; }

/* Ways to work together */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ways { grid-template-columns: 1fr; } }
.way { background: var(--paper); padding: 1.6rem; display: grid; gap: .6rem; align-content: start; }
.way p { color: var(--muted); font-size: .97rem; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 820px) { .partners { grid-template-columns: 1fr; } }
.partner { border-top: 2px solid var(--ink); padding-top: 1.1rem; display: grid; gap: .5rem; align-content: start; }
.partner p { color: var(--muted); font-size: .97rem; }

/* About band */
.band { background: var(--band); color: var(--band-fg); }
.band .wrap { padding-block: clamp(3.5rem, 8vw, 6rem); }
.about { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } .about-mark { max-width: 9rem; } }
.about-mark { width: min(100%, 19rem); }
.about-mark img { width: 100%; height: auto; }
.about h2 { margin-bottom: 1.25rem; }
.about h2 em { color: var(--tan); }
.about p { color: var(--band-muted); max-width: 38rem; }
.about p + p { margin-top: 1rem; }
.about .quote { font-family: var(--display); font-style: italic; font-size: var(--step-1); color: var(--band-fg); line-height: 1.45; }

/* FAQ */
.faq { border-top: 1px solid var(--ink); max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 1.25rem; font-family: var(--display); font-size: var(--step-1); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); color: var(--tan-text); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding-bottom: 1.4rem; color: var(--muted); max-width: 44rem; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-copy { display: grid; gap: 1.25rem; align-content: start; }
.contact-copy p { color: var(--muted); }
.email-line { font-size: var(--step--1); }
.email-line a { color: var(--ink); user-select: all; font-weight: 600; }
.contact-form { background: var(--panel); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.field { display: grid; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
label { font-size: var(--step--1); font-weight: 600; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .75rem .85rem; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
textarea { min-height: 7rem; resize: vertical; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.form-foot small { color: var(--muted); font-size: .9rem; max-width: 20rem; }
.hp { position: absolute; left: -5000px; }
.form-done { grid-column: 1 / -1; display: grid; gap: .6rem; }
.form-done h3 { font-size: var(--step-2); }
.form-done p { color: var(--muted); }
.form-error { grid-column: 1 / -1; color: #A3352B; font-size: var(--step--1); }

/* ---------- Fun layer ---------- */
.hl { background: linear-gradient(transparent 58%, var(--tan) 58%, var(--tan) 90%, transparent 90%); padding-inline: .08em; }
.hero h1 .hl { font-style: normal; }
.hero-art { position: relative; }
.badge { position: absolute; top: -2.6rem; right: -1rem; width: 8.5rem; height: 8.5rem; z-index: 2; }
.badge .ring { animation: spin 22s linear infinite; transform-origin: 50% 50%; transform-box: fill-box; }
.badge text { font: 600 10.5px var(--body); letter-spacing: .14em; fill: var(--ink); text-transform: uppercase; }
.badge circle.bg { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .badge { top: -3rem; right: 0; width: 7rem; height: 7rem; } }
.note-card { box-shadow: 6px 6px 0 var(--ink); border-color: var(--ink); transition: transform .25s; }
.note-card:hover { transform: rotate(0deg); }

.marquee-wrap { overflow: hidden; padding-block: 1rem; }
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding-block: 1rem; transform: rotate(-1.2deg); margin-block: .5rem 1.5rem; width: 104%; margin-left: -2%; }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: slide 32s linear infinite; font-family: var(--display); font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-style: italic; white-space: nowrap; }
.marquee-track span { display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee-track span::after { content: "✦"; font-style: normal; color: var(--tan); font-size: .8em; }
@keyframes slide { to { transform: translateX(-50%); } }

.fluff { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .fluff { grid-template-columns: 1fr; } }
.fluff-copy { display: grid; gap: 1.1rem; justify-items: start; }
.fluff-copy p { color: var(--muted); max-width: 32rem; }
.switch { display: inline-flex; align-items: center; gap: .85rem; background: none; border: 0; padding: 0; font: 600 var(--step-0) var(--body); color: var(--ink); cursor: pointer; }
.switch .track { width: 3.6rem; height: 2rem; border-radius: 999px; background: var(--line); border: 1.5px solid var(--ink); position: relative; transition: background .25s; flex: none; }
.switch .knob { position: absolute; top: 2px; left: 2px; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink); transition: transform .3s cubic-bezier(.5,1.6,.4,1); }
.switch[aria-pressed="true"] .track { background: var(--tan); }
.switch[aria-pressed="true"] .knob { transform: translateX(1.6rem); }
.report { background: var(--panel); border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--tan); padding: clamp(1.25rem, 3vw, 1.8rem); display: grid; gap: .25rem; }
.report-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .75rem; border-bottom: 1px dashed var(--line); margin-bottom: .25rem; }
.report-title strong { font-family: var(--display); font-size: var(--step-1); font-weight: 500; }
.report-title span { font-size: .88rem; color: var(--muted); }
.report-row { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .6rem; padding-block: .7rem; align-items: start; }
.report-row + .report-row { border-top: 1px solid var(--line); }
.report-row .ico { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; font-weight: 700; background: var(--tint); color: var(--muted); }
.report .real { display: none; }
.report.is-real .fluffy { display: none; }
.report.is-real .real { display: block; }
.report.is-real .ico { background: var(--ink); color: var(--paper); }
.report .fluffy { color: var(--muted); font-style: italic; }
.report .real { font-weight: 600; }
.report .swap { animation: pop .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.steps li { transition: transform .25s; box-shadow: 4px 4px 0 var(--line); }
.steps li:nth-child(odd) { transform: rotate(-1.2deg); }
.steps li:nth-child(even) { transform: rotate(1deg); }
.steps li:hover { transform: rotate(0) translateY(-4px); }
.way { transition: background .2s; }
.way:hover { background: var(--tint); }
.way h3::after { content: " →"; color: var(--tan-text); opacity: 0; transition: opacity .2s, margin .2s; margin-left: -.4rem; }
.way:hover h3::after { opacity: 1; margin-left: 0; }
.partner { transition: transform .2s; }
.partner:hover { transform: translateY(-3px); }
.about-mark img { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-3deg); } }
.btn-solid:hover, .wp-block-button.ag-solid > .wp-block-button__link:hover { box-shadow: 3px 3px 0 var(--tan); }

@media (prefers-reduced-motion: reduce) {
  .badge .ring, .marquee-track, .about-mark img, .faucet-art .drip { animation: none !important; }
  .steps li:nth-child(n) { transform: none; }
}


/* ---------- Icons and illustrations ---------- */
.icon { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--tan); display: grid; place-items: center; flex: none; border: 1.5px solid #161514; box-shadow: 3px 3px 0 var(--ink); }
.icon svg { width: 1.6rem; height: 1.6rem; color: #161514; }
.way .icon, .partner .icon { margin-bottom: .35rem; }
.way:hover .icon { transform: rotate(-8deg); }
.icon { transition: transform .25s; }
.steps li::before { display: none; }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .2rem; }
.step-num { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--tan-text); }
.doodle { color: var(--ink); }
.doodle .t { fill: var(--tan); }
.squiggle { display: block; width: 7rem; height: auto; color: var(--tan); margin-top: -.25rem; }
.arrow-doodle { width: 6.5rem; height: auto; color: var(--tan-text); margin-top: -.25rem; }
@media (max-width: 860px) { .arrow-doodle { transform: rotate(70deg); width: 4.5rem; margin-left: 2rem; } }
.contact-art { width: min(100%, 15rem); height: auto; margin-top: .5rem; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 14rem); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 820px) { .faq-layout { grid-template-columns: 1fr; } .faq-art { display: none; } }
.faq-art { width: 100%; height: auto; position: sticky; top: 6rem; }
.sparkles { position: absolute; inset: 0; pointer-events: none; }
.hero { position: relative; overflow: hidden; }
.spark { position: absolute; color: var(--tan); animation: twinkle 3.5s ease-in-out infinite; }
.spark:nth-child(2) { animation-delay: 1.2s; } .spark:nth-child(3) { animation-delay: 2.1s; }
@keyframes twinkle { 50% { transform: scale(.6) rotate(20deg); opacity: .5; } }


/* ---------- Infographics ---------- */
@media (min-width: 821px) { .faucet-band .wrap { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.faucet-copy .faucet-art { max-width: 7.5rem; margin-bottom: -.5rem; }
.growth { margin: 0; background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); padding: clamp(1rem, 3vw, 1.6rem); display: grid; gap: .75rem; min-width: 0; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .92rem; font-weight: 600; }
.legend span { display: inline-flex; align-items: center; gap: .45rem; }
.lg-promise::before { content: ""; width: 1.4rem; border-top: 2.5px dashed var(--muted); }
.lg-real::before { content: ""; width: 1.4rem; height: 4px; border-radius: 2px; background: var(--ink); }
.growth-chart { width: 100%; height: auto; display: block; overflow: visible; }
.growth-chart .grid path { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; fill: none; }
.growth-chart .grid path:last-child { stroke: var(--ink); stroke-dasharray: none; stroke-width: 1.5; }
.growth-chart .promise { fill: none; stroke: var(--muted); stroke-width: 2.5; stroke-dasharray: 7 6; }
.growth-chart .area { fill: var(--tan); opacity: .35; }
.growth-chart .real { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 0; animation: draw 2.4s ease-out both; }
.growth-chart .dot { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; }
.growth-chart .dot.end { fill: var(--tan); }
@keyframes draw { from { stroke-dashoffset: 600; } }
.phases { list-style: none; margin: 0; padding: 0 2.5% 0 5%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.phases li { display: grid; gap: .1rem; font-size: .88rem; line-height: 1.3; color: var(--muted); }
.phases b { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.growth figcaption { font-size: .85rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: .6rem; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem; position: relative; }
.flow > .step { position: relative; display: grid; gap: .45rem; align-content: start; justify-items: start; }
.flow > .step:not(:last-child)::after { content: ""; position: absolute; top: 1.6rem; left: 4.2rem; right: -1.6rem; border-top: 2px dashed var(--tan-text); }
.flow > .step:not(:last-child)::before { content: ""; position: absolute; top: calc(1.6rem - 5px); right: -1.7rem; border: 6px solid transparent; border-left-color: var(--tan-text); border-right: 0; }
.flow .icon { margin-bottom: .4rem; }
.flow-key .icon { background: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--tan); }
.flow-key .icon svg { color: var(--tan); }
.flow-num { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tan-text); }
.flow p { color: var(--muted); font-size: .97rem; }
.mix { list-style: none; padding: 0; margin: .2rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.mix li { font-size: .88rem; font-weight: 600; border: 1.5px solid var(--ink); border-radius: 999px; padding: .25rem .65rem; background: var(--paper); }
.mix li:nth-child(odd) { background: var(--tan); color: #161514; border-color: #161514; }
.loop { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--tan-text); margin-top: .2rem; }
.loop svg { width: 1.1rem; height: 1.1rem; animation: spin 6s linear infinite; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 1.75rem; padding-left: 0; }
  .flow > .step { grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1rem; row-gap: .2rem; }
  .flow > .step > *:not(.icon) { grid-column: 2; }
  .flow .icon { grid-row: 1 / span 4; margin: 0; }
  .flow > .step:not(:last-child)::after { top: 3.6rem; bottom: -1.6rem; left: 1.6rem; right: auto; border-top: 0; border-left: 2px dashed var(--tan-text); }
  .flow > .step:not(:last-child)::before { top: auto; bottom: -1.75rem; right: auto; left: calc(1.6rem - 5px); border: 6px solid transparent; border-top-color: var(--tan-text); border-bottom: 0; }
}

.audit-block { margin-top: clamp(3rem, 6vw, 4.5rem); }
.audit-title { font-size: var(--step-2); margin-bottom: 1.5rem; }
.audit-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "a core b" "c core d" "e core f"; gap: 1rem; }
.audit-core { grid-area: core; background: var(--ink); color: var(--paper); border-radius: 50%; aspect-ratio: 1; max-width: 100%; display: grid; place-content: center; justify-items: center; text-align: center; gap: .5rem; padding: 2rem; outline: 2px dashed var(--tan); outline-offset: 8px; margin: 10px; align-self: center; }
.audit-core strong { font-family: var(--display); font-size: var(--step-2); font-weight: 500; }
.audit-core > span:last-child { color: var(--band-muted); font-size: .9rem; max-width: 13rem; }
.audit-core .icon { box-shadow: 3px 3px 0 var(--tan); border-color: var(--tan); }
.icon-lg { width: 4rem; height: 4rem; }
.icon-lg svg { width: 2rem; height: 2rem; }
.audit-tile { display: flex; gap: .85rem; align-items: center; padding: 1rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: border-color .2s, transform .2s; }
.audit-tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.audit-tile div { display: grid; gap: .1rem; min-width: 0; }
.audit-tile span:not(.icon) { font-size: .95rem; color: var(--muted); line-height: 1.35; }
.audit-tile:nth-of-type(2) { grid-area: a; } .audit-tile:nth-of-type(3) { grid-area: b; } .audit-tile:nth-of-type(4) { grid-area: c; }
.audit-tile:nth-of-type(5) { grid-area: d; } .audit-tile:nth-of-type(6) { grid-area: e; } .audit-tile:nth-of-type(7) { grid-area: f; }
@media (max-width: 860px) {
  .audit-map { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "core core" "a b" "c d" "e f"; }
  .audit-core { border-radius: var(--radius); aspect-ratio: auto; outline-offset: 4px; margin: 6px 6px 1rem; padding: 1.5rem; }
}
@media (max-width: 480px) {
  .audit-tile { flex-direction: column; align-items: flex-start; gap: .6rem; padding: .9rem; }
  .audit-tile .icon { width: 2.6rem; height: 2.6rem; } .audit-tile .icon svg { width: 1.3rem; height: 1.3rem; }
}


.equation { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(1.5rem, 4vw, 2.5rem); padding: clamp(1.25rem, 3vw, 2rem); background: var(--tint); border-radius: var(--radius); }
.eq-item { display: grid; justify-items: center; gap: .6rem; text-align: center; font-weight: 600; font-size: .95rem; flex: 1 1 8rem; }
.eq-result img { width: 3.6rem; height: 3.6rem; }
.eq-result span { font-family: var(--display); font-size: 1.25rem; font-weight: 500; font-style: italic; }
.op { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--tan-text); flex: none; }
@media (max-width: 640px) {
  .equation { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); justify-items: center; }
  .equation .op:nth-of-type(2) { display: none; }
  .eq-result { grid-column: 1 / -1; }
  .equation .op:nth-of-type(3) { grid-column: 1 / -1; }
  .eq-item:nth-of-type(3) { grid-column: 1 / -1; }
}

.table-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 820px) { .table-wrap { grid-template-columns: 1fr; } }
.round-table { width: 100%; max-width: 26rem; height: auto; justify-self: center; color: #161514; }
.round-table .links path { stroke: var(--tan-text); stroke-width: 2.5; stroke-dasharray: 6 6; fill: none; animation: march 1.2s linear infinite; }
@keyframes march { to { stroke-dashoffset: -12; } }
.round-table .table { fill: var(--tint); stroke: var(--ink); stroke-width: 2.5; }
.round-table .seat circle { fill: var(--tan); stroke: #161514; stroke-width: 2; }
.round-table text { font: 600 16px var(--body); fill: var(--ink); }
.gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.gets li { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--panel); border-radius: var(--radius); }
.gets div { display: grid; }
.gets span:not(.icon) { color: var(--muted); }



/* ---------- Leaks pipeline + 8-tile audit ---------- */
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; position: relative; }
.pipeline::before { content: ""; position: absolute; top: 1.35rem; left: 1rem; right: 1rem; height: .9rem; background: var(--tan); border: 2px solid var(--ink); border-radius: 999px; }
.pipeline li { position: relative; display: grid; justify-items: center; text-align: center; gap: .55rem; align-content: start; }
.pipeline .icon { position: relative; z-index: 1; background: var(--paper); }
.pipeline b { font-family: var(--display); font-weight: 500; font-size: 1.1rem; line-height: 1.2; }
.leak { display: grid; justify-items: center; gap: .35rem; font-size: .92rem; line-height: 1.35; color: var(--muted); background: var(--panel); border: 1.5px dashed var(--pop); border-radius: 10px; padding: .6rem .55rem .65rem; width: 100%; }
.drop { width: .7rem; height: .95rem; fill: var(--pop); animation: leak 2.6s ease-in infinite; }
.pipeline li:nth-child(2n) .drop { animation-delay: .9s; } .pipeline li:nth-child(3n) .drop { animation-delay: 1.6s; }
@keyframes leak { 0%, 20% { transform: translateY(-6px) scale(.6); opacity: 0; } 35% { opacity: 1; transform: none; } 85% { transform: translateY(4px); opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
.tech-note { margin-top: clamp(1.75rem, 4vw, 2.5rem); display: flex; gap: 1rem; align-items: flex-start; background: var(--ink); color: var(--band-fg); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.6rem); box-shadow: 6px 6px 0 var(--pop); }
.tech-note p { color: var(--band-muted); max-width: 52rem; }
.tech-note strong { color: var(--band-fg); display: block; font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin-bottom: .2rem; }
@media (max-width: 900px) {
  .pipeline { grid-template-columns: 1fr; gap: 1rem; }
  .pipeline::before { top: 1rem; bottom: 1rem; left: 1.2rem; right: auto; width: .9rem; height: auto; }
  .pipeline li { grid-template-columns: 3.25rem minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 1rem; row-gap: .35rem; }
  .pipeline .icon { grid-row: 1 / span 2; }
  .pipeline b { align-self: end; }
  .leak { grid-column: 2; grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: .5rem; padding: .5rem .7rem; }
}
.audit-map { grid-template-areas: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.audit-tile:nth-of-type(n) { grid-area: auto; }
.audit-core { grid-area: auto; grid-column: 2; grid-row: 2; border-radius: 50%; padding: 1.25rem; margin: 6px; aspect-ratio: auto; min-height: 100%; }
.audit-core strong { font-size: var(--step-1); }
@media (min-width: 861px) {
  .audit-core { width: 13.5rem; aspect-ratio: 1; min-height: 0; justify-self: center; align-self: center; margin: 14px; }
  .audit-tile:nth-of-type(5), .audit-tile:nth-of-type(6) { align-self: center; }
}
.audit-core > span:last-child { font-size: .9rem; color: #D9D3C7; }
.audit-core .icon-lg { width: 3.25rem; height: 3.25rem; }
.audit-tile:nth-of-type(2) { grid-column: 1; grid-row: 1; } .audit-tile:nth-of-type(3) { grid-column: 2; grid-row: 1; } .audit-tile:nth-of-type(4) { grid-column: 3; grid-row: 1; }
.audit-tile:nth-of-type(5) { grid-column: 1; grid-row: 2; } .audit-tile:nth-of-type(6) { grid-column: 3; grid-row: 2; }
.audit-tile:nth-of-type(7) { grid-column: 1; grid-row: 3; } .audit-tile:nth-of-type(8) { grid-column: 2; grid-row: 3; } .audit-tile:nth-of-type(9) { grid-column: 3; grid-row: 3; }
@media (max-width: 860px) {
  .audit-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audit-core { grid-column: 1 / -1; grid-row: 1; border-radius: var(--radius); min-height: 0; padding: 1.5rem; margin: 6px 6px .75rem; }
  .audit-tile:nth-of-type(n) { grid-column: auto; grid-row: auto; }
}

/* ---------- Emphasis color ---------- */
h1 em, h2 em { color: var(--pop); }
.about h2 em { color: #7FD0BA; }
.hero h1 .hl, h2 .hl { background: linear-gradient(transparent 58%, var(--pop-soft) 58%, var(--pop-soft) 90%, transparent 90%); }
.flow-num, .loop, .steps .tag { color: var(--pop); }
.flow > .step:not(:last-child)::after { border-color: var(--pop); }
.flow > .step:not(:last-child)::before { border-left-color: var(--pop); }
@media (max-width: 900px) { .flow > .step:not(:last-child)::before { border-left-color: transparent; border-top-color: var(--pop); } }
.flow-key .icon { box-shadow: 3px 3px 0 var(--pop); }
.mix li:nth-child(even) { border-color: var(--pop); color: var(--pop); }
.growth-chart .dot.end { fill: var(--pop); stroke: var(--pop); }
.phases li:last-child b { color: var(--pop); }
.audit-core { outline-color: var(--pop); }
.audit-tile:hover { border-color: var(--pop); }
.op { color: var(--pop); }
.eq-result span { color: var(--pop); }
.round-table .links path { stroke: var(--pop); }
.switch[aria-pressed="true"] .track { background: var(--pop); }
.switch[aria-pressed="true"] .knob { background: var(--paper); }
.report.is-real { box-shadow: 6px 6px 0 var(--pop); }
.report.is-real .ico { background: var(--pop); color: var(--paper); }
.arrow-doodle { color: var(--pop); }
.squiggle { color: var(--pop); }
.marquee-track span::after { color: var(--pop-soft); }
.faq summary::after { color: var(--pop); }
.btn-solid:hover, .wp-block-button.ag-solid > .wp-block-button__link:hover { box-shadow: 3px 3px 0 var(--pop); }
.way:hover h3::after { color: var(--pop); }
.spark:nth-child(2) { color: var(--pop); }
.note-card li svg { color: var(--pop); }
:focus-visible { outline-color: var(--pop); }

/* ---------- Mobile menu + sticky CTA ---------- */
.menu-btn { display: none; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 1.3rem; height: 1.3rem; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 100% - env(safe-area-inset-top, 0px)); min-height: 22rem; background: var(--paper); border-top: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain; z-index: 9; animation: menuIn .22s ease-out; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }
.mobile-menu-inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding-block: 1rem 2rem; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); }
.mobile-links { display: flex; flex-direction: column; }
.mobile-links a { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; padding-block: .6rem; text-decoration: none; font-family: var(--display); font-size: 1.6rem; line-height: 1.15; border-bottom: 1px solid var(--line); }
.mobile-links a::after { content: "→"; margin-left: auto; font-family: var(--body); font-size: 1.2rem; color: var(--pop); }
.mobile-links .icon { width: 2.75rem; height: 2.75rem; box-shadow: 2px 2px 0 var(--ink); }
.mobile-links .icon svg { width: 1.35rem; height: 1.35rem; }
.mobile-menu-foot { display: grid; gap: .75rem; }
.mobile-menu-foot .btn { width: 100%; padding-block: 1.1rem; font-size: 1rem; }
.mobile-menu-foot p { text-align: center; font-size: .9rem; color: var(--muted); user-select: all; }
body.menu-open { overflow: hidden; }
body.menu-open .mobile-cta { display: none; }
.menu-btn { width: 3rem; height: 3rem; }
.mobile-cta { display: none; }

@media (max-width: 760px) {
  .nav .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; gap: .6rem; background: var(--paper); border-top: 1px solid var(--line); padding: .7rem max(16px, env(safe-area-inset-right, 0px)) calc(.7rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); box-shadow: 0 -6px 18px rgba(0,0,0,.06); }
  .mobile-cta .btn { flex: 1; padding-block: 1rem; }
  body { padding-bottom: 5rem; }
  .site-header .wrap { padding-block: .65rem; }
  .hero { padding-block: 2.25rem 2.5rem; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .lede { font-size: 1.1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .hero-actions .wp-block-button[class*="ag-"] > .wp-block-button__link { width: 100%; }
  .hero-art { margin-top: 2.5rem; }
  .badge { top: -3.2rem; right: -.25rem; width: 6.25rem; height: 6.25rem; }
  .note-card { transform: none; box-shadow: 4px 4px 0 var(--ink); margin-right: 4px; }
  .section, .band .wrap, .faucet-band .wrap { padding-block: 3rem; }
  .section-head { margin-bottom: 1.75rem; }
  .steps li:nth-child(n) { transform: none; }
  .report { box-shadow: 4px 4px 0 var(--tan); margin-right: 4px; }
  .faucet-art { max-width: 11rem; margin-inline: auto; }
  .about { text-align: left; }
  .faq summary { font-size: 1.15rem; }
  .contact-art { display: none; }
  .switch { min-height: 2.75rem; }
  .site-footer { padding-bottom: 1rem; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .way h3::after { display: none; }
  .form-foot .btn, .form-foot .wp-block-button[class*="ag-"] > .wp-block-button__link { width: 100%; }
  .report-title { flex-direction: column; gap: .15rem; }
}
@media (min-width: 761px) { .mobile-menu { display: none !important; } }

/* Portrait */
.portrait { margin: 0; position: relative; width: min(100%, 21rem); justify-self: center; }
.portrait img:first-child { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 18px 18px; border: 2px solid var(--band-fg); box-shadow: 10px 10px 0 var(--tan); }
.portrait-badge { position: absolute; width: 5.5rem; height: 5.5rem; right: -1rem; bottom: 1.5rem; transform: rotate(-8deg); filter: drop-shadow(3px 3px 0 #161514); }
.about-mark { display: none; }
.note-card .who img.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); }
@media (max-width: 800px) { .portrait { width: min(78%, 17rem); margin-bottom: .5rem; } .portrait-badge { width: 4.25rem; height: 4.25rem; right: -.75rem; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; font-size: var(--step--1); color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: center; }
.site-footer img { height: 26px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* ---------- Accessibility + contrast fixes (both themes) ---------- */
:root { --field: #8A8274; --err: #A3352B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --field: #7A7466; --err: #F2998F; } }
:root[data-theme="dark"] { --field: #7A7466; --err: #F2998F; }
/* dark panels use the fixed band colors, never --ink (which flips to cream in dark mode) */
.tech-note { background: var(--band); color: var(--band-fg); border: 1px solid var(--line); }
.tech-note p { color: var(--band-muted); }
.audit-core { background: var(--band); color: var(--band-fg); }
.audit-core > span:last-child { color: var(--band-muted); }
.flow-key .icon { background: var(--band); border-color: var(--band); }
.flow-key .icon svg { color: var(--tan); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .flow-key .icon, :root:not([data-theme="light"]) .audit-core { border: 1.5px solid var(--tan); } }
:root[data-theme="dark"] .flow-key .icon, :root[data-theme="dark"] .audit-core { border: 1.5px solid var(--tan); }
/* pipeline icons sat on paper with fixed black strokes, invisible in dark mode */
.pipeline .icon { background: var(--paper); border-color: var(--ink); }
.pipeline .icon svg { color: var(--ink); }
/* form fields need 3:1 outlines; errors readable on both panels */
input, select, textarea { border-color: var(--field); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--err); border-width: 2px; }
.form-error { color: var(--err); font-weight: 600; }
::placeholder { color: var(--muted); opacity: .85; }
/* links in running text and footer are identifiable without color */
.foot-links a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.foot-links a:hover { text-decoration-color: currentColor; }
.note-card .who img.avatar { border: 0; }

/* ---------- Readable type ---------- */
/* Bodoni stays for big headlines only (matches the logo), at a sturdier weight and low optical size for thicker hairlines */
h1, h2 { font-weight: 600; font-variation-settings: "opsz" 18; letter-spacing: 0; }
h1 em, h2 em { font-weight: 500; }
/* Everything smaller or longer moves to the sans */
h3, .note-card .who strong, .definition-answer, .about .quote, .faq summary, .report-title strong,
.phases b, .pipeline b, .tech-note strong, .audit-core strong, .eq-result span, .mobile-links a, .form-done h3 {
  font-family: var(--body); font-style: normal; letter-spacing: -0.005em; }
h3 { font-weight: 650; }
.note-card .who strong, .report-title strong, .phases b, .pipeline b, .tech-note strong, .audit-core strong, .eq-result span { font-weight: 650; }
.faq summary { font-weight: 600; font-size: 1.15rem; }
.definition-answer { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.6; font-weight: 450; }
.about .quote { font-weight: 500; font-size: 1.2rem; border-left: 3px solid var(--tan); padding-left: 1rem; }
.mobile-links a { font-weight: 600; font-size: 1.3rem; }
/* nothing smaller than ~15px */
.growth figcaption, .flow-num, .phases li, .steps .tag, .mix li, .report-title span, .audit-core > span:last-child, .leak, .lg-promise, .legend { font-size: .95rem; }
body { line-height: 1.7; }

/* ---------- Layout fit fixes ---------- */
/* badge moves to the card's bottom-right corner, clear of the title and list */
.badge { top: auto; bottom: -3rem; right: -1.5rem; width: 7rem; height: 7rem; }
.hero-art { margin-bottom: 1.5rem; }
@media (max-width: 1120px) { .badge { right: -.5rem; } }
@media (max-width: 900px) { .badge { bottom: -2.75rem; right: -.5rem; width: 6rem; height: 6rem; } .sparkles .spark:first-child { display: none; } }
@media (max-width: 760px) { .badge { bottom: -2.5rem; right: -.25rem; width: 5.25rem; height: 5.25rem; } .hero-art { margin-top: 1.5rem; margin-bottom: 2rem; } }
/* growth chart labels: two per row on phones */
@media (max-width: 560px) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: .9rem; padding: 0 .25rem; } }

/* ---------- Cascading drops ---------- */
.faucet-art { overflow: visible; }
.faucet-art .drip { fill: var(--pop); }
.faucet-art .drip { animation: cascade 1.8s cubic-bezier(.55,0,.9,.5) infinite; transform-origin: 50% 0; }
.faucet-art .drip.d2 { animation-delay: .6s; }
.faucet-art .drip.d3 { animation-delay: 1.2s; }
@keyframes cascade { 0% { transform: translateY(-4px) scale(.4, .5); opacity: 0; } 12% { transform: translateY(0) scale(1, 1.05); opacity: 1; } 80% { transform: translateY(68px) scale(.85, 1.2); opacity: 1; } 100% { transform: translateY(76px) scale(1.3, .4); opacity: 0; } }
.faucet-art .splash { fill: none; stroke: var(--pop); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: splash .6s ease-out infinite; animation-delay: 1.45s; }
@keyframes splash { 0% { transform: scale(.3); opacity: .8; } 100% { transform: scale(1.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .faucet-art .d2, .faucet-art .d3, .faucet-art .splash { display: none; } .faucet-art .drip, .pipeline .drop { animation: none !important; } }

/* ---------- Pipeline cascade: each leak drips in turn down the pipe ---------- */
.pipeline .drop { width: .95rem; height: 1.25rem; animation: leakSeq 3.6s ease-in infinite; }
.pipeline li:nth-child(1) .drop { animation-delay: 0.05s; }
.pipeline li:nth-child(2) .drop { animation-delay: 0.65s; }
.pipeline li:nth-child(3) .drop { animation-delay: 1.25s; }
.pipeline li:nth-child(4) .drop { animation-delay: 1.85s; }
.pipeline li:nth-child(5) .drop { animation-delay: 2.45s; }
.pipeline li:nth-child(6) .drop { animation-delay: 3.05s; }
@keyframes leakSeq { 0% { transform: translateY(-5px) scale(.6); opacity: .35; } 6% { transform: translateY(-5px) scale(1.25); opacity: 1; } 26% { transform: translateY(5px) scale(1); opacity: 1; } 34% { transform: translateY(9px) scale(.8); opacity: 0; } 40% { transform: none; opacity: .35; } 100% { transform: none; opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .pipeline .drop { opacity: 1; transform: none; } }

/* ---------- Consistent step icons + tags ---------- */
.flow-key .icon, .flow .icon { background: var(--tan); border: 1.5px solid #161514; box-shadow: 3px 3px 0 var(--ink); }
.flow-key .icon svg, .flow .icon svg { color: #161514; }
.mix li, .mix li:nth-child(odd), .mix li:nth-child(even) { background: transparent; color: var(--ink); border: 1.5px solid var(--tan); }

/* Legal pages: shown in place of the home page via #privacy / #terms */
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 8vw, 6rem); outline: none; }
.legal-wrap { max-width: 44rem; }
.legal h1 { font-size: var(--step-3); line-height: 1.1; margin-bottom: .4rem; }
.legal h2 { font-size: var(--step-1); line-height: 1.3; margin: 2.25rem 0 .6rem; }
.legal p, .legal li { color: var(--ink); }
.legal p { margin: 0 0 1rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal li { margin-bottom: .45rem; }
.legal .lede { color: var(--muted); margin-top: 1.25rem; }
.legal-date { font-size: var(--step--1); color: var(--muted); }
.legal a { color: var(--pop); text-underline-offset: 3px; }
.legal-back { display: inline-block; font-size: var(--step--1); font-weight: 600; margin-bottom: 1.5rem; text-decoration: none; }
.legal-back:hover { text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.foot-legal a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.foot-legal a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ===== Button blocks (same look as .btn) ===== */


/* ===== WordPress block markup ===== */
[hidden]:not([hidden=until-found i]) { display: none !important; }
body { margin: 0; }
img { max-width: 100%; }
.wp-site-blocks { padding: 0; }
.wp-block-post-content, main.wp-block-group { margin: 0; }
:where(.wp-block-group, .wp-block-buttons, .wp-block-button) { margin: 0; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.wp-block-button__link { box-sizing: border-box; white-space: nowrap; }
.wp-block-button[class*="ag-"] > .wp-block-button__link { width: auto; }
@media (max-width: 760px) { .hero-actions .wp-block-button, .hero-actions .wp-block-button > .wp-block-button__link { width: 100%; } }
.portrait .wp-block-image { margin: 0; }
.portrait .wp-block-image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 18px 18px; border: 2px solid var(--band-fg); box-shadow: 10px 10px 0 var(--tan); }
.flow .wp-block-list.mix { margin: .35rem 0 0; }
.faq .wp-block-details { margin: 0; }

.section-head > .wp-block-heading { margin-bottom: 0; }
.email-line a { color: var(--ink); font-weight: 600; text-decoration: none; }
.email-line a:hover { text-decoration: underline; }
.mobile-menu-foot p a { color: inherit; text-decoration: none; }

/* ===== Contact form (Gravity Forms, "Gravity Forms 2.5 Theme") ===== */
.contact-form { display: block; background: var(--panel); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); align-self: start; }
.contact-form .gform_wrapper.gravity-theme form { display: block; background: none; padding: 0; }
.contact-form .gform_wrapper.gravity-theme .gform_required_legend, .contact-form .gform_wrapper.gravity-theme .gform_heading { display: none; }
.contact-form .gform_wrapper.gravity-theme .gform_fields { grid-column-gap: 1rem; grid-row-gap: 1.1rem; }
.contact-form .gform_wrapper.gravity-theme .gfield_label { font-size: var(--step--1); font-weight: 600; color: var(--ink); margin: 0 0 .4rem; padding: 0; line-height: 1.4; }
.contact-form .gform_wrapper.gravity-theme .gfield_required { display: none; }
.contact-form .gform_wrapper.gravity-theme input[type="text"],
.contact-form .gform_wrapper.gravity-theme input[type="email"],
.contact-form .gform_wrapper.gravity-theme input[type="url"],
.contact-form .gform_wrapper.gravity-theme input[type="tel"],
.contact-form .gform_wrapper.gravity-theme select,
.contact-form .gform_wrapper.gravity-theme textarea { font: inherit; font-size: 1rem; line-height: 1.5; color: var(--ink); background: var(--paper); border: 1px solid var(--field); border-radius: 10px; padding: .75rem .85rem; width: 100%; min-height: 0; }
.contact-form .gform_wrapper.gravity-theme textarea,
.contact-form .gform_wrapper.gravity-theme .gfield textarea.large,
.contact-form .gform_wrapper.gravity-theme .gfield textarea.medium { min-height: 7rem; height: 7.5rem; resize: vertical; }
.contact-form .gform_wrapper.gravity-theme select { appearance: auto; }
.contact-form .gform_wrapper.gravity-theme input:focus,
.contact-form .gform_wrapper.gravity-theme select:focus,
.contact-form .gform_wrapper.gravity-theme textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.contact-form .gform_wrapper.gravity-theme .gform_footer { padding: 0; margin: 1.4rem 0 0; }
.contact-form .gform_wrapper.gravity-theme .gform_footer .gform_button,
.contact-form .gform_wrapper.gravity-theme .gform_footer input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; font: 600 var(--step--1)/1 var(--body); padding: .95rem 1.4rem; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; margin: 0; }
.contact-form .gform_wrapper.gravity-theme .gform_footer .gform_button:hover,
.contact-form .gform_wrapper.gravity-theme .gform_footer input[type="submit"]:hover { background: transparent; color: var(--ink); box-shadow: 3px 3px 0 var(--pop); transform: translateY(-1px); }
.contact-form .gform_wrapper.gravity-theme .gform_validation_errors { background: transparent; border: 2px solid var(--err); border-radius: 10px; box-shadow: none; padding: .75rem 1rem; margin: 0 0 1.25rem; }
.contact-form .gform_wrapper.gravity-theme .gform_validation_errors > h2,
.contact-form .gform_wrapper.gravity-theme .gform_validation_errors > h2 .gform-icon { color: var(--err); font: 600 var(--step--1)/1.4 var(--body); }
.contact-form .gform_wrapper.gravity-theme .gfield_validation_message,
.contact-form .gform_wrapper.gravity-theme .validation_message { background: transparent; border: 0; padding: .35rem 0 0; margin: 0; color: var(--err); font-size: var(--step--1); font-weight: 600; }
.contact-form .gform_wrapper.gravity-theme .gfield_error input,
.contact-form .gform_wrapper.gravity-theme .gfield_error select,
.contact-form .gform_wrapper.gravity-theme .gfield_error textarea { border: 2px solid var(--err); }
.contact-form .gform_wrapper.gravity-theme .gfield_error .gfield_label { color: var(--ink); }
.contact-form .gform_confirmation_message { display: grid; gap: .6rem; color: var(--muted); }
.contact-form .gform_confirmation_message h3 { font-size: var(--step-2); color: var(--ink); }
.contact-form .gform_ajax_spinner { margin-left: .75rem; }
.form-note { margin-top: 1rem !important; color: var(--muted); font-size: .9rem; }
.form-note a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 760px) { .contact-form .gform_wrapper.gravity-theme .gform_footer .gform_button { width: 100%; } }

/* ===== Inner pages: Privacy Policy, Terms, posts ===== */
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 8vw, 6rem); }
.legal-wrap { max-width: 44rem; }
.legal h1 { font-size: var(--step-3); line-height: 1.1; margin: 0 0 .4rem; }
.legal .entry-content h2, .legal .wp-block-post-content h2 { font-size: var(--step-1); line-height: 1.3; margin: 2.25rem 0 .6rem; }
.legal .wp-block-post-content p { margin: 0 0 1rem; }
.legal .wp-block-post-content ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal .wp-block-post-content li { margin-bottom: .45rem; }
.legal .lede { color: var(--muted); margin-top: 1.25rem !important; }
.legal-date { font-size: var(--step--1); color: var(--muted); }
.legal .wp-block-post-content a { color: var(--pop); text-underline-offset: 3px; }
.legal-back { margin: 0 0 1.5rem; font-size: var(--step--1); font-weight: 600; }
.legal-back a { text-decoration: none; color: var(--pop); }
.legal-back a:hover { text-decoration: underline; }
.post-list { display: grid; gap: 2rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.post-list h2 { font-size: var(--step-2); margin: 0 0 .5rem; }
.post-list h2 a { text-decoration: none; }

/* Pause control for the looping decorative animations (WCAG 2.2.2) */
.motion-paused .faucet-art .drip,
.motion-paused .faucet-art .splash,
.motion-paused .badge .ring,
.motion-paused .marquee-track,
.motion-paused .about-mark img,
.motion-paused .spark,
.motion-paused .loop svg,
.motion-paused .round-table .links path,
.motion-paused .drop { animation-play-state: paused !important; }
.motion-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .55rem .95rem; border: 1px solid var(--tan); border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--body); font-size: .8rem; font-weight: 600; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.motion-toggle:hover { background: #2a2825; }
.motion-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.motion-toggle svg { width: 11px; height: 11px; fill: currentColor; flex: none; }
.menu-open .motion-toggle { display: none; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }
@media print { .motion-toggle { display: none; } }
