/*
Theme Name: Clearday Capital
Theme URI: https://cleardaycapital.com
Author: CoreConcepts Design
Author URI: https://coreconcepts.design/
Description: Clearday Capital website. ClientLayer theme: content editable through ClientLayer, design in code.
Version: 1.1.1
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: clearday
*/

/* ---------------------------------------------------------------
   Fonts: Figtree variable, self-hosted (assets/fonts).
---------------------------------------------------------------- */
@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("assets/fonts/figtree-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("assets/fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------
   Tokens (palette sampled from the client's Website mimic.pdf).
---------------------------------------------------------------- */
:root {
	--cream: #fff6d5;
	--cream-deep: #ffedaf;
	--cream-soft: #fffbec;
	--sky: #dbebfa;
	--sky-deep: #cee3f6;
	--sky-soft: #f2f8fe;
	--navy: #13324e;
	--navy-deep: #0d2640;
	--blue: #1c4d88;
	--blue-text: #1f5596;
	--gold: #e8a83a;
	--gold-hover: #f0b44d;
	--gold-ink: #8a5a00;
	--text: #3c5266;
	--muted: #5b6f81;
	--line: rgba(19, 50, 78, 0.12);
	--line-strong: rgba(19, 50, 78, 0.22);
	--white: #ffffff;
	--error: #b42318;
	--error-bg: #fef3f2;
	--success: #067647;
	--success-bg: #ecfdf3;

	--font: "Figtree", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--fs-h1: clamp(2.4rem, 1.2rem + 3.2vw, 3.85rem);
	--fs-h1-page: clamp(2.2rem, 1.3rem + 2.9vw, 3.5rem);
	--fs-h2: clamp(1.85rem, 1.25rem + 1.9vw, 2.75rem);
	--fs-lede: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 22px;
	--radius-lg: 30px;
	--radius-btn: 12px;
	--shadow-card: 0 24px 48px -24px rgba(19, 50, 78, 0.32), 0 2px 8px rgba(19, 50, 78, 0.06);
	--shadow-soft: 0 14px 34px -20px rgba(19, 50, 78, 0.35);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--header-h: 250px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
	background: var(--white);
}
html.menu-open { overflow: hidden; }

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

h1, h2, h3, h4 {
	margin: 0;
	color: var(--navy);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.015em;
	text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
strong { color: var(--navy); font-weight: 700; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 3px;
	border-radius: 6px;
}

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

.skip-link {
	position: absolute;
	left: 16px; top: -60px;
	z-index: 100;
	padding: 12px 18px;
	background: var(--navy);
	color: var(--white);
	font-weight: 700;
	border-radius: 10px;
	text-decoration: none;
	transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.narrow { max-width: calc(820px + var(--gutter) * 2); }

.section { padding-block: clamp(64px, 8vw, 112px); position: relative; }

.eyebrow {
	margin: 0 0 14px;
	color: var(--blue-text);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.eyebrow-light { color: var(--gold); }

.section-title { font-size: var(--fs-h2); margin-bottom: 18px; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .section-title { margin-bottom: 0; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-split {
	display: flex;
	max-width: none;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.section-head-split > div { max-width: 720px; }

.lede { font-size: var(--fs-lede); line-height: 1.6; color: var(--text); }

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--navy);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid var(--gold);
	padding-bottom: 2px;
}
.text-link .icon { transition: transform 0.25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------------------------------------------------------------
   Buttons
---------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 26px;
	border: 2px solid transparent;
	border-radius: var(--radius-btn);
	font-family: inherit;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.btn-gold {
	background: var(--gold);
	color: var(--navy);
	box-shadow: 0 10px 22px -12px rgba(176, 116, 12, 0.7);
}
.btn-gold:hover { background: var(--gold-hover); color: var(--navy); }

.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: #163f70; color: var(--white); }

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

.btn-pill { border-radius: 999px; padding-inline: 28px; }
.btn-lg { min-height: 56px; padding-inline: 32px; font-size: 1.125rem; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn-caps { text-transform: uppercase; letter-spacing: 0.1em; font-size: 1rem; min-height: 56px; }

/* ---------------------------------------------------------------
   Header
---------------------------------------------------------------- */
.site-header {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 50;
}
.header-inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding-top: 36px;
}
.brand { display: block; flex-shrink: 0; border-radius: 8px; }
.brand-logo { width: 210px; height: auto; transition: width 0.3s var(--ease); }

.header-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 26px;
	padding-top: 30px;
}
.header-row { display: flex; align-items: center; gap: 34px; }

.phone-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	padding: 8px 20px;
	border-radius: 999px;
	background: var(--navy);
	color: var(--white);
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: background-color 0.2s;
}
.phone-pill .icon { color: var(--gold); }
.phone-pill:hover { background: var(--navy-deep); color: var(--white); }

.nav-list { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-item { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-link {
	position: relative;
	display: inline-block;
	padding: 8px 0;
	color: var(--navy);
	font-size: 1.03rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
.nav-link::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 3px;
	border-radius: 3px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-link:hover::after { transform: scaleX(1); opacity: 0.55; }
.nav-link.is-current { font-weight: 600; }
.nav-link.is-current::after { transform: scaleX(1); opacity: 1; }

.sub-toggle {
	display: inline-grid;
	place-items: center;
	width: 28px; height: 28px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--navy);
	cursor: pointer;
}
.sub-toggle .icon { transition: transform 0.25s var(--ease); }
.nav-item.is-open .sub-toggle .icon { transform: rotate(180deg); }

.sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: -18px;
	min-width: 270px;
	padding: 10px;
	list-style: none;
	background: var(--white);
	border-radius: 16px;
	box-shadow: var(--shadow-card);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item.has-sub:hover .sub-menu,
.nav-item.has-sub:focus-within .sub-menu,
.nav-item.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	color: var(--navy);
	font-weight: 500;
	text-decoration: none;
}
.sub-menu a:hover, .sub-menu a:focus-visible { background: var(--sky-soft); }

.btn-apply { min-height: 52px; padding-inline: 30px; font-size: 1.15rem; }

.header-apply-mobile, .menu-toggle, .mobile-menu { display: none; }

/* Progressive blur behind the compact header (desktop and mobile). */
.header-blur {
	position: absolute;
	inset: 0 0 -28px 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s;
	background: linear-gradient(to bottom, rgba(255, 251, 236, 0.94) 0%, rgba(255, 251, 236, 0.86) 70%, rgba(255, 251, 236, 0) 100%);
}
.header-blur span { position: absolute; inset: 0; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.header-blur { background: linear-gradient(to bottom, rgba(255, 251, 236, 0.82) 0%, rgba(255, 251, 236, 0.7) 68%, rgba(255, 251, 236, 0) 100%); }
	.header-blur span:nth-child(1) { -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 100%); mask-image: linear-gradient(to bottom, #000 0, #000 100%); }
	.header-blur span:nth-child(2) { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 80%, transparent 100%); }
	.header-blur span:nth-child(3) { -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 62%, transparent 86%); mask-image: linear-gradient(to bottom, #000 0, #000 62%, transparent 86%); }
	.header-blur span:nth-child(4) { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 45%, transparent 70%); mask-image: linear-gradient(to bottom, #000 0, #000 45%, transparent 70%); }
}

.site-header.is-scrolled { position: fixed; animation: header-in 0.35s var(--ease); }
.site-header.is-scrolled .header-blur { opacity: 1; }
.site-header.is-scrolled .header-inner { align-items: center; padding-block: 10px; }
.site-header.is-scrolled .brand-logo { width: 84px; }
.site-header.is-scrolled .header-right { flex-direction: row-reverse; align-items: center; gap: 24px; padding-top: 0; }
@keyframes header-in { from { transform: translateY(-100%); } to { transform: none; } }
@media (max-width: 1259px) {
	.site-header.is-scrolled .phone-pill { display: none; }
}

/* ---------------------------------------------------------------
   Hero backdrop (mockup: cream left, powder blue right, two waves)
---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--cream); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-circle { position: absolute; border-radius: 50%; }
.hero-circle-sun {
	width: clamp(260px, 30vw, 420px);
	aspect-ratio: 1;
	left: clamp(-60px, 2.5vw, 40px);
	bottom: clamp(-160px, -9vw, -80px);
	background: var(--cream-deep);
	opacity: 0.85;
}
.hero-circle-sky {
	width: clamp(150px, 14vw, 210px);
	aspect-ratio: 1;
	right: clamp(20px, 6vw, 96px);
	top: 70px;
	background: #c3dbf2;
	opacity: 0.75;
}

/* Home hero */
.home-hero { padding-top: 220px; padding-bottom: clamp(90px, 9vw, 130px); }
.home-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 424px;
	gap: clamp(32px, 6vw, 110px);
	align-items: start;
}
.home-hero-copy { padding-top: 64px; max-width: 600px; }
.home-hero .eyebrow { margin-bottom: 18px; letter-spacing: 0.1em; }
.hero-title {
	font-size: var(--fs-h1);
	line-height: 1.06;
	letter-spacing: -0.025em;
	font-weight: 800;
	margin-bottom: 26px;
}
.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 26px;
	padding: 10px 22px 10px 14px;
	border: 1.5px solid #f2d899;
	border-radius: 999px;
	background: var(--white);
	color: var(--navy);
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.25;
}
.status-pill .icon { color: #c98a1e; flex-shrink: 0; }
.hero-text { max-width: 560px; font-size: clamp(1.06rem, 1rem + 0.25vw, 1.18rem); line-height: 1.6; margin-bottom: 30px; }

.home-hero-aside { position: relative; }
.home-hero-aside .wave-top { display: none; }
.funding-note { margin: 30px 0 4px; color: var(--navy); font-weight: 500; text-align: center; font-size: 1.08rem; }
.funding-range { margin: 0; color: var(--navy); text-align: center; font-weight: 800; font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.65rem); letter-spacing: -0.01em; }
.funding-range span { color: var(--blue-text); }

/* Requirements card */
.req-card {
	position: relative;
	padding: 34px 34px 26px;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-card);
}
.req-title { font-size: 1.6rem; margin-bottom: 20px; }
.req-list { list-style: none; display: grid; gap: 16px; margin-bottom: 26px; }
.req-list li { display: flex; align-items: center; gap: 14px; color: var(--text); font-size: 1.08rem; line-height: 1.35; }
.req-list strong { color: var(--navy); }
.check {
	display: inline-grid;
	place-items: center;
	flex-shrink: 0;
	width: 28px; height: 28px;
	border-radius: 50%;
	background: #d6e8fa;
	color: var(--blue);
}
.check .icon { stroke-width: 2.6; }
.req-note { margin: 16px 0 0; color: var(--muted); font-size: 0.86rem; text-align: center; }
.req-note + .req-note { margin-top: 4px; }

/* Inner page hero */
.page-hero { padding-top: var(--header-h); padding-bottom: clamp(70px, 8vw, 110px); }
.page-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
	gap: clamp(32px, 6vw, 100px);
	align-items: center;
}
.page-hero-copy { padding-top: 24px; max-width: 640px; }
.page-title { font-size: var(--fs-h1-page); line-height: 1.08; letter-spacing: -0.022em; margin-bottom: 22px; }
.page-hero .lede { max-width: 600px; }
.page-hero-lead-strong .lede { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem); font-weight: 700; color: var(--blue-text); line-height: 1.35; }
.page-hero-media { position: relative; }
.page-hero-media .wave-top { display: none; }
.media-frame {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	aspect-ratio: 5 / 4;
	background: var(--sky);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-compact { padding-bottom: clamp(56px, 6vw, 84px); }
.page-hero-compact .media-frame { aspect-ratio: 16 / 11; }
.page-hero-text-only .page-hero-grid { grid-template-columns: 1fr; }
.page-hero-text-only .page-hero-copy { max-width: 820px; }
.page-hero-article .page-title { font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem); }

/* ---------------------------------------------------------------
   Home: amount form, products, industries, growth
---------------------------------------------------------------- */
.amount-section { padding: 0; margin-top: -58px; z-index: 3; }
.amount-card {
	display: grid;
	grid-template-columns: minmax(200px, 300px) 1fr;
	gap: 28px 40px;
	align-items: center;
	padding: 30px 36px;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-card);
}
.amount-title { font-size: clamp(1.45rem, 1.2rem + 0.7vw, 1.8rem); }
.lead-form {
	display: grid;
	grid-template-columns: 1fr 1.25fr auto;
	gap: 14px;
	align-items: end;
}
.lead-form .btn { min-height: 52px; }
.lead-form .form-message { grid-column: 1 / -1; }

.products-section { padding-top: clamp(80px, 9vw, 120px); }
.product-cards {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
}
.product-card-link {
	position: relative;
	display: block;
	height: 100%;
	aspect-ratio: 3 / 4.1;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--sky);
	color: var(--white);
	text-decoration: none;
	box-shadow: var(--shadow-soft);
	transition: transform 0.35s var(--ease), box-shadow 0.35s;
	isolation: isolate;
}
.product-card-media, .product-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.product-card-media img { object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card-blur { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.product-card-blur::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(13, 38, 64, 0) 45%, rgba(13, 38, 64, 0.5) 66%, rgba(13, 38, 64, 0.88) 100%);
}
.product-card-blur span { position: absolute; inset: 0; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.product-card-blur span:nth-child(1) { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); -webkit-mask-image: linear-gradient(to bottom, transparent 58%, #000 72%); mask-image: linear-gradient(to bottom, transparent 58%, #000 72%); }
	.product-card-blur span:nth-child(2) { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); -webkit-mask-image: linear-gradient(to bottom, transparent 68%, #000 82%); mask-image: linear-gradient(to bottom, transparent 68%, #000 82%); }
	.product-card-blur span:nth-child(3) { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-mask-image: linear-gradient(to bottom, transparent 78%, #000 94%); mask-image: linear-gradient(to bottom, transparent 78%, #000 94%); }
}
.product-card-body {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 10px;
	row-gap: 6px;
	padding: 20px 18px 22px 20px;
}
.product-card-note {
	grid-column: 1 / -1;
	display: flex;
	align-items: flex-end;
	min-height: calc(2 * 1.3em);
	color: #ffd88c;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.02em;
}
.product-card-title { grid-column: 1; align-self: start; min-height: calc(2 * 1.2em); font-size: 1.24rem; font-weight: 800; line-height: 1.2; color: var(--white); }
.product-card-arrow {
	grid-column: 2;
	grid-row: 2;
	align-self: end;
	display: grid;
	place-items: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--gold);
	color: var(--navy);
	transition: transform 0.3s var(--ease);
}
.product-card-link:hover, .product-card-link:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.product-card-link:hover img, .product-card-link:focus-visible img { transform: scale(1.06); }
.product-card-link:hover .product-card-arrow, .product-card-link:focus-visible .product-card-arrow { transform: translateX(3px); }
.product-card-link:focus-visible { outline-offset: 4px; }

.products-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 48px;
	margin-top: clamp(32px, 4vw, 48px);
	padding-top: clamp(28px, 3vw, 40px);
	border-top: 1px solid var(--line);
}
.products-foot p { max-width: 780px; margin: 0; font-size: 1.1rem; }
.products-foot .btn { flex-shrink: 0; }

.industries-section { background: var(--sky-soft); overflow: hidden; }
.industry-list { list-style: none; }
.industry-card { display: grid; gap: 14px; align-content: start; }
.industry-media {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 18px;
	overflow: hidden;
	background: var(--sky);
	box-shadow: var(--shadow-soft);
}
.industry-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.industry-card:hover .industry-media img { transform: scale(1.05); }
.industry-name { color: var(--navy); font-weight: 700; font-size: 1.06rem; line-height: 1.35; }

.carousel { position: relative; }
.carousel-controls { display: flex; justify-content: flex-end; gap: 10px; margin-top: -20px; margin-bottom: 22px; }
.carousel-btn {
	display: grid;
	place-items: center;
	width: 48px; height: 48px;
	border: 1.5px solid var(--line-strong);
	border-radius: 50%;
	background: var(--white);
	color: var(--navy);
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}
.carousel-btn:hover:not([disabled]) { background: var(--navy); color: var(--white); }
.carousel-btn[disabled] { opacity: 0.4; cursor: default; }
.carousel-track {
	--edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 280px;
	gap: 22px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--edge);
	padding: 4px var(--edge) 22px;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track { position: relative; }
.carousel-track > li { scroll-snap-align: start; }
/* Pinned mode (js/industries-pin.js): the row is moved by page scroll. */
.carousel.is-pinned .carousel-track { overflow: visible; scroll-snap-type: none; will-change: transform; }
/* The pin spacer carries the section colour so no white band shows above or below while pinned. */
.pin-spacer:has(> .industries-section) { background: var(--sky-soft); }
.carousel-track:focus-visible { outline-offset: -3px; }

.industry-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 34px 24px;
}

.process-section { background: var(--cream-soft); }
.steps {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	counter-reset: step;
	position: relative;
}
.steps::before {
	content: "";
	position: absolute;
	top: 32px;
	left: 12%; right: 12%;
	border-top: 2px dashed rgba(232, 168, 58, 0.55);
	z-index: 0;
}
.step {
	position: relative;
	z-index: 1;
	padding: 0 8px;
	text-align: center;
}
.step-icon {
	display: grid;
	place-items: center;
	width: 64px; height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--white);
	color: var(--blue);
	box-shadow: 0 0 0 8px var(--cream-soft), var(--shadow-soft);
}
.step-number { display: block; color: var(--gold-ink); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.1em; margin-bottom: 6px; }
.step-title { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--text); font-size: 1rem; }
.call-line {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 6px 10px;
	margin-top: clamp(40px, 5vw, 60px);
	color: var(--navy);
	font-size: 1.15rem;
	text-align: center;
}
.call-label { font-weight: 600; }
.call-phone { color: var(--blue); font-weight: 800; font-size: 1.3rem; text-decoration: none; }
.call-phone:hover { text-decoration: underline; }
.call-apply { color: var(--navy); font-weight: 700; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

.growth-section { padding-top: 0; background: var(--cream-soft); }
.growth-card {
	position: relative;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 32px 60px;
	align-items: center;
	padding: clamp(36px, 5vw, 64px);
	border-radius: var(--radius-lg);
	background: var(--navy);
	overflow: hidden;
	isolation: isolate;
}
.growth-circle {
	position: absolute;
	right: -80px; top: -120px;
	width: 380px; aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 40% 40%, rgba(232, 168, 58, 0.35), rgba(232, 168, 58, 0) 68%);
	z-index: -1;
}
.growth-card .section-title { color: var(--white); margin: 0; }
.growth-stat { margin: 0; display: grid; gap: 6px; border-left: 3px solid var(--gold); padding-left: clamp(20px, 3vw, 36px); }
.growth-number { color: var(--gold); font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.8rem); line-height: 1; letter-spacing: -0.02em; }
.growth-label { color: rgba(255, 255, 255, 0.85); font-size: 1.2rem; font-weight: 500; }

