/* ==========================================================================
   VSS 2026
   Orbit and Blob: deep green and gold from the logo on a mist ground. Sora for headings, IBM Plex Sans for text.
   ========================================================================== */

/* Fonts: self-hosted variable fonts (SIL Open Font License), latin subset.
   The "Fallback" faces resize Arial to the same metrics so text does not jump when the real font loads. */
@font-face {
	font-family: "Sora"; font-style: normal; font-weight: 300 800; font-display: swap;
	src: url("../fonts/sora-latin.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: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
	src: url("../fonts/ibm-plex-sans-latin.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: "Sora Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 116.34%; ascent-override: 83.37%; descent-override: 24.93%; line-gap-override: 0%; }
@font-face { font-family: "Plex Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 102.13%; ascent-override: 100.36%; descent-override: 26.93%; line-gap-override: 0%; }


:root {
	--green-950: #0a1f19;
	--green-900: #10322a;
	--green-800: #164238;
	--green-700: #1e5747;
	--green-600: #2b6e5b;
	--gold: #d49b32;
	--gold-300: #e8c172;
	--gold-100: #f6e7c4;
	--stone: #eef1ec;
	--mist: #edf1f0;
	--white: #ffffff;
	--ink: #0f1e19;
	--muted: #4a5a53;
	--line: #d5dcd5;
	--on-dark: #f3f6f2;
	--on-dark-muted: #b6c8bf;
	--line-dark: rgba(243, 246, 242, 0.14);

	--font-display: "Sora", "Sora Fallback", ui-sans-serif, system-ui, sans-serif;
	--font-body: "IBM Plex Sans", "Plex Fallback", ui-sans-serif, system-ui, sans-serif;

	--radius: 14px;
	--radius-lg: 24px;
	--shadow: 0 2px 4px rgba(16, 50, 42, 0.06), 0 18px 40px -16px rgba(16, 50, 42, 0.28);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--header-h: 76px;
	--gutter: clamp(16px, 4vw, 40px);
}


/* Base ------------------------------------------------------------------- */

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

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

body {
	margin: 0;
	background: var(--mist);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
	font-family: var(--font-display);
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0;
	color: inherit;
	text-wrap: balance;
}
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }

a { color: var(--green-700); text-underline-offset: 0.18em; }
a:hover { color: var(--green-900); }

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

.sr-only, .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;
}

.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	background: var(--gold); color: var(--green-950); padding: 12px 18px; border-radius: 10px;
	font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 880px; }

/* Buttons ---------------------------------------------------------------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 14px 26px; border-radius: 999px;
	font: 600 1rem/1.2 var(--font-body); text-decoration: none;
	border: 1.5px solid transparent; cursor: pointer;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-gold { background: var(--gold); color: var(--green-950); box-shadow: 0 10px 30px -10px rgba(212, 155, 50, 0.65); }
.btn-gold:hover { background: var(--gold-300); color: var(--green-950); transform: translateY(-2px); }
.btn-green { background: var(--green-900); color: var(--on-dark); }
.btn-green:hover { background: var(--green-700); color: #fff; }
.btn-ghost { border-color: rgba(247, 244, 236, 0.35); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--gold); color: #fff; background: rgba(247, 244, 236, 0.06); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 0.9375rem; }

.text-link {
	font-weight: 600; color: var(--green-700); text-decoration: underline; text-decoration-thickness: 1.5px;
	text-underline-offset: 0.3em; text-decoration-color: var(--gold); transition: text-underline-offset 0.25s var(--ease), color 0.2s;
}
.text-link:hover { color: var(--green-900); text-underline-offset: 0.45em; }
.section-gold .text-link { color: var(--green-950); text-decoration-color: var(--green-950); }

::selection { background: var(--gold-300); color: var(--green-950); }
html { scrollbar-color: var(--green-700) var(--stone); }

/* Header ----------------------------------------------------------------- */

