/* =========================================================
   Skom Beauty Ops: main stylesheet
   Tokens → base → layout → sections → journal → forms → utilities
   ========================================================= */

:root {
	--paper: #F8F7F3;
	--white: #FFFFFF;
	--ink: #16140F;
	--ink-2: #5C5750;
	--ink-3: #8A847B;
	--red: #F2262E;
	--red-deep: #C4161D;
	--sage: #E3E9E1;
	--sand: #EFE9DF;
	--line: #E4E0D8;
	--rose: #F0E1DE;
	--sky: #E1E7EE;

	--serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;

	/* type scale: 1.25 ratio, tuned */
	--t-xs: 0.8125rem;
	--t-sm: 0.9375rem;
	--t-md: 1.0625rem;
	--t-lg: 1.25rem;
	--t-xl: 1.625rem;
	--t-2xl: 2.125rem;
	--t-3xl: 2.875rem;
	--t-4xl: clamp(2.75rem, 6vw, 4.5rem);

	--wrap: 1180px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--section: clamp(4rem, 9vw, 7.5rem);
	--radius: 4px;
	--ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: var(--t-md);
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red-deep); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.01em;
	margin: 0 0 .5em;
	color: var(--ink);
}
h1 { font-size: var(--t-4xl); }
h2 { font-size: var(--t-3xl); }
h3 { font-size: var(--t-xl); }
small { font-size: var(--t-sm); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5rem .9rem; z-index: 100; }
.skip:focus { left: 8px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Buttons and links ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .9rem 1.4rem;
	font-weight: 600; font-size: var(--t-sm); line-height: 1;
	border-radius: 999px; border: 1.5px solid transparent;
	transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
	white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: var(--t-sm); color: var(--ink); border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow:hover { color: var(--red-deep); border-color: var(--red-deep); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(248,247,243,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand img { height: 40px; width: auto; }
.brand-text { font-family: var(--serif); font-size: 1.5rem; line-height: 1; letter-spacing: -.01em; }
.brand-sub { display: block; font-family: var(--sans); font-size: .625rem; font-weight: 600; letter-spacing: .12em; color: var(--ink-3); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2rem; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.menu a { font-size: var(--t-sm); font-weight: 500; color: var(--ink-2); padding: .4rem 0; border-bottom: 1.5px solid transparent; }
.menu a:hover, .menu .current-menu-item > a { color: var(--ink); border-color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: inline; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-kicker { font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); margin-bottom: 1.25rem; }
.hero h1 { max-width: 14ch; margin-bottom: 1.25rem; }
.hero-sub { font-size: var(--t-lg); color: var(--ink-2); max-width: 52ch; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.hero-visual { position: relative; }
.hero-img { width: 100%; height: auto; aspect-ratio: 5 / 5.4; object-fit: cover; object-position: 84% 50%; border-radius: 10px; display: block; }
.hero-chart { margin: 0; position: absolute; left: -12%; bottom: 7%; width: 64%; background: var(--white); border-radius: 8px; padding: 1rem 1rem .8rem; box-shadow: 0 30px 60px -30px rgba(22,20,15,.35), 0 1px 0 rgba(22,20,15,.06); }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .line-rev { stroke: var(--ink); }
.chart .line-ads { stroke: var(--red); }
.chart .dots circle { fill: var(--white); stroke: var(--ink); stroke-width: 2.5; }
.chart .dots circle.ad { stroke: var(--red); }
.chart .dots .dot-end { fill: var(--ink); }
.chart .dots .ad.dot-end { fill: var(--red); }
.chart .labels text { font-family: var(--sans); font-size: 13px; fill: var(--ink-3); font-weight: 500; }
.chart .labels .lbl-rev { fill: var(--ink); font-weight: 700; }
.chart .labels .lbl-ads { fill: var(--red-deep); font-weight: 700; }
.chart .rev-fill { opacity: 0; }
.hero-chart figcaption { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: var(--t-xs); color: var(--ink-2); margin-top: .5rem; }
.hero-chart figcaption span { display: inline-flex; align-items: center; gap: .4rem; }
.sw { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }
.sw-rev { background: var(--ink); }
.sw-ads { background: var(--red); }
.fig-note { color: var(--ink-3); flex-basis: 100%; }

/* chart draw-on: lengths set generously; JS toggles .is-drawn on load */
.chart .line, .chart .rev-fill, .chart .dots circle, .chart .labels text { transition: none; }
.js .chart .line { stroke-dasharray: 700; stroke-dashoffset: 700; }
.js .chart .dots circle, .js .chart .labels .lbl-rev, .js .chart .labels .lbl-ads { opacity: 0; }
.js .chart.is-drawn .line { animation: draw 1.6s var(--ease) forwards; }
.js .chart.is-drawn .line-ads { animation-delay: .35s; }
.js .chart.is-drawn .rev-fill { animation: fade .8s 1.2s var(--ease) forwards; }
.js .chart.is-drawn .dots circle { animation: fade .5s var(--ease) forwards; }
.js .chart.is-drawn .dots circle:nth-child(1) { animation-delay: .2s; }
.js .chart.is-drawn .dots circle:nth-child(2) { animation-delay: .6s; }
.js .chart.is-drawn .dots circle:nth-child(3) { animation-delay: 1s; }
.js .chart.is-drawn .dots circle:nth-child(4) { animation-delay: 1.4s; }
.js .chart.is-drawn .dots circle:nth-child(5) { animation-delay: .55s; }
.js .chart.is-drawn .dots circle:nth-child(6) { animation-delay: .95s; }
.js .chart.is-drawn .dots circle:nth-child(7) { animation-delay: 1.35s; }
.js .chart.is-drawn .dots circle:nth-child(8) { animation-delay: 1.75s; }
.js .chart.is-drawn .labels .lbl-rev, .js .chart.is-drawn .labels .lbl-ads { animation: fade .6s 1.8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.js .chart .line { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
	.js .chart .dots circle, .js .chart .labels text, .js .chart .rev-fill { opacity: 1; animation: none; }
}

/* ---------- Proof row ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { padding: 1.75rem 1.5rem 1.75rem 0; border-right: 1px solid var(--line); margin-right: 1.5rem; }
.proof-grid > div:last-child { border-right: 0; margin-right: 0; }
.proof strong { display: block; font-family: var(--serif); font-size: var(--t-3xl); line-height: 1; font-weight: 400; margin-bottom: .4rem; }
.proof span { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.45; display: block; }

/* ---------- Section frames ---------- */
section { padding: var(--section) 0; }
.hero, .proof { padding-top: 0; padding-bottom: 0; }
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4rem); }
.tint-sand { background: var(--sand); }
.tint-sage { background: var(--sage); }
.tint-paper { background: var(--paper); }
.tint-rose { background: var(--rose); }
.tint-sky { background: var(--sky); }
.tint-ink { background: var(--ink); color: var(--paper); }
.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.section-head p { color: var(--ink-2); font-size: var(--t-lg); }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }

/* ---------- Problem ---------- */
.problem-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); }
.problem-grid h2 { max-width: 16ch; }
.problem-copy > p { font-size: var(--t-lg); color: var(--ink-2); }
.problem-list { margin: 2rem 0 0; }
.problem-list dt { font-family: var(--serif); font-size: var(--t-xl); margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(22,20,15,.15); }
.problem-list dt:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.problem-list dd { margin: .4rem 0 0; color: var(--ink-2); max-width: 60ch; }

/* ---------- Channel ledger ---------- */
.ledger-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ledger-row { display: grid; grid-template-columns: 120px 2fr 5fr auto; gap: 2rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--line); transition: padding-left .25s var(--ease); }
.ledger-thumb { display: block; width: 120px; aspect-ratio: 16 / 11; border-radius: 6px; overflow: hidden; }
.ledger-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ledger-row:hover .ledger-thumb img { transform: scale(1.06); }
.ledger-row h3 { margin: 0; font-size: var(--t-2xl); }
.ledger-row p { margin: 0; color: var(--ink-2); font-size: var(--t-lg); }
.ledger-go { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; transition: background .2s var(--ease), color .2s var(--ease); }
.ledger-go svg { width: 20px; height: 20px; }
.ledger-row:hover { padding-left: .75rem; color: var(--ink); }
.ledger-row:hover .ledger-go { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Case ---------- */
.case-grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.case-copy h2 { max-width: 16ch; }
.case-copy p { font-size: var(--t-lg); color: var(--ink-2); }
.case-table { width: 100%; border-collapse: collapse; background: var(--white); }
.case-table caption { text-align: left; font-family: var(--serif); font-size: var(--t-xl); padding: 0 0 .75rem; }
.case-table th, .case-table td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.case-table thead th { font-size: var(--t-xs); font-weight: 600; color: var(--ink-3); }
.case-table tbody th { font-weight: 500; color: var(--ink-2); font-size: var(--t-sm); width: 60%; }
.case-table td { font-family: var(--serif); font-size: var(--t-xl); white-space: nowrap; }
.case-table td small { font-family: var(--sans); font-size: var(--t-xs); color: var(--ink-3); white-space: normal; }
.case-table .to { color: var(--red); margin: 0 .25rem; }
.case-table .hl td { color: var(--red-deep); }
.case-table tr:last-child th, .case-table tr:last-child td { border-bottom: 0; }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-size: var(--t-lg); color: var(--red-deep); margin-bottom: .75rem; }
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--ink-2); margin: 0; }

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.founder-photo img { border-radius: 50% 50% 4px 4px / 42% 42% 4px 4px; }
.founder-copy h2 { max-width: 16ch; }
.founder-copy p { color: var(--ink-2); font-size: var(--t-lg); }
.founder-links { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1rem; }
.founder-links a { font-weight: 600; font-size: var(--t-sm); border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.founder-links a:hover { border-color: var(--red-deep); }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.review { margin: 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--red); }
.review p { font-family: var(--serif); font-size: var(--t-xl); line-height: 1.3; margin-bottom: 1.25rem; }
.review footer { display: flex; flex-direction: column; gap: .15rem; font-size: var(--t-sm); }
.review cite { font-style: normal; font-weight: 600; }
.review span { color: var(--ink-3); }

