/* ==========================================================================
   Tower of Hope — design system

   Parent theme: Panaroma. Units follow the parent's convention: html is
   scaled to 62.5%, so 1rem = 10px throughout this file.

   Specificity scheme:
     base element rules   body.toh p           (0,1,2)
     component rules      body.toh .toh-card   (0,2,0)
     compound rules       body.toh .toh-nav a  (0,2,1)
   Component rules always win over the base rules.
   ========================================================================== */

:root {
	--toh-navy: #000080;
	--toh-navy-900: #000052;
	--toh-navy-800: #00006b;
	--toh-navy-700: #0b1f6b;
	--toh-gold: #c9a227;
	--toh-gold-soft: #e3c567;
	--toh-cream: #faf8f3;
	--toh-cream-2: #f1ede3;
	--toh-ink: #161a24;
	--toh-muted: #5b6270;
	--toh-line: rgba(0, 0, 128, 0.14);
	--toh-shadow: 0 1.8rem 4rem rgba(0, 0, 60, 0.1);
	--toh-radius: 0.6rem;
	--toh-max: 118rem;
	--toh-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
	--toh-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------- base --- */

html {
	font-size: 62.5%;
	scroll-behavior: smooth;
}

body.toh {
	background: #fff;
	color: var(--toh-ink);
	font-family: var(--toh-font-body);
	font-size: 1.7rem;
	line-height: 1.72;
	-webkit-font-smoothing: antialiased;
	/* `hidden` on the body would compute overflow-y to `auto`, turning <body>
	   into a scroll container and silently killing position:sticky on the
	   header. `clip` clips the overflow just as hard without establishing a
	   scroll container. The `hidden` line is kept only as a fallback for
	   engines without `clip` support. */
	overflow-x: hidden;
	overflow-x: clip;
}

body.toh h1,
body.toh h2,
body.toh h3,
body.toh h4,
body.toh h5,
body.toh h6 {
	font-family: var(--toh-font-display);
	font-weight: 600;
	line-height: 1.16;
	color: var(--toh-navy);
	letter-spacing: -0.01em;
}

body.toh p {
	margin: 0 0 1.6rem;
}

body.toh a {
	color: var(--toh-navy);
	text-decoration: none;
	transition: color 0.18s ease;
}

body.toh a:hover,
body.toh a:focus {
	color: var(--toh-gold);
}

body.toh img {
	max-width: 100%;
	height: auto;
}

body.toh ul,
body.toh ol {
	margin: 0 0 1.6rem;
	padding-left: 2.2rem;
}

body.toh li {
	margin-bottom: 0.7rem;
}

body.toh blockquote {
	border-left: 0.4rem solid var(--toh-gold);
	background: var(--toh-cream);
	padding: 2.4rem 2.8rem;
	margin: 2.4rem 0;
	font-family: var(--toh-font-display);
	font-size: 2.1rem;
	font-style: italic;
	color: var(--toh-navy);
}

body.toh .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.toh .toh-skip:focus {
	position: fixed !important;
	top: 1rem;
	left: 1rem;
	width: auto;
	height: auto;
	clip: auto;
	z-index: 9999;
	background: #fff;
	padding: 1rem 1.6rem;
	border-radius: var(--toh-radius);
	box-shadow: var(--toh-shadow);
}

/* The parent constrains the page with #wrapper; the child runs full bleed. */
body.toh #page,
body.toh #wrapper,
body.toh .container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.toh .toh-container {
	width: 100%;
	max-width: var(--toh-max);
	margin: 0 auto;
	padding: 0 4rem;
}

/* ------------------------------------------------------------- header --- */

body.toh .toh-topbar {
	background: var(--toh-navy-900);
	color: rgba(255, 255, 255, 0.86);
	font-size: 1.35rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body.toh .toh-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.4rem;
	min-height: 4.2rem;
}

body.toh .toh-topbar__tag {
	margin: 0;
	font-weight: 500;
}

body.toh .toh-topbar__links {
	display: flex;
	gap: 2.4rem;
}

body.toh .toh-topbar__links a {
	color: rgba(255, 255, 255, 0.86);
}

body.toh .toh-topbar__links a:hover,
body.toh .toh-topbar__links a:focus {
	color: var(--toh-gold-soft);
}

/* The sticky menu bar. #masthead is the only thing inside the sticky
   element - the utility strip sits above it in normal flow - so the bar
   pins at top:0 once the strip has scrolled past. Anything placed inside
   this rule will ride along when the bar sticks. */
body.toh .toh-header {
	background: #fff;
	border-bottom: 0.1rem solid var(--toh-line);
	position: sticky;
	top: 0;
	z-index: 90;
	transition: box-shadow 0.2s ease;
}

body.toh .toh-header.is-stuck {
	box-shadow: 0 0.4rem 2rem rgba(0, 0, 60, 0.09);
}

/* Anchor targets must not land underneath the sticky bar. */
body.toh [id] {
	scroll-margin-top: 11rem;
}

body.toh .toh-header__inner {
	display: flex;
	align-items: center;
	gap: 3.2rem;
	min-height: 9.4rem;
	padding-top: 1.4rem;
	padding-bottom: 1.4rem;
}

body.toh .toh-brand__link {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	color: var(--toh-navy);
}

body.toh .toh-brand__logo {
	max-height: 6.4rem;
	width: auto;
}

body.toh .toh-brand__mark {
	display: grid;
	place-items: center;
	width: 4.4rem;
	height: 4.4rem;
	border-radius: 50%;
	background: var(--toh-navy);
	color: var(--toh-gold-soft);
	flex: none;
}

body.toh .toh-brand__mark svg {
	width: 2.4rem;
	height: 2.4rem;
}

body.toh .toh-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

body.toh .toh-brand__name {
	font-family: var(--toh-font-display);
	font-size: 2.7rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

body.toh .toh-brand__sub {
	font-size: 1.15rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--toh-muted);
	margin-top: 0.5rem;
}

body.toh .toh-nav {
	margin-left: auto;
}

body.toh .toh-nav ul,
body.toh .toh-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 2.6rem;
}

