/* ==========================================================================
   CS Harish & Co — revamped design system
   --------------------------------------------------------------------------
   Replaces main.css / bootstrap.css / font-awesome.css / animation-aos.css on
   the public site (those files are left untouched in /Css for reference).

   Contents
     1. Fonts (same Noto Sans family as the original site, WOFF2 + TTF fallback)
     2. Design tokens — light & dark themes (colours taken from the logo)
     3. Base / reset
     4. Layout helpers
     5. Reusable components
          .section-head / .section-title / .section-sub   section headings
          .rule                                           logo "ledger rule"
          .group-title / .lead                            subheadings
          .btn (+ modifiers) / .text-link / .icon-btn     buttons & links
          .check-list / .def-list / .disclosure           feature blocks
          .cta-band                                       call-to-action band
          .tabs                                           vertical/horizontal tabs
          .field / .form-grid                             forms
     6. Site chrome: header, navigation, page hero, footer
     7. Page sections (home, about, services, clientele, contact, blog, misc)
     8. Motion (all of it opt-in via html.motion-ok, never under reduced motion)
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face {
	font-family: "Noto Sans";
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	src: url("../Fonts/NotoSans-Regular.woff2") format("woff2"), url("../Fonts/NotoSans-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "Noto Sans";
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	src: url("../Fonts/NotoSans-Bold.woff2") format("woff2"), url("../Fonts/NotoSans-Bold.ttf") format("truetype");
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
	/* Brand — sampled from Logo.png (teal wordmark #008081, blue strapline #057FAA) */
	--brand-teal: #008081;
	--brand-blue: #057faa;
	--brand-deep: #063b3d;          /* deep teal used for dark bands and footer */
	--brand-mint: #7fded8;          /* light teal accent on dark surfaces */

	/* Light theme */
	--c-bg: #ffffff;
	--c-bg-tint: #f1f6f6;
	--c-surface: #ffffff;
	--c-ink: #13292c;
	--c-ink-soft: #4b6164;
	--c-line: #d4e1e2;
	--c-line-strong: #a9c2c4;
	--c-accent: #007577;            /* teal, AA on white for text */
	--c-accent-hover: #005b5d;
	--c-accent-2: #04709a;          /* blue, AA on white for text */
	--c-on-accent: #ffffff;
	--c-focus: #057faa;
	--c-header-solid: rgba(255, 255, 255, 0.94);
	--c-footer: var(--brand-deep);
	--c-footer-legal: #042b2d;
	--c-photo-bg: #eef3f3;

	/* Type scale — major third (1.25) on a 17px base */
	--font: "Noto Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--fs-xs: 0.8rem;
	--fs-sm: 0.9rem;
	--fs-base: 1.0625rem;
	--fs-md: 1.25rem;
	--fs-lg: 1.5625rem;
	--fs-xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.45rem);
	--fs-2xl: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem);
	--fs-hero: clamp(2.6rem, 1.4rem + 5.2vw, 5.2rem);

	/* Spacing & shape */
	--gutter: clamp(16px, 4vw, 32px);
	--container: 1200px;
	--measure: 68ch;
	--section-y: clamp(56px, 8vw, 104px);
	--radius-sm: 4px;
	--radius-md: 8px;
	--header-h: 76px;

	--ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
	color-scheme: light;
}

/* Dark theme: explicit choice, or system preference when no choice is stored */
:root[data-theme="dark"] {
	--c-bg: #0b1a1c;
	--c-bg-tint: #102528;
	--c-surface: #132c2f;
	--c-ink: #e3eeee;
	--c-ink-soft: #a6bcbe;
	--c-line: #24474a;
	--c-line-strong: #3a6266;
	--c-accent: #4cc9c3;
	--c-accent-hover: #7fded8;
	--c-accent-2: #62bbe6;
	--c-on-accent: #062a2c;
	--c-focus: #62bbe6;
	--c-header-solid: rgba(11, 26, 28, 0.94);
	--c-footer: #071517;
	--c-footer-legal: #040e0f;
	--c-photo-bg: #dfe8e8;
	color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--c-bg: #0b1a1c;
		--c-bg-tint: #102528;
		--c-surface: #132c2f;
		--c-ink: #e3eeee;
		--c-ink-soft: #a6bcbe;
		--c-line: #24474a;
		--c-line-strong: #3a6266;
		--c-accent: #4cc9c3;
		--c-accent-hover: #7fded8;
		--c-accent-2: #62bbe6;
		--c-on-accent: #062a2c;
		--c-focus: #62bbe6;
		--c-header-solid: rgba(11, 26, 28, 0.94);
		--c-footer: #071517;
		--c-footer-legal: #040e0f;
		--c-photo-bg: #dfe8e8;
		color-scheme: dark;
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 64px);
	scrollbar-color: var(--c-accent) var(--c-bg-tint);
}

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-ink);
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-weight: 700;
	line-height: 1.2;
	text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