/* ---------- Pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.tier { background: var(--white); padding: 2rem; border: 1px solid var(--line); display: flex; flex-direction: column; }
.tier-featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.tier h3 { margin-bottom: .25rem; }
.tier-price { font-family: var(--serif); font-size: var(--t-2xl); margin: .25rem 0 1rem; line-height: 1; }
.tier-price small { font-family: var(--sans); font-size: var(--t-xs); color: var(--ink-3); font-weight: 500; }
.tier-lead { color: var(--ink-2); min-height: 3.2em; }
.tier ul { list-style: none; margin: 0 0 1.75rem; padding: 0; flex: 1; }
.tier li { padding: .6rem 0; border-top: 1px solid var(--line); font-size: var(--t-sm); }
.tier .btn { align-self: flex-start; }
.pricing-note { max-width: 60ch; margin-top: 2rem; color: var(--ink-2); font-size: var(--t-sm); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 6vw, 5rem); }
.faq-grid h2 { max-width: 14ch; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; font-family: var(--serif); font-size: var(--t-xl); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: .25rem; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { margin: 0 0 1.5rem; color: var(--ink-2); max-width: 64ch; }

/* ---------- CTA block ---------- */
.cta-block { background: var(--ink) center / cover no-repeat; color: var(--paper); padding: var(--section) 0; }
.cta-block-inner { display: grid; grid-template-columns: 8fr 4fr; gap: 2rem; align-items: center; }
.cta-block h2 { color: var(--paper); max-width: 16ch; }
.cta-block p { color: rgba(248,247,243,.72); max-width: 56ch; font-size: var(--t-lg); margin: 0; }
.cta-block .btn-primary { justify-self: end; }

