/*
Theme Name: LeTip of Patchogue
Author: Site Team
Description: Custom theme for the LeTip of Patchogue, NY chapter.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: letip-patchogue
*/

:root {
	--navy: #01162e;
	--panel: #1a3350;
	--red: #c9321f;
	--red-dark: #a92817;
	--gold: #e0a030;
	--light: #f6f1ea;
	--light-card: #fbf8f3;
	--ink: #0b1f33;
	--gold-on-light: #8a5a10;
	--white: #fff;
	--muted: #c5d0da;
	--line: #35506a;
	--line-gold: rgba(224, 160, 48, 0.8);
	--display: "Newsreader", Georgia, "Times New Roman", serif;
	--body: "Mulish", "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(24px, 3vw, 44px);
	--max: 1320px;
	--header: 80px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--navy);
	color: var(--white);
	font-family: var(--body);
	font-size: 18px;
	line-height: 1.55;
	overflow-x: clip;
}

body:not(.home) { padding-top: var(--header); }

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

h1, h2, h3 {
	margin: 0;
	font-family: var(--display);
	font-weight: 500;
	line-height: 1.12;
	text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 5.2vw, 4.75rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.visit :focus-visible, .proof :focus-visible, .m-does :focus-visible, .m-reach :focus-visible, .p-form :focus-visible,
.p-sec--light :focus-visible, .p-stats :focus-visible { outline-color: var(--ink); }
.p-form :focus-visible, .guest-form input:focus-visible { outline-color: var(--ink); }

.skip-link {
	position: fixed;
	top: -80px;
	left: 16px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--white);
	color: var(--ink);
	font-weight: 700;
}
.skip-link:focus { top: 8px; }

.ruled::after {
	content: "";
	display: block;
	width: 140px;
	height: 2px;
	margin-top: 16px;
	background: var(--gold);
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 15px 26px;
	border: 1px solid transparent;
	border-radius: 3px;
	font-family: var(--display);
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease;
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); }
.btn--outline { border-color: var(--gold); color: var(--gold); background: rgba(2, 23, 42, 0.45); }
.btn--outline:hover { background: var(--gold); color: var(--navy); }
.btn--small { padding: 11px 20px; font-size: 0.95rem; }
.btn--large { padding: 18px 38px; font-size: 1.2rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; }

.link-arrow { color: var(--gold); font-family: var(--display); font-size: 1.2rem; text-decoration: none; }
.link-arrow::after { content: " \2192"; font-size: 1.15em; }
a.link-arrow:hover { text-decoration: underline; }

/* Header */
.site-header {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	z-index: 50;
	background: var(--navy);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header);
	padding-inline: var(--gutter);
}
.site-header__brand {
	font-family: var(--display);
	font-size: clamp(1.45rem, 2.4vw, 2.15rem);
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
}
.site-nav { display: flex; align-items: center; gap: 40px; }
.site-nav__list { display: flex; gap: 40px; }
.site-nav__list a { font-family: var(--display); font-size: 1.1rem; text-decoration: none; }
.site-nav__list a:hover { color: var(--gold); }
.site-header__toggle {
	display: none;
	padding: 10px 14px;
	border: 1px solid var(--gold);
	border-radius: 3px;
	background: transparent;
	color: var(--white);
	font: 700 1rem var(--body);
	cursor: pointer;
}

/* 01 Hero */
.hero {
	position: relative;
	min-height: 578px;
	padding-top: var(--header);
	display: flex;
	align-items: center;
	background: var(--navy);
	overflow: hidden;
}
.hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 40%;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(2, 15, 28, 0.74) 0%, rgba(2, 15, 28, 0.5) 34%, rgba(2, 15, 28, 0) 56%);
}
.hero__content {
	position: relative;
	z-index: 2;
	width: min(780px, 100%);
	padding: 48px var(--gutter);
	display: grid;
	gap: 20px;
}
.hero__sub { max-width: 24em; font-size: 1.3rem; line-height: 1.4; }
.hero .btn-row { margin-top: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 1rem; }
.hero__trust li + li { padding-left: 22px; border-left: 1px solid var(--gold); }