body.toh .toh-nav li {
	position: relative;
	margin: 0;
}

body.toh .toh-nav a {
	display: inline-block;
	padding: 0.8rem 0;
	font-size: 1.45rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	color: var(--toh-ink);
}

body.toh .toh-nav .current-menu-item > a,
body.toh .toh-nav .current_page_item > a,
body.toh .toh-nav a:hover,
body.toh .toh-nav a:focus {
	color: var(--toh-navy);
}


body.toh .toh-nav ul.sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 22rem;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	background: #fff;
	border: 0.1rem solid var(--toh-line);
	border-radius: var(--toh-radius);
	box-shadow: var(--toh-shadow);
	padding: 1rem 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(0.6rem);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

body.toh .toh-nav li:hover > ul.sub-menu,
body.toh .toh-nav li:focus-within > ul.sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

body.toh .toh-nav ul.sub-menu a {
	padding: 0.9rem 1.8rem;
	display: block;
	font-size: 1.4rem;
}

body.toh .toh-nav ul.sub-menu li {
	margin: 0;
}

body.toh .toh-navtoggle {
	display: none;
	width: 4.4rem;
	height: 4.4rem;
	border: 0.1rem solid var(--toh-line);
	border-radius: var(--toh-radius);
	background: #fff;
	cursor: pointer;
	padding: 1.1rem;
}

body.toh .toh-navtoggle__bar {
	display: block;
	height: 0.2rem;
	background: var(--toh-navy);
	border-radius: 0.2rem;
	margin-bottom: 0.45rem;
}

body.toh .toh-navtoggle__bar:last-child {
	margin-bottom: 0;
}

body.toh .toh-header__cta {
	flex: none;
}

/* ------------------------------------------------------------ buttons --- */

body.toh .toh-btn {
	display: inline-block;
	padding: 1.15rem 2.6rem;
	border-radius: 0.4rem;
	border: 0.2rem solid transparent;
	font-size: 1.4rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.toh .toh-btn:hover {
	transform: translateY(-0.2rem);
}

body.toh .toh-btn--primary {
	background: var(--toh-navy);
	color: #fff;
}

body.toh .toh-btn--primary:hover,
body.toh .toh-btn--primary:focus {
	background: var(--toh-navy-900);
	color: #fff;
}

body.toh .toh-btn--gold {
	background: var(--toh-gold);
	color: #1b1400;
}

body.toh .toh-btn--gold:hover,
body.toh .toh-btn--gold:focus {
	background: var(--toh-gold-soft);
	color: #1b1400;
}

body.toh .toh-btn--outline {
	border-color: var(--toh-navy);
	color: var(--toh-navy);
	background: transparent;
}

body.toh .toh-btn--outline:hover,
body.toh .toh-btn--outline:focus {
	background: var(--toh-navy);
	color: #fff;
}

body.toh .toh-btn--ghost {
	border-color: rgba(255, 255, 255, 0.6);
	color: #fff;
	background: transparent;
}

body.toh .toh-btn--ghost:hover,
body.toh .toh-btn--ghost:focus {
	background: #fff;
	color: var(--toh-navy);
	border-color: #fff;
}

body.toh .toh-btn--light {
	background: #fff;
	color: var(--toh-navy);
}

body.toh .toh-btn--light:hover,
body.toh .toh-btn--light:focus {
	background: var(--toh-gold);
	color: #1b1400;
}

body.toh .toh-btnrow {
	display: flex;
	flex-wrap: wrap;
	gap: 1.4rem;
	margin: 2.6rem 0 0;
}

/* -------------------------------------------------------------- media --- */

body.toh .toh-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.8rem;
	margin: 3.4rem 0 0;
}

body.toh .toh-gallery--2 {
	grid-template-columns: repeat(2, 1fr);
}

body.toh .toh-gallery--4 {
	grid-template-columns: repeat(4, 1fr);
}

body.toh .toh-figure {
	margin: 0;
	background: var(--toh-cream-2);
	border: 0.1rem solid var(--toh-line);
	border-radius: var(--toh-radius);
	overflow: hidden;
}