/* ---------- Banners ---------- */
.banner { margin-top: clamp(1.5rem, 3vw, 2.5rem); border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 6; }
.banner img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--ink); color: var(--paper); font-size: var(--t-sm); text-align: center; padding: .55rem 0; }
.announce a { border-bottom: 1px solid rgba(248,247,243,.5); }
.announce a:hover { color: var(--paper); border-color: var(--paper); }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(2rem, 5vw, 4rem); background: var(--white); border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.5rem); }
.calc-field { margin-bottom: 1.4rem; }
.calc-field label { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--t-sm); font-weight: 600; margin-bottom: .5rem; }
.calc-field output { font-family: var(--serif); font-size: var(--t-lg); font-weight: 400; }
.calc-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 .9rem; }
.calc-input span { color: var(--ink-3); font-weight: 600; }
.calc-input input { border: 0; padding: .8rem .5rem; font-family: var(--serif); font-size: var(--t-xl); box-shadow: none; }
.calc-input:focus-within { border-color: var(--ink); }
input[type="range"] { width: 100%; accent-color: var(--red); height: 24px; background: transparent; }
.calc-out { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1.25rem; }
.calc-big .calc-label { display: block; font-size: var(--t-sm); color: var(--ink-2); font-weight: 600; }
.calc-big strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.75rem, 5vw, 4rem); line-height: 1; margin: .35rem 0 .25rem; }
.calc-big strong.is-neg { color: var(--red-deep); }
.calc-pct { color: var(--ink-3); font-size: var(--t-sm); }
.calc-lines { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; }
.calc-lines div { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: .5rem; font-size: var(--t-sm); }
.calc-lines dt { color: var(--ink-2); }
.calc-lines dd { margin: 0; font-weight: 600; }
.calc-delta { background: var(--sage); padding: 1rem 1.1rem; border-radius: 6px; }
.calc-delta p { margin: 0; font-size: var(--t-sm); line-height: 1.55; }
.calc-delta strong { font-family: var(--serif); font-size: var(--t-xl); font-weight: 400; }
.calc-out .btn { align-self: flex-start; }
.calc-note { font-size: var(--t-xs); color: var(--ink-3); margin: 0; }