/* 02 Paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line-gold); }
.path {
	display: flex;
	align-items: center;
	gap: 48px;
	padding: 48px clamp(24px, 6vw, 90px);
	text-decoration: none;
	color: var(--white);
}
.path + .path { border-left: 1px solid var(--line-gold); }
.path--raised { background: var(--panel); }
.path .icon { flex: 0 0 auto; width: 176px; height: 176px; color: var(--gold); }
.path__body { display: grid; gap: 12px; min-width: 0; }
.path__title { font-family: var(--display); font-size: clamp(1.8rem, 3.2vw, 2.85rem); font-weight: 500; line-height: 1.12; }
.path__text { font-size: 1.15rem; }
.path:hover .link-arrow { text-decoration: underline; }

/* Sound familiar */
.pain { background: var(--panel); border-bottom: 1px solid var(--line-gold); }
.pain__inner {
	display: grid;
	grid-template-columns: minmax(280px, 3fr) 8fr;
	gap: 56px;
	align-items: center;
	padding: 56px var(--gutter);
}
.pain__main { display: grid; gap: 24px; }
.pain__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; }
.pain__list li { padding-top: 14px; border-top: 1px solid var(--line-gold); font-size: 1.15rem; }
.pain__close { font-family: var(--display); font-style: italic; font-size: 1.8rem; color: var(--gold); }

/* 03 Pillars */
.pillars { border-bottom: 1px solid var(--line-gold); }
.pillars__inner {
	display: grid;
	grid-template-columns: minmax(280px, 3fr) 7fr;
	gap: 40px;
	align-items: center;
	padding: 32px var(--gutter);
}
.pillars__list { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; }
.pillars h2, .proof h2 { font-size: clamp(2.2rem, 4.2vw, 3.75rem); max-width: 7.5em; }
.pillar { padding: 8px 24px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.pillar + .pillar { border-left: 1px solid var(--line-gold); }
.pillar .icon { width: 96px; height: 96px; }
.pillar h3 { font-size: clamp(1.5rem, 2.4vw, 2.15rem); max-width: 8em; }
.pillar p { font-size: 1.15rem; max-width: 16em; }

/* 04 One seat */
.seat { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-gold); }
.seat__image { width: 100%; height: 0; min-height: 100%; object-fit: cover; object-position: center 18%; }
.seat__body { align-self: center; display: grid; gap: 24px; padding: 40px clamp(24px, 5vw, 56px); }
.seat__body p { font-size: 1.3rem; max-width: 26em; }

/* 05 Visit */
.visit { background: var(--light); color: var(--ink); }
.visit__inner {
	display: grid;
	grid-template-columns: minmax(280px, 3fr) 8fr;
	gap: 56px;
	align-items: center;
	padding: 32px var(--gutter);
}
.visit__intro { display: grid; gap: 14px; }
.visit__note { font-family: var(--display); font-style: italic; font-size: 1.8rem; color: var(--gold-on-light); }
.visit__steps { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step {
	position: relative;
	padding: 4px 56px 4px 86px;
	counter-increment: step;
	display: grid;
	gap: 12px;
	align-content: start;
}
.step + .step { border-left: 1px solid rgba(138, 90, 16, 0.5); }
.step:not(:last-child)::after {
	content: "\2192";
	position: absolute;
	right: 18px;
	top: 44%;
	color: var(--gold-on-light);
	font-size: 1.6rem;
}
.step::before {
	content: counter(step);
	position: absolute;
	left: 28px;
	top: 4px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--navy);
	color: var(--white);
	font-family: var(--display);
	font-size: 1.25rem;
	font-weight: 500;
}
.step p { font-size: 1.05rem; }

/* 06 Find a pro */
.pros { border-bottom: 1px solid var(--line-gold); }
.pros__inner { display: grid; gap: 24px; padding: 32px var(--gutter); }
.pros__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pros__grid > li { display: flex; min-width: 0; }
.pro-card {
	flex: 1;
	display: grid;
	align-content: start;
	justify-items: center;
	gap: 6px;
	padding: 18px 12px;
	border: 1px solid var(--gold);
	border-radius: 6px;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.18s ease;
}
.pro-card:hover { background: var(--panel); }
.pro-card .icon { width: 84px; height: 84px; }
.pro-card__trade { font-family: var(--display); font-size: 1.4rem; font-weight: 500; line-height: 1.2; }
.pro-card__name { font-size: 1rem; margin-top: 4px; }
.pro-card__biz { font-size: 0.875rem; color: var(--muted); line-height: 1.35; }
.pros__all { justify-self: center; padding-bottom: 6px; border-bottom: 1px solid var(--gold); }