.site-header {
	position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s, box-shadow 0.3s;
}
/* The blur sits on a pseudo-element: backdrop-filter on the header itself would make it the
   containing block for the fixed mobile menu, which then collapses to the header's height. */
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(237, 241, 240, 0.88);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(16, 50, 42, 0.35); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-900); }
.brand-mark { width: 44px; height: 44px; }
.brand-name { font: 700 1.0625rem/1.15 var(--font-display); letter-spacing: -0.01em; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
	color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 999px;
	transition: background-color 0.2s, color 0.2s;
}
.nav-item > a:hover { background: rgba(16, 50, 42, 0.06); color: var(--green-900); }
.nav-item > a[aria-current="page"] { color: var(--green-700); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-cta { margin-left: 10px; }
.nav-cta > a.btn { padding: 10px 20px; color: var(--on-dark); }
.nav-cta > a.btn:hover { background: var(--green-700); color: #fff; }

.sub-toggle {
	display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 44px; margin-left: -8px;
	background: none; border: 0; color: var(--muted); cursor: pointer; border-radius: 8px;
}
.sub-toggle svg { transition: transform 0.25s var(--ease); }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.sub-menu {
	list-style: none; margin: 0; padding: 10px;
	position: absolute; top: calc(100% + 10px); left: -12px; width: 420px;
	background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}
.sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a {
	display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 14px;
	text-decoration: none; color: var(--ink);
}
.sub-menu a:hover { background: var(--stone); }
.sub-menu .icon { flex: none; color: var(--green-700); margin-top: 2px; }
.sub-menu strong { display: block; font-weight: 600; }
.sub-menu small { display: block; color: var(--muted); font-size: 0.875rem; line-height: 1.45; }

.nav-toggle { display: none; }

@media (max-width: 960px) {
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
		background: var(--green-900); border: 0; border-radius: 14px; cursor: pointer;
	}
	.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
		display: block; width: 20px; height: 2px; background: var(--on-dark); border-radius: 2px;
		transition: transform 0.3s var(--ease), opacity 0.2s;
	}
	.nav-toggle-bars { position: relative; }
	.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle-bars::before { top: -6px; }
	.nav-toggle-bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
		background: var(--stone); padding: 16px var(--gutter) 40px; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav-item > a { flex: 1; min-height: 60px; font: 600 1.375rem var(--font-display); padding: 0; }
	.nav-item > a:hover { background: none; }
	.nav-item > a[aria-current="page"] { box-shadow: none; }
	.sub-toggle { width: 52px; height: 60px; margin: 0; }
	.sub-menu {
		position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none;
		border: 0; background: none; padding: 0 0 12px; display: none;
	}
	.has-sub.is-open .sub-menu { display: block; }
	.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; }
	.nav-cta { margin: 24px 0 0; border: 0; }
	.nav-cta > a.btn { width: 100%; min-height: 56px; font-size: 1.0625rem; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 420px) { .brand-name { font-size: 0.9375rem; } .brand-mark { width: 38px; height: 38px; } }
@media (max-width: 330px) { .brand-name { display: none; } }

/* Display type: light Sora, big and tight. */
.display { font-weight: 300; letter-spacing: -0.045em; line-height: 1; }
.display-md { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem); }
h2 { font-weight: 300; letter-spacing: -0.04em; line-height: 1.02; font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem); }