body.toh .toh-figure__media {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

body.toh .toh-figure--wide {
	margin-top: 3.4rem;
}

body.toh .toh-figure--wide .toh-figure__media {
	aspect-ratio: 16 / 9;
}

body.toh .toh-figure__cap {
	display: block;
	padding: 1.2rem 1.5rem;
	font-size: 1.25rem;
	line-height: 1.5;
	color: var(--toh-muted);
	background: #fff;
	border-top: 0.1rem solid var(--toh-line);
}

/* -------------------------------------------------------------- hero --- */

body.toh .toh-hero {
	position: relative;
	background: var(--toh-navy-900);
	color: #fff;
	padding: 11rem 0 10rem;
	overflow: hidden;
}

/* The photograph lives on a pseudo-element so it can drift (Ken Burns)
   without layout work or conflicting with the overlay above it. */
body.toh .toh-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--toh-hero-image);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transform: scale(1.04) translate3d(0, 0, 0);
	animation: tohKenBurns 28s ease-in-out infinite alternate;
	will-change: transform;
}

body.toh .toh-hero--home {
	--toh-hero-image: url("../img/hero-home.jpg");
}

body.toh .toh-hero--inner {
	--toh-hero-image: url("../img/hero-inner.jpg");
}

body.toh .toh-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(0, 0, 82, 0.94) 0%, rgba(0, 0, 128, 0.78) 48%, rgba(0, 0, 60, 0.62) 100%);
}

body.toh .toh-hero > * {
	position: relative;
	z-index: 1;
}

body.toh .toh-hero__inner {
	max-width: 88rem;
}

body.toh .toh-hero__eyebrow {
	display: inline-block;
	font-size: 1.3rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--toh-gold-soft);
	margin-bottom: 2rem;
}

body.toh .toh-hero__title {
	font-size: 6.2rem;
	color: #fff;
	margin: 0 0 2rem;
	max-width: 22ch;
}

body.toh .toh-hero__lede {
	font-size: 2.2rem;
	color: rgba(255, 255, 255, 0.9);
	max-width: 52ch;
	margin-bottom: 3.4rem;
	font-weight: 300;
}

body.toh .toh-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1.4rem;
}

body.toh .toh-hero__scroll {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	margin-top: 4.6rem;
	font-size: 1.25rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}

body.toh .toh-hero__scroll::before {
	content: "";
	width: 3.4rem;
	height: 0.1rem;
	background: var(--toh-gold);
}

/* ------------------------------------------------------------- motion --- */

/* Hero copy rises in on page load, staggered, then a gentle scroll hint
   appears on the welcome marker. */
@keyframes tohKenBurns {
	0% {
		transform: scale(1.04) translate3d(0, 0, 0);
	}
	100% {
		transform: scale(1.17) translate3d(-1.6%, -2.2%, 0);
	}
}