/* 07 Proof */
.proof { background: var(--light); color: var(--ink); }
.proof__inner {
	display: grid;
	grid-template-columns: minmax(280px, 3fr) 8fr;
	gap: 56px;
	align-items: center;
	padding: 32px var(--gutter);
}
.proof__main { display: grid; gap: 12px; }
.proof__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; }
.stat {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: 8px;
	padding: 26px 20px;
	background: var(--light-card);
	border: 1px solid rgba(11, 31, 51, 0.14);
	border-radius: 3px;
	text-align: center;
}
.stat dd {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(3rem, 5.4vw, 4.75rem);
	font-weight: 500;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.stat dt { font-family: var(--display); font-style: italic; font-size: 1.2rem; }
.proof__source { font-family: var(--display); font-style: italic; color: #4a5a68; text-align: center; }

/* 08 Map and FAQ */
.area-faq { display: grid; grid-template-columns: 53fr 47fr; }
.area { min-width: 0; background: var(--navy); }
.area__map { position: relative; height: 100%; min-height: 300px; }
.area__map img { width: 100%; height: 100%; object-fit: cover; }
.area__label {
	position: absolute;
	transform: translate(-50%, -50%);
	padding: 5px 12px;
	background: var(--navy);
	color: var(--white);
	font-size: 0.95rem;
	font-weight: 700;
	white-space: nowrap;
}
.area__label--home { background: var(--navy); }
.area__label--home::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -36px;
	width: 30px;
	height: 30px;
	margin-left: -15px;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	background: var(--red);
	box-shadow: inset 0 0 0 9px var(--red), inset 0 0 0 15px #f4d9d4;
}
.area__chips { display: none; }
.faq { display: grid; gap: 14px; align-content: center; padding: 28px clamp(24px, 3vw, 44px); }
.faq h2 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); margin-bottom: 8px; }
.faq__item { border: 1px solid var(--line-gold); margin-top: -15px; }
.faq h2 + .faq__item { margin-top: 0; }
.faq__item summary {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 16px;
	font-family: var(--display);
	font-size: 1.15rem;
	cursor: pointer;
	list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--gold); font-family: var(--body); font-size: 1.5rem; line-height: 1; }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { padding: 0 16px 16px; font-size: 1rem; color: var(--muted); }

/* 09 Final call and footer */
.final { position: relative; display: grid; grid-template-columns: 42fr 58fr; min-height: 300px; border-top: 1px solid var(--line-gold); }
.final__image { width: 100%; height: 100%; object-fit: cover; }
.final::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 30%;
	width: 12.5%;
	background: linear-gradient(90deg, rgba(2, 23, 42, 0), var(--navy));
	pointer-events: none;
}
.final__body { display: grid; gap: 18px; justify-items: center; align-content: center; padding: 32px var(--gutter); text-align: center; }
.final__body h2 { font-size: clamp(2.2rem, 4.2vw, 3.75rem); }
.final__body h2::after { content: ""; display: block; width: 140px; height: 2px; margin: 16px auto 0; background: var(--gold); }
.final__details { font-family: var(--display); font-size: 1.1rem; }
.site-footer { position: relative; border-top: 1px solid var(--line-gold); }
.site-footer::before { content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -5px; background: var(--gold); transform: rotate(45deg); }
.site-footer__inner { display: grid; justify-items: center; gap: 6px; padding: 16px var(--gutter); text-align: center; font-family: var(--display); font-size: 1rem; }
.site-footer__social { display: flex; gap: 24px; }
.site-footer__social a { color: var(--gold); text-underline-offset: 3px; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 0.9rem; }
.site-footer__links a { color: var(--muted); }
.site-footer__brand { font-family: var(--display); font-size: 1.05rem; }

.page-main { min-height: 50vh; }
.page-main--prose { max-width: 760px; margin-inline: auto; padding: 56px var(--gutter); }

html { scroll-behavior: smooth; }
.pro-card { transition: background-color 0.18s ease, transform 0.18s ease; }
.pro-card:hover { transform: translateY(-4px); }
.mobile-cta { display: none; }