.btn-line { border-color: var(--green-900); color: var(--green-900); background: var(--white); }
.btn-line:hover { background: var(--green-900); color: #fff; }
.text-link-light { color: var(--gold-300); text-decoration-color: var(--gold-300); }
.text-link-light:hover { color: #fff; }

/* Hero ------------------------------------------------------------------- */

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(560px, 52vw, 720px); display: flex; align-items: center; padding: 40px 0 56px; }
.hero-page { min-height: clamp(480px, 42vw, 600px); }
.hero-plain { min-height: 0; padding: 72px 0 56px; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy > * { max-width: 600px; }
.hero-title { font-size: clamp(2.75rem, 1.3rem + 4.8vw, 5.25rem); margin-bottom: 28px; text-shadow: 0 0 18px var(--mist), 0 0 6px var(--mist); }
.hero-title-md { font-size: clamp(2.5rem, 1.3rem + 4vw, 4.5rem); }
.hero-title .w { display: inline-block; }
.hero-lede { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem); color: var(--muted); margin-bottom: 32px; text-shadow: 0 0 10px var(--mist); }
.hero-lede-lg { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: absolute; z-index: -1; right: -4%; top: 50%; width: min(64vw, 900px); transform: translateY(-50%); pointer-events: none; }
.hero-art-left { right: -8%; top: auto; bottom: -42%; transform: none; width: min(48vw, 620px); }
.hero-about .hero-art { width: min(50vw, 640px); right: -4%; }
.hero-art svg { width: 100%; height: auto; display: block; overflow: visible; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.9375rem; color: var(--muted); margin-bottom: 24px; }
.crumbs a { color: var(--ink); }
.crumbs [aria-current] { color: var(--muted); }

/* Word-by-word entrance. Only movement is animated, so text paints at once. */
.js .hero-title .w { animation: rise 0.9s var(--ease) both; animation-delay: calc(0.05s + var(--i) * 0.07s); }
@keyframes rise { from { transform: translateY(0.4em); } to { transform: none; } }

@media (max-width: 900px) {
	.hero, .hero-page { flex-direction: column; align-items: stretch; min-height: 0; padding-top: 32px; }
	.hero-art { position: relative; order: 2; right: auto; top: auto; transform: none; width: 112%; margin: 8px -6% -24px; z-index: -1; }
	.hero-art-left { display: none; }
	.hero-title { text-shadow: none; }
}

/* Orbit system */
.orbit .rings use { fill: none; stroke: var(--green-900); stroke-width: 1.2; }
.orbit .o-dot { fill: var(--white); stroke: var(--green-900); stroke-width: 1.5; }
.orbit .o-label { fill: var(--green-900); font: 600 14px var(--font-body); }
.orbit .o-pill { fill: var(--green-900); }
.orbit .o-pill-text { fill: #fff; font: 600 15px var(--font-display); }
.orbit .o-pill-light { fill: var(--white); stroke: var(--green-900); stroke-width: 1.2; }
.orbit .o-pill-light-text { fill: var(--green-900); font: 500 14px var(--font-display); }
.orbit .o-doc { fill: var(--white); stroke: var(--green-900); stroke-width: 1.5; }
.orbit .o-doc-text { fill: var(--green-900); font: 600 15px var(--font-display); }
.orbit .o-burst { fill: var(--gold); transform-box: fill-box; transform-origin: center; animation: spin 40s linear infinite; }
.orbit .o-hub { fill: var(--gold); }
.orbit .o-hub-text { fill: var(--green-900); font: 600 19px var(--font-display); }
.orbit .o-hub-sub { fill: var(--green-900); font: 500 13px var(--font-body); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Blobs */
.b-gold { fill: var(--gold); }
.b-gold-soft { fill: var(--gold-300); opacity: 0.85; }
.b-green { fill: var(--green-900); }
.b-line { fill: none; stroke: var(--green-900); stroke-width: 1; opacity: 0.35; }
.b-line-light { fill: none; stroke: var(--gold-300); stroke-width: 1.2; opacity: 0.5; }
.blob-art { display: block; width: 100%; height: auto; overflow: visible; pointer-events: none; }

/* Marquee: two rows of outlined words, opposite directions. */
.marquee { overflow: hidden; background: var(--white); border-block: 1.2px solid var(--green-900); padding: 18px 0; display: grid; gap: 4px; }
.marquee-row { display: flex; width: max-content; gap: 56px; white-space: nowrap; }
.marquee-row span { font: 800 clamp(3rem, 2rem + 4vw, 5.25rem)/1.1 var(--font-display); letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--green-900); }
.marquee-row span:nth-child(3n + 2) { -webkit-text-stroke-color: #9a6b16; }
.marquee-l { animation: slide-l 40s linear infinite; }
.marquee-r { animation: slide-r 46s linear infinite; }
.marquee:hover .marquee-row { animation-play-state: paused; }
@keyframes slide-l { to { transform: translateX(-50%); } }
@keyframes slide-r { from { transform: translateX(-50%); } to { transform: none; } }

/* Sections ---------------------------------------------------------------- */

.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; isolation: isolate; }
.section-tight { padding-block: clamp(56px, 7vw, 88px); }
.section-white { background: var(--white); }
.section-gold { background: var(--gold); color: var(--green-950); overflow: hidden; }
.section-dark { background: var(--green-900); color: #fff; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p, .section-dark .lede { color: var(--on-dark-muted); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin-bottom: 14px; }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 40em; }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.split-aside .section-head { margin-bottom: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-aside { position: static; } }

/* Orbit icon */
.orb { flex: none; overflow: visible; }
.orb-ring { fill: none; stroke: var(--green-900); stroke-width: 1.2; }
.orb-core { fill: var(--gold); }
.orb-moon { fill: var(--green-900); transform-box: view-box; transform-origin: center; animation: spin 10s linear infinite; }

/* Services as orbit rows */
.orbit-list { list-style: none; margin: 0; padding: 0; border-top: 1.2px solid var(--green-900); }
.orbit-list li { border-bottom: 1.2px solid var(--green-900); }
.orbit-row { display: grid; grid-template-columns: 56px minmax(0, 6fr) minmax(0, 5fr); gap: 16px 28px; align-items: center; padding: 24px 12px; border-radius: 16px; color: var(--ink); text-decoration: none; transition: padding-left 0.45s var(--ease), background-color 0.3s; }
.orbit-row:hover, .orbit-row:focus-visible { padding-left: 28px; background: var(--white); color: var(--ink); }
.orbit-row:hover .orb-moon { animation-duration: 1.6s; fill: var(--gold); }
.orbit-row-name { font: 400 clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem)/1.05 var(--font-display); letter-spacing: -0.03em; }
.orbit-row-text { color: var(--muted); }
@media (max-width: 700px) { .orbit-row { grid-template-columns: 44px minmax(0, 1fr); } .orbit-row-text { grid-column: 2; } .orbit-row .orb { width: 40px; height: 40px; } }

/* Featured clients on dark */
.clients-blob { position: absolute; right: -14%; top: -38%; width: min(56vw, 760px); z-index: -1; opacity: 0.8; }
.client-cards { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.client-card { background: var(--green-800); border: 1px solid rgba(237, 241, 240, 0.22); border-radius: var(--radius-lg); padding: 32px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform 0.45s var(--ease); }
.client-card:hover { transform: translateY(-8px); }
.client-card h3 { font: 600 clamp(1.75rem, 1.4rem + 1vw, 2.125rem) var(--font-display); letter-spacing: -0.03em; margin: 10px 0 12px; }
.client-tags { font-size: 0.875rem; font-weight: 600; color: var(--green-700); }
.section-dark .client-tags { color: var(--gold-300); }
@media (max-width: 900px) { .client-cards { grid-template-columns: 1fr; } }

/* Process */
.dd-figure { margin: 0 0 24px; }
.dd { width: 100%; height: auto; display: block; }
.dd-line { fill: none; stroke: var(--green-900); stroke-width: 1.5; stroke-linejoin: round; }
.dd-axis { stroke: var(--green-900); stroke-dasharray: 2 8; }
.dd-runner { fill: var(--gold); }
.dd-label { fill: var(--green-900); font: 400 20px var(--font-display); }
.js .dd-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .is-in .dd-line { animation: draw 2.4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { border-top: 1.2px solid var(--green-900); padding-top: 18px; }
.step-num { font: 600 0.9375rem var(--font-display); color: var(--green-700); font-variant-numeric: tabular-nums; }
.step h3 { margin: 8px 0; font: 600 1.25rem var(--font-display); }
.step p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 900px) { .steps, .steps-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps-3 { grid-template-columns: 1fr; } .dd-label { font-size: 32px; } }

/* Why VSS / founder */
.why-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why-photo { position: relative; margin: 0; isolation: isolate; }
.why-blob { position: absolute; z-index: -1; left: -12%; top: -8%; width: 124%; }
.why-photo img, .photo-placeholder { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--radius-lg); }
.photo-placeholder { display: grid; place-items: center; background: var(--line); color: var(--muted); }
.why-photo figcaption { position: relative; margin-top: 16px; color: var(--muted); font-size: 0.9375rem; }
.why-photo figcaption strong { display: block; color: var(--ink); font: 600 1.0625rem var(--font-display); }
.why-photo-arch img { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); aspect-ratio: 5 / 6; }
.photo-orbit { position: absolute; z-index: 1; inset: -5% -6%; width: 112%; height: 110%; overflow: visible; pointer-events: none; }
.photo-orbit ellipse { fill: none; stroke: var(--green-900); stroke-width: 1.2; }
.photo-orbit .orb-moon { fill: var(--gold); animation-duration: 16s; }
.why-lede { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); color: var(--ink); margin: 20px 0 40px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } .why-photo { max-width: 360px; } }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px 40px; }
.facts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { border-top: 1.2px solid var(--green-900); padding-top: 16px; }
.section-dark .facts li { border-top-color: var(--gold-300); }
.facts h3 { display: flex; align-items: center; gap: 10px; font: 600 1.1875rem var(--font-display); margin-bottom: 8px; }
.facts h3 .icon { color: var(--gold); flex: none; }
.facts p { color: var(--muted); font-size: 0.98rem; }
.section-dark .facts p { color: var(--on-dark-muted); }
@media (max-width: 980px) { .facts-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .facts-2, .facts-4 { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1.2px solid var(--green-900); }
.faq-item { border-bottom: 1.2px solid var(--green-900); }
.faq-item summary {
	display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; list-style: none;
	padding: 24px 0; font: 600 1.125rem/1.4 var(--font-display); letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-700); }