a {
	color: var(--c-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover { color: var(--c-accent-hover); }

ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 700; }

::selection { background: var(--brand-teal); color: #fff; }

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

main:focus { outline: none; }

.icon {
	width: 1em;
	height: 1em;
	flex: none;
	fill: currentColor;
	vertical-align: -0.125em;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--c-surface);
	color: var(--c-accent);
	font-weight: 700;
	border-radius: var(--radius-sm);
}

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

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* 4. Layout --------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tint { background: var(--c-bg-tint); }

/* 5. Components ----------------------------------------------------------- */

/* Ledger rule — the two-tone line from the logo (teal bar over a longer blue hairline) */
.rule {
	display: block;
	width: 168px;
	height: 8px;
	background:
		linear-gradient(var(--c-accent), var(--c-accent)) 0 0 / 64px 3px no-repeat,
		linear-gradient(var(--c-accent-2), var(--c-accent-2)) 0 7px / 100% 1px no-repeat;
	transform-origin: left center;
}

.rule--light {
	background:
		linear-gradient(var(--brand-mint), var(--brand-mint)) 0 0 / 64px 3px no-repeat,
		linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)) 0 7px / 100% 1px no-repeat;
}

/* Section heading block */
.section-head {
	display: grid;
	gap: 14px;
	align-content: start;
	margin-bottom: clamp(28px, 4vw, 48px);
	max-width: var(--measure);
}

.section-title {
	font-size: var(--fs-xl);
	letter-spacing: -0.015em;
	color: var(--c-ink);
}

.section-sub {
	margin: 4px 0 0;
	color: var(--c-ink-soft);
	font-size: var(--fs-md);
	line-height: 1.5;
}

.section-head--light .section-title { color: #fff; }
.section-head--light .section-sub { color: rgba(255, 255, 255, 0.86); }

.group-title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: clamp(40px, 6vw, 64px) 0 24px;
	font-size: var(--fs-md);
	color: var(--c-accent-2);
}

.group-title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--c-line);
}

.section-head + .group-title { margin-top: 0; }

.lead {
	font-size: var(--fs-md);
	line-height: 1.55;
	color: var(--c-ink);
}

/* Buttons */
.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-top: 32px;
}

.btn-row--center { justify-content: center; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 48px;
	padding: 0.7em 1.5em;
	border: 1.5px solid transparent;
	border-radius: var(--radius-sm);
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

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

.btn--primary { background: var(--c-accent); color: var(--c-on-accent); }
.btn--primary:hover { background: var(--c-accent-hover); color: var(--c-on-accent); }

.btn--outline { border-color: var(--c-accent); color: var(--c-accent); background: transparent; }
.btn--outline:hover { background: var(--c-accent); color: var(--c-on-accent); }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--brand-deep); }