/* Inner pages: block buttons */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.wp-block-button .wp-element-button {
	display: inline-block;
	padding: 18px 32px;
	border: 1px solid transparent;
	border-radius: 3px;
	font-family: var(--body);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease;
}
.btn-primary .wp-element-button { background: var(--red); color: var(--white); }
.btn-primary .wp-element-button:hover { background: var(--red-dark); }
.btn-outline .wp-element-button { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline .wp-element-button:hover { background: var(--gold); color: var(--navy); }
.page-main .wp-block-image { margin: 0; }
.page-main .wp-block-heading { margin: 0; }

/* Member page */
.page-intro { padding: 64px var(--gutter); display: grid; gap: 16px; }
.m-hero {
	display: grid;
	grid-template-columns: 11fr 9fr;
	gap: 56px;
	align-items: center;
	padding: 40px clamp(24px, 5vw, 76px) 48px;
}
.m-hero__text { display: grid; gap: 14px; min-width: 0; }
.m-crumb { font-size: 0.95rem; }
.m-crumb a { text-decoration: none; }
.m-crumb a:hover { text-decoration: underline; }
.m-label { font-family: var(--display); font-size: 1.5rem; color: var(--gold); }
.m-label::after { content: ""; display: block; width: 80px; height: 2px; margin-top: 8px; background: var(--gold); }
.m-role { display: inline-block; justify-self: start; padding: 4px 12px; border: 1px solid var(--gold); color: var(--gold); font-size: 0.95rem; font-weight: 700; }
.m-sub { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.15; }
.m-lede { font-size: 1.5rem; line-height: 1.4; max-width: 26em; }
.m-hero .wp-block-buttons { margin-top: 12px; }
.m-hero__photo {
	display: grid;
	place-items: center;
	min-height: 440px;
	border: 2px solid var(--gold);
	border-radius: 3px;
}
.m-hero__photo .wp-block-image img { width: 140px; height: 140px; }
.m-does, .m-reach { background: var(--light); color: var(--ink); }
.m-does, .m-who, .m-room, .m-reach, .m-more { padding: 36px clamp(24px, 4vw, 60px); display: grid; gap: 24px; }
.m-does__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.m-card {
	display: grid;
	gap: 8px;
	justify-items: center;
	align-content: start;
	padding: 24px 16px;
	text-align: center;
	min-width: 0;
}
.m-card .wp-block-image img { width: 104px; height: 104px; }
.m-card h3 { font-size: clamp(1.35rem, 2.1vw, 1.9rem); font-weight: 600; text-wrap: balance; max-width: 9em; }
.m-does h2, .m-reach h2 { font-weight: 600; }
.m-does .m-card { border: 1px solid rgba(138, 90, 16, 0.5); border-radius: 6px; background: var(--light-card); }
/* Marigold on off-white fails contrast, so icons on light bands use the darker tone. */
.m-does .m-card .wp-block-image img { filter: brightness(0.62) saturate(1.2); }
.m-who {
	grid-template-columns: minmax(240px, 3fr) 8fr;
	align-items: center;
	border-block: 1px solid var(--line-gold);
}
.m-who p { padding-left: 32px; border-left: 1px solid var(--line-gold); font-size: 1.3rem; line-height: 1.45; max-width: 38em; }
.m-room { background: #0c2740; border-bottom: 1px solid var(--line-gold); }
.m-room__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.m-room .m-card + .m-card { border-left: 1px solid var(--line-gold); }
.m-reach__card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding: 20px 28px;
	background: var(--light-card);
	border: 1px solid rgba(138, 90, 16, 0.5);
	border-radius: 6px;
}
.m-reach__item { flex: 1 1 auto; padding-right: 32px; border-right: 1px solid rgba(138, 90, 16, 0.5); font-family: var(--body); font-size: 1.35rem; font-weight: 700; text-align: center; }
.m-reach__item a { text-decoration: none; }
.m-reach__item a:hover { text-decoration: underline; }
.m-note { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--gold-on-light); text-align: center; }
.m-more__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.m-more .m-card { position: relative; border: 1px solid var(--gold); border-radius: 6px; transition: background-color 0.18s ease, transform 0.18s ease; }
.m-more .m-card:hover { background: var(--panel); transform: translateY(-4px); }
.m-more .m-card h3 a { text-decoration: none; }
.m-more .m-card h3 a::after { content: ""; position: absolute; inset: 0; }
.m-more h3 { max-width: none; }
.m-card__name, .m-card__biz { font-size: 1.1rem; }
.m-final { display: grid; gap: 18px; justify-items: center; padding: 56px var(--gutter); text-align: center; border-top: 1px solid var(--line-gold); }
.m-final h2 { font-size: clamp(2.2rem, 4.2vw, 3.75rem); }
.m-final__details { font-size: 1.15rem; }
.m-final .wp-element-button { padding: 22px 48px; font-size: 1.4rem; }