.faq-icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.2px solid var(--green-900); transition: background-color 0.3s, border-color 0.3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--green-900); border-color: var(--green-900); color: var(--gold-300); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 60px 26px 0; color: var(--muted); }


/* Service pages */
.pains { list-style: none; margin: 0; padding: 0; }
.pains li { display: flex; gap: 24px; padding: 26px 0; border-bottom: 1.2px solid var(--line); transition: transform 0.45s var(--ease); }
.pains li:hover { transform: translateX(10px); }
.pain-dot { flex: none; width: 22px; height: 22px; margin-top: 12px; border-radius: 50%; background: var(--gold); transition: transform 0.45s var(--ease); }
.pains li:hover .pain-dot { transform: scale(1.4); }
.pains h3 { font: 400 clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem)/1.1 var(--font-display); letter-spacing: -0.03em; margin-bottom: 8px; }
.pains p { color: var(--muted); font-size: 1.0625rem; }

.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.offer { border: 1.2px solid var(--green-900); border-radius: var(--radius-lg); padding: 30px; transition: background-color 0.3s; }
.offer:hover { background: var(--white); }
.offer h3 { display: flex; align-items: center; gap: 12px; font: 600 1.375rem var(--font-display); margin-bottom: 10px; }
.offer h3 .icon { color: var(--gold); flex: none; }
.offer p { color: var(--muted); }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; } }