.btn--light { background: #fff; color: var(--brand-deep); }
.btn--light:hover { background: var(--brand-mint); color: var(--brand-deep); }

.btn--text {
	min-height: 40px;
	padding: 0.4em 0.2em;
	background: none;
	color: var(--c-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.btn--text:hover { color: var(--c-accent-hover); }
.btn--block { width: 100%; }

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	margin-top: 8px;
	font-weight: 700;
	text-decoration: none;
}

.text-link .icon { transition: transform 0.2s ease; }
.text-link:hover { text-decoration: underline; }
.text-link:hover .icon { transform: translateX(3px); }

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 1.2rem;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover { border-color: currentColor; }

/* Feature blocks: lists */
.check-list { list-style: none; display: grid; gap: 10px; }

.check-list li {
	position: relative;
	padding-left: 30px;
}

.check-list li::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 0.32em;
	width: 7px;
	height: 13px;
	border: solid var(--c-accent);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}

@media (min-width: 900px) {
	.check-list--cols { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

.def-list { list-style: none; display: grid; gap: 14px; margin-bottom: 16px; }

.def-list li {
	padding-left: 16px;
	border-left: 2px solid var(--c-line-strong);
}

.def-list strong { color: var(--c-ink); }

/* Feature blocks: disclosure (expandable detail) */
.disclosure {
	margin-top: 20px;
	border-top: 1px solid var(--c-line);
}

.disclosure > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 0;
	font-weight: 700;
	color: var(--c-accent);
	cursor: pointer;
	list-style: none;
}

.disclosure > summary::-webkit-details-marker { display: none; }

.disclosure > summary::after {
	content: "";
	width: 9px;
	height: 9px;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform 0.25s var(--ease-out);
}

.disclosure[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.disclosure[open] > :not(summary) { animation: disclose 0.35s var(--ease-out); }

@keyframes disclose {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

/* Call-to-action band */
.cta-band {
	padding-block: clamp(40px, 6vw, 72px);
	background: var(--c-bg-tint);
	border-top: 1px solid var(--c-line);
}

.cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 48px;
}

.cta-band__title {
	max-width: 22ch;
	font-size: var(--fs-xl);
	letter-spacing: -0.015em;
}

.cta-band .btn-row { margin-top: 0; }

/* Tabs (enhanced by Scripts/revamp/site.js; without JS all panels are shown) */
.tabs__list { list-style: none; }

.tabs__list a {
	display: block;
	color: var(--c-ink-soft);
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.tabs__list a:hover { color: var(--c-accent); }
.tabs__list a[aria-selected="true"] { color: var(--c-accent); }

.tabs__panel + .tabs__panel { margin-top: 48px; }
.tabs--ready .tabs__panel + .tabs__panel { margin-top: 0; }
.tabs--ready .tabs__panel[hidden] { display: none; }
.tabs--ready .tabs__panel { animation: panel-in 0.4s var(--ease-out); }

@keyframes panel-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

.tabs--vertical {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
}

.tabs__nav, .tabs__panels { min-width: 0; }

.tabs--vertical .tabs__list {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 6px;
	scrollbar-width: thin;
}

.tabs--vertical .tabs__list a {
	padding: 10px 16px;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	font-size: var(--fs-sm);
	white-space: nowrap;
}

.tabs--vertical .tabs__list a[aria-selected="true"] {
	background: var(--c-accent);
	border-color: var(--c-accent);
	color: var(--c-on-accent);
}

@media (min-width: 900px) {
	.tabs--vertical { grid-template-columns: 290px minmax(0, 1fr); gap: 56px; align-items: start; }
	.tabs--vertical .tabs__nav { position: sticky; top: calc(var(--header-h) + 24px); }
	.tabs--vertical .tabs__list { display: block; overflow: visible; border-left: 1px solid var(--c-line); }

	.tabs--vertical .tabs__list a {
		margin-left: -1px;
		padding: 11px 18px;
		border: 0;
		border-left: 3px solid transparent;
		border-radius: 0;
		font-size: 0.98rem;
		white-space: normal;
	}

	.tabs--vertical .tabs__list a[aria-selected="true"] {
		background: var(--c-bg-tint);
		border-left-color: var(--c-accent);
		color: var(--c-accent);
	}
}

.tabs--horizontal .tabs__list {
	display: flex;
	gap: 4px 28px;
	flex-wrap: wrap;
	margin-bottom: 32px;
	border-bottom: 1px solid var(--c-line);
}

.tabs--horizontal .tabs__list a {
	margin-bottom: -1px;
	padding: 12px 0;
	border-bottom: 3px solid transparent;
}

.tabs--horizontal .tabs__list a[aria-selected="true"] { border-bottom-color: var(--c-accent); }

.panel-title { font-size: var(--fs-lg); margin-bottom: 20px; }

/* Forms */
.form-grid {
	display: grid;
	gap: 18px 20px;
}

@media (min-width: 640px) {
	.form-grid { grid-template-columns: 1fr 1fr; }
	.field--full { grid-column: 1 / -1; }
}

.field { display: grid; gap: 6px; align-content: start; }
.field > .btn { justify-self: start; }

.field__label {
	font-size: var(--fs-sm);
	font-weight: 700;
	color: var(--c-ink-soft);
}

.field__control {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--c-line-strong);
	border-radius: var(--radius-sm);
	background: var(--c-surface);
	color: var(--c-ink);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field__control::placeholder { color: var(--c-ink-soft); opacity: 0.7; }

.field__control:focus {
	outline: none;
	border-color: var(--c-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 25%, transparent);
}

textarea.field__control { min-height: 140px; resize: vertical; }

select.field__control {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 40px;
	background-image: linear-gradient(45deg, transparent 50%, var(--c-ink-soft) 50%), linear-gradient(135deg, var(--c-ink-soft) 50%, transparent 50%);
	background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
}

.captcha-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 8px 18px;
	border: 1px dashed var(--c-line-strong);
	border-radius: var(--radius-sm);
	background: repeating-linear-gradient(-45deg, var(--c-bg-tint) 0 6px, var(--c-surface) 6px 12px);
	color: var(--c-accent-2);
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.3em;
	user-select: none;
}

.field--captcha-row { display: flex; gap: 12px; align-items: end; }
.field--captcha-row .field { flex: 1; }

.form-status:empty { display: none; }

.form-status {
	margin-bottom: 20px;
	font-weight: 700;
	color: var(--c-accent);
}

.form-status--error { color: #c0392b; }
:root[data-theme="dark"] .form-status--error { color: #ff8a7a; }

/* 6. Site chrome ---------------------------------------------------------- */

/* Header: transparent over the hero image, solid once scrolled or when the menu is open */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	color: #fff;
	transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.site-header__bar {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: var(--header-h);
}

.brand { display: block; flex: none; margin-right: auto; }
.brand__logo { width: clamp(168px, 18vw, 220px); }
.brand__logo--color { display: none; }

.site-header.is-solid {
	background: var(--c-header-solid);
	color: var(--c-ink);
	box-shadow: 0 1px 0 var(--c-line);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
}

.site-header.is-solid .brand__logo--color { display: block; }
.site-header.is-solid .brand__logo--white { display: none; }
:root[data-theme="dark"] .site-header.is-solid .brand__logo--color { display: none; }
:root[data-theme="dark"] .site-header.is-solid .brand__logo--white { display: block; }

.site-header__tools { display: flex; align-items: center; gap: 4px; }

.theme-toggle .icon--sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon--sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon--moon { display: none; }

.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }

.site-nav__list, .site-nav__contact { list-style: none; }

.site-nav a {
	color: inherit;
	text-decoration: none;
}

.site-nav__contact a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: var(--fs-sm);
	opacity: 0.9;
}

.site-nav__contact a:hover { opacity: 1; text-decoration: underline; }

.site-nav__list a {
	position: relative;
	display: block;
	font-weight: 700;
}

/* Mobile menu panel */
@media (max-width: 1023.98px) {
	.site-nav {
		position: absolute;
		inset: 100% 0 auto;
		display: none;
		padding: 8px var(--gutter) 24px;
		background: var(--c-surface);
		color: var(--c-ink);
		border-top: 1px solid var(--c-line);
		box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
	}

	.site-nav.is-open { display: flex; flex-direction: column-reverse; animation: menu-in 0.25s var(--ease-out); }

	.site-nav__list a {
		padding: 14px 0;
		border-bottom: 1px solid var(--c-line);
		font-size: var(--fs-md);
	}

	.site-nav__list a[aria-current="page"] { color: var(--c-accent); }

	.site-nav__contact { display: grid; gap: 6px; margin-top: 18px; }
	.site-nav__contact a { padding: 6px 0; }
}

@keyframes menu-in {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: none; }
}

@media (min-width: 1024px) {
	.nav-toggle { display: none; }

	.site-nav {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 4px;
		padding-block: 10px;
	}

	.site-nav__contact { display: flex; gap: 20px; }
	.site-nav__list { display: flex; gap: 30px; }
	.site-nav__list a { padding: 6px 0; }

	.site-nav__list a::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 2px;
		background: currentColor;
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.25s var(--ease-out);
	}

	.site-nav__list a:hover::after,
	.site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }

	.site-header.is-solid .site-nav__list a[aria-current="page"] { color: var(--c-accent); }
}