@keyframes tohRise {
	from {
		opacity: 0;
		transform: translateY(2.8rem);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes tohScrollHint {
	0%, 100% {
		opacity: 0.65;
		transform: translateY(0);
	}
	50% {
		opacity: 1;
		transform: translateY(0.6rem);
	}
}

@keyframes tohEyebrow {
	from {
		opacity: 0;
		letter-spacing: 0.34em;
	}
	to {
		opacity: 1;
		letter-spacing: 0.22em;
	}
}

body.toh .toh-hero__eyebrow {
	animation: tohEyebrow 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

/* The hero title animates word by word (split in toh.js initHeroText). */
html.toh-js body.toh .toh-hero__title .toh-word {
	display: inline-block;
	opacity: 0;
	transform: translateY(1.15em);
	animation: tohWordUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: calc(var(--i, 0) * 0.09s + 0.16s);
}

@keyframes tohWordUp {
	from {
		opacity: 0;
		transform: translateY(1.15em);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

body.toh .toh-hero__lede {
	animation: tohRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

body.toh .toh-hero__actions {
	animation: tohRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.44s both;
}

body.toh .toh-hero__scroll {
	animation:
		tohRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.46s both,
		tohScrollHint 2.6s ease-in-out 1.6s infinite;
}

/* Editorial media drift into view with a subtle zoom on hover. */

body.toh .toh-figure__media {
	transform: scale(1.001);
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

body.toh .toh-figure:hover .toh-figure__media,
body.toh .toh-figure:focus-within .toh-figure__media {
	transform: scale(1.06);
}

/* Primary navigation underline grows on hover / focus. The current page
   marker uses the same base so it reads as "growing in" from the left. */
body.toh .toh-nav a {
	position: relative;
	padding-bottom: 0.4rem;
}

body.toh .toh-nav a::after {
	content: "";
	display: block;
	width: 2.6rem;
	height: 0.2rem;
	margin-top: 0.6rem;
	background: var(--toh-gold);
	border-radius: 0.2rem;
	transform: scaleX(0);
	transform-origin: left center;
	opacity: 0;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

body.toh .toh-nav li:hover > a::after,
body.toh .toh-nav a:focus-visible::after,
body.toh .toh-nav .current-menu-item > a::after,
body.toh .toh-nav .current_page_item > a::after {
	transform: scaleX(1);
	opacity: 1;
}

/* Values lift with the cards. */
body.toh .toh-value {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.toh .toh-value:hover {
	transform: translateY(-0.4rem);
	box-shadow: var(--toh-shadow);
}

/* ---------------------------------------------------------- cta strip --- */

body.toh .toh-ctastrip {
	background: var(--toh-navy);
	color: #fff;
}

body.toh .toh-ctastrip__inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

body.toh .toh-ctastrip a {
	display: block;
	padding: 2.6rem 2.4rem;
	text-align: center;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-left: 0.1rem solid rgba(255, 255, 255, 0.18);
	transition: background-color 0.18s ease, color 0.18s ease;
}

body.toh .toh-ctastrip a:last-child {
	border-right: 0.1rem solid rgba(255, 255, 255, 0.18);
}

body.toh .toh-ctastrip a:hover,
body.toh .toh-ctastrip a:focus {
	background: var(--toh-navy-900);
	color: var(--toh-gold-soft);
}

/* ----------------------------------------------------------- sections --- */

body.toh .toh-section {
	padding: 8rem 0;
	background-color: #fff;
}

body.toh .toh-section--tint {
	background: var(--toh-cream);
}

body.toh .toh-section--navy {
	background: var(--toh-navy);
	color: rgba(255, 255, 255, 0.9);
}

body.toh .toh-section--navy h2,
body.toh .toh-section--navy h3,
body.toh .toh-section--navy h4 {
	color: #fff;
}

body.toh .toh-section--navy a:not(.toh-btn) {
	color: var(--toh-gold-soft);
}

body.toh .toh-section--tight {
	padding: 5.6rem 0;
}

body.toh .toh-eyebrow {
	font-family: var(--toh-font-body);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--toh-gold);
	margin: 0 0 1.4rem;
}

body.toh .toh-eyebrow--light {
	color: var(--toh-gold-soft);
}

body.toh .toh-section__head {
	max-width: 72rem;
	margin-bottom: 4.4rem;
}

body.toh .toh-section__head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

body.toh .toh-section__title {
	font-size: 4.2rem;
	margin: 0 0 1.6rem;
}

body.toh .toh-section__lede {
	font-size: 2rem;
	color: var(--toh-muted);
	line-height: 1.66;
	margin: 0;
}

body.toh .toh-section--navy .toh-section__lede {
	color: rgba(255, 255, 255, 0.78);
}

body.toh .toh-heading {
	font-size: 3.2rem;
	margin: 0 0 1.4rem;
}

body.toh .toh-subheading {
	font-size: 2.3rem;
	margin: 3.6rem 0 1.2rem;
}

body.toh .toh-lede {
	font-size: 2.1rem;
	line-height: 1.62;
	color: var(--toh-muted);
	margin-bottom: 2rem;
}

body.toh .toh-section--navy .toh-lede {
	color: rgba(255, 255, 255, 0.82);
}

/* -------------------------------------------------------------- grids --- */

body.toh .toh-grid {
	display: grid;
	gap: 2.6rem;
}

body.toh .toh-grid--1 {
	grid-template-columns: 1fr;
}

body.toh .toh-grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

body.toh .toh-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

body.toh .toh-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

body.toh .toh-grid--5 {
	grid-template-columns: repeat(5, 1fr);
}

body.toh .toh-grid--sidebar {
	grid-template-columns: 1.6fr 1fr;
	gap: 4.4rem;
	align-items: start;
}

body.toh .toh-card {
	background: #fff;
	border: 0.1rem solid var(--toh-line);
	border-radius: var(--toh-radius);
	padding: 3.2rem 2.8rem;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.toh .toh-card:hover {
	transform: translateY(-0.4rem);
	box-shadow: var(--toh-shadow);
	border-color: rgba(0, 0, 128, 0.3);
}

body.toh .toh-card__title {
	font-size: 2.3rem;
	margin: 0 0 1.2rem;
}

body.toh .toh-card__kicker {
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--toh-gold);
	margin: 0 0 1rem;
}

body.toh .toh-card__text {
	margin: 0 0 1.2rem;
	color: var(--toh-muted);
	font-size: 1.6rem;
	line-height: 1.66;
}

body.toh .toh-card__text:last-child {
	margin-bottom: 0;
}

body.toh .toh-card__link {
	margin-top: 1.8rem;
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.toh .toh-card--navy {
	background: var(--toh-navy);
	border-color: var(--toh-navy);
	color: rgba(255, 255, 255, 0.88);
}

body.toh .toh-card--navy .toh-card__title,
body.toh .toh-card--navy .toh-card__kicker {
	color: #fff;
}

body.toh .toh-card--navy .toh-card__kicker {
	color: var(--toh-gold-soft);
}

body.toh .toh-card--navy .toh-card__text {
	color: rgba(255, 255, 255, 0.82);
}

body.toh .toh-card--tint {
	background: var(--toh-cream);
	border-color: transparent;
}

body.toh .toh-section--navy .toh-card--navy {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.24);
}

body.toh .toh-section--navy .toh-card--navy:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.4);
}

/* ------------------------------------------------------------- values --- */

body.toh .toh-values {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 2rem;
	text-align: center;
}

body.toh .toh-value {
	padding: 3rem 1.8rem;
	border-top: 0.3rem solid var(--toh-gold);
	background: #fff;
	border-radius: 0 0 var(--toh-radius) var(--toh-radius);
	box-shadow: 0 0.6rem 2rem rgba(0, 0, 60, 0.05);
}

body.toh .toh-value__title {
	font-family: var(--toh-font-body);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--toh-navy);
	margin: 0 0 0.8rem;
}

body.toh .toh-value__text {
	font-size: 1.55rem;
	color: var(--toh-muted);
	margin: 0;
}

/* -------------------------------------------------------------- steps --- */

body.toh .toh-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2.2rem;
}

body.toh .toh-step {
	position: relative;
	background: #fff;
	border: 0.1rem solid var(--toh-line);
	border-radius: var(--toh-radius);
	padding: 3rem 2.6rem;
}

body.toh .toh-step::after {
	content: "\2192";
	position: absolute;
	top: 50%;
	right: -1.8rem;
	transform: translateY(-50%);
	font-size: 2.4rem;
	color: var(--toh-gold);
	z-index: 2;
}

body.toh .toh-step:last-child::after {
	content: none;
}

body.toh .toh-step__num {
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	background: var(--toh-navy);
	color: var(--toh-gold-soft);
	font-weight: 700;
	font-size: 1.5rem;
	margin-bottom: 1.4rem;
}

body.toh .toh-step__title {
	font-family: var(--toh-font-body);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--toh-navy);
	margin: 0 0 0.8rem;
}

body.toh .toh-step__text {
	font-size: 1.55rem;
	color: var(--toh-muted);
	margin: 0;
}

/* -------------------------------------------------------------- quote --- */

body.toh .toh-quote {
	text-align: center;
	max-width: 78rem;
	margin: 0 auto;
}

body.toh .toh-quote__text {
	font-family: var(--toh-font-display);
	font-size: 3.6rem;
	font-style: italic;
	line-height: 1.32;
	color: var(--toh-navy);
	margin: 0 0 1.6rem;
}

body.toh .toh-quote__cite {
	font-family: var(--toh-font-body);
	font-size: 1.4rem;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--toh-gold);
}

body.toh .toh-section--navy .toh-quote__text {
	color: #fff;
}

/* ------------------------------------------------------ placeholder ----- */

body.toh .toh-placeholder {
	border: 0.1rem dashed rgba(0, 0, 128, 0.35);
	border-left: 0.4rem solid var(--toh-gold);
	background: var(--toh-cream);
	border-radius: var(--toh-radius);
	padding: 2.4rem 2.8rem;
	margin: 2.4rem 0;
}

body.toh .toh-placeholder__label {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--toh-gold);
	margin: 0 0 0.8rem;
}

body.toh .toh-placeholder p {
	margin: 0;
	color: var(--toh-muted);
	font-size: 1.6rem;
}

body.toh .toh-section--navy .toh-placeholder {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.35);
}

