/* ------------------------------------------------------------------
   FER Rebuild — design tokens
------------------------------------------------------------------ */
:root {
	/* Logo palette, sampled directly from logo.png */
	--ink: #004c92;    /* dad figure — primary text, dark section backgrounds */
	--rose: #da1c55;   /* mom figure — secondary accent */
	--leaf: #6ea828;   /* child figure / ground arc, deepened for on-white use */
	--leaf-bright: #87c428; /* true logo green, for fills & badges */
	--gold: #fbc604;   /* heart — primary accent / CTA */
	--gold-dark: #c99a00;

	--ink-soft: color-mix(in srgb, var(--ink) 70%, white);
	--ink-wash: rgba(1, 44, 86, 0.84); /* translucent navy over photo */
	--ink-wash-soft: rgba(0, 33, 64, 0.9);

	--paper: #ffffff;
	--paper-tint: color-mix(in srgb, var(--gold) 7%, white);
	--leaf-tint: color-mix(in srgb, var(--leaf-bright) 12%, white);
	--rose-tint: color-mix(in srgb, var(--rose) 10%, white);
	--cream: #fbfdff;
	--line: rgba(0, 76, 146, 0.15);
	--line-on-ink: rgba(255, 255, 255, 0.18);

	--font-display: "Source Serif 4", Georgia, serif;
	--font-body: "Public Sans", -apple-system, BlinkMacSystemFont, sans-serif;
	--font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

	--wrap: 1350px;
}

/* ------------------------------------------------------------------
   Reset-ish basics
------------------------------------------------------------------ */
* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
}

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 28px;
}

h1, h2, h3 {
	font-family: var(--font-display);
	line-height: 1.12;
	margin: 0 0 0.5em;
	font-weight: 600;
}

p {
	margin: 0 0 1em;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--gold);
	color: var(--ink);
	padding: 12px 20px;
	z-index: 100;
	font-family: var(--font-body);
	font-weight: 600;
}

.skip-link:focus {
	left: 12px;
	top: 12px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
}

.eyebrow {
	font-family: var(--font-mono);
	text-transform: uppercase;
	letter-spacing: 0.09em;
	font-size: 0.76rem;
	font-weight: 600;
	color: var(--rose);
	margin: 0 0 0.9em;
}

/* ------------------------------------------------------------------
   Buttons
------------------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	border-radius: 3px;
	padding: 0.7em 1.3em;
	border: 1.5px solid transparent;
	transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
	cursor: pointer;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-brass {
	background: var(--gold);
	color: var(--ink);
	border-color: var(--gold);
}

.btn-brass:hover {
	background: var(--gold-dark);
	border-color: var(--gold-dark);
}

.btn-ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--line);
}

.btn-ghost:hover {
	border-color: var(--ink);
}

.btn-outline {
	background: transparent;
	color: var(--ink);
	border-color: var(--ink);
}

.btn-outline:hover {
	background: var(--ink);
	color: var(--cream);
}

.btn-lg {
	padding: 0.9em 1.6em;
	font-size: 1rem;
}

/* ------------------------------------------------------------------
   Header
------------------------------------------------------------------ */
.backdrop {
	background: var(--paper);
}
.site-header {
	background: var(--paper);
	color: var(--ink);
	position: relative;
	z-index: 10;
	border-bottom: 1px solid var(--line);
}

.site-header .wrap {
	max-width: 1440px;
}

.header-row {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--ink);
	flex-shrink: 0;
}

.brand-mark {
	height: 40px;
	width: auto;
	display: block;
	flex-shrink: 0;
}

.brand-name {
	font-family: var(--font-display);
	font-size: 1.3rem;
	line-height: 1.15;
	font-weight: 600;
	white-space: nowrap;
}

.primary-nav {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	justify-content: center;
}

.nav-panel-footer {
	display: none;
}

