/* Free Home Planner theme. One stylesheet, custom properties only, no framework.
   Tokens follow the app (paper, ink, deep green); the measuring tape yellow is a highlight, never a background. */

/* ---------- Fonts (self hosted, SIL OFL; see assets/fonts/*-LICENSE.txt) ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700; src: url(../fonts/instrument-sans-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00B1,U+00B4-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700; src: url(../fonts/instrument-sans-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800; src: url(../fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800; src: url(../fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
	--paper: #fcfcfa;
	--bg: #f3f4f1;
	--panel: #ffffff;
	--sheet: #fcfcfa;
	--ink: #1d232b;
	--soft: #5f6874;
	--line: #dfe2dc;
	--line-strong: #c9cdc5;
	--hover: #eef1ec;
	--accent: #1f6f5c;
	--accent-hover: #185a4a;
	--accent-ink: #ffffff;
	--accent-soft: #e2efe9;
	--accent-text: #1a5e4e;
	--tape: #e8a92b;
	--tape-soft: #fbf0d8;
	--tape-text: #6d4c00;
	--gridline: #e9ece6;
	--wall-f: #d9ddd5;
	--wall-s: #c3c9bf;
	--band: #1d232b;
	--band-ink: #e6eaee;
	--band-soft: #aab3bd;
	--band-line: #343c46;
	--shadow: 0 1px 2px rgba(29, 35, 43, .05), 0 8px 24px -12px rgba(29, 35, 43, .18);
	--shadow-lg: 0 2px 4px rgba(29, 35, 43, .04), 0 24px 48px -20px rgba(29, 35, 43, .28);

	--font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Instrument Sans", "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

	--wrap: 1200px;
	--wrap-text: 720px;
	--gutter: 16px;
	--r-sm: 8px;
	--r: 12px;
	--r-lg: 18px;
	--section: clamp(64px, 9vw, 120px);
	--header-h: 64px;
	color-scheme: light;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --header-h: 72px; } }

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--paper: #14181d; --bg: #101317; --panel: #1b2027; --sheet: #1b2027; --ink: #e6eaee; --soft: #9aa5b1;
		--line: #2c333c; --line-strong: #3a434e; --hover: #242a32; --accent: #5cc0a2; --accent-hover: #74cfb3;
		--accent-ink: #0c1512; --accent-soft: #1d3530; --accent-text: #6fd0b2; --tape-soft: #3a2f17; --tape-text: #f1c56b;
		--gridline: #222830; --wall-f: #2a313a; --wall-s: #353e49; --band: #0c0f12; --band-line: #262d35;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
		--shadow-lg: 0 24px 48px -20px rgba(0, 0, 0, .7);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--paper: #14181d; --bg: #101317; --panel: #1b2027; --sheet: #1b2027; --ink: #e6eaee; --soft: #9aa5b1;
	--line: #2c333c; --line-strong: #3a434e; --hover: #242a32; --accent: #5cc0a2; --accent-hover: #74cfb3;
	--accent-ink: #0c1512; --accent-soft: #1d3530; --accent-text: #6fd0b2; --tape-soft: #3a2f17; --tape-text: #f1c56b;
	--gridline: #222830; --wall-f: #2a313a; --wall-s: #353e49; --band: #0c0f12; --band-line: #262d35;
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
	--shadow-lg: 0 24px 48px -20px rgba(0, 0, 0, .7);
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font: 400 1.0625rem/1.65 var(--font-body);
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.4rem); letter-spacing: -.03em; line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 1.35rem + 1.9vw, 2.85rem); letter-spacing: -.025em; line-height: 1.06; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
small { font-size: .875rem; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.fhp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.screen-reader-text, .fhp-sr { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.fhp-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.fhp-skip:focus { top: 12px; }
.fhp-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.fhp-wrap--text { max-width: calc(var(--wrap-text) + var(--gutter) * 2); }
.fhp-num, .fhp-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.fhp-i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons and chips ---------- */
.fhp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px; border-radius: var(--r); border: 1px solid transparent;
	font: 600 1rem/1.2 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
	background: var(--accent); color: var(--accent-ink);
	transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 6px 16px -8px rgba(31, 111, 92, .6);
}
.fhp-btn:hover { background: var(--accent-hover); text-decoration: none; transform: translateY(-1px); }
.fhp-btn:active { transform: none; }
.fhp-btn .fhp-i { width: 18px; height: 18px; transition: transform .15s ease; }
.fhp-btn:hover .fhp-i { transform: translateX(2px); }
.fhp-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.fhp-btn--ghost:hover { background: var(--hover); border-color: var(--soft); }
.fhp-btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; border-radius: 14px; }
.fhp-btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; border-radius: 10px; }
.fhp-btn--block { width: 100%; }
.fhp-btn[aria-disabled="true"] { background: var(--hover); color: var(--soft); border-color: var(--line); box-shadow: none; cursor: default; transform: none; }
.fhp-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fhp-note { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--soft); font-size: .9375rem; }
.fhp-note li { display: inline-flex; align-items: center; gap: 7px; }
.fhp-note .fhp-i { width: 16px; height: 16px; color: var(--accent); stroke-width: 2.2; }
.fhp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font: 600 .75rem/1.6 var(--font-mono); letter-spacing: .02em; white-space: nowrap; }
.fhp-chip--live { background: var(--accent-soft); color: var(--accent-text); }
.fhp-chip--soon { background: var(--tape-soft); color: var(--tape-text); box-shadow: inset 0 -2px 0 var(--tape); }
.fhp-chip--example { background: var(--tape-soft); color: var(--tape-text); }

/* Section label: a dimension line with two ticks, a number and a name. */
.fhp-label { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--soft); font: 500 .8125rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.fhp-label svg { width: 34px; height: 12px; color: var(--accent); flex: none; }
.fhp-label b { color: var(--accent-text); font-weight: 600; }