body.toh .toh-section--navy .toh-placeholder p {
	color: rgba(255, 255, 255, 0.78);
}

/* --------------------------------------------------------- page head --- */

body.toh .toh-pagehead {
	background: var(--toh-navy);
	background-image: linear-gradient(120deg, rgba(0, 0, 82, 0.96) 0%, rgba(0, 0, 128, 0.86) 55%, rgba(0, 0, 70, 0.8) 100%);
	color: #fff;
	padding: 7.4rem 0 6.6rem;
	text-align: center;
}

body.toh .toh-pagehead--inner {
	padding: 6.6rem 0 5.8rem;
}

body.toh .toh-pagehead__title {
	font-size: 4.8rem;
	color: #fff;
	margin: 0;
}

body.toh .toh-pagehead__lede {
	font-size: 2rem;
	color: rgba(255, 255, 255, 0.82);
	max-width: 74rem;
	margin: 1.6rem auto 0;
	font-weight: 300;
}

body.toh .toh-page__body {
	padding: 6.4rem 0 7.6rem;
	background: #fff;
}

body.toh .toh-page__body > *:last-child {
	margin-bottom: 0;
}

body.toh .toh-page__body .toh-section {
	padding: 5.6rem 0;
}

body.toh .toh-page__body .toh-section:first-child {
	padding-top: 0;
}

body.toh .toh-page__body .toh-section:last-child {
	padding-bottom: 0;
}

body.toh .toh-page__links {
	margin: 3rem 0;
	font-size: 1.5rem;
}

/* -------------------------------------------------------------- lists --- */

body.toh .toh-checklist {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
}

body.toh .toh-checklist li {
	position: relative;
	padding-left: 3.4rem;
	margin-bottom: 1.1rem;
	color: var(--toh-muted);
}

body.toh .toh-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.75rem;
	width: 1.5rem;
	height: 0.8rem;
	border-left: 0.25rem solid var(--toh-gold);
	border-bottom: 0.25rem solid var(--toh-gold);
	transform: rotate(-45deg);
}

body.toh .toh-section--navy .toh-checklist li,
body.toh .toh-card--navy .toh-checklist li {
	color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------------------------------------- forms ---- */

body.toh input[type="text"],
body.toh input[type="email"],
body.toh input[type="tel"],
body.toh input[type="url"],
body.toh input[type="search"],
body.toh input[type="number"],
body.toh input[type="password"],
body.toh textarea,
body.toh select {
	width: 100%;
	padding: 1.2rem 1.5rem;
	border: 0.1rem solid var(--toh-line);
	border-radius: 0.4rem;
	background: #fff;
	color: var(--toh-ink);
	font-family: var(--toh-font-body);
	font-size: 1.6rem;
	line-height: 1.5;
}

body.toh input:focus,
body.toh textarea:focus,
body.toh select:focus {
	border-color: var(--toh-navy);
	outline: none;
	box-shadow: 0 0 0 0.3rem rgba(0, 0, 128, 0.1);
}

body.toh label {
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--toh-navy);
	display: block;
	margin-bottom: 0.6rem;
}