/* Page hero (inner pages) — reuses the original sub-banner photographs */
.page-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(260px, 38vw, 380px);
	padding: calc(var(--header-h) + 40px) 0 clamp(32px, 5vw, 56px);
	background-color: var(--brand-deep);
	background-position: center;
	background-size: cover;
	color: #fff;
	isolation: isolate;
}

.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, rgba(4, 38, 40, 0.92) 0%, rgba(4, 38, 40, 0.7) 45%, rgba(4, 38, 40, 0.3) 100%);
}

.page-hero__title {
	margin: 0 0 16px;
	font-size: var(--fs-2xl);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.page-hero--compact { min-height: clamp(200px, 26vw, 260px); }
.page-hero--compact .page-hero__title { font-size: var(--fs-xl); }

.page-hero--about { background-image: url("../Images/General/Sub-About.jpg"); }
.page-hero--services { background-image: url("../Images/General/Sub-Services.jpg"); }
.page-hero--clientele { background-image: url("../Images/General/Sub-Clientele.jpg"); }
.page-hero--contact { background-image: url("../Images/General/Sub-Contact.jpg"); }
.page-hero--blog { background-image: url("../Images/General/Sub-Blog.jpg"); }
.page-hero--sitemap { background-image: url("../Images/General/Sub-Sitemap.jpg"); }
.page-hero--disclaimer { background-image: url("../Images/General/Sub-Disclaimer.jpg"); }
.page-hero--login { background-image: url("../Images/General/Sub-Login.jpg"); }
.page-hero--registration { background-image: url("../Images/General/Sub-Registration.jpg"); }

/* Footer */
.site-footer {
	background: var(--c-footer);
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.97rem;
}

.site-footer__grid {
	display: grid;
	gap: 40px 32px;
	padding-block: clamp(48px, 7vw, 80px);
}

@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

.site-footer__brand img { width: 220px; }

.site-footer__title {
	margin: 0 0 14px;
	font-size: 1rem;
	color: var(--brand-mint);
}

.site-footer__title:not(:first-child) { margin-top: 28px; }

.site-footer__links { list-style: none; display: grid; gap: 8px; }

.site-footer a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
}