/* ---------- Header ---------- */
.fhp-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.fhp-header.is-stuck, .fhp-header.is-open { border-bottom-color: var(--line); }
.admin-bar .fhp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fhp-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .fhp-header { top: 0; } }
.fhp-header__in { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.fhp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.125rem/1 var(--font-display); letter-spacing: -.02em; white-space: nowrap; margin-right: auto; min-height: 44px; }
.fhp-brand:hover { text-decoration: none; }
.fhp-brand img, .fhp-brand svg { width: 34px; height: 34px; border-radius: 8px; }
.fhp-nav { display: none; }
.fhp-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.fhp-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 12px; border-radius: 8px; color: var(--soft); text-decoration: none; font-weight: 500; font-size: .96875rem; }
.fhp-nav a:hover, .fhp-nav .current-menu-item > a, .fhp-nav .current_page_item > a, .fhp-nav .current-menu-ancestor > a { color: var(--ink); background: var(--hover); }
.fhp-header__end { display: flex; align-items: center; gap: 8px; }
.fhp-signin { display: none; align-items: center; min-height: 40px; padding: 8px 10px; color: var(--soft); font-weight: 500; font-size: .96875rem; text-decoration: none; border-radius: 8px; }
.fhp-signin:hover { color: var(--ink); background: var(--hover); text-decoration: none; }
.fhp-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
.fhp-iconbtn:hover { background: var(--hover); }
.fhp-iconbtn .fhp-i { width: 20px; height: 20px; }
.fhp-mode .fhp-i--moon, :root[data-theme="dark"] .fhp-mode .fhp-i--sun { display: none; }
:root[data-theme="dark"] .fhp-mode .fhp-i--moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fhp-mode .fhp-i--sun { display: none; } :root:not([data-theme="light"]) .fhp-mode .fhp-i--moon { display: block; } }
.fhp-menu-btn[aria-expanded="true"] .fhp-i--menu, .fhp-menu-btn[aria-expanded="false"] .fhp-i--close { display: none; }
.fhp-panel { display: none; border-top: 1px solid var(--line); background: var(--paper); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.fhp-panel.is-open { display: block; }
.fhp-panel ul { list-style: none; margin: 0; padding: 8px 0; }
.fhp-panel li a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 1.125rem/1.2 var(--font-display); }
.fhp-panel .sub-menu { padding: 0 0 0 14px; }
.fhp-panel .sub-menu a { font: 500 1rem/1.2 var(--font-body); min-height: 46px; color: var(--soft); }
.fhp-panel__foot { display: grid; gap: 10px; padding: 16px 0 24px; }
@media (min-width: 1024px) {
	.fhp-nav { display: block; margin-right: auto; }
	.fhp-brand { margin-right: 20px; }
	.fhp-signin { display: inline-flex; }
	.fhp-menu-btn, .fhp-panel, .fhp-panel.is-open { display: none; }
}
.fhp-nav .sub-menu { display: none; }

/* ---------- Sections ---------- */
.fhp-section { padding-block: var(--section); position: relative; }
.fhp-section--alt { background: var(--bg); }
.fhp-section--tight { padding-block: calc(var(--section) * .6); }
.fhp-section + .fhp-section:not(.fhp-section--alt):not(.fhp-band) { border-top: 1px solid var(--line); }
.fhp-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.fhp-head--center { margin-inline: auto; text-align: center; }
.fhp-head p { color: var(--soft); font-size: 1.125rem; max-width: 62ch; }
.fhp-head--center p { margin-inline: auto; }
.fhp-lead { font-size: clamp(1.125rem, 1.02rem + .45vw, 1.3125rem); line-height: 1.55; color: var(--soft); max-width: 58ch; }

/* ---------- Hero ---------- */
.fhp-hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); overflow: hidden; }
.fhp-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--gridline) 1px, transparent 1px), linear-gradient(90deg, var(--gridline) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%); pointer-events: none; }
.fhp-hero__grid { position: relative; display: grid; gap: clamp(36px, 5vw, 56px); align-items: center; }
.fhp-hero h1 { margin-bottom: 20px; }
.fhp-hero h1 em { font-style: normal; color: var(--accent-text); position: relative; white-space: nowrap; }
.fhp-hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: .09em; background: var(--tape); border-radius: 2px; transform-origin: left; animation: fhp-tape 1s .9s cubic-bezier(.2, .7, .2, 1) both; }
.fhp-hero .fhp-lead { margin-bottom: 28px; }
.fhp-hero__art { position: relative; }
.fhp-hero__art .fhp-art { width: 100%; display: block; filter: drop-shadow(0 30px 40px rgba(29, 35, 43, .12)); }
@media (min-width: 960px) { .fhp-hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.fhp-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--soft); font-size: .875rem; font-weight: 500; }
.fhp-kicker b { padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font: 600 .75rem/1.5 var(--font-mono); }

/* Page hero (inner pages) */
.fhp-pagehead { padding-block: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); position: relative; }
.fhp-pagehead h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); max-width: 22ch; }
.fhp-pagehead .fhp-lead { margin-bottom: 0; }
.fhp-pagehead .fhp-actions { margin-top: 28px; }
.fhp-pagehead--split .fhp-wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .fhp-pagehead--split .fhp-wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.fhp-pagehead__art { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--sheet); box-shadow: var(--shadow); }
.fhp-pagehead__art .fhp-art { display: block; width: 100%; }

/* Breadcrumbs */
.fhp-crumbs { margin: 0 0 18px; }
.fhp-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; font: 500 .8125rem/1.5 var(--font-mono); color: var(--soft); }
.fhp-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.fhp-crumbs a { color: var(--soft); text-decoration: none; }
.fhp-crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Grids and cards ---------- */
.fhp-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .fhp-grid--2, .fhp-grid--3, .fhp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .fhp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fhp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fhp-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.fhp-card h3 { margin-bottom: 8px; }
.fhp-card p { color: var(--soft); margin: 0; }
.fhp-card--link { transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease; }
.fhp-card--link:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.fhp-card--link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.fhp-card--link a { color: inherit; text-decoration: none; }
.fhp-card--link a:focus-visible { outline: none; }
.fhp-card--link:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.fhp-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
.fhp-ico .fhp-i { width: 22px; height: 22px; }

/* Features: flat list with ruled cells */
.fhp-features { display: grid; border-top: 1px solid var(--line); }
.fhp-feature { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 4px 18px; align-items: start; }
.fhp-feature .fhp-ico { margin: 0; grid-row: span 2; }
.fhp-feature h3 { margin: 2px 0 4px; font-size: 1.0625rem; }
.fhp-feature p { margin: 0; color: var(--soft); font-size: .96875rem; line-height: 1.55; }
@media (min-width: 720px) { .fhp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
@media (min-width: 1080px) { .fhp-features { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; } }

/* How it works */
.fhp-steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 900px) { .fhp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.fhp-step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.fhp-step__art { border-bottom: 1px solid var(--line); background: var(--sheet); }
.fhp-step__art .fhp-art { display: block; width: 100%; }
.fhp-step__body { padding: 22px 24px 26px; }
.fhp-step__n { display: block; margin-bottom: 10px; font: 600 .8125rem/1 var(--font-mono); color: var(--accent-text); letter-spacing: .06em; }
.fhp-step h3 { margin-bottom: 6px; }
.fhp-step p { margin: 0; color: var(--soft); }

/* Split section: text and a drawing */
.fhp-split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .fhp-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .fhp-split--rev > :first-child { order: 2; } }
.fhp-split__art { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(12px, 2vw, 24px); box-shadow: var(--shadow); }
.fhp-split__art .fhp-art { display: block; width: 100%; }
.fhp-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.fhp-ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.fhp-ticks .fhp-i { width: 20px; height: 20px; margin-top: 3px; color: var(--accent); stroke-width: 2.2; }