/* ---------------------------------------------------------------
   Inner pages
---------------------------------------------------------------- */
.intro-section { text-align: center; }
.intro-section .lede { margin-inline: auto; max-width: 760px; }

.product-rows .product-row { padding-block: clamp(56px, 7vw, 96px); scroll-margin-top: 80px; }
.product-rows .product-row:nth-child(odd) { background: var(--sky-soft); }
.product-row-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
}
.product-row.is-flipped .product-media { order: 2; }
.product-media, .split-media {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 5 / 4;
	box-shadow: var(--shadow-card);
	background: var(--sky);
}
.product-media img, .split-media img { width: 100%; height: 100%; object-fit: cover; }
.amount-chip {
	display: inline-block;
	margin-bottom: 16px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #fff0cc;
	color: var(--gold-ink);
	font-weight: 700;
	font-size: 0.92rem;
	letter-spacing: 0.02em;
}
.product-copy .section-title { margin-bottom: 12px; }
.product-lead { color: var(--navy); font-weight: 700; font-size: 1.2rem; line-height: 1.4; }
.ideal-label { margin: 22px 0 12px; color: var(--blue-text); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.check-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin-bottom: 30px; }
.check-list li { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 500; line-height: 1.35; }
.product-statement {
	margin: 24px 0 12px;
	padding-left: 16px;
	border-left: 3px solid var(--gold);
	color: var(--navy);
	font-weight: 700;
	font-size: 1.15rem;
}
.product-copy > .btn { margin-top: 10px; }