.site-footer a:hover { color: #fff; text-decoration: underline; }

.social-links { list-style: none; display: flex; gap: 10px; }

.social-links a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	font-size: 1.05rem;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover { background: #fff; border-color: #fff; color: var(--brand-deep); }

.site-footer__legal {
	padding-block: 14px;
	background: var(--c-footer-legal);
	border-top: 2px solid var(--brand-blue);
	font-size: var(--fs-xs);
	color: rgba(255, 255, 255, 0.72);
}

.site-footer__legal a { text-decoration: underline; }

/* 7. Page sections -------------------------------------------------------- */

/* Home — hero */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(100svh, 880px);
	min-height: min(100vh, 880px);
	padding: calc(var(--header-h) + 48px) 0 72px;
	overflow: hidden;
	background: var(--brand-deep);
	color: #fff;
	isolation: isolate;
}

@supports (min-height: 100svh) { .hero { min-height: min(100svh, 880px); } }

.hero__media, .hero__slide { position: absolute; inset: 0; }
.hero__media { z-index: -2; }

.hero__slide {
	background-position: center;
	background-size: cover;
	opacity: 0;
}

.hero__slide--1 { background-image: url("../Images/General/Banner-01.jpg"); opacity: 1; }
.hero__slide--2 { background-image: url("../Images/General/Banner-02.jpg"); }
.hero__slide--3 { background-image: url("../Images/General/Banner-03.jpg"); }
.hero__slide--4 { background-image: url("../Images/General/Banner-04.jpg"); }

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(3, 34, 36, 0.92) 0%, rgba(3, 34, 36, 0.72) 42%, rgba(3, 34, 36, 0.25) 100%),
		linear-gradient(0deg, rgba(3, 34, 36, 0.6) 0%, transparent 35%);
}

.hero__inner { position: relative; }

.hero__title {
	margin-bottom: 28px;
	font-size: var(--fs-hero);
	line-height: 1.02;
	letter-spacing: -0.03em;
}

.hero__kicker {
	display: block;
	margin-bottom: 10px;
	font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.5rem);
	font-weight: 400;
	letter-spacing: 0;
	color: var(--brand-mint);
}

.hero__rule { width: min(420px, 80%); }

.rotator {
	display: grid;
	margin-top: 26px;
	min-height: 2.6em;
}

.rotator__item {
	grid-area: 1 / 1;
	max-width: 28ch;
	font-size: clamp(1.2rem, 0.95rem + 1.2vw, 1.85rem);
	font-weight: 400;
	line-height: 1.3;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease, transform 0.6s var(--ease-out), visibility 0.6s;
	transform: translateY(12px);
}

.rotator__item.is-active { opacity: 1; visibility: visible; transform: none; }
.hero__actions { margin-top: 36px; }

/* Home — about intro */
.about-intro__grid {
	display: grid;
	gap: 48px;
	align-items: center;
}

@media (min-width: 900px) {
	.about-intro__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; }
}

.about-intro__text > p { max-width: var(--measure); }

.framed-figure {
	position: relative;
	max-width: 440px;
	margin-inline: auto 18px;
}

.framed-figure::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	border: 2px solid var(--c-accent);
	border-radius: var(--radius-sm);
}

.framed-figure img {
	position: relative;
	width: 100%;
	border-radius: var(--radius-sm);
}

/* Home — services band */
.service-band {
	position: relative;
	color: #fff;
	background: var(--brand-deep) url("../Images/General/Service-Bg.jpg") center / cover no-repeat;
	isolation: isolate;
}

.service-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(160deg, rgba(4, 52, 55, 0.95) 0%, rgba(4, 58, 72, 0.9) 55%, rgba(5, 82, 118, 0.86) 100%);
}

.service-index {
	list-style: none;
	display: grid;
	column-gap: 40px;
	counter-reset: none;
}

@media (min-width: 640px) { .service-index { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .service-index { grid-template-columns: repeat(3, 1fr); } }

.service-index a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 100%;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.24);
	color: #fff;
	font-size: 1.12rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.service-index a .icon { color: var(--brand-mint); transition: transform 0.2s ease; }
.service-index a:hover { color: var(--brand-mint); border-top-color: var(--brand-mint); }
.service-index a:hover .icon { transform: translateX(4px); }

/* About — in-page navigation */
.subnav {
	position: sticky;
	top: var(--header-h);
	z-index: 20;
	background: var(--c-header-solid);
	border-bottom: 1px solid var(--c-line);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.subnav__list {
	list-style: none;
	display: flex;
	gap: 28px;
	overflow-x: auto;
	scrollbar-width: none;
}

.subnav__list a {
	display: block;
	padding: 16px 0 13px;
	border-bottom: 3px solid transparent;
	color: var(--c-ink-soft);
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
}

.subnav__list a:hover { color: var(--c-accent); }
.subnav__list a[aria-current="true"] { color: var(--c-accent); border-bottom-color: var(--c-accent); }

/* About — overview */
.overview__grid { display: grid; gap: 48px; align-items: center; }

@media (min-width: 900px) {
	.overview__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 72px; }
}

.overview__text > p { max-width: var(--measure); }

.overview__emphasis {
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--c-accent-2);
}

.overview__emphasis strong { color: var(--c-accent); }

.overview__figure img {
	width: 100%;
	max-width: 420px;
	margin-inline: auto;
	border-radius: var(--radius-sm) var(--radius-sm) var(--radius-sm) 96px;
}

/* About — partner profiles (editorial, alternating) */
.profile {
	display: grid;
	gap: 28px;
	padding-block: 40px;
	border-top: 1px solid var(--c-line);
}

.group-title + .profile { border-top: 0; padding-top: 0; }