/* Languages */
.fhp-langs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fhp-langs li { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-weight: 500; white-space: nowrap; }

/* Planner cards */
.fhp-pcard { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.fhp-pcard__art { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--sheet); }
.fhp-pcard__art .fhp-art, .fhp-pcard__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fhp-pcard__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fhp-pcard h3 { margin: 0; font-size: 1.125rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fhp-pcard h3 .fhp-i { color: var(--accent); width: 18px; height: 18px; transition: transform .15s ease; }
.fhp-pcard:hover h3 .fhp-i { transform: translateX(3px); }
.fhp-pcard p { font-size: .9375rem; line-height: 1.5; }

/* Pricing */
.fhp-plans { display: grid; gap: 16px; }
@media (min-width: 680px) { .fhp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .fhp-plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fhp-plan { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); }
.fhp-plan--live { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.fhp-plan__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fhp-plan h3 { margin: 0; font-size: 1.375rem; }
.fhp-plan__price { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 0; }
.fhp-plan__price b { font: 700 2.5rem/1 var(--font-display); letter-spacing: -.03em; }
.fhp-plan__price span { color: var(--soft); font-size: .9375rem; }
.fhp-plan__alt { margin: 0; color: var(--soft); font: 500 .8125rem/1.4 var(--font-mono); min-height: 1.4em; }
.fhp-plan__for { margin: 0; color: var(--soft); font-size: .96875rem; line-height: 1.5; }
.fhp-plan ul { list-style: none; margin: 4px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--line-strong); display: grid; gap: 10px; flex: 1; }
.fhp-plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .9375rem; line-height: 1.45; }
.fhp-plan li .fhp-i { width: 18px; height: 18px; margin-top: 1px; color: var(--accent); stroke-width: 2.2; }
.fhp-plan li.is-soon { color: var(--soft); }
.fhp-plan li.is-soon .fhp-i { color: var(--line-strong); }
.fhp-plan .fhp-btn { margin-top: 8px; }
.fhp-plan__foot { margin: 0; font-size: .8125rem; color: var(--soft); text-align: center; }
.fhp-pricing-notes { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 860px) { .fhp-pricing-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Tables */
.fhp-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); -webkit-overflow-scrolling: touch; }
.fhp-table { width: 100%; border-collapse: collapse; font-size: .96875rem; }
.fhp-table caption { text-align: left; padding: 14px 18px 0; color: var(--soft); font-size: .875rem; }
.fhp-table th, .fhp-table td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.fhp-table thead th { font: 600 .75rem/1.4 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--soft); background: var(--bg); white-space: nowrap; }
.fhp-table tbody tr:last-child > * { border-bottom: 0; }
.fhp-table tbody th { font-weight: 600; }
.fhp-table .fhp-num { white-space: nowrap; }
.fhp-table td.is-us { background: color-mix(in srgb, var(--accent-soft) 45%, transparent); }
/* Tables with three or more columns: full table from 640 px, one card per row below it (no column hidden behind a scroll). */
@media (min-width: 640px) { .fhp-tablewrap .fhp-table--stack { min-width: 520px; } }
@media (max-width: 639px) {
	.fhp-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.fhp-table--stack, .fhp-table--stack tbody, .fhp-table--stack tr, .fhp-table--stack th, .fhp-table--stack td { display: block; }
	.fhp-table--stack tbody tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
	.fhp-table--stack tbody tr:last-child { border-bottom: 0; }
	.fhp-table--stack tbody th, .fhp-table--stack tbody td { padding: 0; border: 0; }
	.fhp-table--stack tbody th { margin-bottom: 6px; }
	.fhp-table--stack tbody td { display: grid; grid-template-columns: minmax(0, 7rem) minmax(0, 1fr); gap: 12px; padding: 3px 0; white-space: normal; }
	.fhp-table--stack tbody td:empty { display: none; }
	.fhp-table--stack tbody td.fhp-num { white-space: normal; }
	.fhp-table--stack tbody td::before { content: attr(data-label); color: var(--soft); font: 600 .6875rem/1.9 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; overflow-wrap: anywhere; }
	.fhp-table--stack tbody td.is-us { margin: 2px -8px; padding: 4px 8px; border-radius: 8px; }
}

/* FAQ */
.fhp-faq { border-top: 1px solid var(--line); max-width: 860px; }
.fhp-faq--center { margin-inline: auto; }
.fhp-faq details { border-bottom: 1px solid var(--line); }
.fhp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none; font: 600 1.125rem/1.35 var(--font-display); letter-spacing: -.01em; }
.fhp-faq summary::-webkit-details-marker { display: none; }
.fhp-faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.7px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.7px 12px no-repeat; transition: transform .2s ease, background-color .2s ease; }
.fhp-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); }
.fhp-faq summary:hover { color: var(--accent-text); }
.fhp-faq .fhp-faq__a { padding: 0 52px 22px 0; color: var(--soft); max-width: 68ch; }
.fhp-faq .fhp-faq__a p:last-child { margin: 0; }