/* Chapter pages */
.p-hero { display: grid; gap: 16px; padding: 56px clamp(24px, 5vw, 76px) 48px; border-bottom: 1px solid var(--line-gold); }
.p-hero h1 { max-width: 14em; }
.p-hero .m-lede { max-width: 32em; }
.p-sec { display: grid; gap: 20px; padding: 48px clamp(24px, 5vw, 76px); }
.p-sec p { font-size: 1.2rem; max-width: 40em; }
.p-sec--light { background: var(--light); color: var(--ink); }
.p-prose h3 { margin-top: 12px; }
.p-prose a, .p-details a { color: var(--gold); }
.p-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 48px clamp(24px, 5vw, 76px); }
.p-details, .p-form { display: grid; gap: 18px; align-content: start; min-width: 0; }
.p-details p { font-size: 1.15rem; }
.p-form { padding: 32px; background: var(--light); color: var(--ink); border-radius: 6px; }
.p-faq { border: 1px solid var(--line-gold); margin: 0; }
.p-faq summary { padding: 14px 18px; font-family: var(--display); font-size: 1.3rem; cursor: pointer; }
.p-faq p { padding: 0 18px 18px; color: var(--muted); font-size: 1.1rem; }
.p-faq + .p-faq { margin-top: -21px; }
.p-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 48px clamp(24px, 5vw, 76px); background: var(--light); color: var(--ink); }
.p-stat { padding: 26px 20px; background: var(--light-card); border: 1px solid rgba(11, 31, 51, 0.14); border-radius: 3px; text-align: center; }
.p-stat__n { font-family: var(--display); font-size: clamp(3rem, 5.4vw, 4.75rem); font-weight: 500; line-height: 1; }
.p-source { grid-column: 1 / -1; font-family: var(--display); font-style: italic; color: #4a5a68; text-align: center; }
.p-leaders, .p-steps { display: grid; gap: 10px; padding-left: 1.2em; font-size: 1.2rem; }
.p-leaders { list-style: none; padding-left: 0; }
.p-steps { list-style: decimal; }
.m-more h2 a { text-decoration: none; }
.m-more h2 a:hover { text-decoration: underline; }
.m-more + .m-more { border-top: 1px solid var(--line-gold); }

/* Guest form */
.guest-form { display: grid; gap: 18px; max-width: 560px; }
.guest-form__field { display: grid; gap: 6px; }
.guest-form label { font-weight: 700; }
.guest-form input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #5c6f80;
	border-radius: 3px;
	background: var(--white);
	color: var(--ink);
	font: 1rem var(--body);
}
.guest-form__trap { position: absolute; left: -9999px; }
.guest-form .btn { justify-self: start; }
.form-note { padding: 16px; border: 1px solid var(--gold); }
.guest-form__error { color: #b3261e; font-weight: 700; font-size: 0.95rem; }
.guest-form input[aria-invalid="true"] { border: 2px solid #b3261e; }
.guest-form__summary { padding: 16px 18px; border: 2px solid #b3261e; background: #fff; color: var(--ink); border-radius: 3px; }
.guest-form__summary ul { margin: 8px 0 0; padding-left: 1.2em; list-style: disc; }

/* Large zoom: keep sticky bars from covering the page. */
@media (max-height: 500px) {
	.site-header { position: absolute; }
	.mobile-cta { display: none !important; }
	body { padding-bottom: 0 !important; }
}

/* Desktop bands keep the height of the approved design. */
@media (min-width: 1181px) {
	.paths, .pillars__inner, .visit__inner, .seat, .pros__inner, .area-faq { min-height: min(34.4vw, 495px); }
	.proof__inner { min-height: min(26.1vw, 376px); }
	.pros__inner { align-content: center; }
}

/* Tablet */
@media (max-width: 1180px) {
	.hero::before { background: linear-gradient(90deg, rgba(2, 15, 28, 0.9) 0%, rgba(2, 15, 28, 0.82) 48%, rgba(2, 15, 28, 0.25) 78%); }
	.site-nav, .site-nav__list { gap: 22px; }
	.pros__grid { grid-template-columns: repeat(3, 1fr); }
	.pillars__inner, .visit__inner, .proof__inner, .pain__inner { grid-template-columns: 1fr; gap: 28px; }
	.step { padding-right: 44px; }
	.path { gap: 24px; }
	.path .icon { width: 96px; height: 96px; }
}

/* Mobile */
@media (max-width: 860px) {
	body { font-size: 17px; }
	:root { --header: 68px; }
	.site-header__toggle { display: block; }
	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 16px var(--gutter) 24px;
		flex-direction: column;
		align-items: stretch;
		background: var(--navy);
		border-bottom: 1px solid var(--line-gold);
	}
	.site-nav.is-open { display: flex; }
	.site-nav__list { flex-direction: column; gap: 4px; }
	.site-nav__list a { display: block; padding: 10px 0; }
	body { padding-bottom: 76px; }
	.mobile-cta {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 40;
		padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
		background: var(--navy);
		border-top: 1px solid var(--line-gold);
	}
	.mobile-cta .btn { display: block; }
	.pain__inner { grid-template-columns: 1fr; gap: 24px; padding-block: 36px; }
	.pain__list { grid-template-columns: 1fr; gap: 14px; }
	.hero__trust { font-size: 0.95rem; flex-direction: column; gap: 2px; }
	.hero__trust li + li { padding-left: 0; border-left: 0; }
	.m-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
	.p-split { grid-template-columns: 1fr; gap: 32px; }
	.p-form { padding: 20px; }
	.p-stats { grid-template-columns: 1fr; }
	.m-hero__photo { min-height: 200px; }
	.m-hero__photo .wp-block-image img { width: 96px; height: 96px; }
	.m-does__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.m-who { grid-template-columns: 1fr; }
	.m-who p { padding-left: 0; border-left: 0; font-size: 1.1rem; }
	.m-room__grid, .m-more__grid { grid-template-columns: 1fr; gap: 16px; }
	.m-room .m-card + .m-card { border-left: 0; border-top: 1px solid var(--line-gold); }
	.m-reach__card { flex-direction: column; align-items: flex-start; }
	.m-reach__item { padding-right: 0; border-right: 0; text-align: left; }
	.hero { display: block; min-height: 0; }
	.hero__image { position: static; height: 250px; object-position: 62% 25%; }
	.hero::before { display: none; }
	.hero__content { padding-block: 28px 32px; }
	.hero__sub { font-size: 1.1rem; }
	.hero .btn-row { flex-direction: column; gap: 12px; }
	.paths, .seat, .area-faq, .final { grid-template-columns: 1fr; }
	.path { padding: 28px var(--gutter); gap: 20px; align-items: flex-start; }
	.path + .path { border-left: 0; border-top: 1px solid var(--line-gold); }
	.path .icon { width: 72px; height: 72px; }
	.pillars__list { grid-template-columns: 1fr; gap: 24px; }
	.pillar { padding: 0; }
	.pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
	.seat__image { height: 280px; min-height: 0; }
	.visit__steps { grid-template-columns: 1fr; gap: 20px; }
	.step { padding: 0 0 0 60px; }
	.step:not(:last-child)::after { display: none; }
	.step + .step { border-left: 0; }
	.step::before { left: 0; top: 0; }
	.pros__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.proof__stats { grid-template-columns: 1fr; gap: 12px; }
	.proof__source { text-align: left; }
	.area__map { height: auto; min-height: 0; }
	.area__label { display: none; }
	.area__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px var(--gutter) 0; }
	.area__chips li { padding: 4px 12px; border: 1px solid var(--line-gold); font-size: 0.9rem; }
	.faq { padding-inline: var(--gutter); }
	.final__image { max-height: 220px; }
	.final::after { display: none; }
}

/* Editor and reduced motion */
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
.p-creed { margin: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold); }
.p-creed p { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.45; max-width: 36em; }