@media (min-width: 768px) {
	.profile { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
	.profile--reverse { grid-template-columns: minmax(0, 1fr) 260px; }
	.profile--reverse .profile__photo { order: 2; }
}

.profile__photo {
	max-width: min(260px, 70%);
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: var(--c-photo-bg);
	box-shadow: 0 0 0 1px var(--c-line);
}

.profile__photo img { width: 100%; }

@media (min-width: 768px) { .profile__photo { max-width: 260px; position: sticky; top: calc(var(--header-h) + 80px); } }

.profile__name { font-size: var(--fs-lg); letter-spacing: -0.01em; }

.profile__qual {
	margin: 4px 0 0;
	color: var(--c-accent-2);
	font-weight: 700;
}

.profile__role {
	display: inline-block;
	margin: 12px 0 20px;
	padding: 4px 12px;
	border-radius: var(--radius-sm);
	background: color-mix(in srgb, var(--c-accent) 12%, transparent);
	color: var(--c-accent);
	font-size: var(--fs-sm);
	font-weight: 700;
}

.profile__bio p { max-width: var(--measure); }

.profile__list-title {
	margin: 24px 0 14px;
	font-size: 1rem;
	color: var(--c-ink);
}

/* About — managers (compact panels with expandable detail) */
.manager-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .manager-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

.manager {
	padding: 28px;
	border-top: 3px solid var(--c-accent);
	background: var(--c-surface);
	box-shadow: 0 0 0 1px var(--c-line);
	border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.manager__head {
	display: flex;
	gap: 18px;
	align-items: center;
	margin-bottom: 20px;
}

.manager__head .profile__role { margin: 8px 0 0; }

.manager__photo {
	width: 92px;
	height: 92px;
	flex: none;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 12%;
	background: var(--c-photo-bg);
	box-shadow: 0 0 0 3px var(--c-surface), 0 0 0 4px var(--c-line-strong);
}

.manager__tagline {
	color: var(--c-accent-2);
	font-weight: 700;
}

/* About — core team roster */
.core-intro { display: grid; gap: 8px 64px; margin-bottom: 40px; }
@media (min-width: 900px) { .core-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }
.core-intro p { max-width: var(--measure); }

.roster { list-style: none; border-top: 2px solid var(--c-ink); }

.roster__item {
	display: grid;
	gap: 2px 24px;
	padding: 16px 0;
	border-bottom: 1px solid var(--c-line);
}

@media (min-width: 768px) {
	.roster__item { grid-template-columns: 230px 220px minmax(0, 1fr); align-items: baseline; padding: 14px 8px; }
	.roster__item:hover { background: var(--c-bg-tint); }
}

.roster__name { font-weight: 700; }
.roster__qual { color: var(--c-accent-2); font-weight: 700; font-size: var(--fs-sm); }
.roster__note { color: var(--c-ink-soft); font-size: 0.97rem; }
.roster__qual:empty, .roster__note:empty { display: none; }

.roster__item--lead .roster__name { color: var(--c-accent); }

.trainees { margin-top: clamp(40px, 6vw, 64px); }
.trainees .group-title { margin-top: 0; }

.trainee-list {
	list-style: none;
	display: grid;
	gap: 24px;
}

@media (min-width: 640px) { .trainee-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trainee-list { grid-template-columns: repeat(4, 1fr); } }

.trainee-list li {
	display: grid;
	gap: 6px;
	align-content: start;
	padding-left: 16px;
	border-left: 2px solid var(--c-accent-2);
}

.trainee-list__name { font-weight: 700; }
.trainee-list__name small { display: block; color: var(--c-accent-2); font-size: var(--fs-sm); }
.trainee-list__note { color: var(--c-ink-soft); font-size: 0.95rem; }

/* About — technology partner (RSolutions) */
.tech-partner {
	display: grid;
	gap: 24px 56px;
	margin-top: clamp(48px, 7vw, 80px);
	padding: clamp(28px, 4vw, 48px);
	border-radius: var(--radius-md);
	background: var(--c-bg-tint);
	box-shadow: inset 4px 0 0 var(--c-accent-2), 0 0 0 1px var(--c-line);
}

@media (min-width: 900px) {
	.tech-partner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); align-items: start; }
}

.tech-partner__intro { display: grid; gap: 10px; align-content: start; }

.tech-partner__role {
	margin: 0;
	color: var(--c-accent-2);
	font-size: var(--fs-sm);
	font-weight: 700;
}

.tech-partner__name { font-size: var(--fs-xl); letter-spacing: -0.015em; }
.tech-partner__body > p { max-width: var(--measure); }
.tech-partner__lead { font-size: var(--fs-md); line-height: 1.55; }

.tech-partner__partners { margin: 24px 0 28px; }
.tech-partner__label { margin-bottom: 12px; font-size: 1rem; }

.tech-partner__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }

.tech-partner__list li {
	padding: 8px 16px;
	border: 1px solid var(--c-line-strong);
	border-radius: var(--radius-sm);
	background: var(--c-surface);
	font-weight: 700;
	font-size: 0.95rem;
}

.tech-partner__list li:last-child {
	border-style: dashed;
	background: transparent;
	color: var(--c-ink-soft);
}