.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature-card {
	padding: 30px 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: transparent; }
.feature-icon {
	display: grid;
	place-items: center;
	width: 56px; height: 56px;
	margin-bottom: 20px;
	border-radius: 16px;
	background: var(--cream);
	color: #b07a14;
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.feature-card p { font-size: 1rem; }

.faq-section { background: var(--sky-soft); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 72px; align-items: start; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 4px;
	color: var(--navy);
	font-weight: 700;
	font-size: 1.15rem;
	cursor: pointer;
	list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex-shrink: 0; transition: transform 0.25s var(--ease); color: var(--blue); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { padding: 0 4px 24px; max-width: 640px; }

/* Split layouts (About, Non-Dilutive, Industries) */
.split-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
}
.split-grid.is-flipped .split-media { order: 2; }
.split-media { aspect-ratio: 4 / 4.4; }
.prose p { font-size: 1.08rem; }
.prose-lg p { font-size: clamp(1.1rem, 1rem + 0.3vw, 1.22rem); line-height: 1.7; }
.prose .section-title { margin-bottom: 22px; }
.callout {
	margin-top: 26px;
	padding: 18px 22px;
	border-radius: 16px;
	background: var(--cream);
	border-left: 4px solid var(--gold);
	color: var(--navy);
	font-weight: 700;
	font-size: 1.15rem !important;
	line-height: 1.5;
}

.about-story { background: var(--white); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.stat-card {
	position: relative;
	padding: clamp(30px, 4vw, 48px);
	border-radius: var(--radius-lg);
	background: var(--sky);
	overflow: hidden;
	isolation: isolate;
}
.stat-circle { position: absolute; right: -70px; bottom: -90px; width: 260px; aspect-ratio: 1; border-radius: 50%; background: var(--cream-deep); opacity: 0.7; z-index: -1; }
.stat-card p { color: var(--navy); font-size: clamp(1.2rem, 1rem + 0.6vw, 1.45rem); line-height: 1.5; font-weight: 500; }
.stat-card strong { color: var(--blue); font-weight: 800; }
.about-solutions { background: var(--cream-soft); }
.about-relationship { background: var(--white); }
.signature { margin-top: 26px; color: var(--blue); font-weight: 800; font-size: 1.15rem !important; }

.nd-statement { background: var(--cream); padding-block: clamp(56px, 7vw, 96px); overflow: hidden; }
.statement {
	max-width: 980px;
	margin: 0 auto;
	color: var(--navy);
	text-align: center;
	font-weight: 800;
	font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.9rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.check-list-2col { margin: 6px 0 20px; }
.stage-section { background: var(--sky-soft); }
.industries-page-list { background: var(--white); }

/* CTA band */
.cta-section { padding-top: 0; }
.cta-section.about-commitment { padding-top: clamp(64px, 8vw, 112px); background: var(--white); }
.cta-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) auto;
	gap: 28px 48px;
	align-items: center;
	padding: clamp(36px, 5vw, 64px);
	border-radius: var(--radius-lg);
	background: var(--sky);
	overflow: hidden;
	isolation: isolate;
}
.cta-card .section-title { margin-bottom: 12px; }
.cta-circle { position: absolute; border-radius: 50%; z-index: -1; }
.cta-circle-a { width: 320px; aspect-ratio: 1; right: -90px; top: -150px; background: var(--cream); }
.cta-circle-b { width: 180px; aspect-ratio: 1; left: 42%; bottom: -120px; background: var(--sky-deep); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-card-stack { grid-template-columns: 1fr; }
.cta-card-stack .cta-copy { max-width: 820px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.info-cards { list-style: none; display: grid; gap: 16px; margin-top: 10px; }
.info-card {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	column-gap: 18px;
	align-items: center;
	padding: 20px 22px;
	border-radius: 18px;
	background: var(--sky-soft);
	border: 1px solid var(--line);
}
.info-icon { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--white); color: var(--blue); }
.info-card h3 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.info-card p { margin: 2px 0 0; color: var(--navy); font-weight: 700; font-size: 1.15rem; overflow-wrap: anywhere; }
.info-card a { color: var(--navy); text-decoration: none; }
.info-card a:hover { color: var(--blue); text-decoration: underline; }

.form-card {
	padding: clamp(26px, 4vw, 44px);
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow-card);
}

/* ---------------------------------------------------------------
   Forms
---------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label, .cdaf-grid > label, .cdaf-signature-label { color: var(--navy); font-weight: 600; font-size: 0.97rem; }
.req { color: var(--error); }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 1.5px solid #c5d6e6;
	border-radius: 12px;
	background: var(--white);
	color: var(--navy);
	font-family: inherit;
	font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 140px; resize: vertical; }
select {
	appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2313324E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
input::placeholder, textarea::placeholder { color: #7f91a2; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(28, 77, 136, 0.18); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }

.form-privacy { font-size: 0.92rem; color: var(--muted); }
.form-message:empty { display: none; }
.form-message, .cdaf-message:not(:empty) {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-radius: 12px;
	font-weight: 600;
	font-size: 0.98rem;
}
.form-message.is-error, .cdaf-message.is-error { background: var(--error-bg); color: var(--error); }
.form-message.is-success, .cdaf-message.is-success { background: var(--success-bg); color: var(--success); }

.field-error { margin: 2px 0 0; color: var(--error); font-size: 0.9rem; font-weight: 600; line-height: 1.4; }
.field-error:empty { display: none; }
.cdaf-check + .field-error { margin-top: 8px; padding-left: 34px; }
.cdaf-upload + .field-error { margin-top: 10px; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"], .cdaf-signature[aria-invalid="true"] { border-color: var(--error); }
input[aria-invalid="true"]:focus, select[aria-invalid="true"]:focus, textarea[aria-invalid="true"]:focus { border-color: var(--error); box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.16); }
.cdaf-check input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }

.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Application (ported Clearbridge flow, Clearday styling) */
/* Application page: no hero; the form starts under the compact header. */
.site-header.is-compact { animation: none; }
.apply-section { padding: 128px 0 clamp(64px, 8vw, 104px); background: var(--sky-soft); }
.apply-title { margin: 0 0 18px; font-size: clamp(1.4rem, 1.15rem + 0.7vw, 1.8rem); letter-spacing: -0.015em; }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 48px); align-items: start; }
.apply-aside { position: sticky; top: 104px; }
.apply-aside .req-card { padding: 28px; }
.apply-aside .req-title { font-size: 1.35rem; }
.apply-aside .req-note { text-align: left; }