body.toh .wpcf7 input[type="submit"],
body.toh .wpcf7 button[type="submit"],
body.toh .wpcf7 input[type="button"] {
	background: var(--toh-navy);
	color: #fff;
	border: 0;
	border-radius: 0.4rem;
	padding: 1.2rem 2.8rem;
	font-size: 1.4rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.18s ease;
}

body.toh .wpcf7 input[type="submit"]:hover {
	background: var(--toh-navy-900);
}

body.toh .wpcf7-not-valid-tip {
	color: #b3261e;
	font-size: 1.3rem;
}

body.toh .wpcf7-response-output {
	border-left: 0.4rem solid var(--toh-gold);
	background: var(--toh-cream);
	padding: 1.4rem 1.8rem;
	margin-top: 1.6rem;
	font-size: 1.55rem;
}

body.toh .toh-form {
	max-width: 72rem;
}

body.toh .toh-form__row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.8rem;
}

body.toh .toh-form .wpcf7-form > p {
	margin-bottom: 1.8rem;
}

/* ----------------------------------------------------------- cta band --- */

body.toh .toh-cta-band {
	background: linear-gradient(120deg, var(--toh-navy-900) 0%, var(--toh-navy) 60%, var(--toh-navy-700) 100%);
	color: #fff;
	padding: 6.6rem 0;
	text-align: center;
}

body.toh .toh-cta-band__title {
	font-size: 3.8rem;
	color: #fff;
	margin: 0 auto 1.6rem;
	max-width: 30ch;
}

body.toh .toh-cta-band__text {
	font-size: 1.95rem;
	color: rgba(255, 255, 255, 0.85);
	max-width: 66rem;
	margin: 0 auto 3rem;
}

body.toh .toh-cta-band__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1.4rem;
}

/* ------------------------------------------------------------- footer --- */

body.toh .toh-footer {
	background: var(--toh-navy-900);
	color: rgba(255, 255, 255, 0.76);
	font-size: 1.55rem;
}

body.toh .toh-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: 3.6rem;
	padding-top: 6rem;
	padding-bottom: 5rem;
}

body.toh .toh-footer__brand {
	font-family: var(--toh-font-display);
	font-size: 2.6rem;
	color: #fff;
	margin: 0;
}

body.toh .toh-footer__tag {
	font-size: 1.2rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--toh-gold-soft);
	margin: 0 0 1.8rem;
}

body.toh .toh-footer__blurb {
	margin: 0;
	line-height: 1.66;
}

body.toh .toh-footer__heading {
	font-family: var(--toh-font-body);
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 1.8rem;
}

body.toh .toh-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.toh .toh-footer__list li {
	margin-bottom: 0.9rem;
}

body.toh .toh-footer__list a {
	color: rgba(255, 255, 255, 0.76);
	font-size: 1.5rem;
}

body.toh .toh-footer__list a:hover {
	color: var(--toh-gold-soft);
}

body.toh .toh-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.toh .toh-footer__contact li {
	margin-bottom: 0.8rem;
	line-height: 1.6;
}

body.toh .toh-footer__contact .toh-footer__org {
	color: #fff;
	font-weight: 600;
}

body.toh .toh-footer__contact a {
	color: rgba(255, 255, 255, 0.76);
}

body.toh .toh-footer__contact a:hover {
	color: var(--toh-gold-soft);
}

body.toh .toh-footer__note {
	margin: 0;
	font-size: 1.45rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.6);
}

body.toh .toh-footer__btn {
	margin-top: 2rem;
}

body.toh .toh-footer .toh-btn--outline {
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

body.toh .toh-footer .toh-btn--outline:hover,
body.toh .toh-footer .toh-btn--outline:focus {
	background: var(--toh-gold);
	border-color: var(--toh-gold);
	color: #1b1400;
}

body.toh .toh-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 1.6rem;
	margin-top: 2.2rem;
}

body.toh .toh-footer__social a {
	font-size: 1.25rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
	border-bottom: 0.1rem solid rgba(255, 255, 255, 0.28);
	padding-bottom: 0.4rem;
}

body.toh .toh-footer__social a:hover {
	color: var(--toh-gold-soft);
	border-color: var(--toh-gold-soft);
}

body.toh .toh-footer__bottom {
	border-top: 0.1rem solid rgba(255, 255, 255, 0.12);
	padding: 2.4rem 0;
}

body.toh .toh-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 1.6rem;
	align-items: center;
	justify-content: space-between;
}

body.toh .toh-footer__copy,
body.toh .toh-footer__credit {
	margin: 0;
	font-size: 1.35rem;
	color: rgba(255, 255, 255, 0.55);
}

body.toh .toh-footer__credit {
	font-family: var(--toh-font-display);
	font-style: italic;
}

/* -------------------------------------------------------------- posts --- */

body.toh .toh-postgrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.6rem;
}

body.toh .toh-postcard {
	border: 0.1rem solid var(--toh-line);
	border-radius: var(--toh-radius);
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
}

body.toh .toh-postcard__media img {
	display: block;
	width: 100%;
	height: 22rem;
	object-fit: cover;
}