.case-blob { position: absolute; z-index: -1; right: -8%; top: -14%; width: min(60vw, 680px); }
.case-body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px clamp(40px, 6vw, 96px); align-items: end; }
.case h2 { color: var(--green-950); }
.case p { color: var(--green-950); font-size: 1.125rem; }
.case p + p, .case p + a { margin-top: 16px; display: inline-block; }
.placeholder-note { font-style: italic; opacity: 0.85; }
.section-gold .text-link { color: var(--green-950); text-decoration-color: var(--green-950); }
@media (max-width: 860px) { .case-body { grid-template-columns: 1fr; } }

.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-block; padding: 16px 26px; border: 1.2px solid var(--green-900); border-radius: 999px; color: var(--ink); text-decoration: none; font: 400 clamp(1.125rem, 1rem + 0.6vw, 1.625rem) var(--font-display); background: var(--mist); transition: background-color 0.25s, border-color 0.25s; }
a.pill:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.pill-list-sm .pill { padding: 9px 16px; font: 500 0.9375rem var(--font-body); }

/* Services overview */
.service-blocks { border-top: 1.2px solid var(--green-900); }
.service-block { display: block; color: var(--ink); text-decoration: none; border-bottom: 1.2px solid var(--green-900); transition: background-color 0.35s; }
.service-block:hover { background: var(--white); color: var(--ink); }
.service-block:hover .pill { background: var(--white); }
.service-block:hover .orb-moon { animation-duration: 2s; fill: var(--gold); }
.service-block-inner { display: grid; grid-template-columns: 140px minmax(0, 5fr) minmax(0, 6fr); gap: 24px 48px; align-items: center; padding-block: 36px; }
.service-block-name { font: 400 clamp(2rem, 1.5rem + 1.6vw, 2.75rem)/1.05 var(--font-display); letter-spacing: -0.035em; margin-bottom: 10px; }
.service-block p { color: var(--muted); }
@media (max-width: 900px) { .service-block-inner { grid-template-columns: 80px minmax(0, 1fr); } .service-block .orb { width: 72px; height: 72px; } .service-block .pill-list { grid-column: 1 / -1; } }