.primary-nav ul {
	list-style: none;
	display: flex;
	flex-wrap: nowrap;
	gap: 22px;
	margin: 0;
	padding: 0;
}

.primary-nav li {
	position: relative;
}

.primary-nav a {
	display: block;
	text-decoration: none;
	font-size: 0.98rem;
	font-weight: 500;
	color: var(--ink);
	opacity: 0.8;
	border-bottom: 1.5px solid transparent;
	padding: 10px 0 3px;
	white-space: nowrap;
	transition: opacity 0.15s ease, border-color 0.15s ease;
}

.primary-nav a:hover,
.primary-nav a:focus {
	opacity: 1;
	border-color: var(--rose);
}

.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	flex-direction: column;
	gap: 0;
	min-width: 260px;
	padding: 8px;
	margin: 0;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 6px;
	box-shadow: 0 16px 32px rgba(0, 33, 64, 0.14);
	display: none;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	display: flex;
}

.primary-nav .sub-menu li {
	width: 100%;
}

.primary-nav .sub-menu a {
	padding: 9px 12px;
	border-radius: 4px;
	border-bottom: none;
	opacity: 0.85;
	font-size: 0.92rem;
	white-space: normal;
}

.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu a:focus {
	opacity: 1;
	background: var(--paper-tint);
	border-color: transparent;
}

.primary-nav .sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	flex-shrink: 0;
}

.nav-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--ink);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:nth-child(2) {
	opacity: 0;
}

body.nav-open .nav-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.submenu-toggle {
	display: none;
	position: absolute;
	top: 2px;
	right: 4px;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
}

.submenu-toggle-icon {
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	margin-top: -4px;
}

.submenu-toggle[aria-expanded="true"] .submenu-toggle-icon {
	transform: rotate(-135deg);
	margin-top: 4px;
}

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------ */
.hero {
	position: relative;
	background: var(--ink-wash);
	color: var(--cream);
	padding: 76px 0 84px;
	isolation: isolate;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: url('../images/hero-bg.jpg');
	background-repeat: no-repeat;
	background-position: center 20%;
	background-size: cover;
	opacity: 0.55;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--ink-wash);
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 64px;
	align-items: center;
}

.hero-grid > * {
	min-width: 0;
}

.hero-copy .eyebrow {
	color: var(--gold);
}

.hero h1 {
	font-size: clamp(2.5rem, 4.4vw, 3.6rem);
	color: var(--cream);
}

.hero-lede {
	font-size: 1.15rem;
	max-width: 46ch;
	color: rgba(251, 253, 255, 0.86);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 1.6em 0 2.2em;
}

.hero-actions .btn-outline {
	color: var(--cream);
	border-color: var(--line-on-ink);
}

.hero-actions .btn-outline:hover {
	background: var(--cream);
	color: var(--ink);
	border-color: var(--cream);
}

.hero-phones {
	display: flex;
	gap: 40px;
	margin: 0;
	padding-top: 1.6em;
	border-top: 1px solid var(--line-on-ink);
}

.hero-phones dt {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(251, 253, 255, 0.6);
	margin-bottom: 0.3em;
}

.hero-phones dd {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 1.05rem;
	font-weight: 500;
}

.hero-phones a {
	text-decoration: none;
}

.hero-phones a:hover {
	color: var(--gold);
}

/* Calendar signature graphic */
.hero-calendar {
	background: var(--ink-wash-soft);
	border: 1px solid var(--line-on-ink);
	border-radius: 6px;
	padding: 28px;
}

.calendar-month {
	font-family: var(--font-mono);
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--gold);
	margin: 0 0 10px;
	text-align: center;
}

.calendar-weekdays {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 7px;
	margin-bottom: 8px;
}

.calendar-weekdays span {
	text-align: center;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: bold;
	letter-spacing: 0.04em;
	color: rgba(251, 253, 255, 0.5);
}

.calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 7px;
}