/* Band (final CTA): ink sheet with a grid */
.fhp-band { background: var(--band); color: var(--band-ink); padding-block: clamp(64px, 9vw, 112px); position: relative; overflow: hidden; }
.fhp-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--band-line) 1px, transparent 1px), linear-gradient(90deg, var(--band-line) 1px, transparent 1px); background-size: 26px 26px; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); }
.fhp-band .fhp-wrap { position: relative; text-align: center; }
.fhp-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.fhp-band p { color: var(--band-soft); max-width: 52ch; margin: 0 auto 30px; font-size: 1.125rem; }
.fhp-band .fhp-actions { justify-content: center; }
.fhp-band .fhp-btn { background: #5cc0a2; color: #0c1512; box-shadow: none; }
.fhp-band .fhp-btn:hover { background: #74cfb3; }
.fhp-band .fhp-btn--ghost { background: transparent; color: #e6eaee; border-color: #3a434e; }
.fhp-band .fhp-btn--ghost:hover { background: #1b2027; }
.fhp-band .fhp-note { justify-content: center; color: var(--band-soft); }
.fhp-band .fhp-note .fhp-i { color: #5cc0a2; }
.fhp-band__dim { display: block; width: min(420px, 80%); height: 22px; margin: 0 auto 26px; color: var(--tape); }

/* ---------- Prose (posts, pages) ---------- */
.fhp-prose { font-size: 1.0625rem; line-height: 1.75; }
.fhp-prose > * { max-width: var(--wrap-text); margin-inline: auto; }
.fhp-prose > .alignwide { max-width: 1040px; }
.fhp-prose > .alignfull { max-width: none; }
.fhp-prose h2 { font-size: clamp(1.55rem, 1.3rem + 1vw, 2rem); margin-top: 2.2em; }
.fhp-prose h3 { font-size: 1.3rem; margin-top: 1.8em; }
.fhp-prose ul, .fhp-prose ol { padding-left: 1.3em; }
.fhp-prose li { margin-bottom: .4em; }
.fhp-prose li::marker { color: var(--accent); }
.fhp-prose blockquote { margin: 2em auto; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font: 500 1.25rem/1.5 var(--font-display); }
.fhp-prose code { font: .9em var(--font-mono); padding: .1em .35em; background: var(--hover); border-radius: 4px; }
.fhp-prose img { border-radius: var(--r); }
.fhp-prose figure { margin: 2em auto; }
.fhp-prose figcaption { margin-top: 10px; color: var(--soft); font-size: .875rem; text-align: center; }
.fhp-prose table { width: 100%; border-collapse: collapse; font-size: .96875rem; }
.fhp-prose th, .fhp-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.fhp-prose hr { border: 0; height: 1px; background: var(--line); margin: 3em auto; }
.fhp-prose a { color: var(--accent-text); }
.fhp-prose .wp-block-table { overflow-x: auto; }
.fhp-article { padding-block: clamp(36px, 5vw, 64px) var(--section); }
.fhp-article__head { max-width: var(--wrap-text); margin: 0 auto 32px; }
.fhp-article__head h1 { font-size: clamp(2rem, 1.45rem + 2.4vw, 3.2rem); }
.fhp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--soft); font: 500 .8125rem/1.5 var(--font-mono); }
.fhp-meta a { color: var(--soft); }
.fhp-article__img { max-width: 1040px; margin: 0 auto 40px; }
.fhp-article__img img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); }
.fhp-byline { display: flex; gap: 16px; align-items: center; max-width: var(--wrap-text); margin: 56px auto 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.fhp-byline img { width: 56px; height: 56px; border-radius: 50%; }
.fhp-byline p { margin: 0; color: var(--soft); font-size: .9375rem; }
.fhp-byline strong { display: block; color: var(--ink); }
.fhp-cta-box { max-width: var(--wrap-text); margin: 48px auto 0; padding: 26px; border-radius: var(--r-lg); background: var(--accent-soft); display: grid; gap: 16px; align-items: center; }
.fhp-cta-box h2 { font-size: 1.375rem; margin: 0 0 4px; }
.fhp-cta-box p { margin: 0; color: var(--soft); }
@media (min-width: 720px) { .fhp-cta-box { grid-template-columns: 1fr auto; } }

/* Blog list */
.fhp-posts { display: grid; gap: 28px 24px; }
@media (min-width: 680px) { .fhp-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .fhp-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fhp-post { position: relative; display: flex; flex-direction: column; gap: 10px; }
.fhp-post__img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); }
.fhp-post__img img, .fhp-post__img .fhp-art { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fhp-post:hover .fhp-post__img img { transform: scale(1.02); }
.fhp-post h2, .fhp-post h3 { margin: 4px 0 0; font-size: 1.25rem; line-height: 1.25; }
.fhp-post h2 a, .fhp-post h3 a { color: var(--ink); text-decoration: none; }
.fhp-post h2 a::after, .fhp-post h3 a::after { content: ""; position: absolute; inset: 0; }
.fhp-post:hover h2 a, .fhp-post:hover h3 a { color: var(--accent-text); }
.fhp-post p { margin: 0; color: var(--soft); font-size: .96875rem; line-height: 1.55; }
.fhp-post:focus-within { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: var(--r-lg); }
.fhp-post a:focus-visible { outline: none; }
.fhp-cat { font: 600 .75rem/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.fhp-pager { margin-top: 48px; }
.fhp-pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.fhp-pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; font: 500 .9375rem var(--font-mono); }
.fhp-pager .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fhp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; padding: 0; list-style: none; }
.fhp-tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.fhp-tabs a:hover { color: var(--ink); border-color: var(--line-strong); }
.fhp-tabs a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Planner page */
.fhp-tips { display: grid; gap: 16px; counter-reset: tip; }
@media (min-width: 720px) { .fhp-tips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fhp-tip { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); counter-increment: tip; }
.fhp-tip::before { content: counter(tip, decimal-leading-zero); display: block; margin-bottom: 10px; font: 600 .8125rem/1 var(--font-mono); color: var(--accent-text); }
.fhp-tip h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.fhp-tip p { margin: 0; color: var(--soft); }
.fhp-starter { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding: 18px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r); background: var(--panel); margin-top: 22px; max-width: 560px; }
.fhp-starter span { color: var(--soft); font-size: .9375rem; }
.fhp-starter b { color: var(--ink); }

/* Comparison */
.fhp-cmp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; color: var(--soft); font-size: .9375rem; }
.fhp-disclaim { margin-top: 14px; color: var(--soft); font-size: .875rem; }