/* Our Work */
.featured-work { border-top: 1.2px solid var(--green-900); }
.feature { border-bottom: 1.2px solid var(--green-900); transition: background-color 0.35s; }
.feature:hover { background: var(--white); }
.feature:hover .orb-moon { animation-duration: 2s; fill: var(--gold); }
.feature-inner { display: grid; grid-template-columns: 110px minmax(0, 5fr) minmax(0, 7fr); gap: 24px 40px; align-items: center; padding-block: 40px; }
.feature-name { font: 400 clamp(2.25rem, 1.6rem + 2vw, 3.25rem)/1 var(--font-display); letter-spacing: -0.04em; margin-top: 8px; }
.feature-text { color: var(--muted); font-size: 1.125rem; }
@media (max-width: 860px) { .feature-inner { grid-template-columns: 72px minmax(0, 1fr); } .feature .orb { width: 64px; height: 64px; } .feature-text { grid-column: 1 / -1; } }
.work-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.work-tile { background: var(--white); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.45s var(--ease), background-color 0.3s; }
.work-tile:hover { transform: translateY(-6px); }
.work-tile h3 { font: 600 1.375rem/1.15 var(--font-display); letter-spacing: -0.02em; }
.work-tile p:last-child { color: var(--muted); font-size: 0.95rem; }
.placeholder-box { margin-top: 32px; border: 1.5px dashed var(--green-900); border-radius: var(--radius-lg); padding: 28px; color: var(--muted); }
@media (max-width: 1080px) { .work-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .work-tiles { grid-template-columns: 1fr; } }

/* About */
.prose-block > * + * { margin-top: 1em; }
.prose-block h2 { margin-bottom: 8px; }
.prose-block p { color: var(--muted); max-width: 40em; font-size: 1.0625rem; }
.value-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value-tile { background: var(--white); border-radius: var(--radius-lg); padding: 28px; transition: background-color 0.3s, transform 0.45s var(--ease); }
.value-tile:hover { background: var(--gold); transform: translateY(-6px); }
.value-tile:hover p { color: var(--green-950); }
.value-tile h3 { font: 600 1.25rem var(--font-display); margin: 20px 0 10px; }
.value-tile p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 1080px) { .value-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .value-tiles { grid-template-columns: 1fr; } }

/* Contact */
.hero-contact { align-items: flex-start; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(40px, 5vw, 72px); align-items: start; }
.contact-points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 20px; }
.contact-points li { display: flex; gap: 16px; align-items: center; }
.contact-points strong { display: block; font: 600 1.0625rem var(--font-display); }
.contact-points span { color: var(--muted); }
.contact-card { position: relative; background: var(--white); color: var(--ink); border-radius: 32px; padding: clamp(28px, 3.5vw, 40px); box-shadow: 0 30px 60px -30px rgba(16, 50, 42, 0.35); }
.contact-card h2 { font: 400 2rem var(--font-display); letter-spacing: -0.03em; margin-bottom: 20px; }
.card-orbit { position: absolute; right: -28px; top: -28px; width: 110px; overflow: visible; pointer-events: none; }
.card-orbit circle:first-child { fill: none; stroke: var(--green-900); stroke-width: 1.2; }
.card-orbit .orb-moon { fill: var(--gold); animation-duration: 18s; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .card-orbit { display: none; } }