.cal-cell {
	aspect-ratio: 1 / 0.6;
	border-radius: 2px;
	background: rgba(251, 253, 255, 0.08);
	opacity: 0;
	transform: scale(0.6);
	animation: cal-in 0.5s ease forwards;
	animation-delay: var(--d);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: rgba(251, 253, 255, 0.55);
}

.cal-cell.is-active {
	background: var(--gold);
	color: var(--ink);
	font-weight: 600;
	position: relative;
}

.cal-cell.is-active::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 2px;
	box-shadow: 0 0 0 3px rgba(251, 198, 4, 0.25);
}

.cal-cell.is-empty {
	background: transparent;
	animation: none;
	opacity: 0;
}

@keyframes cal-in {
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.calendar-caption {
	text-align: center;
	font-family: var(--font-mono);
	font-size: 0.74rem;
	color: rgba(251, 253, 255, 0.65);
	margin: 10px 0 18px;
	letter-spacing: 0.01em;
}

@media (prefers-reduced-motion: reduce) {
	.cal-cell {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

/* ------------------------------------------------------------------
   Docket strip
------------------------------------------------------------------ */
.docket {
	background: var(--paper-tint);
	border-bottom: 1px solid var(--line);
}

.docket-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: 34px 28px;
}

.docket-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	padding: 0 24px;
	border-left: 1px solid var(--line);
}

.docket-item:first-child {
	border-left: none;
	padding-left: 0;
}

.docket-num {
	font-family: var(--font-mono);
	font-size: 1.9rem;
	font-weight: 600;
	color: var(--ink);
}

.docket-label {
	font-size: 0.86rem;
	color: var(--ink-soft);
}

/* ------------------------------------------------------------------
   Mission
------------------------------------------------------------------ */
.mission {
	background: var(--paper);
	padding: 92px 0;
}

.mission-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 64px;
}

.mission-heading h2 {
	font-size: clamp(1.8rem, 2.6vw, 2.3rem);
	position: sticky;
	top: 28px;
}

.mission-body p {
	font-size: 1.05rem;
	max-width: 62ch;
	color: var(--ink-soft);
}

.mission-emphasis {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.25rem;
	color: var(--ink);
	padding-top: 0.6em;
	border-top: 1px solid var(--line);
}

/* ------------------------------------------------------------------
   Membership — folder cards
------------------------------------------------------------------ */
.membership {
	background: var(--ink);
	color: var(--cream);
	padding: 92px 0;
}

.membership .eyebrow {
	color: var(--gold);
}

.membership h2 {
	color: var(--cream);
	font-size: clamp(1.9rem, 2.8vw, 2.4rem);
}

.membership-intro {
	max-width: 58ch;
	font-size: 1.05rem;
	color: rgba(251, 253, 255, 0.8);
	margin-bottom: 2.6em;
}

.folder-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
}

.folder-card {
	background: var(--leaf-tint);
	color: var(--ink);
	border-radius: 4px;
	padding: 40px 34px 34px;
	position: relative;
}

.folder-tab {
	position: absolute;
	top: -16px;
	left: 34px;
	background: var(--leaf-bright);
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 6px 14px;
	border-radius: 3px 3px 0 0;
}

.folder-card h3 {
	font-size: 1.4rem;
	margin-bottom: 0.6em;
}

.folder-card p {
	color: var(--ink-soft);
	font-size: 0.98rem;
}

.folder-list {
	margin: 0 0 1.4em;
	padding: 0 0 0 1.15em;
	color: var(--ink-soft);
	font-size: 0.98rem;
}

.folder-list li {
	margin-bottom: 0.7em;
}

.folder-price {
	list-style: none;
	margin: 1.4em 0 0;
	padding: 1.2em 0 0;
	border-top: 1px solid rgba(0, 76, 146, 0.16);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.folder-price li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 0.92rem;
}

.folder-price strong {
	font-family: var(--font-mono);
	font-size: 1.15rem;
}