.cdaf-form { display: grid; gap: 20px; }
.cdaf-section {
	padding: clamp(22px, 3vw, 34px);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: 0 10px 30px -24px rgba(19, 50, 78, 0.5);
}
.cdaf-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.cdaf-heading > span {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 38px; height: 38px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
	font-weight: 800;
}
.cdaf-heading h2 { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); line-height: 1.3; }
.cdaf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cdaf-grid > label { display: grid; gap: 8px; }
.cdaf-grid-two { align-items: start; }

.cdaf-slider-row { display: flex; align-items: center; gap: 16px; color: var(--navy); font-size: 0.95rem; }
.cdaf-slider-row strong { white-space: nowrap; }
.cdaf-slider-row input[type="range"] {
	--fill: 5%;
	flex: 1;
	min-width: 0;
	height: 44px;
	margin: 0;
	appearance: none;
	background: transparent;
	cursor: pointer;
}
.cdaf-slider-row input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(to right, var(--gold) 0 var(--fill), #dbe6f1 var(--fill) 100%); }
.cdaf-slider-row input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: #dbe6f1; }
.cdaf-slider-row input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--gold); }
.cdaf-slider-row input[type="range"]::-webkit-slider-thumb { appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--navy); border: 4px solid var(--white); box-shadow: 0 2px 8px rgba(19, 50, 78, 0.4); }
.cdaf-slider-row input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); border: 4px solid var(--white); box-shadow: 0 2px 8px rgba(19, 50, 78, 0.4); }
.cdaf-slider-row input[type="range"]:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 10px; }
.cdaf-selected { display: grid; justify-items: center; gap: 2px; margin-top: 22px; padding: 16px; border-radius: 16px; background: var(--cream); }
.cdaf-selected small { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.cdaf-selected strong { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); line-height: 1.1; }