/* Services — panels */
.service-panel__title {
	margin-bottom: 24px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--c-line);
	font-size: var(--fs-xl);
	letter-spacing: -0.015em;
}

.service-panel__subtitle {
	margin: 36px 0 18px;
	font-size: var(--fs-md);
	color: var(--c-accent-2);
}

.service-panel__grid {
	display: grid;
	gap: 32px;
	align-items: start;
	margin-bottom: 24px;
}

@media (min-width: 1100px) {
	.service-panel__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
}

.service-panel__figure img {
	width: 100%;
	max-height: 340px;
	object-fit: cover;
	border-radius: var(--radius-md);
}

.service-panel__grid--tall .service-panel__figure img { max-height: 520px; }

.service-panel > p, .service-panel__text p { max-width: var(--measure); }

/* Engagement history — dated entries shown as a timeline */
.engagement-list {
	list-style: none;
	position: relative;
	display: grid;
	gap: 14px;
}

.engagement-list li {
	position: relative;
	padding-left: 28px;
}

.engagement-list li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 0.5em;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--c-surface);
	box-shadow: 0 0 0 2px var(--c-accent);
}

.engagement-list li::after {
	content: "";
	position: absolute;
	left: 7px;
	top: calc(0.5em + 13px);
	bottom: -14px;
	width: 1px;
	background: var(--c-line-strong);
}

.engagement-list li:last-child::after { display: none; }

@media (min-width: 1100px) {
	.engagement-list--cols { grid-template-columns: 1fr 1fr; column-gap: 40px; }
	.engagement-list--cols li::after { display: none; }
}

/* Clientele — industry tags */
.tag-wall {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.tag-wall li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	background: var(--c-surface);
	font-weight: 700;
	font-size: 0.98rem;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.tag-wall li::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c-accent);
}

.tag-wall li:nth-child(3n + 2)::before { background: var(--c-accent-2); }
.tag-wall li:hover { border-color: var(--c-accent); }

.name-columns { list-style: none; columns: 1; column-gap: 40px; }
@media (min-width: 640px) { .name-columns { columns: 2; } }
@media (min-width: 1024px) { .name-columns { columns: 3; } .name-columns--wide { columns: 2; } }

.name-columns li {
	break-inside: avoid;
	padding: 10px 0;
	border-bottom: 1px solid var(--c-line);
}

/* Contact */
.contact__grid { display: grid; gap: 48px; align-items: start; }

@media (min-width: 960px) {
	.contact__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 64px; }
	.contact-card { position: sticky; top: calc(var(--header-h) + 24px); }
}

.contact-card {
	padding: clamp(28px, 4vw, 40px);
	border-radius: var(--radius-md);
	background: var(--brand-deep);
	color: rgba(255, 255, 255, 0.88);
	box-shadow: inset 0 3px 0 var(--brand-mint);
}

.contact-card__label { margin-bottom: 10px; font-size: 1rem; color: var(--brand-mint); }

.contact-card__partners {
	list-style: none;
	display: grid;
	gap: 6px;
	padding-bottom: 22px;
	margin-bottom: 22px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
	font-weight: 700;
}

.contact-card__address { display: flex; gap: 12px; margin-bottom: 22px; line-height: 1.6; }
.contact-card__address .icon { margin-top: 4px; color: var(--brand-mint); font-size: 1.1rem; }

.contact-card__lines { list-style: none; display: grid; gap: 4px; }

.contact-card__lines a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 6px 0;
	color: #fff;
	text-decoration: none;
}

.contact-card__lines a .icon { color: var(--brand-mint); }
.contact-card__lines a:hover { text-decoration: underline; }

/* Blog — list (first post is featured) */
.post-list {
	list-style: none;
	display: grid;
	gap: 48px 40px;
}

@media (min-width: 768px) { .post-list { grid-template-columns: 1fr 1fr; } }

.post-card { display: grid; gap: 20px; align-content: start; }

.post-card__media {
	display: block;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--c-bg-tint);
}

.post-card__media img {
	width: 100%;
	aspect-ratio: 16 / 7;
	object-fit: cover;
	transition: transform 0.6s var(--ease-out);
}

.post-card:hover .post-card__media img { transform: scale(1.04); }

.post-card__title { font-size: var(--fs-lg); line-height: 1.25; letter-spacing: -0.01em; }
.post-card__title a { color: var(--c-ink); text-decoration: none; }
.post-card__title a:hover { color: var(--c-accent); text-decoration: underline; }
.post-card__excerpt { margin: 12px 0 4px; color: var(--c-ink-soft); max-width: var(--measure); }

@media (min-width: 768px) {
	.post-card:first-child {
		grid-column: 1 / -1;
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		gap: 40px;
		align-items: center;
		padding-bottom: 48px;
		border-bottom: 1px solid var(--c-line);
	}

	.post-card:first-child .post-card__media img { aspect-ratio: 16 / 9; }
	.post-card:first-child .post-card__title { font-size: var(--fs-xl); }
}