/* Design pass (2026-11-08): photos, icon cards and colour blocks on inner pages. */
.p-hero--photo { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 4vw, 64px); }
.p-hero__text { display: grid; gap: 16px; min-width: 0; align-content: center; }
.p-hero__img img, .p-media__img img, .p-pair__img img, .p-details__img img {
	display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
	border-radius: 6px; border: 1px solid var(--line-gold); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.p-cards { display: grid; gap: 20px; }
.p-cards--3 { grid-template-columns: repeat(3, 1fr); }
.p-cards--4 { grid-template-columns: repeat(4, 1fr); }
.p-card {
	position: relative; display: grid; gap: 10px; align-content: start; min-width: 0;
	padding: 26px 22px 24px; background: var(--panel); border-top: 3px solid var(--gold); border-radius: 6px;
	transition: transform 0.18s ease;
}
.p-card:hover { transform: translateY(-4px); }
.p-card h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 600; }
.p-sec .p-card p { font-size: 1.05rem; color: var(--muted); }
.p-card__icon img { width: 64px; height: 64px; }
.p-card__n { position: absolute; top: 18px; right: 20px; font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--gold); opacity: 0.55; }
.p-sec--light .p-card { background: var(--light-card); border: 1px solid rgba(138, 90, 16, 0.35); border-top: 3px solid var(--red); }
.p-sec--light .p-card p { color: #3b4a58; }
.p-sec--light .p-card__n { color: var(--gold-on-light); }
.p-sec--light .p-card__icon img, .p-faqgroup__head img { filter: none; }
.p-sec--light .p-card__icon img { filter: brightness(0.62) saturate(1.2); }
.p-timeline { display: grid; gap: 14px; }
.p-time { justify-self: start; padding: 6px 16px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 1rem !important; }
.p-time strong { margin-right: 6px; }
.p-time--end { justify-self: end; background: var(--gold); color: var(--navy); }
.p-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 0 clamp(24px, 5vw, 76px) 48px; }
.p-pair__item { display: grid; gap: 12px; }
.p-pair__item p { font-size: 1.1rem; }
.p-creed-band { position: relative; background: var(--red); color: var(--white); overflow: hidden; }
.p-creed-band::before { content: "\201C"; position: absolute; right: 4%; top: -40px; font-family: var(--display); font-size: 22rem; line-height: 1; color: rgba(255, 255, 255, 0.12); pointer-events: none; }
.p-creed-band .p-creed { border-left-color: var(--gold); }
.p-creed-band .wp-block-heading.ruled::after { background: var(--gold); }
.p-media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding: 56px clamp(24px, 5vw, 76px); }
.p-media--flip > :first-child { order: 2; }
.p-media__text { display: grid; gap: 18px; min-width: 0; }
.p-media__text p { font-size: 1.2rem; max-width: 34em; }
.p-media__img--art img { aspect-ratio: 1; max-width: 440px; margin-inline: auto; box-shadow: none; border: 0; }
.p-media.p-sec--light a, .p-sec--light .p-source { color: var(--gold-on-light); }
.p-bignum { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-left: 4px solid var(--gold); background: rgba(255, 255, 255, 0.04); }
.p-bignum__n { font-family: var(--display); font-size: clamp(3.2rem, 6vw, 5rem) !important; line-height: 1; color: var(--gold); }
.p-bignum__l { font-size: 1.15rem !important; max-width: 14em; }
.p-media .p-source { font-family: var(--display); font-style: italic; color: var(--muted); }
.p-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 40px clamp(24px, 5vw, 76px); background: var(--light); color: var(--ink); }
.p-fact { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--light-card); border: 1px solid rgba(138, 90, 16, 0.35); border-radius: 6px; }
.p-fact p { font-size: 1.1rem; line-height: 1.4; }
.p-fact a { color: var(--gold-on-light); }
.p-fact .p-card__icon img { width: 56px; height: 56px; filter: brightness(0.62) saturate(1.2); }
.p-more-link { font-size: 1.05rem !important; max-width: none !important; }
.p-more-link a, .p-faq a { color: var(--gold); }
.p-faqs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 48px clamp(24px, 5vw, 76px); align-items: start; }
.p-faqgroup { display: grid; gap: 0; }
.p-faqgroup__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.p-faqgroup__head img { width: 52px; height: 52px; }
.p-faqgroup .p-faq + .p-faq { margin-top: -1px; }
.p-faqgroup .p-faq { background: var(--panel); }
.p-leaders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.p-leader { display: grid; justify-items: center; gap: 8px; padding: 24px 16px; text-align: center; background: var(--panel); border-top: 3px solid var(--gold); border-radius: 6px; }
.p-avatar { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--red); color: var(--white); font-family: var(--display); font-size: 1.8rem !important; }
.p-leader h3 { font-size: 1.3rem; }
.p-leader h3 a { text-decoration: none; }
.p-leader h3 a:hover { text-decoration: underline; }
.p-leader__role { color: var(--gold); font-size: 1rem !important; font-weight: 700; }
.p-chips { padding: 20px clamp(24px, 4vw, 60px); border-bottom: 1px solid var(--line-gold); }
.p-chips p { display: flex; flex-wrap: wrap; gap: 10px; }
.p-chip { padding: 8px 16px; border: 1px solid var(--gold); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.p-chip:hover { background: var(--gold); color: var(--navy); }
.p-grouphead { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.p-grouphead img { width: 56px; height: 56px; }
.p-count { margin-left: auto; color: var(--muted); }
.m-more[id] { scroll-margin-top: calc(var(--header) + 12px); }
/* Member pages: framed icon over a meeting photo, a card for "Who it's for", a photo behind the final call. */
.m-hero__photo {
	background: linear-gradient(rgba(1, 22, 46, 0.72), rgba(1, 22, 46, 0.86)), url("assets/images/photo-room.webp") center / cover;
	border-radius: 6px;
}
.m-hero__photo .wp-block-image { display: grid; place-items: center; width: 220px; height: 220px; border-radius: 50%; background: var(--navy); border: 3px solid var(--gold); box-shadow: 0 0 0 10px rgba(224, 160, 48, 0.15); }
.m-who__card { display: flex; align-items: center; gap: 24px; padding: 22px 28px; background: var(--panel); border-left: 4px solid var(--gold); border-radius: 6px; }
.m-who__card .wp-block-image img { width: 72px; height: 72px; }
.m-who .m-who__card p { padding-left: 0; border-left: 0; }
.m-final { background: linear-gradient(rgba(1, 22, 46, 0.82), rgba(1, 22, 46, 0.9)), url("assets/images/photo-harbor.webp") center / cover; }
@media (max-width: 1180px) {
	.p-cards--4 { grid-template-columns: repeat(2, 1fr); }
	.p-faqs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.p-hero--photo, .p-media, .p-pair, .p-cards--3, .p-facts, .p-faqs { grid-template-columns: 1fr; }
	.p-media--flip > :first-child { order: 0; }
	.p-hero__img { order: -1; }
	.p-creed-band::before { font-size: 12rem; }
	.m-hero__photo .wp-block-image { width: 170px; height: 170px; }
}
@media (max-width: 520px) {
	.p-cards--4 { grid-template-columns: 1fr; }
	.m-who__card { flex-direction: column; align-items: flex-start; }
}
/* QA fixes after the design pass. */
.m-does, .m-who, .m-room, .m-reach, .m-more, .p-chips { padding-inline: clamp(24px, 5vw, 76px); }
.p-faqgroup__head h2 { font-size: clamp(1.45rem, 1.9vw, 1.85rem); white-space: nowrap; }
.p-creed-band::before { top: 0; font-size: 16rem; line-height: 0.8; }
.p-grouphead { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 2px; align-items: center; }
.p-grouphead .p-count { grid-column: 2; margin-left: 0; }
.p-media__img--art img { margin-inline: 0; }
@media (max-width: 860px) {
	.m-hero__photo { order: -1; min-height: 260px; }
	.p-creed-band::before { font-size: 10rem; }
}
@media (max-width: 520px) {
	.m-does .m-card, .m-more .m-card { padding: 18px 14px; }
	.m-card .wp-block-image img { width: 64px; height: 64px; }
	.m-more__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.m-more .m-card h3 { font-size: 1.15rem; }
	.m-card__name, .m-card__biz { font-size: 0.95rem; }
	.p-leaders-grid { grid-template-columns: 1fr 1fr; }
	.p-avatar { width: 56px; height: 56px; font-size: 1.4rem !important; }
}
/* Open seats page and guest tip (2026-11-10). */
.p-seatgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.p-seatgroup { display: grid; gap: 14px; align-content: start; padding: 24px; background: var(--panel); border-top: 3px solid var(--gold); border-radius: 6px; min-width: 0; }
.p-seatgroup:first-child { grid-column: 1 / -1; }
.p-seatgroup h3 { font-size: 1.5rem; }
.p-sec .p-seats { display: flex; flex-wrap: wrap; gap: 8px; max-width: none; }
.p-seat { padding: 7px 14px; border-radius: 999px; background: var(--light); color: var(--ink); font-size: 0.98rem; font-weight: 700; }
.p-sec .p-filled { font-size: 0.95rem; color: var(--muted); max-width: none; }
.p-filled a { color: var(--gold); }
.p-media .p-cards { grid-template-columns: 1fr; gap: 12px; }
.p-media .p-card { padding: 18px 20px; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: center; }
.p-media .p-card .p-card__icon { grid-row: span 2; }
.p-media .p-card__icon img { width: 48px; height: 48px; }
.p-media .p-card p { font-size: 1rem; color: var(--muted); }
.p-tip { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1px dashed var(--gold); border-radius: 6px; }
.p-tip .p-card__icon img { width: 52px; height: 52px; }
.p-sec .p-tip p { font-size: 1.1rem; max-width: none; }
@media (max-width: 860px) { .p-seatgrid { grid-template-columns: 1fr; } }
