/*
Theme Name: Boumhir
Theme URI: https://boumhir.com
Author: BOUMHIR LLC
Description: Editorial corporate theme for BOUMHIR LLC. Creates all pages (home, about, services, pricing, contact, legal) on activation. Self-hosted fonts, hardened security.
Version: 2.1.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: boumhir
*/

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("assets/fonts/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--paper: #f5f1e8;
	--paper-2: #ece6d9;
	--card: #fbf9f4;
	--ink: #16201b;
	--ink-2: #3c4842;
	--muted: #6d7770;
	--line: #d8d0bf;
	--line-2: #c8bea9;
	--forest: #1d3a2f;
	--forest-2: #264a3c;
	--brass: #a8834b;
	--brass-2: #8c6b37;
	--on-dark: #e9e3d4;
	--on-dark-2: #a9b5ad;
	--serif: "Fraunces", "Iowan Old Style", Georgia, serif;
	--sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1240px;
	--gutter: clamp(20px, 4vw, 48px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass-2); }
::selection { background: var(--forest); color: var(--paper); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
p { margin: 0 0 1.15em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ink); }
.serif { font-family: var(--serif); font-optical-sizing: auto; letter-spacing: -.015em; }
em, .it { font-family: var(--serif); font-style: italic; font-weight: 300; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; z-index: 1000; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.label {
	font-family: var(--sans);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
}
.label--brass { color: var(--brass-2); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 12px;
	padding: 15px 26px;
	font: 500 .95rem/1 var(--sans); letter-spacing: .01em;
	text-decoration: none; cursor: pointer;
	border: 1px solid var(--ink); border-radius: 999px;
	background: var(--ink); color: var(--paper);
	transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow .arrow { transition: transform .35s var(--ease); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(245, 241, 232, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__word { font-family: var(--serif); font-size: 1.45rem; letter-spacing: .02em; font-weight: 500; line-height: 1; }
.brand__word small { font-family: var(--sans); font-size: .6rem; letter-spacing: .22em; color: var(--muted); display: block; margin-top: 5px; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--ink); transition: right .35s var(--ease); }
.nav ul a:hover::after, .nav .current-menu-item > a::after, .nav .current_page_item > a::after { right: 0; }
.nav ul a:hover { color: var(--ink); }
.nav .btn { padding: 12px 20px; color: var(--paper); }
.nav .btn:hover { color: var(--paper); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 110px) 0 clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: end; }
.hero__meta { display: flex; gap: 22px; align-items: center; margin-bottom: 34px; flex-wrap: wrap; }
.hero__meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
.hero h1 { font-family: var(--serif); font-size: clamp(3rem, 7.4vw, 6.4rem); line-height: .98; letter-spacing: -.035em; font-weight: 350; font-variation-settings: "opsz" 144; }
.hero h1 em { color: var(--forest); font-weight: 300; }
.hero__lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 540px; margin: 34px 0 40px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__art { position: relative; border: 1px solid var(--line-2); background: var(--card); padding: 22px; }
.hero__art svg { width: 100%; height: auto; }
.hero__art figcaption { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; font-size: .75rem; color: var(--muted); letter-spacing: .06em; }
.route { stroke-dasharray: 4 5; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }
@media (prefers-reduced-motion: reduce) { .route, .marquee__track { animation: none !important; } }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 300; padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "✦"; font-size: .7em; color: var(--brass); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: clamp(40px, 5vw, 72px); align-items: start; }
.section-head h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1.03; letter-spacing: -.03em; font-weight: 350; }
.section-head p { color: var(--ink-2); max-width: 560px; margin-top: 18px; }

.statement { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.statement p.big { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.22; letter-spacing: -.02em; font-weight: 300; color: var(--ink); margin: 0; }
.statement p.big em { color: var(--forest); }
.statement__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 44px; color: var(--ink-2); }

/* Service index (editorial rows) */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.index li { border-bottom: 1px solid var(--line-2); }
.index__row { display: grid; grid-template-columns: 80px 1.1fr 1.4fr 40px; gap: 24px; align-items: baseline; padding: 30px 0; text-decoration: none; color: var(--ink); transition: padding .4s var(--ease), background .4s var(--ease); }
a.index__row:hover { padding-left: 16px; padding-right: 16px; background: var(--paper-2); color: var(--ink); }
.index__num { font-family: var(--serif); font-style: italic; color: var(--brass-2); font-size: 1.05rem; }
.index__title { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.05rem); letter-spacing: -.02em; line-height: 1.1; font-weight: 400; }
.index__desc { color: var(--ink-2); font-size: 1rem; margin: 0; }
.index__desc ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.index__desc li { border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; font-size: .82rem; color: var(--ink-2); }
.index__go { justify-self: end; transition: transform .4s var(--ease); }
a.index__row:hover .index__go { transform: translateX(6px); }