.post-meta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	color: var(--c-accent-2);
	font-size: var(--fs-sm);
	font-weight: 700;
}

.empty-state {
	padding: 32px;
	border: 1px dashed var(--c-line-strong);
	border-radius: var(--radius-md);
	text-align: center;
	color: var(--c-ink-soft);
}

/* Blog — article */
.article { max-width: 780px; margin-inline: auto; }
.article__head { display: grid; gap: 14px; margin-bottom: 32px; }

.article__title {
	font-size: var(--fs-2xl);
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.article__media img {
	width: 100%;
	border-radius: var(--radius-md);
	margin-bottom: 40px;
}

.article__actions { margin-top: 56px; }

.prose { font-size: 1.1rem; line-height: 1.75; }
.prose > * { max-width: var(--measure); }
.prose h2 { margin: 1.8em 0 0.6em; font-size: var(--fs-lg); letter-spacing: -0.01em; }
.prose h3 { margin: 1.5em 0 0.5em; font-size: var(--fs-md); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; display: grid; gap: 0.5em; }
.prose li::marker { color: var(--c-accent); }
.prose em { font-style: italic; }

/* Disclaimer & sitemap */
.legal__body {
	max-width: var(--measure);
	padding: 28px 0 0 28px;
	border-left: 3px solid var(--c-accent-2);
}

.legal__title { margin-bottom: 12px; font-size: var(--fs-md); }

.sitemap__intro { max-width: var(--measure); margin-bottom: 36px; }

.sitemap__tree {
	list-style: none;
	display: grid;
	gap: 0 32px;
	counter-reset: page;
}

@media (min-width: 640px) { .sitemap__tree { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sitemap__tree { grid-template-columns: repeat(4, 1fr); } }

.sitemap__tree a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	border-top: 1px solid var(--c-line);
	color: var(--c-ink);
	font-size: var(--fs-md);
	font-weight: 700;
	text-decoration: none;
}

.sitemap__tree a::after {
	content: "";
	width: 8px;
	height: 8px;
	border: solid var(--c-accent);
	border-width: 2px 2px 0 0;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.sitemap__tree a:hover { color: var(--c-accent); }
.sitemap__tree a:hover::after { transform: translateX(4px) rotate(45deg); }

/* Login & registration */
.auth-card {
	max-width: 440px;
	margin-inline: auto;
	padding: clamp(28px, 5vw, 44px);
	display: grid;
	gap: 18px;
	border-top: 3px solid var(--c-accent);
	border-radius: 0 0 var(--radius-md) var(--radius-md);
	background: var(--c-surface);
	box-shadow: 0 0 0 1px var(--c-line), 0 24px 48px -32px rgba(4, 38, 40, 0.45);
}

.auth-card--wide { max-width: 680px; display: block; }

.auth-card__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 4px;
	border-radius: 50%;
	background: var(--c-bg-tint);
	color: var(--c-accent);
	font-size: 1.8rem;
}

.auth-card__links { display: flex; justify-content: space-between; gap: 8px; }
.auth-card__note { color: var(--c-ink-soft); }

/* 8. Motion -------------------------------------------------------------- */
/* html.motion-ok is set by site.js only when the visitor has not asked for reduced motion */
.motion-ok .hero__slide {
	animation: hero-fade 28s infinite;
	animation-fill-mode: both;
}

.motion-ok .hero__slide--1 { animation-delay: -1s; }
.motion-ok .hero__slide--2 { animation-delay: 6s; }
.motion-ok .hero__slide--3 { animation-delay: 13s; }
.motion-ok .hero__slide--4 { animation-delay: 20s; }

@keyframes hero-fade {
	0% { opacity: 0; transform: scale(1.08); }
	4% { opacity: 1; }
	25% { opacity: 1; }
	30% { opacity: 0; transform: scale(1); }
	100% { opacity: 0; transform: scale(1); }
}

/* One orchestrated entrance on the home hero */
.motion-ok .hero__title,
.motion-ok .hero .rotator,
.motion-ok .hero__actions {
	animation: rise 0.9s var(--ease-out) both;
}

.motion-ok .hero .rotator { animation-delay: 0.55s; }
.motion-ok .hero__actions { animation-delay: 0.7s; }
.motion-ok .hero__rule { animation: draw 1s 0.3s var(--ease-out) both; }

@keyframes rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

@keyframes draw {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

/* Ledger rules draw in as their section scrolls into view; [data-reveal] blocks rise gently */
.motion-ok .rule[data-inview] { transform: scaleX(0); transition: transform 1s var(--ease-out); }
.motion-ok .rule[data-inview].is-visible { transform: scaleX(1); }

.motion-ok [data-reveal] {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.motion-ok [data-reveal].is-visible { opacity: 1; transform: none; }

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

@media print {
	.site-header, .subnav, .site-footer, .cta-band, .hero__media { display: none !important; }
	.page-hero, .hero, .service-band { color: #000; background: none; min-height: 0; padding: 16px 0; }
	.page-hero::before, .hero::before, .service-band::before { display: none; }
}