/* ---------- Booking embed ---------- */
.booking h2 { font-size: var(--t-2xl); }
.booking-embed { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.booking-embed iframe { width: 100%; height: 720px; border: 0; display: block; }

/* ---------- Newsletter ---------- */
.foot-news { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.news-form { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.news-title { font-family: var(--serif); font-size: var(--t-xl); margin: 0 0 .25rem; }
.news-sub { font-size: var(--t-sm); color: var(--ink-2); margin: 0; max-width: 40ch; }
.news-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.news-row input { flex: 1; min-width: 220px; }
.news-row .form-status { flex-basis: 100%; margin: 0; }

/* ---------- Cookie notice ---------- */
.consent { position: fixed; left: 1rem; bottom: 1rem; z-index: 70; max-width: 420px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 20px 50px -20px rgba(22,20,15,.35); padding: 1.1rem 1.25rem; display: flex; gap: 1rem; align-items: center; }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: var(--t-xs); color: var(--ink-2); }
.consent a { border-bottom: 1px solid currentColor; }
.consent .btn { padding: .65rem 1rem; }

/* ---------- Chat widget ---------- */
.chat { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; font-family: var(--sans); }
.chat-launch { display: inline-flex; align-items: center; gap: .55rem; background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: .8rem 1.1rem .8rem .9rem; font: inherit; font-size: var(--t-sm); font-weight: 600; cursor: pointer; box-shadow: 0 20px 40px -18px rgba(22,20,15,.55); transition: transform .2s var(--ease), background .2s var(--ease); }
.chat-launch:hover { background: var(--red); transform: translateY(-1px); }
.chat-launch-icon svg { width: 22px; height: 22px; display: block; }
.chat.is-open .chat-launch { display: none; }
.chat-panel { padding: 0; position: absolute; right: 0; bottom: 0; width: min(400px, calc(100vw - 2.5rem)); height: min(640px, calc(100vh - 3rem)); height: min(640px, calc(100dvh - 3rem)); background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(22,20,15,.45); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.chat-head img { width: 32px; height: 32px; }
.chat-head > div { flex: 1; min-width: 0; }
.chat-name { margin: 0; font-weight: 700; font-size: var(--t-sm); }
.chat-status { margin: 0; font-size: var(--t-xs); color: var(--ink-3); display: flex; align-items: center; gap: .35rem; }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #2E9E5B; display: inline-block; }
.chat-close { background: none; border: 0; padding: .3rem; cursor: pointer; color: var(--ink-2); }
.chat-close svg { width: 20px; height: 20px; display: block; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.chat-msg { max-width: 86%; padding: .7rem .9rem; border-radius: 14px; font-size: var(--t-sm); line-height: 1.5; }
.chat-msg p { margin: 0 0 .5em; }
.chat-msg p:last-child { margin: 0; }
.chat-msg a { border-bottom: 1px solid currentColor; }
.chat-assistant { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 4px; color: var(--ink); }
.chat-user { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.chat-typing { display: flex; gap: 4px; padding: .8rem .9rem; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .75rem; }
.chat-suggest[hidden] { display: none; }
.chat-suggest button { font: inherit; font-size: var(--t-xs); font-weight: 500; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .8rem; cursor: pointer; color: var(--ink); text-align: left; }
.chat-suggest button:hover { border-color: var(--ink); }
.chat-form { display: flex; gap: .5rem; align-items: flex-end; padding: .75rem 1rem; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 12px; padding: .65rem .8rem; font: inherit; font-size: var(--t-sm); line-height: 1.4; max-height: 120px; }
.chat-send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; flex: 0 0 40px; }
.chat-send:disabled { opacity: .5; cursor: default; }
.chat-send svg { width: 18px; height: 18px; }
.chat-foot { display: flex; gap: 1rem; justify-content: center; padding: .55rem 1rem .7rem; font-size: var(--t-xs); color: var(--ink-3); background: var(--paper); border-top: 1px solid var(--line); }
.chat-foot a { border-bottom: 1px solid transparent; }
.chat-foot a:hover { color: var(--ink); border-color: currentColor; }
@media (prefers-reduced-motion: reduce) { .chat-typing span { animation: none; opacity: .6; } }

/* ---------- Print ---------- */
@media print {
	.site-head, .site-foot, .chat, .consent, .cta-block, .announce, .toc, .progress { display: none !important; }
	body { background: #fff; color: #000; }
	.wrap { width: 100%; }
}

/* ---------- Page hero + prose ---------- */
.page-hero { padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { font-size: var(--t-lg); color: var(--ink-2); max-width: 60ch; line-height: 1.55; }
.crumb { font-size: var(--t-sm); font-weight: 600; color: var(--ink-3); margin-bottom: 1rem; }
.crumb a:hover { color: var(--red-deep); }
.prose { max-width: 68ch; }
.prose.narrow { max-width: 68ch; margin-inline: auto; }
.prose p, .prose li { font-size: var(--t-md); line-height: 1.7; color: var(--ink); }
.prose h2 { font-size: var(--t-2xl); margin: 2.25rem 0 .75rem; }
.prose h3 { font-size: var(--t-xl); margin: 1.75rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose a { border-bottom: 1.5px solid rgba(22,20,15,.3); }
.prose a:hover { border-color: var(--red-deep); }
.prose blockquote { margin: 2rem 0; padding-left: 1.25rem; border-left: 2px solid var(--red); font-family: var(--serif); font-size: var(--t-xl); line-height: 1.35; }
.prose img { margin: 1.5rem 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); margin: 1.5rem 0; }
.prose th, .prose td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--sand); padding: .1em .35em; }

/* channel / results / about / contact grids */
.channel-grid, .results-grid, .contact-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-photo img { border-radius: 50% 50% 4px 4px / 42% 42% 4px 4px; }
.about-photo .caption { font-size: var(--t-sm); color: var(--ink-3); margin-top: .75rem; }
.channel-aside, .results-aside, .contact-aside { position: sticky; top: 96px; }
.channel-aside h2, .contact-aside h2 { font-size: var(--t-xl); }
.contact-aside h3 { font-size: var(--t-lg); margin-top: 2rem; }
.checks { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; padding: .6rem 0; border-top: 1px solid var(--line); font-size: var(--t-sm); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--red-deep); margin-top: 3px; }
.aside-note { font-size: var(--t-sm); color: var(--ink-2); margin-top: 1rem; }
.aside-note a { border-bottom: 1.5px solid currentColor; }
.principles dt { font-family: var(--serif); font-size: var(--t-xl); margin-top: 1.25rem; }
.principles dd { margin: .25rem 0 0; color: var(--ink-2); }
.contact-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.contact-list li { display: flex; align-items: center; gap: .7rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 20px; height: 20px; color: var(--ink-2); }
.contact-list a { font-weight: 600; }

/* ---------- Journal ---------- */
.journal-hero { border-bottom: 0; }
.cat-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.cat-nav a { padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--t-sm); font-weight: 500; background: var(--white); }
.cat-nav a:hover, .cat-nav a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.journal { padding-top: 0; }

.feature { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.feature h2 { font-size: var(--t-3xl); }
.feature h2 a:hover { color: var(--red-deep); }
.feature-body p { font-size: var(--t-lg); color: var(--ink-2); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.card { display: flex; flex-direction: column; }
.card-cover { display: block; margin-bottom: 1rem; }
.card-body h3 { font-size: var(--t-xl); margin: .5rem 0 .5rem; }
.card-body h3 a:hover { color: var(--red-deep); }
.card-body p { color: var(--ink-2); font-size: var(--t-sm); margin-bottom: .5rem; }
.card-body time { font-size: var(--t-xs); color: var(--ink-3); }
.card-meta { display: flex; gap: .75rem; align-items: center; font-size: var(--t-xs); color: var(--ink-3); font-weight: 500; }
.card-meta .cat { color: var(--red-deep); font-weight: 600; }
.card-meta time { color: var(--ink-3); }
.card-plain { padding: 1.25rem; border: 1px solid var(--line); background: var(--white); }

.cover { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.cover.tint-sand { background: var(--sand); }
.cover.tint-sage { background: var(--sage); }
.cover.tint-rose { background: var(--rose); }
.cover.tint-sky { background: var(--sky); }
.cover.tint-paper { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.cover.tint-ink { background: var(--ink); color: var(--paper); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-type { display: flex; flex-direction: column; justify-content: space-between; padding: 1.25rem; background-size: cover; background-position: center; }
.cover-cat { font-size: var(--t-xs); font-weight: 600; color: inherit; opacity: .8; }
.cover-title { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.1; max-width: 18ch; }
.feature-cover .cover-title { font-size: clamp(1.75rem, 3vw, 2.75rem); max-width: 16ch; }
.tint-ink .cover-cat { color: var(--paper); }

.pager { margin-top: 3rem; }
.pager .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.pager .page-numbers { padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--t-sm); font-weight: 500; }
.pager .page-numbers.current, .pager .page-numbers:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { color: var(--ink-2); }
.search-form { display: flex; gap: .5rem; max-width: 520px; margin-top: 1.5rem; }
.search-form input { flex: 1; }

/* ---------- Article ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: var(--red); transition: width .1s linear; }
.article-head { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.article-head-inner { display: grid; grid-template-columns: 220px minmax(0, 68ch); gap: clamp(2rem, 5vw, 4rem); }
.article-head-inner > * { grid-column: 2; }
.article-head h1 { font-size: clamp(2.5rem, 5.2vw, 3.75rem); margin: 1rem 0 1rem; }
.standfirst { font-size: var(--t-lg); color: var(--ink-2); line-height: 1.5; }
.byline { font-size: var(--t-sm); color: var(--ink-3); }
.article-cover { margin-top: 2rem; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-grid { display: grid; grid-template-columns: 220px minmax(0, 68ch); gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-bottom: var(--section); }
.toc { position: sticky; top: 96px; font-size: var(--t-sm); }
.toc-title { font-weight: 700; font-size: var(--t-xs); color: var(--ink-3); margin-bottom: .5rem; }
.toc-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.toc-list li { padding: .3rem 0; border-left: 1.5px solid var(--line); padding-left: .75rem; }
.toc-list li.is-active { border-color: var(--red); }
.toc-list a { color: var(--ink-2); }
.toc-list li.is-active a, .toc-list a:hover { color: var(--ink); }
.toc:not(.has-items) .toc-title:first-child, .toc:not(.has-items) .toc-list { display: none; }
.share { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.share .toc-title { flex-basis: 100%; margin-bottom: .25rem; }
.share a, .share button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; color: var(--ink-2); cursor: pointer; padding: 0; }
.share a:hover, .share button:hover { border-color: var(--ink); color: var(--ink); }
.share svg { width: 16px; height: 16px; }
.share button.is-copied { border-color: var(--red); color: var(--red-deep); }
.article-body > p:first-of-type::first-letter { font-family: var(--serif); font-size: 3.6em; line-height: .8; float: left; margin: .1em .12em 0 0; color: var(--ink); }
.tags { margin-top: 2.5rem; font-size: var(--t-sm); color: var(--ink-3); }
.tags a { margin-left: .4rem; color: var(--ink); border-bottom: 1.5px solid var(--line); }
.author-box { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; flex: 0 0 72px; object-fit: cover; }
.author-box p { margin: 0; font-size: var(--t-sm); color: var(--ink-2); }
.author-box .author-name { font-weight: 700; color: var(--ink); margin-bottom: .2rem; }
.author-box a { border-bottom: 1.5px solid currentColor; }

/* ---------- Forms ---------- */
.lead-form .field { margin-bottom: 1.25rem; }
.lead-form label, .lead-form legend { display: block; font-size: var(--t-sm); font-weight: 600; margin-bottom: .4rem; }
.lead-form fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
input[type="text"], input[type="email"], input[type="search"], select, textarea {
	width: 100%; font: inherit; color: var(--ink); background: var(--white);
	border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem .9rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(22,20,15,.08); }
textarea { resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { margin: 0; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: var(--t-sm); font-weight: 500; }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; margin: 1rem 0 0; font-size: var(--t-sm); font-weight: 600; }
.form-status.is-error { color: var(--red-deep); }
.form-status.is-ok { color: #1F6B3A; }
.form-note { font-size: var(--t-xs); color: var(--ink-3); margin-top: .5rem; }
.form-note a { border-bottom: 1px solid currentColor; }
.lead-form.is-sent .field, .lead-form.is-sent button, .lead-form.is-sent .form-note { display: none; }
.lead-form.is-sent .form-status { font-family: var(--serif); font-size: var(--t-xl); font-weight: 400; color: var(--ink); }

/* ---------- Footer ---------- */
.site-foot { background: var(--white); border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.foot-brand p { color: var(--ink-2); font-size: var(--t-sm); max-width: 32ch; margin-top: 1rem; }
.foot-small { color: var(--ink-3); font-size: var(--t-xs); }
.site-foot h3 { font-family: var(--sans); font-size: var(--t-xs); font-weight: 700; color: var(--ink-3); margin-bottom: .75rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .45rem; font-size: var(--t-sm); }
.site-foot li a:hover { color: var(--red-deep); }
.foot-legal { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--t-xs); color: var(--ink-3); }
.foot-legal p { margin: 0; max-width: 70ch; }
.foot-legal a { margin-left: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero h1 { max-width: 16ch; }
	.proof-grid { grid-template-columns: repeat(2, 1fr); }
	.proof-grid > div:nth-child(2) { border-right: 0; margin-right: 0; }
	.problem-grid, .case-grid, .faq-grid, .founder-grid, .about-grid, .channel-grid, .results-grid, .contact-grid, .feature, .cta-block-inner { grid-template-columns: 1fr; }
	.cta-block .btn-primary { justify-self: start; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.review-grid, .tiers, .card-grid { grid-template-columns: repeat(2, 1fr); }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.channel-aside, .results-aside, .contact-aside { position: static; }
	.article-grid, .article-head-inner { grid-template-columns: minmax(0, 68ch); }
	.article-head-inner > * { grid-column: 1; }
	.toc { position: static; order: -1; margin-bottom: 1rem; }
	.founder-photo, .about-photo { max-width: 360px; }
	.ledger-row { grid-template-columns: 96px 1fr auto; gap: 1.25rem; }
	.ledger-thumb { grid-row: 1 / 3; width: 96px; }
	.ledger-row h3 { grid-row: 1; grid-column: 2; }
	.ledger-go { grid-row: 1; grid-column: 3; }
	.ledger-row p { grid-row: 2; grid-column: 2 / -1; }
	.calc { grid-template-columns: 1fr; }
	.calc-out { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
	.news-form { grid-template-columns: 1fr; }
	.hero-chart { position: static; width: 100%; margin-top: 1rem; box-shadow: none; border: 1px solid var(--line); }
}
@media (max-width: 720px) {
	.nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 72px); height: calc(100dvh - 72px); background: var(--paper); border-top: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 1.5rem var(--gutter); gap: 1.5rem; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; overflow: auto; }
	.nav.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); }
	.chart .labels text { font-size: 18px; }
	.chart .line { stroke-width: 3.5; }
	.chart .dots circle { stroke-width: 3.5; }
	.menu { flex-direction: column; gap: .25rem; }
	.menu a { font-family: var(--serif); font-size: var(--t-2xl); border: 0; }
	.nav-toggle { display: inline-flex; }
	.proof-grid { grid-template-columns: 1fr; }
	.proof-grid > div { border-right: 0; margin-right: 0; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
	.proof-grid > div:last-child { border-bottom: 0; }
	.steps, .review-grid, .tiers, .card-grid { grid-template-columns: 1fr; }
	.foot-grid { grid-template-columns: 1fr; }
	.case-table tbody th { width: auto; }
	.case-table td { font-size: var(--t-lg); }
	.hero-actions .btn { width: 100%; justify-content: center; }
	.ledger-row { grid-template-columns: 1fr auto; }
	.ledger-thumb { display: none; }
	.ledger-row h3 { grid-column: 1; }
	.ledger-go { grid-column: 2; }
	.ledger-row p { grid-column: 1 / -1; }
	.calc-lines { grid-template-columns: 1fr; }
	.chat { right: .75rem; bottom: .75rem; }
	.chat-launch-text { display: none; }
	.chat-launch { padding: .85rem; }
	.consent { left: .75rem; right: .75rem; max-width: none; flex-direction: column; align-items: flex-start; }
	.banner { aspect-ratio: 16 / 9; }
	.booking-embed iframe { height: 900px; }
}