body.toh .toh-postcard__date {
	font-size: 1.2rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--toh-gold);
	margin: 2.2rem 2.4rem 0.8rem;
}

body.toh .toh-postcard__title {
	font-size: 2.1rem;
	margin: 0 2.4rem 1rem;
}

body.toh .toh-postcard__title a {
	color: var(--toh-navy);
}

body.toh .toh-postcard__excerpt {
	padding: 0 2.4rem;
	color: var(--toh-muted);
	font-size: 1.55rem;
}

body.toh .toh-postcard__more {
	margin: auto 2.4rem 2.4rem;
	padding-top: 1.4rem;
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.toh .toh-single__media {
	margin: 0 0 3.4rem;
}

body.toh .toh-single__media img {
	width: 100%;
	border-radius: var(--toh-radius);
}

body.toh .toh-empty {
	font-size: 1.8rem;
	color: var(--toh-muted);
}

/* --------------------------------------------------- animated text --- */

/* Character-level animated text (leaf from gutenverse animated-text block).
   Triggered by .is-visible, which toh.js adds as the element scrolls in. */
html.toh-js body.toh .toh-anim-pop.toh-reveal,
html.toh-js body.toh .toh-anim-rising.toh-reveal,
html.toh-js body.toh .toh-anim-fade.toh-reveal {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
	filter: none !important;
}

html.toh-js body.toh .toh-anim-pop .toh-letter,
html.toh-js body.toh .toh-anim-rising .toh-letter,
html.toh-js body.toh .toh-anim-fade .toh-letter {
	display: inline-block;
	will-change: transform, opacity;
}

html.toh-js body.toh .toh-anim-pop .toh-letter {
	opacity: 0;
	transform: scale(0.3);
}

html.toh-js body.toh .toh-anim-rising .toh-letter {
	opacity: 0;
	transform: translateY(100%);
}

html.toh-js body.toh .toh-anim-fade .toh-letter {
	opacity: 0;
}

html.toh-js body.toh .toh-anim-pop.is-visible .toh-letter {
	animation: tohPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: calc(var(--i, 0) * 0.05s + 0.12s);
}

html.toh-js body.toh .toh-anim-rising.is-visible .toh-letter {
	animation: tohRisingChars 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: calc(var(--i, 0) * 0.025s + 0.15s);
}

html.toh-js body.toh .toh-anim-fade.is-visible .toh-letter {
	animation: tohFadeChars 1.4s ease both;
	animation-delay: calc(var(--i, 0) * 0.03s + 0.1s);
}

@keyframes tohPop {
	from {
		opacity: 0;
		transform: scale(0.3);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes tohRisingChars {
	from {
		opacity: 0;
		transform: translateY(100%);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes tohFadeChars {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* ----------------------------------------------------- animated text --- */

/* Swirl (bend) entrance. Two layers:
   1. Scroll-driven (modern browsers): the swirl progresses as the element
      scrolls into view - literally "swirl as I scroll".
   2. Fallback: one-shot trigger via .is-visible (JS). */
html.toh-js body.toh .toh-anim-bend .toh-letter {
	display: inline-block;
	opacity: 0;
	transform: translate(0.55em, 1.1em) rotate(180deg);
	transform-origin: center center;
	will-change: transform, opacity;
}

/* Hero swirl: always on-load (not scroll-driven), so it plays on page load. */
html.toh-js body.toh .toh-anim-bend-onload .toh-letter {
	display: inline-block;
	opacity: 0;
	transform: translate(0.55em, 1.1em) rotate(180deg);
	transform-origin: center center;
	will-change: transform, opacity;
	animation: tohBend 1.2s cubic-bezier(0.19, 1, 0.22, 1) both;
	animation-delay: calc(var(--i, 0) * 0.06s + 0.15s);
}

/* Fallback for browsers without scroll-driven animations. */
@supports not (animation-timeline: view()) {
	html.toh-js body.toh .toh-anim-bend.is-visible .toh-letter {
		animation: tohBend 1.2s cubic-bezier(0.19, 1, 0.22, 1) both;
		animation-delay: calc(var(--i, 0) * 0.06s + 0.15s);
	}
}

/* Scroll-driven: swirl plays as the element enters the viewport. */
@supports (animation-timeline: view()) {
	html.toh-js body.toh .toh-anim-bend .toh-letter {
		animation: tohBend 1s cubic-bezier(0.19, 1, 0.22, 1) both;
		animation-delay: calc(var(--i, 0) * 0.05s);
		animation-timeline: view();
		animation-range: entry 0% entry 100%;
	}
}

@keyframes tohBend {
	from {
		opacity: 0;
		transform: translate(0.55em, 1.1em) rotate(180deg);
	}
	to {
		opacity: 1;
		transform: translate(0, 0) rotate(0deg);
	}
}

/* ------------------------------------------------------------ reveal --- */

html.toh-js body.toh .toh-reveal {
	opacity: 0;
	transform: translateY(100px);
	transition: opacity 1.5s cubic-bezier(0.2, 1, 0.2, 1), transform 1.5s cubic-bezier(0.2, 1, 0.2, 1);
	transition-delay: var(--toh-delay, 0ms);
}

html.toh-js body.toh .toh-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* Section headings, ledes and quotes get a stronger, blurrier entrance. */
html.toh-js body.toh .toh-reveal--text {
	opacity: 0;
	transform: translateY(2.6rem) scale(0.98);
	filter: blur(6px);
	transition: opacity 0.75s ease, transform 0.75s ease, filter 0.75s ease;
	transition-delay: var(--toh-delay, 0ms);
}

html.toh-js body.toh .toh-reveal--text.is-visible {
	opacity: 1;
	transform: none;
	filter: none;
}

@media (prefers-reduced-motion: reduce) {
	body.toh .toh-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	html {
		scroll-behavior: auto;
	}

	body.toh .toh-hero::before,
	body.toh .toh-hero__eyebrow,
	html.toh-js body.toh .toh-hero__title .toh-word,
	body.toh .toh-hero__title,
	body.toh .toh-hero__lede,
	body.toh .toh-hero__actions,
	body.toh .toh-hero__scroll,
	html.toh-js body.toh .toh-anim-pop .toh-letter,
	html.toh-js body.toh .toh-anim-rising .toh-letter,
	html.toh-js body.toh .toh-anim-fade .toh-letter,
	html.toh-js body.toh .toh-anim-bend .toh-letter {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
		letter-spacing: 0.22em !important;
		filter: none !important;
	}

	html.toh-js body.toh .toh-reveal--text {
		opacity: 1 !important;
		transform: none !important;
		filter: none !important;
		transition: none !important;
	}

	body.toh .toh-figure__media,
	body.toh .toh-value,
	body.toh .toh-btn,
	body.toh .toh-nav a::after {
		transition: none !important;
	}

	body.toh .toh-figure__media,
	body.toh .toh-value:hover,
	body.toh .toh-card:hover,
	body.toh .toh-btn:hover {
		transform: none !important;
	}
}

/* -------------------------------------------------------- responsive --- */

@media (max-width: 1180px) {
	body.toh .toh-header__inner {
		gap: 2rem;
	}

	body.toh .toh-nav ul,
	body.toh .toh-nav__list {
		gap: 1.8rem;
	}

	body.toh .toh-header__cta {
		display: none;
	}

	body.toh .toh-hero__title {
		font-size: 5rem;
	}
}

@media (max-width: 980px) {
	body.toh .toh-container {
		padding: 0 2.4rem;
	}

	body.toh .toh-topbar__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.8rem;
		padding: 1.2rem 0;
	}

	body.toh .toh-navtoggle {
		display: block;
		margin-left: auto;
	}

	body.toh .toh-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 0.1rem solid var(--toh-line);
		box-shadow: var(--toh-shadow);
		display: none;
	}

	body.toh .toh-nav.is-open {
		display: block;
	}

	body.toh .toh-nav ul,
	body.toh .toh-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 1.2rem 2.4rem 2rem;
	}

	body.toh .toh-nav a {
		display: block;
		padding: 1.1rem 0;
		border-bottom: 0.1rem solid var(--toh-line);
	}

	body.toh .toh-nav ul.sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0 0 0 1.6rem;
		background: transparent;
	}

	body.toh .toh-gallery,
	body.toh .toh-gallery--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	body.toh .toh-grid--3,
	body.toh .toh-grid--4,
	body.toh .toh-grid--5,
	body.toh .toh-grid--sidebar,
	body.toh .toh-postgrid,
	body.toh .toh-form__row {
		grid-template-columns: 1fr;
	}

	body.toh .toh-values {
		grid-template-columns: repeat(2, 1fr);
	}

	body.toh .toh-steps {
		grid-template-columns: 1fr;
	}

	body.toh .toh-step::after {
		content: none;
	}

	body.toh .toh-ctastrip__inner {
		grid-template-columns: repeat(2, 1fr);
	}

	body.toh .toh-hero {
		padding: 7.4rem 0 6.6rem;
	}

	body.toh .toh-hero__title {
		font-size: 4rem;
	}

	body.toh .toh-section {
		padding: 5.6rem 0;
	}

	body.toh .toh-section__title {
		font-size: 3.2rem;
	}

	body.toh .toh-quote__text {
		font-size: 2.8rem;
	}

	body.toh .toh-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 620px) {
	body.toh {
		font-size: 1.6rem;
	}

	body.toh .toh-gallery,
	body.toh .toh-gallery--2,
	body.toh .toh-gallery--4 {
		grid-template-columns: 1fr;
	}

	body.toh .toh-container {
		padding: 0 1.8rem;
	}

	body.toh .toh-brand__name {
		font-size: 2.2rem;
	}

	body.toh .toh-hero__title {
		font-size: 3.2rem;
	}

	body.toh .toh-hero__lede {
		font-size: 1.85rem;
	}

	body.toh .toh-section__title {
		font-size: 2.6rem;
	}

	body.toh .toh-pagehead__title {
		font-size: 3rem;
	}

	body.toh .toh-values,
	body.toh .toh-grid--2,
	body.toh .toh-ctastrip__inner,
	body.toh .toh-footer__grid {
		grid-template-columns: 1fr;
	}

	body.toh .toh-ctastrip a {
		border-right: 0.1rem solid rgba(255, 255, 255, 0.18);
	}

	body.toh .toh-cta-band__title {
		font-size: 2.6rem;
	}
}