.folder-price small {
	font-weight: 400;
	opacity: 0.7;
	font-size: 0.75rem;
}

.folder-price--single {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 1.4em;
	padding-top: 1.2em;
	border-top: 1px solid rgba(0, 76, 146, 0.16);
	font-size: 0.92rem;
}

.folder-price--single strong {
	font-family: var(--font-mono);
	font-size: 1.15rem;
}

.folder-card--accent {
	background: var(--rose-tint);
}

.folder-card--accent .folder-tab {
	background: var(--rose);
	color: var(--cream);
}

/* ------------------------------------------------------------------
   Testimonial
------------------------------------------------------------------ */
.testimonial {
	position: relative;
	overflow: hidden;
	padding: 128px 0;
	isolation: isolate;
}

.testimonial-media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: 78% center;
	filter: grayscale(1) contrast(1.08) brightness(0.85);
	z-index: -2;
}

.testimonial-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, var(--ink) 32%, rgba(0, 76, 146, 0.72) 56%, rgba(0, 76, 146, 0.42) 100%);
	mix-blend-mode: multiply;
	z-index: -1;
}

.testimonial::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 76, 146, 0.28);
	z-index: -1;
}

.testimonial blockquote {
	margin: 0;
	max-width: 560px;
	text-align: left;
}

.testimonial p {
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(1.5rem, 2.8vw, 2rem);
	line-height: 1.42;
	color: var(--cream);
	margin-bottom: 0.6em;
}

.testimonial cite {
	font-family: var(--font-mono);
	font-style: normal;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--gold);
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.site-footer {
	background: var(--ink);
	color: rgba(251, 253, 255, 0.66);
	padding: 72px 0 40px;
	font-size: 0.92rem;
	border-top: 4px solid var(--gold);
}

/* Homepage footer follows the dark testimonial section, which already
   provides contrast on its own — keep it light there, as before. */
.home .site-footer {
	background: var(--paper);
	color: var(--ink-soft);
	border-top: none;
}

.home .footer-brand .brand-name,
.home .footer-phone {
	color: var(--ink);
}

.home .footer-tagline,
.home .footer-address,
.home .footer-copy {
	color: var(--ink-soft);
}

.home .footer-menu a {
	color: var(--ink);
}

.home .footer-label {
	color: var(--rose);
}

.home .site-footer a:hover {
	color: var(--rose);
}

.home .footer-logo-plate {
	background: transparent;
}

.footer-top {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 48px;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-right: 24px;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

.footer-logo-plate {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--cream);
}

.footer-logo img {
	height: 24px;
	width: auto;
	flex-shrink: 0;
}

.footer-brand .brand-name {
	font-family: var(--font-display);
	color: var(--cream);
	font-size: 1.1rem;
	line-height: 1.2;
	font-weight: 600;
}

.footer-brand-text {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-tagline {
	font-size: 0.88rem;
	line-height: 1.55;
	color: rgba(251, 253, 255, 0.66);
	max-width: 32ch;
}

.footer-label {
	font-family: var(--font-mono);
	text-transform: uppercase;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: var(--gold);
}

.footer-phone {
	font-family: var(--font-mono);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--cream);
}

.footer-address {
	font-size: 0.88rem;
	line-height: 1.5;
	color: rgba(251, 253, 255, 0.66);
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--gold);
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-menu a {
	color: rgba(251, 253, 255, 0.86);
}

.footer-copy {
	margin: 0;
	font-size: 0.8rem;
	color: rgba(251, 253, 255, 0.66);
	opacity: 0.75;
}

/* ------------------------------------------------------------------
   Inner pages — header banner
------------------------------------------------------------------ */
.page-hero {
	position: relative;
	background: var(--ink);
	color: var(--cream);
	padding: 52px 0 56px;
	overflow: hidden;
	isolation: isolate;
}