/* Dark band */
.band { background: var(--forest); color: var(--on-dark); }
.band h2, .band h3 { color: var(--paper); }
.band .label { color: var(--on-dark-2); }
.band .section-head p { color: var(--on-dark-2); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(233, 227, 212, .22); }
.principle { padding: 34px 28px 10px 0; border-right: 1px solid rgba(233, 227, 212, .14); }
.principle + .principle { padding-left: 28px; }
.principle:last-child { border-right: 0; }
.principle .n { font-family: var(--serif); font-style: italic; color: var(--brass); }
.principle h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; margin: 18px 0 12px; letter-spacing: -.01em; }
.principle p { color: var(--on-dark-2); font-size: .97rem; }

/* Company record (document card) */
.record { background: var(--card); border: 1px solid var(--line-2); position: relative; }
.record::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); pointer-events: none; }
.record__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 36px; border-bottom: 1px solid var(--line); }
.record__head h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.record__seal { width: 64px; height: 64px; flex: none; color: var(--brass-2); }
.record dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.record__item { padding: 22px 36px; border-bottom: 1px solid var(--line); }
.record__item:nth-child(odd) { border-right: 1px solid var(--line); }
.record dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.record dd { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; }
.record dd a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.record__foot { padding: 18px 36px; font-size: .8rem; color: var(--muted); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 350; margin: 18px 0 24px; }
.split p { color: var(--ink-2); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.steps li { list-style: none; padding: 28px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line-2); }
.steps .n { font-family: var(--serif); font-size: 3rem; font-weight: 250; color: var(--brass-2); line-height: 1; }
.steps h3 { font-family: var(--serif); font-size: 1.3rem; margin: 18px 0 10px; font-weight: 400; }
.steps p { color: var(--ink-2); font-size: .97rem; }
ol.steps { margin: 0; padding: 0; }

/* CTA */
.cta { padding: clamp(80px, 11vw, 150px) 0; text-align: center; border-top: 1px solid var(--line); }
.cta h2 { font-family: var(--serif); font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -.035em; font-weight: 300; max-width: 980px; margin: 22px auto 28px; }
.cta h2 em { color: var(--forest); }
.cta p { color: var(--ink-2); max-width: 520px; margin: 0 auto 40px; }
.cta__mail { display: inline-block; margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; }

/* Page hero */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 28px; letter-spacing: .04em; }
.crumbs a { text-decoration: none; }
.crumbs span { margin: 0 8px; color: var(--line-2); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(2.8rem, 6.6vw, 5.6rem); line-height: 1; letter-spacing: -.035em; font-weight: 320; }
.page-hero h1 em { color: var(--forest); }
.page-hero__lede { font-size: 1.15rem; color: var(--ink-2); max-width: 640px; margin: 26px 0 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); background: var(--card); }
.plan { padding: 40px 34px; display: flex; flex-direction: column; border-right: 1px solid var(--line-2); position: relative; }
.plan:last-child { border-right: 0; }
.plan--featured { background: var(--forest); color: var(--on-dark); }
.plan--featured h3, .plan--featured .plan__price { color: var(--paper); }
.plan--featured .plan__desc, .plan--featured .plan__per { color: var(--on-dark-2); }
.plan--featured li { border-color: rgba(233, 227, 212, .16) !important; }
.plan__tag { position: absolute; top: 20px; right: 24px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.plan h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.plan__price { font-family: var(--serif); font-size: 3.6rem; font-weight: 300; letter-spacing: -.03em; line-height: 1; margin: 26px 0 6px; }
.plan__per { font-size: .85rem; color: var(--muted); }
.plan__desc { color: var(--ink-2); margin: 20px 0 8px; font-size: .97rem; }
.plan ul { list-style: none; padding: 0; margin: 12px 0 34px; flex: 1; }
.plan li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; display: flex; gap: 12px; }
.plan li::before { content: "—"; color: var(--brass); }
.plan .btn { justify-content: center; }
.plan--featured .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.plan--featured .btn:hover { background: var(--brass); border-color: var(--brass); }
.fine { font-size: .85rem; color: var(--muted); margin-top: 22px; }