.cdaf-upload {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 4px;
	padding: 34px 20px;
	border: 2px dashed #a9c4de;
	border-radius: 18px;
	background: var(--sky-soft);
	color: var(--navy);
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}
.cdaf-upload:hover, .cdaf-upload.is-dragover { border-color: var(--blue); background: var(--sky); }
.cdaf-upload:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.cdaf-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.cdaf-upload-icon { color: var(--blue); margin-bottom: 6px; }
.cdaf-upload em { color: var(--muted); font-style: normal; }
.cdaf-help { margin: 14px 0 0; color: var(--muted); font-size: 0.92rem; }
.cdaf-file-list { margin-top: 10px; color: var(--navy); font-weight: 600; font-size: 0.95rem; }

.cdaf-consent { padding: 16px 18px; border-radius: 14px; background: var(--sky-soft); font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }
.cdaf-signature-field { display: grid; gap: 8px; }
.cdaf-signature { width: 100%; height: 130px; border: 1.5px dashed #a9c4de; border-radius: 12px; background: var(--white); touch-action: none; cursor: crosshair; }
.cdaf-clear-signature {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 2px;
	border: 0;
	background: none;
	color: var(--blue);
	font: inherit;
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: underline;
	cursor: pointer;
}
.cdaf-check { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; color: var(--navy); font-weight: 600; line-height: 1.45; cursor: pointer; }
.cdaf-check input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--navy); }
.cdaf-submit { width: 100%; }
.cdaf-secure { margin: 0; text-align: center; color: var(--muted); font-size: 0.92rem; }
.cdaf-message:empty { display: none; }