/* Forms */
.fhp-form { display: grid; gap: 18px; max-width: 640px; }
.fhp-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9375rem; }
.fhp-field input, .fhp-field textarea, .fhp-search input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel); color: var(--ink); font: inherit; }
.fhp-field textarea { min-height: 160px; resize: vertical; }
.fhp-field input:focus, .fhp-field textarea:focus, .fhp-search input:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); outline-offset: 0; }
.fhp-field small { display: block; margin-top: 6px; color: var(--soft); }
.fhp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fhp-alert { padding: 14px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); margin-bottom: 20px; }
.fhp-alert--ok { border-color: var(--accent); background: var(--accent-soft); }
.fhp-alert--err { border-color: #b3261e; background: color-mix(in srgb, #b3261e 8%, var(--panel)); }
.fhp-search { display: flex; gap: 8px; max-width: 560px; }
.fhp-search input { flex: 1; min-width: 0; }
.fhp-contact { display: grid; gap: 32px; }
@media (min-width: 960px) { .fhp-contact { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; } }
.fhp-contact aside .fhp-card { position: sticky; top: calc(var(--header-h) + 24px); }

/* 404 and empty states */
.fhp-empty { text-align: center; padding-block: var(--section); }
.fhp-empty .fhp-art { width: min(340px, 90%); margin: 0 auto 24px; }
.fhp-empty .fhp-actions, .fhp-empty .fhp-search { justify-content: center; margin-inline: auto; }

/* ---------- Footer ---------- */
.fhp-footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: .9375rem; }
.fhp-footer__grid { display: grid; gap: 36px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fhp-footer__brand { grid-column: 1 / -1; max-width: 340px; }
.fhp-footer__brand p { color: var(--soft); margin: 14px 0 18px; }
@media (min-width: 900px) { .fhp-footer__grid { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); } .fhp-footer__brand { grid-column: auto; } }
.fhp-footer h2 { margin: 0 0 14px; font: 600 .75rem/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.fhp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fhp-footer li a { display: inline-flex; min-height: 32px; align-items: center; color: var(--ink); text-decoration: none; }
.fhp-footer li a:hover { color: var(--accent-text); text-decoration: underline; }
.fhp-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--soft); font-size: .875rem; }
.fhp-footer__base svg.fhp-scalebar { width: 132px; height: 22px; color: var(--ink); }
.fhp-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

/* Demo note */
.fhp-demo-note { background: var(--tape-soft); color: var(--tape-text); border-bottom: 1px solid var(--tape); font-size: .875rem; }
.fhp-demo-note p { margin: 0; padding: 8px 0; }