/* WPForms inside the contact card: match the theme. */
.contact-card .wpforms-container { margin: 0 !important; }
.contact-card .wpforms-field { padding: 0 0 18px !important; }
.contact-card .wpforms-field-label { font: 600 0.9375rem var(--font-body) !important; color: var(--ink) !important; margin-bottom: 6px !important; }
.contact-card .wpforms-field-sublabel { color: var(--muted) !important; font-size: 0.8125rem !important; }
.contact-card input[type="text"], .contact-card input[type="email"], .contact-card textarea {
	width: 100% !important; max-width: 100% !important; min-height: 48px; font: 400 1rem var(--font-body) !important;
	padding: 12px 14px !important; border: 1.5px solid var(--line) !important; border-radius: 12px !important;
	background: #fff !important; color: var(--ink) !important; box-shadow: none !important;
}
.contact-card input:focus, .contact-card textarea:focus { border-color: var(--green-700) !important; outline: 3px solid rgba(212, 155, 50, 0.45); outline-offset: 1px; }
.contact-card button[type="submit"], .contact-card .wpforms-submit {
	min-height: 52px !important; padding: 14px 28px !important; border-radius: 999px !important; border: 0 !important;
	background: var(--green-900) !important; color: var(--on-dark) !important; font: 600 1rem var(--font-body) !important; cursor: pointer;
}
.contact-card button[type="submit"]:hover { background: var(--green-700) !important; }


/* CTA band */
.cta-band { background: var(--gold); color: var(--green-950); position: relative; overflow: hidden; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-block: clamp(64px, 8vw, 96px); }
.cta-inner h2 { color: var(--green-950); margin-bottom: 12px; font-size: clamp(2.5rem, 1.6rem + 3vw, 3.75rem); max-width: 12ch; }
.cta-inner p { color: var(--green-950); max-width: 34em; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-band .btn-gold { background: var(--green-900); color: #fff; box-shadow: none; }
.cta-band .btn-gold:hover { background: var(--green-700); color: #fff; }
.cta-mail { display: inline-flex; flex-wrap: wrap; overflow-wrap: anywhere; align-items: center; gap: 10px; color: var(--green-950); font-weight: 600; }
.cta-mail:hover { color: var(--green-700); }

/* Footer */
.site-footer { background: var(--green-950); color: var(--on-dark); padding-top: clamp(56px, 7vw, 88px); font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { width: 120px; margin-bottom: 20px; }
.footer-brand p { color: var(--on-dark-muted); max-width: 28em; }
.footer-col h2 { font: 600 1rem var(--font-display); color: var(--gold-300); margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; color: var(--on-dark-muted); }
.footer-col a { color: var(--on-dark); text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-col a:hover { color: var(--gold-300); text-decoration: underline; }
.footer-base { border-top: 1px solid var(--line-dark); margin-top: 56px; padding-block: 24px; color: var(--on-dark-muted); font-size: 0.875rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Prose (generic pages) */
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.75rem; margin-top: 1.6em; }


.prose { max-width: 760px; }

/* Back to top: the ring fills as you scroll. */
.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%;
	display: grid; place-items: center; background: var(--green-900); color: var(--gold-300); cursor: pointer;
	box-shadow: 0 12px 28px -12px rgba(16, 50, 42, 0.6);
	opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s, background-color 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-700); }
.to-top:hover .to-top-arrow { transform: translateY(-3px); }
.to-top-ring, .to-top-arrow { grid-area: 1 / 1; }
.to-top-ring { width: 56px; height: 56px; transform: rotate(-90deg); }
.to-top-track { fill: none; stroke: rgba(232, 193, 114, 0.2); stroke-width: 2; }
.to-top-progress { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.to-top-arrow { transition: transform 0.3s var(--ease); }
@media (max-width: 600px) { .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; } .to-top-ring { width: 48px; height: 48px; } }

/* Respect reduced motion: show everything in its final state, stop loops. */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
	.js .hero-title .w { animation: none; transform: none; }
	.js .dd-line { stroke-dashoffset: 0; animation: none; }
	.marquee-row { animation: none !important; }
	.dd-runner { display: none; }
}