/* Legal + articles */
.legal-section { padding-top: clamp(48px, 6vw, 80px); }
.legal-body h2 { font-size: 1.45rem; margin: 44px 0 16px; padding-top: 36px; border-top: 1px solid var(--line); }
.legal-body h3 { font-size: 1.15rem; margin: 26px 0 12px; }
.legal-body ul, .prose ul:not(.check-list) { list-style: none; display: grid; gap: 10px; margin: 0 0 1.2em; }
.legal-body li, .prose ul:not(.check-list) li { position: relative; padding-left: 26px; }
.legal-body li::before, .prose ul:not(.check-list) li::before { content: ""; position: absolute; left: 4px; top: 0.68em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.legal-body a { font-weight: 600; }
.article-section .prose h2 { font-size: 1.6rem; margin: 40px 0 14px; }
.article-list { list-style: none; display: grid; gap: 14px; }
.article-list a { display: grid; gap: 4px; padding: 22px 24px; border-radius: 18px; background: var(--sky-soft); text-decoration: none; }
.article-date { color: var(--muted); font-size: 0.9rem; }
.article-title { color: var(--navy); font-weight: 800; font-size: 1.2rem; }

/* ---------------------------------------------------------------
   Footer
---------------------------------------------------------------- */
.site-footer {
	position: relative;
	padding: clamp(72px, 8vw, 110px) 0 28px;
	background: var(--sky-soft);
	color: var(--text);
	overflow: hidden;
}
.footer-shape {
	position: absolute;
	inset: 0 0 auto 0;
	height: 64px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v22c-240 30-480 34-720 14S240 8 0 30z' fill='%23ffffff'/%3E%3C/svg%3E") top / 100% 100% no-repeat;
	pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-logo { display: inline-block; margin-bottom: 18px; border-radius: 8px; }
.footer-logo img { width: 168px; }
.footer-brand p { max-width: 340px; font-size: 1rem; margin-bottom: 22px; }
.footer-title { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; color: var(--navy); font-weight: 800; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--text); text-decoration: none; }
.footer-col a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact .icon { flex-shrink: 0; margin-top: 4px; color: var(--blue); }
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: clamp(44px, 5vw, 64px);
	padding-top: 24px;
	border-top: 1px solid var(--line);
	font-size: 0.92rem;
	color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a { color: var(--navy); font-weight: 600; }

/* ---------------------------------------------------------------
   Reveal (only when JS is on and motion is allowed)
---------------------------------------------------------------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* Photos open from a clipped, slightly zoomed frame. */
.reveal-ready [data-reveal="image"] {
	opacity: 1;
	transform: none;
	clip-path: inset(9% 7% 9% 7% round var(--radius-lg));
	transition: clip-path 1.1s var(--ease);
}
.reveal-ready [data-reveal="image"] img { transform: scale(1.12); transition: transform 1.4s var(--ease); }
.reveal-ready [data-reveal="image"].is-visible { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.reveal-ready [data-reveal="image"].is-visible img { transform: none; }
.reveal-ready [data-reveal="image"].reveal-done { clip-path: none; }

/* Card lists arrive one after another (delay capped so long lists stay quick). */
.reveal-ready [data-reveal-children]:not(.reveal-done) > * {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
	transition-delay: calc(min(var(--i, 0), 6) * 80ms);
}
.reveal-ready [data-reveal-children].is-visible:not(.reveal-done) > * { opacity: 1; transform: none; }

/*
 * Hero images on every page: the frame opens and the photo settles on load,
 * then drifts gently with scroll (js/main.js). Individual scale/translate
 * properties keep the two from fighting. Home: the requirements card rises.
 */
@media (prefers-reduced-motion: no-preference) {
	.js .page-hero .media-frame { animation: hero-frame-in 1.15s var(--ease) 0.08s backwards; }
	.js .page-hero .media-frame img { scale: 1.08; animation: hero-img-in 1.6s var(--ease) 0.08s backwards; }
	.js .home-hero-aside .req-card { animation: hero-card-in 0.9s var(--ease) 0.2s backwards; }
}
@keyframes hero-frame-in {
	from { clip-path: inset(9% 7% 9% 7% round var(--radius-lg)); }
	to { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
}
@keyframes hero-img-in {
	from { scale: 1.2; }
	to { scale: 1.08; }
}
@keyframes hero-card-in {
	from { opacity: 0; translate: 0 28px; }
	to { opacity: 1; translate: 0 0; }
}

/* The dashed line between the funding steps draws across. */
.reveal-ready .steps::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.2s var(--ease) 0.25s; }
.reveal-ready .steps.is-visible::before { transform: scaleX(1); }

/* ---------------------------------------------------------------
   Responsive
---------------------------------------------------------------- */
@media (max-width: 1240px) {
	.nav-list { gap: 24px; }
	.header-row { gap: 24px; }
	.product-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.product-card-link { aspect-ratio: 4 / 3.6; }
}

@media (max-width: 1079px) {
	:root { --header-h: 116px; }
	.header-right { display: none; }
	.header-inner { align-items: center; padding-block: 14px; gap: 12px; }
	.brand-logo { width: 96px; }
	.brand { margin-right: auto; }
	.header-apply-mobile { display: inline-flex; }
	.menu-toggle {
		display: grid;
		place-items: center;
		width: 46px; height: 46px;
		border: 1.5px solid var(--line-strong);
		border-radius: 12px;
		background: var(--white);
		color: var(--navy);
		cursor: pointer;
	}
	.menu-toggle .menu-icon-close { display: none; }
	.menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
	.menu-toggle[aria-expanded="true"] .menu-icon-close { display: block; }
	.site-header.is-scrolled .brand-logo { width: 64px; }
	.site-header.is-scrolled .header-inner { padding-block: 8px; }

	.mobile-menu {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 1;
		padding: 110px var(--gutter) 40px;
		overflow-y: auto;
		background: var(--cream);
	}
	.js .mobile-menu:not(.is-open) { display: none; }
	html:not(.js) .mobile-menu { position: static; padding-top: 0; }
	.mobile-nav ul { list-style: none; }
	.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
	.mobile-link { display: block; padding: 16px 0; color: var(--navy); font-size: 1.35rem; font-weight: 700; text-decoration: none; }
	.mobile-link.is-current { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 8px; }
	.mobile-sub { display: grid; gap: 2px; padding: 0 0 14px 14px; border-left: 2px solid var(--gold); margin-bottom: 14px; }
	.mobile-sub a { display: block; padding: 8px 0; color: var(--text); font-weight: 500; text-decoration: none; }
	.mobile-actions { display: grid; gap: 12px; margin-top: 28px; }
	.phone-pill-block { justify-content: center; min-height: 52px; }

	.hero-waves { display: none; }
	.hero { background: var(--cream); }
	.hero-circle-sun { left: auto; right: -120px; top: 40px; bottom: auto; width: 300px; }
	.hero-circle-sky { display: none; }

	.home-hero { padding-top: 130px; padding-bottom: 0; }
	.home-hero-grid { grid-template-columns: 1fr; gap: 48px; }
	.home-hero-copy { padding-top: 10px; max-width: 680px; }
	.home-hero-aside {
		margin-inline: calc(var(--gutter) * -1);
		padding: 20px var(--gutter) 110px;
		background: var(--sky-deep);
	}
	.home-hero-aside .wave-top, .page-hero-media .wave-top {
		display: block;
		position: absolute;
		left: 0; right: 0; top: -54px;
		width: 100%; height: 56px;
	}
	.home-hero-aside .req-card { max-width: 520px; margin-inline: auto; }

	.page-hero { padding-bottom: 0; }
	.page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
	.page-hero-copy { padding-top: 10px; padding-bottom: 8px; }
	.page-hero-media {
		margin-inline: calc(var(--gutter) * -1);
		padding: 16px var(--gutter) 56px;
		background: var(--sky-deep);
	}
	.page-hero-media .media-frame { max-width: 680px; margin-inline: auto; aspect-ratio: 16 / 10; }
	.page-hero-text-only { padding-bottom: 48px; }

	.amount-section { margin-top: -64px; }
	.amount-card { grid-template-columns: 1fr; }

	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
	.steps::before { display: none; }
	.growth-card { grid-template-columns: 1fr; }
	.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.faq-grid { grid-template-columns: 1fr; }
	.product-row-grid, .split-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
	.product-row.is-flipped .product-media, .split-grid.is-flipped .split-media { order: 0; }
	.product-media, .split-media { aspect-ratio: 16 / 10; max-height: 520px; }
	.cta-card { grid-template-columns: 1fr; }
	.apply-grid { grid-template-columns: 1fr; }
	.apply-aside { position: static; }
	.apply-section { padding-top: 104px; }
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1079px) {
	.header-apply-mobile { min-height: 44px; }
	.mobile-sub a { padding-block: 10px; }
	.text-link, .call-phone, .call-apply, .info-card a { position: relative; }
	.text-link::before, .call-phone::before, .call-apply::before, .info-card a::before { content: ""; position: absolute; inset: -11px -6px; }
	.footer-col ul { gap: 0; }
	.footer-col a, .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
	.footer-contact li { align-items: center; min-height: 44px; }
	.footer-contact .icon { margin-top: 0; }
	.footer-legal { gap: 0 24px; }
}

@media (max-width: 760px) {
	.lead-form { grid-template-columns: 1fr; }
	.product-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.product-card-link { aspect-ratio: 3 / 3.6; }
	.product-card-title { grid-column: 1 / -1; font-size: 1.08rem; }
	.product-card-body { padding: 14px 14px 16px; }
	.product-card-arrow { display: none; }
	.products-foot { flex-direction: column; align-items: flex-start; }
	.industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
	.industry-name { font-size: 0.98rem; }
	.carousel-track { grid-auto-columns: 74vw; gap: 16px; }
	.carousel-controls { margin-top: 0; }
	.form-grid, .cdaf-grid, .check-list { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
	.header-apply-mobile { padding-inline: 12px; font-size: 0.9rem; }
	.brand-logo { width: 82px; }
	.status-pill { font-size: 1rem; padding: 9px 16px 9px 12px; }
	.btn-pill { width: 100%; }
	.req-card { padding: 26px 22px 22px; }
	.req-title { font-size: 1.4rem; }
	.req-list li { font-size: 1rem; }
	.amount-card { padding: 24px 20px; }
	.product-cards { grid-template-columns: 1fr; }
	.product-card-link { aspect-ratio: 16 / 10; }
	.steps { grid-template-columns: 1fr; }
	.feature-grid { grid-template-columns: 1fr; }
	.cta-actions .btn { width: 100%; }
	.cdaf-slider-row { flex-wrap: wrap; justify-content: space-between; }
	.cdaf-slider-row input[type="range"] { order: -1; flex-basis: 100%; }
	.footer-grid { grid-template-columns: 1fr; }
	.info-card { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
	.info-icon { width: 44px; height: 44px; }
}

@media (max-width: 360px) {
	.header-apply-mobile { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
