/* The Author Publishing: clothbound hardcover palette, gilt foil accent. */
:root {
	--paper: #f6f6f2;
	--paper-2: #ecebe4;
	--white: #ffffff;
	--ink: #1a1d21;
	--muted: #59606a;
	--line: #dcdbd3;
	--cloth: #1f3d36;
	--cloth-deep: #152b26;
	--foil: #b8893b;
	--foil-soft: #ead9b6;
	--oxblood: #6e2a2a;
	--navy: #22324f;
	--ochre: #a8772f;
	--slate: #3e4a52;
	--moss: #55603a;
	--plum: #4a2f45;

	--serif: "Literata", Georgia, "Times New Roman", serif;
	--sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1200px;
	--prose: 720px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font: 400 17px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: var(--cloth); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--foil); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; color: var(--ink); margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.15rem); }
h3 { font-size: 1.22rem; }
p, ul, ol, dl { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 1000; }
.skip-link:focus { top: 12px; }
.icon { flex: none; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 22px; border-radius: var(--radius); border: 1.5px solid transparent;
	font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn-cloth { background: var(--cloth); color: #fff; }
.btn-cloth:hover { background: var(--cloth-deep); color: #fff; }
.btn-foil { background: var(--foil); color: var(--cloth-deep); }
.btn-foil:hover { background: #a57a33; color: #fff; }
.btn-line { border-color: var(--cloth); color: var(--cloth); background: transparent; }
.btn-line:hover { background: var(--cloth); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.text-link { font-weight: 600; }
.text-link.light { color: var(--foil-soft); }

/* ---------- Top bar ---------- */
.topbar { background: var(--cloth-deep); color: #d7dfdb; font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; }
.topbar-contact { display: flex; gap: 22px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--foil-soft); }
.topbar .icon { width: 15px; height: 15px; color: var(--foil); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.header-contact { margin-left: auto; display: flex; gap: 24px; font-size: 14.5px; }
.header-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.header-contact a:hover { color: var(--cloth); }
.header-contact .icon { color: var(--foil); }
.header-cta { padding: 11px 18px; }
.nav-row { border-top: 1px solid var(--line); }
.site-nav .menu > li.menu-cta { display: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-logo { height: 50px; width: auto; max-width: 100%; }
.foot-brand .brand-logo { height: 56px; }
@media (max-width: 640px) { .brand-logo { height: 40px; } }
.brand-name { font: 600 1.28rem/1.1 var(--serif); letter-spacing: -0.01em; }
.brand-mark { display: inline-flex; align-items: flex-end; gap: 3px; height: 30px; }
.brand-mark span { display: block; width: 7px; background: var(--cloth); border-top: 2px solid var(--foil); }
.brand-mark span:nth-child(1) { height: 22px; }
.brand-mark span:nth-child(2) { height: 30px; background: var(--oxblood); }
.brand-mark span:nth-child(3) { height: 26px; transform: rotate(9deg); transform-origin: bottom left; background: var(--navy); }
.brand-light { color: #fff; }

.site-nav { margin: 0 -9px; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 2px; }
.site-nav .menu > li { position: static; display: flex; align-items: center; }
.site-nav .menu > li > a {
	display: block; padding: 15px 9px 13px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap;
	border-bottom: 2px solid transparent;
}
.site-nav .menu > li > a:hover,
.site-nav .menu > li:hover > a,
.site-nav .menu > li.open > a,
.site-nav .menu > li:focus-within > a { color: var(--cloth); border-bottom-color: var(--foil); }
.site-nav .menu > li.current-menu-item > a { color: var(--cloth); }
.sub-toggle { background: none; border: 0; padding: 4px; margin-left: -6px; color: var(--muted); cursor: pointer; display: inline-flex; }
.sub-toggle .icon { width: 14px; height: 14px; transition: transform .15s; }
li.open > .sub-toggle .icon { transform: rotate(180deg); }
.site-nav .menu > li.menu-cta > a { background: var(--cloth); color: #fff; padding: 11px 18px; border-radius: var(--radius); border: 0; }
.site-nav .menu > li.menu-cta > a:hover { background: var(--cloth-deep); color: #fff; }

/* Mega panel */
.mega {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--white); border-top: 1px solid var(--line);
	box-shadow: 0 24px 40px -24px rgba(21, 43, 38, .38);
	visibility: hidden; opacity: 0; transform: translateY(-4px);
	transition: opacity .14s ease, transform .14s ease, visibility .14s;
}
.menu > li.open > .mega,
.menu > li:hover > .mega { visibility: visible; opacity: 1; transform: none; }
.mega-inner { max-width: var(--wrap); margin: 0 auto; padding: 32px var(--gutter) 30px; display: grid; grid-template-columns: 260px 1fr; gap: 48px; }
.mega .sub-menu { list-style: none; margin: 0; padding: 0; }

.mega-intro { border-right: 1px solid var(--line); padding-right: 36px; }
.mega-title { font: 600 1.35rem/1.2 var(--serif); color: var(--ink); margin: 0 0 10px; }
.mega-desc { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0 0 20px; }
.mega-all { display: inline-block; font-size: 14.5px; font-weight: 600; color: var(--cloth); text-decoration: none; border-bottom: 2px solid var(--foil); padding-bottom: 3px; }
.mega-all:hover { color: var(--ink); }

.mega-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 20px; align-content: start; }
.mega-links > li > a { display: block; padding: 10px 12px; margin: 0 -12px; border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.mega-links > li > a:hover, .mega-links > li > a:focus-visible { background: var(--paper); }
.mi-title { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.mi-desc { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega-links > li > a:hover .mi-title { color: var(--cloth); }
.menu-design .mega-links, .menu-editing .mega-links { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }

.mega-foot { background: var(--paper); border-top: 1px solid var(--line); }
.mega-foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 13px var(--gutter); font-size: 14px; color: var(--muted); display: flex; gap: 20px; align-items: center; }
.mega-foot a { color: var(--cloth); font-weight: 600; text-decoration: none; }
.mega-foot a:hover { text-decoration: underline; }

/* Ghostwriting: tabs */
.mega-tabs .mega-inner { grid-template-columns: 260px 1fr; }
.tab-list { position: relative; min-height: 360px; }
.tab-list > li { width: 230px; }
.tab-list > li > a {
	display: block; padding: 12px 16px; margin-bottom: 2px; border-radius: var(--radius); border-left: 3px solid transparent;
	font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.tab-list > li.is-active > a { background: var(--paper); border-left-color: var(--foil); color: var(--cloth); }
.tab-list > li > a:hover { color: var(--cloth); }
.tab-panel { position: absolute; top: 0; left: 262px; right: 0; display: none; padding-left: 36px; border-left: 1px solid var(--line); min-height: 100%; }
.tab-list > li.is-active > .tab-panel { display: block; }
.tab-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.tab-head p { margin: 0; font-size: 14.5px; color: var(--muted); }
.tab-head .mega-all { flex: none; }
.tab-panel .sub-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.tab-panel .sub-menu a { display: block; padding: 7px 0; font-size: 14.5px; color: var(--ink); text-decoration: none; }
.tab-panel .sub-menu a:hover { color: var(--cloth); text-decoration: underline; }
.tab-panel .mi-title { font-weight: 500; }
.mega-tabs .mega-intro { display: none; }
.mega-tabs .mega-inner { grid-template-columns: 1fr; }

/* Company: compact dropdown */
.menu > li.menu-company { position: relative; }
.mega-small { left: auto; right: -12px; width: 260px; padding: 10px 0; border: 1px solid var(--line); border-top: 3px solid var(--foil); }
.mega-small .sub-menu a { display: block; padding: 9px 22px; font-size: 15px; color: var(--ink); text-decoration: none; }
.mega-small .sub-menu a:hover { background: var(--paper); color: var(--cloth); }
.mega-small .mi-title { font-weight: 500; }

.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 9px 13px; font: 600 14px var(--sans); color: var(--ink); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: end; padding-top: clamp(48px, 7vw, 96px); }
.hero-copy { padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 { max-width: 15ch; margin-bottom: .45em; }
.lead { font-size: 1.17rem; color: var(--muted); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.shelf { position: relative; align-self: end; }
.shelf ul { list-style: none; margin: 0; padding: 0 12px; display: flex; align-items: flex-end; justify-content: center; gap: 5px; height: 380px; }
.spine { height: var(--h); width: 58px; flex: none; }
.spine:nth-child(2n) { width: 50px; }
.spine:nth-child(3n) { width: 64px; }
.spine a {
	position: relative; display: flex; align-items: center; justify-content: center; height: 100%;
	background: var(--bg, var(--cloth)); color: var(--foil-soft); text-decoration: none;
	border-radius: 2px 2px 0 0; box-shadow: inset -6px 0 0 rgba(0,0,0,.14), inset 3px 0 0 rgba(255,255,255,.07);
	transition: transform .2s ease;
}
.spine a::before, .spine a::after {
	content: ""; position: absolute; left: 8px; right: 8px; height: 5px;
	border-top: 1.5px solid var(--foil); border-bottom: 1.5px solid var(--foil);
}
.spine a::before { top: 16px; }
.spine a::after { bottom: 16px; }
.spine span { writing-mode: vertical-rl; font: 600 15px/1 var(--serif); letter-spacing: .04em; white-space: nowrap; }
.spine a:hover, .spine a:focus-visible { transform: translateY(-14px); color: #fff; }
.c1 { --bg: var(--cloth); } .c2 { --bg: var(--oxblood); } .c3 { --bg: var(--navy); } .c4 { --bg: var(--ochre); }
.c5 { --bg: var(--slate); } .c6 { --bg: var(--moss); } .c7 { --bg: var(--plum); }
.spine.c4 a { color: #fff6e3; } .spine.c4 a::before, .spine.c4 a::after { border-color: #fff1d0; }
.spine:last-child { transform: rotate(-9deg); transform-origin: bottom right; margin-left: 18px; }
.shelf-board { height: 16px; background: var(--cloth-deep); border-top: 3px solid var(--foil); margin: 0 -40px; }

@media (prefers-reduced-motion: no-preference) {
	.spine { animation: shelve .7s cubic-bezier(.2,.8,.2,1) both; }
	.spine:nth-child(1) { animation-delay: .05s; } .spine:nth-child(2) { animation-delay: .12s; } .spine:nth-child(3) { animation-delay: .19s; }
	.spine:nth-child(4) { animation-delay: .26s; } .spine:nth-child(5) { animation-delay: .33s; } .spine:nth-child(6) { animation-delay: .4s; }
	.spine:nth-child(7) { animation-delay: .47s; }
	@keyframes shelve { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
}

/* ---------- Page head ---------- */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 36px 0 44px; }
.page-head h1 { max-width: 22ch; margin-top: 10px; }
.page-head .lead { margin: 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* ---------- Entry content ---------- */
.entry { padding: clamp(40px, 6vw, 72px) var(--gutter) 0; }
.entry > * { max-width: var(--prose); margin-left: auto; margin-right: auto; }
.entry > .wide { max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.entry > h2 { margin-top: 1.6em; }
.entry > h2:first-child { margin-top: 0; }
.entry > :last-child { margin-bottom: 0; }
.entry ul:not([class]) li, .entry ol:not([class]) li { margin-bottom: .4em; }
.entry section { margin-bottom: clamp(56px, 7vw, 96px); }
.entry-home { padding-top: clamp(56px, 7vw, 96px); }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 62ch; margin-bottom: 32px; }

.band { position: relative; padding: clamp(48px, 6vw, 80px) 0; }
.band::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; }
.band-paper::before { background: var(--paper); }
.band-cloth { color: #e3ebe7; }
.band-cloth::before { background: var(--cloth); }
.band-cloth h2, .band-cloth h3 { color: #fff; }
.band-cloth .tick-list li::before { border-color: var(--foil); }
.entry section, .entry .band { isolation: isolate; }

.split, .intro-split, .contact-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.intro-split > div > p { max-width: 62ch; }

.promise-list { list-style: none; padding: 0; margin: 6px 0 0; border-left: 3px solid var(--foil); }
.promise-list li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); }
.promise-list li:last-child { border-bottom: 0; }
.promise-list strong { display: block; font: 600 1.06rem/1.35 var(--serif); margin-bottom: 2px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { background: var(--white); padding: 28px 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: .4em; }
.service-card p { color: var(--muted); font-size: 15.5px; }
.service-card .card-link { margin: auto 0 0; font-weight: 600; font-size: 15px; }
.service-card:nth-child(7) { grid-column: span 3; display: grid; grid-template-columns: 1fr 2fr auto; gap: 24px; align-items: center; background: var(--paper-2); }
.service-card:nth-child(7) h3, .service-card:nth-child(7) p { margin: 0; }

.steps { list-style: none; padding: 0; margin: 0 0 24px; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 16px; }
.steps li::before { content: counter(step); display: block; font: 500 2.6rem/1 var(--serif); color: var(--foil); margin-bottom: 14px; }
.steps p { font-size: 15.5px; color: var(--muted); }
.steps-long { grid-template-columns: 1fr; gap: 0; }
.steps-long li { display: grid; grid-template-columns: 72px 1fr; column-gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps-long li::before { grid-row: span 2; margin: 0; }
.steps-long h3, .steps-long p { grid-column: 2; }
.steps-long p { margin-bottom: 0; font-size: 16.5px; }

.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 28px; margin-bottom: .6em; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 11px; height: 6px; border-left: 2px solid var(--cloth); border-bottom: 2px solid var(--cloth); transform: rotate(-45deg); }

.genre-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { border: 1px solid var(--line); border-radius: 40px; padding: 6px 14px; font-size: 14.5px; background: var(--white); }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-top: 1px solid var(--ink); }
.facts div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font: 500 1.12rem/1.35 var(--serif); }

/* FAQ */
.faq-block h2 { margin-bottom: 18px; }
.faq { border-top: 1px solid var(--line); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font: 600 1.06rem/1.4 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 12px; height: 12px; background: linear-gradient(var(--cloth), var(--cloth)) center/12px 2px no-repeat, linear-gradient(var(--cloth), var(--cloth)) center/2px 12px no-repeat; transition: transform .15s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-right: 40px; }

/* CTA band */
.entry > .cta-band, .cta-band { max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.cta-band {
	margin: clamp(56px, 7vw, 96px) auto clamp(56px, 7vw, 96px);
	background: var(--cloth); color: #dfe8e4; padding: clamp(32px, 4vw, 52px);
	display: grid; grid-template-columns: 1.5fr auto; gap: 32px; align-items: center;
	border-left: 6px solid var(--foil);
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { border: 1px solid var(--line); padding: 30px 28px; display: flex; flex-direction: column; background: var(--white); }
.price-card .tick-list { flex: 1; font-size: 15.5px; }
.price-card .price-for { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.price-card .price { font: 500 1.6rem/1.2 var(--serif); color: var(--cloth); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.price-card.is-featured { background: var(--cloth); color: #e3ebe7; border-color: var(--cloth); border-top: 6px solid var(--foil); }
.price-card.is-featured h3, .price-card.is-featured .price { color: #fff; }
.price-card.is-featured .price-for { color: #c9d6d1; }
.price-card.is-featured .price { border-color: rgba(255,255,255,.2); }
.price-card.is-featured .tick-list li::before { border-color: var(--foil); }

/* Portfolio + reviews */
.placeholder-note { background: #fff8e6; border: 1px dashed var(--foil); padding: 12px 16px; font-size: 14.5px; color: #6b4f1d; }
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.book-card { margin: 0; }
.book-cover { aspect-ratio: 2 / 3; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 18px; position: relative; box-shadow: inset 8px 0 0 rgba(0,0,0,.15); }
.book-cover::after { content: ""; position: absolute; inset: 14px 14px 14px 22px; border: 1.5px solid var(--foil); }
.book-cover span { font: 500 1.2rem/1.2 var(--serif); color: var(--foil-soft); text-align: center; }
.book-card figcaption { padding-top: 12px; display: flex; flex-direction: column; font-size: 14.5px; color: var(--muted); }
.book-card figcaption strong { color: var(--ink); font-family: var(--serif); font-size: 1rem; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.review { margin: 0; padding: 28px; background: var(--paper); border-left: 3px solid var(--foil); }
.review p { font: 400 1.08rem/1.6 var(--serif); }
.review footer { display: flex; flex-direction: column; font-size: 14.5px; color: var(--muted); }
.review footer strong { color: var(--ink); }

/* Contact + forms */
.contact-list { list-style: none; padding: 0; margin: 24px 0; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list .icon { color: var(--foil); margin-top: 4px; }
.contact-list strong { display: block; font-size: 14px; color: var(--muted); font-weight: 500; }
.contact-list a { color: inherit; }
.form-panel { background: var(--paper); padding: clamp(24px, 3vw, 40px); border-top: 4px solid var(--cloth); }
.tap-form label, .tap-form legend { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.tap-form input[type=text], .tap-form input[type=email], .tap-form input[type=tel], .tap-form select, .tap-form textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); font: 400 16px/1.4 var(--sans); color: var(--ink);
}
.tap-form input:focus, .tap-form select:focus, .tap-form textarea:focus { border-color: var(--cloth); outline: 2px solid rgba(31,61,54,.15); outline-offset: 0; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tap-form fieldset { border: 0; padding: 0; margin: 0 0 1.1em; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.checks label { font-weight: 400; display: flex; gap: 8px; align-items: center; margin: 0; }
.checks input { accent-color: var(--cloth); width: 17px; height: 17px; }
.form-note { padding: 12px 16px; border-radius: var(--radius); font-weight: 500; }
.form-note.is-ok { background: #e4f1ea; color: #1d5a3c; }
.form-note.is-error { background: #fbe9e7; color: #8a2a1e; }

/* Sitemap */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.sitemap-group h2 { font-size: 1.15rem; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.sitemap-group ul { list-style: none; padding: 0; font-size: 15px; }
.sitemap-group li { padding: 3px 0; }
.sitemap-group .soon { color: var(--muted); }
.entry .sitemap-group { margin-bottom: 0; }
.entry > section.faq-block { margin-top: 2.2em; }

/* Blog */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; padding-top: 56px; padding-bottom: 80px; }
.post-card { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.post-card:not(:has(.post-thumb)) { grid-template-columns: 1fr; }
.post-card h2 { font-size: 1.4rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--cloth); }
.post-meta { font-size: 14px; color: var(--muted); }
.page-head .post-meta { margin: 0; }
.blog-side .widget { margin-bottom: 32px; }
.widget-title { font-size: 1.1rem; }
.side-cta { background: var(--paper); padding: 24px; border-top: 4px solid var(--foil); }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; min-width: 0; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--radius); font: 16px var(--sans); }
.empty { padding: 40px; background: var(--paper); }
.nav-links { display: flex; gap: 8px; margin-top: 32px; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--line); text-decoration: none; }
.nav-links .current { background: var(--cloth); color: #fff; border-color: var(--cloth); }

/* ---------- Footer ---------- */
.site-footer { background: var(--cloth-deep); color: #c3cfca; padding-top: 72px; margin-top: 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.foot-brand p { max-width: 38ch; margin-top: 18px; }
.site-footer h2 { font: 600 1rem/1.3 var(--serif); color: var(--foil-soft); margin-bottom: 18px; }
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { margin-bottom: 10px; }
.site-footer a { color: #e7eeeb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .contact-list li { border-color: rgba(255,255,255,.1); }
.site-footer .contact-list strong { color: #93a59e; }
.site-footer .brand-mark span { border-top-color: var(--foil); }
.foot-social-title { margin-top: 28px; }
.foot-base { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; padding-bottom: 28px; font-size: 13.5px; color: #93a59e; display: grid; grid-template-columns: auto 1fr; gap: 32px; }
.foot-base p { margin: 0; }
.foot-disclaimer { text-align: right; max-width: 80ch; justify-self: end; }
.site-main + .site-footer { margin-top: 0; }
.site-main > .entry:last-child > .cta-band:last-child { margin-bottom: clamp(56px, 7vw, 96px); }
.site-main > .entry:last-child { padding-bottom: clamp(56px, 7vw, 96px); }
.site-main > .entry:last-child:has(> .cta-band:last-child) { padding-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.nav-toggle { display: inline-flex; }
	.nav-row { border: 0; }
	.header-contact .hc-mail { display: none; }
	.site-nav .menu > li.menu-cta { display: flex; }
	.site-nav {
		margin: 0;
		position: fixed; left: 0; right: 0; top: var(--nav-top, 115px); bottom: 0; background: var(--white);
		overflow-y: auto; padding: 8px var(--gutter) 40px; border-top: 1px solid var(--line);
		display: none;
	}
	.nav-open .site-nav { display: block; }
	.nav-open { overflow: hidden; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.site-nav .menu > li > a { flex: 1; padding: 15px 0; border: 0; font-size: 16.5px; }
	.sub-toggle { padding: 12px; margin: 0; }
	.mega, .mega-small { position: static; visibility: visible; opacity: 1; transform: none; display: none; flex-basis: 100%; box-shadow: none; border: 0; width: auto; padding: 0; }
	.menu > li:hover > .mega { display: none; }
	.menu > li.open > .mega { display: block; }
	.mega-inner, .mega-tabs .mega-inner { display: block; padding: 0 0 18px; }
	.mega-intro { border: 0; padding: 0 0 12px; }
	.mega-title { display: none; }
	.mega-desc { margin-bottom: 10px; }
	.mega-links, .menu-design .mega-links, .menu-editing .mega-links { grid-template-columns: 1fr; }
	.mega-links > li > a { padding: 8px 12px; }
	.mega-foot { display: none; }
	.tab-list { min-height: 0; }
	.tab-list > li { width: auto; margin-bottom: 14px; }
	.tab-list > li > a, .tab-list > li.is-active > a { background: none; border: 0; padding: 6px 0; color: var(--cloth); font-family: var(--serif); }
	.tab-panel, .tab-list > li > .tab-panel { position: static; display: block; padding: 0; border: 0; }
	.tab-head { display: none; }
	.tab-panel .sub-menu { grid-template-columns: 1fr 1fr; }
	.mega-small .sub-menu a { padding: 9px 12px; }
	.site-nav .menu > li.menu-cta { margin: 20px 0 0; border: 0; }
	.site-nav .menu > li.menu-cta > a { text-align: center; padding: 15px; }
}
@media (max-width: 960px) {
	.hero-inner, .split, .intro-split, .contact-split, .genre-cols { grid-template-columns: 1fr; }
	.hero-copy { padding-bottom: 0; }
	.shelf ul { height: 300px; }
	.service-grid { grid-template-columns: 1fr 1fr; }
	.service-card:nth-child(7) { grid-column: span 2; grid-template-columns: 1fr; gap: 10px; }
	.steps { grid-template-columns: 1fr 1fr; }
	.steps-long { grid-template-columns: 1fr; }
	.price-grid { grid-template-columns: 1fr; max-width: 520px; }
	.book-grid { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.foot-brand { grid-column: 1 / -1; }
	.cta-band { grid-template-columns: 1fr; }
	.blog-layout { grid-template-columns: 1fr; }
	.sitemap-grid { grid-template-columns: 1fr 1fr; }
	.foot-base { grid-template-columns: 1fr; gap: 12px; }
	.foot-disclaimer { text-align: left; justify-self: start; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 640px) {
	body { font-size: 16.5px; }
	.topbar-note { display: none; }
	.topbar-inner { justify-content: center; }
	.topbar-contact { gap: 16px; font-size: 13px; }
	.header-inner { min-height: 66px; }
	.brand-name { font-size: 1.1rem; }
	.nav-toggle span, .header-contact, .header-cta { display: none; }
	.shelf ul { height: 240px; gap: 3px; padding: 0; }
	.spine, .spine:nth-child(2n), .spine:nth-child(3n) { width: 40px; }
	.spine span { font-size: 12.5px; }
	.spine a::before { top: 10px; } .spine a::after { bottom: 10px; }
	.spine a::before, .spine a::after { left: 5px; right: 5px; }
	.spine:last-child { margin-left: 10px; }
	.service-grid { grid-template-columns: 1fr; }
	.service-card:nth-child(7) { grid-column: auto; }
	.steps { grid-template-columns: 1fr; }
	.steps-long li { grid-template-columns: 48px 1fr; column-gap: 14px; }
	.steps-long li::before { font-size: 2rem; }
	.facts { grid-template-columns: 1fr; }
	.book-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
	.review-grid { grid-template-columns: 1fr; }
	.form-row.two, .checks { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 36px; }
	.sitemap-grid { grid-template-columns: 1fr; }
	.post-card { grid-template-columns: 1fr; }
	.cta-band .btn { width: 100%; }
	.hero-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