/* ---------- Drawings (inline SVG; colours from the tokens) ---------- */
.fhp-art text { font-family: var(--font-body); }
.fhp-sheet, .fhp-card-bg { fill: var(--sheet); }
.fhp-gridfill { fill: url(#fhp-gridpat); }
.fhp-gridline { fill: none; stroke: var(--gridline); stroke-width: 1; }
.fhp-poche-bg { fill: var(--sheet); }
.fhp-poche-l { stroke: var(--ink); stroke-width: 1.05; }
.fhp-wall { fill: url(#fhp-poche); stroke: var(--ink); stroke-width: 1.4; }
.fhp-gap { fill: var(--sheet); stroke: none; }
.fhp-win { fill: none; stroke: var(--ink); stroke-width: 1.1; }
.fhp-leaf { stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.fhp-swing { fill: none; stroke: var(--soft); stroke-width: 1; stroke-dasharray: 3 3; }
.fhp-furn { fill: var(--sheet); stroke: var(--soft); stroke-width: 1.1; }
.fhp-furn-l { stroke: var(--soft); stroke-width: 1; }
.fhp-rug { fill: var(--accent-soft); }
.fhp-room { font-size: 13px; font-weight: 600; fill: var(--ink); }
.fhp-area { font: 500 12px var(--font-mono); fill: var(--soft); }
.fhp-dim-l { stroke: var(--accent); stroke-width: 1.2; }
.fhp-dim-w { stroke: var(--soft); stroke-width: .8; }
.fhp-dim-t { stroke: var(--accent); stroke-width: 1.8; }
.fhp-dim-x { font: 500 12px var(--font-mono); fill: var(--ink); }
.fhp-dim-bg { fill: var(--sheet); }
.fhp-tape-l { stroke: var(--tape); stroke-width: 3; stroke-linecap: round; }
.fhp-tape-t { stroke: var(--tape); stroke-width: 2.5; }
.fhp-tape-w { stroke: var(--tape); stroke-width: 1; }
.fhp-tape-x { font: 700 12px var(--font-mono); fill: var(--ink); }
.fhp-tape .fhp-dim-bg { fill: var(--tape-soft); }
.fhp-north-c { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.1; }
.fhp-north-p { fill: var(--ink); }
.fhp-north-t { font: 600 10px var(--font-mono); fill: var(--ink); }
.fhp-iso-floor { fill: var(--accent-soft); stroke: var(--line-strong); stroke-width: 1; }
.fhp-iso-board { stroke: color-mix(in srgb, var(--accent) 18%, transparent); stroke-width: 1; }
.fhp-iso-wall-t { fill: url(#fhp-poche-s); stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.fhp-iso-wall-f { fill: var(--wall-f); stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.fhp-iso-wall-s { fill: var(--wall-s); stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.fhp-iso-furn-t { fill: var(--panel); stroke: var(--soft); stroke-width: 1; }
.fhp-iso-furn-f { fill: var(--hover); stroke: var(--soft); stroke-width: 1; }
.fhp-iso-furn-s { fill: var(--line); stroke: var(--soft); stroke-width: 1; }
.fhp-iso-person line { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.fhp-iso-person circle { fill: var(--accent); }
.fhp-paper { fill: var(--panel); stroke: var(--line-strong); stroke-width: 1; }
.fhp-frame { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.fhp-tb rect, .fhp-tb line { fill: none; stroke: var(--ink); stroke-width: 1; }
.fhp-tb-k { font: 600 8px var(--font-mono); fill: var(--soft); letter-spacing: .06em; }
.fhp-tb-v { font: 600 10.5px var(--font-body); fill: var(--ink); }
.fhp-sb-a { fill: var(--ink); }
.fhp-sb-b { fill: var(--panel); stroke: var(--ink); stroke-width: 1; }
.fhp-sb-t { font: 500 9px var(--font-mono); fill: var(--ink); }
.fhp-rubber { stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 7 5; stroke-linecap: round; }
.fhp-snap { fill: var(--sheet); stroke: var(--accent); stroke-width: 2; }
.fhp-input { fill: var(--panel); stroke: var(--accent); stroke-width: 1.5; }
.fhp-input-t { font: 600 13px var(--font-mono); fill: var(--ink); }
.fhp-cursor path { fill: var(--ink); stroke: var(--sheet); stroke-width: 1.4; }
.fhp-file { fill: var(--panel); stroke: var(--ink); stroke-width: 1.3; }
.fhp-file-2 { fill: var(--accent-soft); stroke: var(--accent); }
.fhp-file-t { font: 700 12px var(--font-mono); fill: var(--ink); }
.fhp-dash { stroke: var(--soft); stroke-width: 1.5; stroke-dasharray: 5 5; }

/* Hero drawing: drawn in, once. */
.fhp-hero-plan .fhp-a-walls { animation: fhp-in .7s .1s ease-out both; }
.fhp-hero-plan .fhp-a-doors { animation: fhp-in .5s .6s ease-out both; }
.fhp-hero-plan .fhp-a-furn { animation: fhp-in .7s .85s ease-out both; }
.fhp-hero-plan .fhp-a-labels { animation: fhp-in .6s 1.2s ease-out both; }
.fhp-hero-plan .fhp-dim, .fhp-hero-plan .fhp-tape, .fhp-hero-plan .fhp-a-north { animation: fhp-in .5s calc(1.2s + var(--d, 0) * .25s) ease-out both; }
.fhp-hero-plan .fhp-tape-l { transform-box: fill-box; transform-origin: 0 50%; animation: fhp-grow 1s 1.9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes fhp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fhp-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fhp-tape { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Print: the content, no chrome */
@media print {
	.fhp-header, .fhp-footer, .fhp-band, .fhp-skip { display: none !important; }
	body { background: #fff; color: #000; }
}

/* ---------- Layout refinements ---------- */
.fhp-steps, .fhp-features, .fhp-tips, .fhp-plans { margin: 0; padding: 0; list-style: none; }
.fhp-desk { display: none !important; }
@media (min-width: 1024px) { .fhp-desk { display: inline-grid !important; } }
.fhp-plan .fhp-btn { margin-top: auto; }
.fhp-plan .fhp-plan__for { flex: 0 0 auto; }
@media (max-width: 559px) {
	.fhp-header__in { gap: 10px; }
	.fhp-brand { font-size: 1rem; gap: 8px; }
	.fhp-brand img { width: 30px; height: 30px; }
	.fhp-header__end { gap: 6px; }
	.fhp-header .fhp-btn--sm { padding: 8px 14px; }
	.fhp-hero .fhp-actions .fhp-btn, .fhp-pagehead .fhp-actions .fhp-btn, .fhp-band .fhp-actions .fhp-btn { flex: 1 1 100%; }
}
@media (min-width: 560px) { .fhp-header .fhp-cta-short { display: none; } .fhp-header .fhp-cta-full { display: inline; } }
@media (max-width: 559px) { .fhp-header .fhp-cta-full { display: none; } .fhp-header .fhp-cta-short { display: inline; } }
@media (min-width: 960px) {
	.fhp-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
	.fhp-wrap:has(> .fhp-faq) { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
	.fhp-wrap:has(> .fhp-faq) > .fhp-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
}
.fhp-hero h1 { font-size: clamp(2.35rem, 1.45rem + 3.3vw, 4.1rem); }
.fhp-panel .fhp-mode { gap: 10px; }
.fhp-article__head .fhp-cat { display: inline-flex; align-items: center; min-height: 28px; text-decoration: none; }
.fhp-article__head .fhp-cat:hover { text-decoration: underline; }
.fhp-pcard h2 { margin: 0; font-size: 1.125rem; line-height: 1.3; letter-spacing: -.01em; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fhp-pcard h2 .fhp-i { color: var(--accent); width: 18px; height: 18px; transition: transform .15s ease; flex: none; }
.fhp-pcard:hover h2 .fhp-i { transform: translateX(3px); }
.fhp-section .fhp-prose > *, .fhp-contact .fhp-prose > * { margin-left: 0; }
.fhp-prose > :first-child { margin-top: 0; }
.fhp-plan ul { align-content: start; }
.fhp-empty h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.fhp-article__head .fhp-cat { text-decoration: none; }
.fhp-starter { flex-wrap: nowrap; align-items: flex-start; }
.fhp-starter .fhp-i { flex: none; margin-top: 2px; color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fhp-article__img img, :root:not([data-theme="light"]) .fhp-post__img img, :root:not([data-theme="light"]) .fhp-pcard__art img { filter: brightness(.86) contrast(1.04); } }
:root[data-theme="dark"] .fhp-article__img img, :root[data-theme="dark"] .fhp-post__img img, :root[data-theme="dark"] .fhp-pcard__art img { filter: brightness(.86) contrast(1.04); }
.fhp-split > *, .fhp-hero__grid > *, .fhp-contact > *, .fhp-pagehead--split .fhp-wrap > * { min-width: 0; }
@media (max-width: 639px) {
	.fhp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.fhp-grid--4 .fhp-pcard__body { padding: 12px 12px 14px; }
	.fhp-grid--4 .fhp-pcard h3, .fhp-grid--4 .fhp-pcard h2 { font-size: .96875rem; }
	.fhp-grid--4 .fhp-pcard p { display: none; }
	.fhp-grid--4 .fhp-pcard .fhp-chip { padding: 2px 8px; letter-spacing: 0; }
}
.fhp-narrow { max-width: 560px; }

/* ---------- 1.1.0: landing page ---------- */
.fhp-textlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--accent-text); font-weight: 600; text-decoration: none; }
.fhp-textlink:hover { text-decoration: underline; }
.fhp-textlink .fhp-i { width: 18px; height: 18px; transition: transform .15s ease; }
.fhp-textlink:hover .fhp-i { transform: translateX(3px); }
.fhp-hero .fhp-textlink:hover .fhp-i { transform: translateY(2px); }
.fhp-more { margin: 24px 0 0; }

/* Hero: the live plan moment. One sequence of about four seconds, transform and opacity only. */
.fhp-live { position: relative; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); box-shadow: var(--shadow-lg); overflow: hidden; }
.fhp-live__bar { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--bg); }
.fhp-live__dots { display: inline-flex; gap: 6px; flex: none; }
.fhp-live__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.fhp-live__tools { display: inline-flex; gap: 2px; margin-inline: auto; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.fhp-live__tool { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 7px; color: var(--ink); font: 600 .8125rem/1 var(--font-body); white-space: nowrap; }
.fhp-live__tool .fhp-i { width: 15px; height: 15px; color: var(--accent); }
.fhp-live__tool::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--accent-soft); opacity: 0; }
.fhp-live__tool.is-wall::before { opacity: 1; animation: fhp-fade-out .3s 3.4s ease both; }
.fhp-live__tool.is-3d::before { animation: fhp-fade-in .3s 3.4s ease both; }
.fhp-live__pick { display: none; }
.fhp-live__stage { position: relative; }
.fhp-live__stage .fhp-art { display: block; width: 100%; }
.fhp-live .fhp-sheet { rx: 0; }
.fhp-live__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fhp-live__cursor { opacity: 0; transform: translate(392px, 200px); animation: fhp-cursor 2s 1.6s cubic-bezier(.4, 0, .2, 1) both; }
.fhp-live__cursor path { fill: var(--ink); stroke: var(--panel); stroke-width: 1.4; stroke-linejoin: round; }
.fhp-live__pop { position: absolute; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow); font-size: .8125rem; line-height: 1.2; white-space: nowrap; }
.fhp-live__pop .fhp-i { width: 18px; height: 18px; color: var(--accent); }
.fhp-live__pop b { font-weight: 700; }
.fhp-live__pop .fhp-num, .fhp-live__pop .fhp-soft { color: var(--soft); }
.fhp-live__pop--area { left: 16%; top: 49.5%; animation: fhp-pop .45s 3s cubic-bezier(.2, .7, .2, 1) both; }
.fhp-live__pop--pdf { left: 5%; bottom: 5%; animation: fhp-pop .45s 3.5s cubic-bezier(.2, .7, .2, 1) both; }
@media (max-width: 519px) {
	.fhp-live__tool { padding: 5px 7px; font-size: .75rem; }
	.fhp-live__tool .fhp-i { display: none; }
	.fhp-live__dots { display: none; }
	.fhp-live__pop { padding: 6px 9px; font-size: .75rem; }
	.fhp-live__pop .fhp-i { width: 15px; height: 15px; }
}
@keyframes fhp-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fhp-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes fhp-pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fhp-cursor {
	0% { opacity: 0; transform: translate(392px, 200px); }
	12% { opacity: 1; transform: translate(392px, 200px); }
	62% { opacity: 1; transform: translate(571px, 200px); }
	85% { opacity: 1; transform: translate(571px, 200px); }
	100% { opacity: 0; transform: translate(571px, 200px); }
}

/* Facts under the hero: product facts, not testimonials. */
.fhp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--line); overflow: hidden; position: relative; }
.fhp-facts li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--paper); }
.fhp-facts b { font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); font-weight: 600; line-height: 1.15; color: var(--ink); }
.fhp-facts span { color: var(--soft); font-size: .9375rem; line-height: 1.4; }
@media (min-width: 860px) { .fhp-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Feature bento */
.fhp-bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.fhp-tile { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 16px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.fhp-tile > .fhp-ico { grid-row: span 2; margin: 0; }
.fhp-tile h3 { margin: 2px 0 4px; font-size: 1.0625rem; }
.fhp-tile p { margin: 0; color: var(--soft); font-size: .96875rem; line-height: 1.55; }
.fhp-tile--big, .fhp-tile--tall { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.fhp-tile__text { padding: 24px 24px 4px; }
.fhp-tile__text .fhp-ico { margin-bottom: 14px; }
.fhp-tile--big h3, .fhp-tile--tall h3, .fhp-tile--wide h3 { font-size: 1.375rem; margin-bottom: 6px; }
.fhp-tile__art { margin-block: auto; padding: 12px 20px 20px; }
.fhp-tile__art .fhp-art { display: block; width: 100%; }
.fhp-tile--wide { display: flex; flex-direction: column; gap: 18px; padding: 24px; }
.fhp-tile--wide .fhp-tile__text { padding: 0; }
@media (min-width: 640px) {
	.fhp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fhp-tile { display: flex; flex-direction: column; padding: 24px; }
	.fhp-tile > .fhp-ico { margin-bottom: 14px; }
	.fhp-tile--big, .fhp-tile--tall { padding: 0; }
	.fhp-tile--big, .fhp-tile--tall, .fhp-tile--wide { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
	.fhp-bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.fhp-tile { grid-column: span 3; }
	.fhp-tile--big { grid-column: span 7; }
	.fhp-tile--tall { grid-column: span 5; }
	.fhp-tile--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
	.fhp-tile--wide .fhp-tile__text { max-width: 320px; flex: none; }
	.fhp-tile--wide .fhp-langs { flex: 1; max-width: 820px; }
	.fhp-tile--wide .fhp-langs li { padding: 8px 14px; font-size: .9375rem; }
}

/* Who it is for */
.fhp-uses { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .fhp-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .fhp-uses { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fhp-use { display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.fhp-use .fhp-ico { margin-bottom: 10px; }
.fhp-use h3 { margin: 0; }
.fhp-use p { flex: 1; margin: 0 0 4px; color: var(--soft); font-size: .96875rem; line-height: 1.55; }

/* Social proof (only when the owner has added real quotes) */
.fhp-proof { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .fhp-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fhp-proof figure { display: flex; flex-direction: column; gap: 14px; height: 100%; margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.fhp-proof .fhp-i { width: 26px; height: 26px; color: var(--accent); }
.fhp-proof blockquote { flex: 1; margin: 0; font: 500 1.125rem/1.5 var(--font-display); }
.fhp-proof blockquote p { margin: 0; }
.fhp-proof figcaption { display: flex; flex-direction: column; font-size: .9375rem; }
.fhp-proof figcaption span { color: var(--soft); }

/* Pricing strip */
.fhp-pricestrip { display: grid; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.fhp-pricestrip h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: 8px; }
.fhp-pricestrip p { margin: 0; color: var(--soft); max-width: 58ch; }
.fhp-pricestrip__price { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.fhp-pricestrip__price b { font: 700 3rem/1 var(--font-display); letter-spacing: -.03em; }
.fhp-pricestrip__price span { color: var(--soft); font-size: .9375rem; }
@media (min-width: 860px) { .fhp-pricestrip { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }

/* Scroll reveal: CSS only (scroll-driven animations), never when reduced motion is asked for. */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.fhp-reveal { animation: fhp-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
	}
}
@keyframes fhp-rise { from { opacity: .001; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- 1.1.0: contact, footer ---------- */
.fhp-kinds { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.fhp-kinds legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: .9375rem; }
.fhp-kinds .fhp-kind { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel); font-weight: 400; cursor: pointer; }
.fhp-kinds .fhp-kind:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.fhp-kinds .fhp-kind input { flex: none; width: 24px; height: 24px; min-height: 0; margin: 0; padding: 0; accent-color: var(--accent); }
.fhp-kinds .fhp-kind b { display: block; font-size: .96875rem; }
.fhp-kinds .fhp-kind small { display: block; margin: 2px 0 0; color: var(--soft); font-size: .875rem; }
.fhp-card__title { font-size: 1.25rem; }
.fhp-addr { display: grid; gap: 2px; margin: 14px 0 0; }
.fhp-addr dt { margin-top: 10px; color: var(--soft); font-size: .875rem; }
.fhp-addr dd { margin: 0; }
.fhp-addr a { display: inline-flex; align-items: center; min-height: 32px; overflow-wrap: anywhere; }
.fhp-footer .fhp-footer__mail { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.fhp-footer .fhp-footer__mail a { color: var(--soft); text-decoration: underline; text-underline-offset: .18em; }

/* ---------- 1.1.0: blog ---------- */
.fhp-article--post .fhp-article__head { max-width: 720px; }
.fhp-article--post.has-toc .fhp-article__head { max-width: 1040px; }
.fhp-article--post .fhp-article__head > * { max-width: 760px; }
.fhp-meta--post { gap: 8px 16px; margin-top: 18px; }
.fhp-meta__author { display: inline-flex; align-items: center; gap: 8px; }
.fhp-meta__author img { width: 28px; height: 28px; border-radius: 50%; }
.fhp-meta__author a { display: inline-flex; align-items: center; min-height: 28px; }
.fhp-meta__read { display: inline-flex; align-items: center; gap: 6px; }
.fhp-meta__read .fhp-i { width: 15px; height: 15px; }
.fhp-postgrid { display: grid; gap: 28px; max-width: 1040px; margin: 0 auto; }
.fhp-postgrid__main { min-width: 0; }
.fhp-postgrid:not(.has-toc) .fhp-postgrid__main { width: 100%; max-width: 720px; margin-inline: auto; }
@media (min-width: 1080px) {
	.fhp-postgrid.has-toc { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; }
	.fhp-postgrid__side .fhp-toc { position: sticky; top: calc(var(--header-h) + 24px); }
}
.fhp-prose--post > * { max-width: 65ch; margin-inline: 0; }
.fhp-prose--post > figure, .fhp-prose--post > .wp-block-table, .fhp-prose--post > table, .fhp-prose--post > .alignwide, .fhp-prose--post > .fhp-cta-box { max-width: 100%; }
.fhp-prose .fhp-btn { color: var(--accent-ink); text-decoration: none; }
.fhp-prose .fhp-cta-box { margin: 2.4em 0; }
.fhp-cta-box__title { margin: 0 0 4px; color: var(--ink) !important; font: 700 1.25rem/1.25 var(--font-display); letter-spacing: -.01em; }
.fhp-toc { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.fhp-toc summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px; cursor: pointer; list-style: none; font: 600 .9375rem/1.2 var(--font-body); }
.fhp-toc summary::-webkit-details-marker { display: none; }
.fhp-toc summary .fhp-i { width: 18px; height: 18px; color: var(--accent); }
.fhp-toc ol { display: grid; gap: 2px; margin: 0; padding: 0 16px 14px; list-style: none; font-size: .9375rem; }
.fhp-toc a { display: block; padding: 6px 0; color: var(--soft); text-decoration: none; line-height: 1.35; }
.fhp-toc a:hover { color: var(--ink); text-decoration: underline; }
.fhp-toc__l3 { padding-left: 14px; }
.fhp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.fhp-tags a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); font-size: .875rem; text-decoration: none; }
.fhp-tags a:hover { color: var(--ink); border-color: var(--line-strong); }
.fhp-pagehead .fhp-tags { margin-top: 18px; }
.fhp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.fhp-share__label { margin: 0; color: var(--soft); font: 600 .75rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.fhp-share ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fhp-share__a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); font: 500 .875rem/1 var(--font-body); text-decoration: none; cursor: pointer; }
.fhp-share__a:hover { background: var(--hover); border-color: var(--line-strong); }
.fhp-share__a .fhp-i { width: 16px; height: 16px; }
.fhp-article--post .fhp-byline { align-items: flex-start; max-width: none; margin: 32px 0 0; }
.fhp-byline img { width: 64px; height: 64px; }
.fhp-byline > div { display: grid; gap: 4px; }
.fhp-byline__name { font-weight: 700; }
.fhp-byline__name a { color: var(--ink); }
.fhp-byline__job { font: 500 .8125rem/1.4 var(--font-mono) !important; }
.fhp-byline .fhp-textlink { min-height: 36px; }
.fhp-feature-post { position: relative; display: grid; gap: 20px; margin-bottom: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .fhp-feature-post { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; } }
.fhp-feature-post__img { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.fhp-feature-post__img img, .fhp-feature-post__img .fhp-art { width: 100%; height: 100%; object-fit: cover; }
.fhp-feature-post__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.fhp-feature-post h2 { margin: 12px 0 12px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.fhp-feature-post h2 a { color: var(--ink); text-decoration: none; }
.fhp-feature-post h2 a::after { content: ""; position: absolute; inset: 0; }
.fhp-feature-post:hover h2 a { color: var(--accent-text); }
.fhp-feature-post p { color: var(--soft); }
.fhp-feature-post:focus-within { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: var(--r-lg); }
.fhp-feature-post a:focus-visible { outline: none; }
.fhp-listhead { margin: 0 0 24px; font-size: 1.5rem; }
.fhp-pagehead .fhp-cat { margin: 0 0 8px; }
.fhp-nlwrap { padding-block: clamp(40px, 6vw, 72px); }
.fhp-newsletter__in { display: grid; gap: 18px; align-items: center; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
@media (min-width: 860px) { .fhp-newsletter__in { grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; } }
.fhp-newsletter .fhp-ico { margin: 0; }
.fhp-newsletter h2 { margin: 0 0 4px; font-size: 1.375rem; }
.fhp-newsletter p { margin: 0; color: var(--soft); }
.fhp-newsletter__form { display: flex; flex-wrap: wrap; gap: 8px; }
.fhp-newsletter__form input { flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; }
.fhp-newsletter .fhp-btn--ghost .fhp-i { width: 18px; height: 18px; }
.fhp-authorhead { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.fhp-authorhead img { width: 88px; height: 88px; border-radius: 50%; }
.fhp-authorhead h1 { margin-bottom: 6px; }
.fhp-authorhead__bio { margin-top: 18px; }
/* Tables in page and post text wrap inside the column on phones (no sideways scroll). */
.fhp-prose th, .fhp-prose td { hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 559px) { .fhp-prose table { font-size: .875rem; } .fhp-prose th, .fhp-prose td { padding: 8px 6px; } }
.fhp-pcard .fhp-chip { align-self: flex-start; max-width: 100%; margin-top: 4px; white-space: normal; border-radius: 6px; } /* may wrap in a narrow card (long room names, translations): a tag, not a pill */
.fhp-tile__art .fhp-iso { margin-block: -4% -9%; }