.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: url('../images/hero-bg.jpg');
	background-repeat: no-repeat;
	background-position: center 25%;
	background-size: cover;
	opacity: 0.4;
}

.page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--ink-wash);
}

.page-hero .eyebrow {
	color: var(--gold);
}

.page-hero h1 {
	font-size: clamp(2rem, 3.6vw, 2.9rem);
	color: var(--cream);
	margin: 0.2em 0 0;
}

.page-hero-lede {
	font-size: 1.08rem;
	max-width: 62ch;
	color: rgba(251, 253, 255, 0.86);
	margin-top: 0.7em;
}

.breadcrumbs {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.02em;
	color: rgba(251, 253, 255, 0.55);
}

.breadcrumbs a {
	color: rgba(251, 253, 255, 0.75);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--gold);
}

/* ------------------------------------------------------------------
   Article page — prose
------------------------------------------------------------------ */
.article-body {
	background: var(--paper);
	padding: 64px 0 88px;
}

.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 700px);
	justify-content: start;
	gap: 56px;
}

.article-rail {
	display: none;
}

.rail-label {
	font-family: var(--font-mono);
	text-transform: uppercase;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: var(--rose);
	margin: 0 0 1em;
}

.rail-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	border-left: 2px solid var(--line);
}

.rail-list a {
	display: block;
	padding: 9px 0 9px 16px;
	margin-left: -2px;
	border-left: 2px solid transparent;
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--ink-soft);
	text-decoration: none;
}

.rail-list a:hover {
	color: var(--ink);
	border-left-color: var(--line);
}

.rail-list li.is-current a {
	color: var(--rose);
	border-left-color: var(--rose);
	font-weight: 500;
}

@media (min-width: 900px) {
	.article-layout {
		grid-template-columns: 240px minmax(0, 700px);
	}

	.article-rail {
		display: block;
		position: sticky;
		top: 32px;
		align-self: start;
	}
}

.prose {
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--ink);
}

.prose > *:first-child {
	margin-top: 0;
}

.prose h2 {
	font-size: 1.5rem;
	margin-top: 1.8em;
}

.prose h3 {
	font-size: 1.2rem;
	margin-top: 1.6em;
}

.prose p {
	margin: 0 0 1.3em;
}

.prose ul,
.prose ol {
	margin: 0 0 1.3em;
	padding-left: 1.3em;
}

.prose li {
	margin-bottom: 0.5em;
}

.prose a {
	color: var(--rose);
}

.prose blockquote {
	margin: 1.6em 0;
	padding: 0.2em 0 0.2em 1.2em;
	border-left: 3px solid var(--gold);
	color: var(--ink-soft);
	font-style: italic;
}

.placeholder-note {
	margin-top: 2em;
	padding: 1em 1.2em;
	background: var(--paper-tint);
	border: 1px dashed var(--line);
	border-radius: 6px;
	font-family: var(--font-mono);
	font-size: 0.82rem;
	color: var(--ink-soft);
}

/* ------------------------------------------------------------------
   Hub page — child link cards
------------------------------------------------------------------ */
.hub-body {
	background: var(--paper);
	padding: 64px 0 88px;
}

.hub-intro {
	max-width: 68ch;
	font-size: 1.08rem;
	line-height: 1.7;
	color: var(--ink-soft);
	margin-bottom: 2.6em;
}

.hub-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.hub-card {
	display: block;
	background: var(--paper-tint);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 22px 22px 20px;
	text-decoration: none;
	color: var(--ink);
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.hub-card:hover {
	border-color: var(--rose);
	transform: translateY(-2px);
}

.hub-card h3 {
	font-size: 1.08rem;
	margin: 0 0 0.4em;
}

.hub-card p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--ink-soft);
}

.hub-card-arrow {
	display: inline-block;
	margin-top: 0.8em;
	font-family: var(--font-mono);
	font-size: 0.76rem;
	color: var(--rose);
}