/* Forms */
.form { display: grid; gap: 30px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.field label { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
	width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
	padding: 10px 0 12px; font: 400 1.05rem/1.4 var(--sans); color: var(--ink); border-radius: 0;
	transition: border-color .3s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2316201b' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.consent input { margin-top: 5px; accent-color: var(--forest); width: 16px; height: 16px; flex: none; }
.notice { padding: 16px 20px; border-left: 3px solid; margin-bottom: 30px; font-size: .97rem; }
.notice--ok { border-color: var(--forest); background: #e4ebe4; }
.notice--err { border-color: #9b3a2a; background: #f3e3dc; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--line-2); display: grid; grid-template-columns: 130px 1fr; gap: 16px; }
.contact-list .label { padding-top: 5px; }
.contact-list div { font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line-2); }

/* Legal */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: 120px; font-size: .9rem; }
.admin-bar .toc { top: 152px; }
.toc ol { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line-2); counter-reset: toc; }
.toc li { border-bottom: 1px solid var(--line); counter-increment: toc; }
.toc a { display: flex; gap: 12px; padding: 11px 0; text-decoration: none; color: var(--ink-2); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--brass-2); min-width: 22px; }
.toc a:hover { color: var(--ink); }
.prose { max-width: 740px; font-size: 1.02rem; color: var(--ink-2); }
.prose > .updated { font-size: .85rem; color: var(--muted); letter-spacing: .04em; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.prose h2 { font-family: var(--serif); font-size: 1.75rem; line-height: 1.2; letter-spacing: -.015em; font-weight: 400; color: var(--ink); margin: 2.2em 0 .7em; scroll-margin-top: 120px; }
.prose h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; color: var(--ink); margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .93rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.prose address { font-style: normal; font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; color: var(--ink); padding: 22px 26px; background: var(--card); border: 1px solid var(--line-2); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding: clamp(64px, 8vw, 110px) 0 0; font-size: .93rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 64px; }
.footer-brand .brand__word { color: var(--paper); font-size: 2rem; }
.footer-brand p { margin-top: 22px; max-width: 320px; }
.site-footer h4 { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 600; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 11px; }
.site-footer address { font-style: normal; line-height: 1.7; color: var(--on-dark); }
.footer-giant { font-family: var(--serif); font-weight: 300; font-size: clamp(4rem, 17vw, 15.5rem); line-height: .8; letter-spacing: -.05em; color: rgba(233, 227, 212, .07); margin: 0; user-select: none; white-space: nowrap; overflow: hidden; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 30px; border-top: 1px solid rgba(233, 227, 212, .12); font-size: .8rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.principles { grid-template-columns: 1fr 1fr; }
	.principle:nth-child(2) { border-right: 0; }
	.principle:nth-child(3) { padding-left: 0; }
	.steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.steps li:nth-child(3) { padding-left: 0; border-left: 0; }
	.footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.hero__grid, .section-head, .statement, .split, .legal { grid-template-columns: 1fr; }
	.hero__art { max-width: 520px; }
	.index__row { grid-template-columns: 50px 1fr 30px; }
	.index__desc { grid-column: 2 / 3; }
	.index__go { grid-row: 1; grid-column: 3; }
	.plans { grid-template-columns: 1fr; }
	.plan { border-right: 0; border-bottom: 1px solid var(--line-2); }
	.plan:last-child { border-bottom: 0; }
	.toc { position: static; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 820px) {
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
	.nav-toggle { display: block; }
	.nav { position: fixed; inset: 84px 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 20px var(--gutter) 40px; transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto; visibility: hidden; }
	.admin-bar .nav { top: 130px; }
	.nav.is-open { transform: none; visibility: visible; }
	.nav ul { flex-direction: column; gap: 0; }
	.nav ul li { border-bottom: 1px solid var(--line); }
	.nav ul a { display: block; font-family: var(--serif); font-size: 1.9rem; padding: 16px 0; color: var(--ink); }
	.nav ul a::after { display: none; }
	.nav .btn { margin-top: 30px; justify-content: center; padding: 16px 20px; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.statement__cols, .form .row, .principles, .steps, .footer-top { grid-template-columns: 1fr; }
	.principle, .principle + .principle { padding: 26px 0 6px; border-right: 0; border-bottom: 1px solid rgba(233, 227, 212, .14); }
	.steps li, .steps li + li { padding: 26px 0 0; border-left: 0; }
	.record dl { grid-template-columns: 1fr; }
	.record__item:nth-child(odd) { border-right: 0; }
	.record__head, .record__item, .record__foot { padding-left: 24px; padding-right: 24px; }
	.contact-list li { grid-template-columns: 1fr; gap: 4px; }
	.hero__meta { gap: 12px; }
}