/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------ */
@media (max-width: 1440px) {
	.header-row {
		justify-content: space-between;
	}

	.nav-toggle {
		display: flex;
	}

	.primary-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		max-height: calc(100vh - 100%);
		overflow-y: auto;
		background: var(--paper);
		border-top: 1px solid var(--line);
		box-shadow: 0 16px 32px rgba(0, 33, 64, 0.14);
	}

	body.nav-open .primary-nav {
		display: block;
	}

	.primary-nav ul {
		flex-direction: column;
		flex-wrap: wrap;
		gap: 0;
		padding: 8px 0;
	}

	.primary-nav li {
		width: 100%;
	}

	.primary-nav a {
		padding: 14px 28px;
		border-bottom: 1px solid var(--line);
	}

	.submenu-toggle {
		display: flex;
	}

	.primary-nav .sub-menu {
		position: static;
		display: none;
		flex-direction: column;
		min-width: 0;
		margin: 0;
		padding: 0;
		background: var(--paper-tint);
		border: none;
		border-radius: 0;
		box-shadow: none;
	}

	.primary-nav li:hover > .sub-menu,
	.primary-nav li:focus-within > .sub-menu {
		display: none;
	}

	.primary-nav li.is-open > .sub-menu {
		display: flex;
	}

	.primary-nav .sub-menu a {
		padding-left: 44px;
	}

	.primary-nav .sub-menu .sub-menu a {
		padding-left: 60px;
	}

	.nav-panel-footer {
		display: block;
		padding: 16px 28px 24px;
	}

	.nav-panel-footer .btn {
		width: 100%;
	}
}

@media (max-width: 980px) {
	.hub-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero-grid,
	.mission-grid {
		grid-template-columns: 1fr;
	}

	.mission-heading h2 {
		position: static;
	}

	.docket-row {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 26px;
	}

	.docket-item:nth-child(3) {
		border-left: none;
		padding-left: 0;
	}

	.folder-grid {
		grid-template-columns: 1fr;
	}

	.footer-top {
		grid-template-columns: 1fr 1fr;
		row-gap: 40px;
	}

	.footer-brand {
		grid-column: 1 / -1;
		padding-right: 0;
	}
}

@media (max-width: 560px) {
	.hub-grid {
		grid-template-columns: 1fr;
	}

	.header-row {
		gap: 12px;
	}

	.brand-name {
		font-size: 1.05rem;
	}

	.header-actions {
		gap: 8px;
	}

	.header-actions .btn {
		padding: 0.65em 0.9em;
		font-size: 0.85rem;
	}

	.header-actions .btn-ghost {
		display: none;
	}

	.hero {
		padding: 52px 0 60px;
	}

	.hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero-phones {
		flex-direction: column;
		gap: 16px;
	}

	.docket-row {
		grid-template-columns: 1fr;
	}

	.docket-item {
		align-items: center;
		text-align: center;
		border-left: none;
		padding-left: 0;
		border-top: 1px solid var(--line);
		padding-top: 16px;
	}

	.docket-item:first-child {
		border-top: none;
		padding-top: 0;
	}

	.footer-top {
		grid-template-columns: 1fr;
		row-gap: 32px;
	}

	.footer-col,
	.footer-brand {
		align-items: center;
		text-align: center;
	}

	.footer-brand {
		grid-column: auto;
	}

	.footer-logo {
		flex-direction: column;
		justify-content: center;
		gap: 10px;
	}

	.footer-logo-plate {
		width: auto;
		height: auto;
	}

	.footer-logo img {
		height: 60px;
	}

	.testimonial {
		padding: 88px 0;
	}

	.testimonial-media {
		background-position: 68% center;
	}

	.testimonial-scrim {
		background: linear-gradient(180deg, var(--ink) 42%, rgba(0, 76, 146, 0.62) 100%);
	}

	.testimonial blockquote {
		max-width: 100%;
	}
}
