/* ============ TOKENS ============ */
:root {
	--blue-soft: #8f9bff;

	--sun: #ffc93c;
	--coral: #ff6b4a;
	--mint: #6fe0bd;
	--grape: #a97bff;

	--bg: #0e1020;
	--bg-alt: #14162b;
	--surface: #191c33;
	--surface-2: #21243f;
	--ink: #f4f2e9;
	--ink-2: #bfc0d6;
	--ink-3: #9698b4;
	--line: #2f3350;
	--accent: var(--blue-soft);
	--accent-ink: #10122a;
	--focus: var(--sun);
	--shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 30px 70px -28px rgba(0, 0, 0, .8);
	--hard: 6px 6px 0 #05060f;

	/* Shape & rhythm */
	--r-md: 16px;
	--r-lg: 26px;
	--r-xl: 38px;
	--shell: 1200px;
	--gutter: clamp(1.1rem, 4vw, 3rem);
	--section-y: clamp(4.5rem, 10vw, 8.5rem);

	/* Type */
	--font-display: "Fraunces", "Georgia", "Iowan Old Style", "Palatino", serif;
	--font-body: "Outfit", ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;

	color-scheme: dark;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 6.5rem;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
	line-height: 1.65;
	font-weight: 350;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img, svg {
	max-width: 100%;
}

img {
	height: auto;
	display: block;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -.02em;
	margin: 0 0 .5em;
	font-variation-settings: "SOFT" 100, "WONK" 1;
}

p {
	margin: 0 0 1em;
}

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

a {
	color: inherit;
	text-decoration-thickness: .08em;
	text-underline-offset: .18em;
}

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

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

em {
	font-style: italic;
	color: var(--accent);
}

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

::selection {
	background: var(--accent);
	color: var(--accent-ink);
}

.shell {
	width: min(100% - (var(--gutter) * 2), var(--shell));
	margin-inline: auto;
}

.section {
	padding-block: var(--section-y);
}

main > section:nth-of-type(even) {
	background: var(--bg-alt);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: fixed;
	top: .75rem;
	left: .75rem;
	z-index: 200;
	background: var(--accent);
	color: var(--accent-ink);
	padding: .75rem 1.15rem;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	transform: translateY(-160%);
	transition: transform .2s ease;
}

.skip-link:focus-visible {
	transform: translateY(0);
}

/* ============ TYPOGRAPHY HELPERS ============ */
.kicker {
	font-family: var(--font-body);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-2);
	margin-bottom: .9rem;
}

.section-head {
	max-width: 46rem;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-title {
	font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.2rem);
	margin-bottom: .35em;
}

.section-lede {
	font-size: 1.05rem;
	color: var(--ink-2);
	max-width: 40ch;
}

/* ============ BUTTONS & ICONS ============ */
.btn {
	--btn-bg: var(--surface);
	--btn-ink: var(--ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	min-height: 48px;
	padding: .8rem 1.5rem;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-ink);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.btn:hover {
	transform: translate(-2px, -2px);
	box-shadow: var(--hard);
}

.btn:active {
	transform: translate(1px, 1px);
	box-shadow: 2px 2px 0 var(--ink);
}

.btn:disabled {
	cursor: progress;
	opacity: .65;
}

.btn:disabled:hover,
.btn:disabled:active {
	transform: none;
	box-shadow: none;
}

.btn-primary {
	--btn-bg: var(--accent);
	--btn-ink: var(--accent-ink);
}

.btn-ghost {
	--btn-bg: transparent;
}

.btn-lg {
	min-height: 56px;
	padding: 1rem 1.9rem;
	font-size: 1.05rem;
}

.btn.full {
	width: 100%;
}

.btn span[aria-hidden] {
	transition: transform .18s ease;
}

.btn:hover span[aria-hidden] {
	transform: translateX(3px);
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 2px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	cursor: pointer;
	transition: border-color .18s ease, background-color .18s ease;
}

.icon-btn:hover {
	border-color: var(--ink);
}

/* ============ HEADER & NAVIGATION ============ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	padding-block: .85rem;
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s ease, padding .25s ease, background-color .25s ease;
}

.site-header.is-stuck {
	border-bottom-color: var(--line);
	padding-block: .5rem;
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	margin-right: auto;
}

.brand-logo {
	display: block;
	width: 237px;
	max-width: none;
	height: 38px;
	object-fit: cover;
	object-position: 50% 52%;
	margin-inline: -18px;
}

.nav {
	display: flex;
	align-items: center;
	gap: 1.6rem;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.nav-list a {
	position: relative;
	font-weight: 500;
	text-decoration: none;
	padding: .4rem 0;
}

.nav-list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: .1rem;
	width: 100%;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: right;
}

.nav-list a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
	transition: transform .25s ease;
}

.nav-list a[aria-current="true"]::after {
	transform: scaleX(1);
	transform-origin: left;
}

.nav-list a[aria-current="true"] {
	color: var(--accent);
}

.nav-cta {
	min-height: 40px;
	padding: .4rem 1.15rem;
	font-size: .94rem;
}

.header-tools {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.menu-btn {
	display: none;
}

.bars {
	display: grid;
	gap: 5px;
	width: 20px;
}

.bars i {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .25s ease, opacity .2s ease;
}

.menu-btn[aria-expanded="true"] .bars i:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .bars i:nth-child(2) {
	opacity: 0;
}

.menu-btn[aria-expanded="true"] .bars i:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
	.menu-btn {
		display: inline-grid;
	}

	.site-header {
		backdrop-filter: none;
		background: var(--bg);
	}

	.nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(88vw, 22rem);
		flex-direction: column;
		align-items: stretch;
		justify-content: center;
		gap: 2rem;
		padding: 5rem 2rem 2rem;
		background: var(--surface);
		border-left: 2px solid var(--line);
		box-shadow: var(--shadow-lg);
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .32s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .32s;
	}

	.nav.is-open {
		transform: translateX(0);
		visibility: visible;
		transition: transform .32s cubic-bezier(.4, 0, .2, 1), visibility 0s;
	}

	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: .25rem;
	}

	.nav-list a {
		display: block;
		font-family: var(--font-display);
		font-weight: 700;
		font-size: 1.6rem;
		padding: .5rem 0;
	}

	.nav-list a::after {
		display: none;
	}

	.nav-cta {
		width: 100%;
		min-height: 48px;
		padding: .8rem 1.5rem;
		font-size: 1rem;
	}
}

.nav-scrim {
	position: fixed;
	inset: 0;
	z-index: 99;
	background: rgba(10, 10, 25, .5);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility 0s linear .3s;
}

.nav-scrim.is-on {
	opacity: 1;
	visibility: visible;
	transition: opacity .3s ease, visibility 0s;
}

body.nav-open {
	overflow: hidden;
}

/* ============ HERO ============ */
.hero {
	position: relative;
	padding-top: clamp(3rem, 7vw, 6rem);
	overflow: hidden;
}

.hero-inner {
	position: relative;
	z-index: 2;
	text-align: center;
}

.hero-title {
	font-size: clamp(2.7rem, 1rem + 9vw, 7.5rem);
	margin: 1.5rem auto .9rem;
	max-width: 16ch;
}

.word-swap {
	--swap-h: 1.2em;
	display: block;
	height: var(--swap-h);
	overflow: hidden;
	color: var(--accent);
}

.word-swap-list {
	display: block;
	animation: swap 9s forwards;
}

.word-swap-list span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: var(--swap-h);
	white-space: nowrap;
}

@keyframes swap {
	/* that delivers. */
	0%, 20% {
		transform: translateY(0);
	}

	/* that scales. */
	25%, 45% {
		transform: translateY(calc(var(--swap-h) * -1));
	}

	/* that lasts. */
	50%, 70% {
		transform: translateY(calc(var(--swap-h) * -2));
	}

	/* people love. — rests here */
	75%, 100% {
		transform: translateY(calc(var(--swap-h) * -3));
	}
}

.hero-lede {
	font-size: clamp(1.05rem, 1rem + .45vw, 1.35rem);
	color: var(--ink-2);
	max-width: 46ch;
	margin: 0 auto 2rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .85rem;
	justify-content: center;
	margin-bottom: 2.5rem;
}

.hero-deco {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.hero-deco .squiggle,
.hero-deco .dot,
.hero-deco .star {
	position: absolute;
	display: block;
}

.hero-deco .dot {
	border-radius: 50%;
}

.d1 {
	width: 88px;
	height: 88px;
	background: var(--sun);
	top: 14%;
	left: 6%;
}

.d2 {
	width: 54px;
	height: 54px;
	background: var(--coral);
	bottom: 26%;
	right: 8%;
}

.s1 {
	width: 130px;
	height: 130px;
	border: 14px solid var(--mint);
	border-radius: 50% 50% 0 50%;
	top: 46%;
	left: 3%;
}

.s2 {
	width: 100px;
	height: 100px;
	border: 12px solid var(--grape);
	border-radius: 50% 0 50% 50%;
	top: 12%;
	right: 5%;
}

.st1, .st2 {
	font-size: 2.6rem;
	color: var(--accent);
}

.st1 {
	top: 62%;
	right: 14%;
}

.st2 {
	bottom: 16%;
	left: 15%;
	font-size: 1.8rem;
}

@media (max-width: 900px) {
	.hero-deco .squiggle {
		display: none;
	}

	.d1 {
		width: 48px;
		height: 48px;
		top: 3%;
		left: -4%;
	}

	.d2 {
		width: 32px;
		height: 32px;
		bottom: 32%;
		right: 3%;
	}

	.st1, .st2 {
		font-size: 1.5rem;
	}
}

/* ============ SERVICES ============ */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

.card {
	position: relative;
	background: var(--surface);
	border: 2px solid var(--line);
	border-radius: var(--r-lg);
	padding: clamp(1.5rem, 3vw, 2.1rem);
	transition: border-color .25s ease;
}

.card:hover {
	border-color: var(--ink);
}

.card h3 {
	font-size: 1.5rem;
	margin-bottom: .4rem;
}

.card p {
	color: var(--ink-2);
	font-size: .98rem;
}

/* ============ PROCESS ============ */
.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.step {
	position: relative;
	padding-top: 2rem;
	border-top: 3px solid var(--line);
}

.step::after {
	content: "";
	position: absolute;
	top: -3px;
	left: 0;
	height: 3px;
	width: 100%;
	background: var(--accent);
}

.step-num {
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem);
	font-weight: 900;
	line-height: 1;
	color: var(--accent);
	display: block;
	margin-bottom: .5rem;
	font-variation-settings: "SOFT" 100, "WONK" 1;
}

.step h3 {
	font-size: 1.45rem;
	margin-bottom: .35rem;
}

.step p {
	color: var(--ink-2);
	font-size: .97rem;
}

/* ============ ABOUT & STATS ============ */
.about-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: center;
}

.about-copy p {
	color: var(--ink-2);
	font-size: 1.05rem;
}

.about-deco {
	position: relative;
	align-self: center;
	justify-self: center;
	width: min(100%, 20rem);
	color: var(--accent);
}

.growth-scribble {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
	transform: rotate(-3deg);
}

.about-dot {
	position: absolute;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--sun);
	top: 22%;
	left: 26%;
}

.about-star {
	position: absolute;
	bottom: 14%;
	right: 16%;
	font-size: 2rem;
	color: var(--grape);
}

/* ============ FAQ ACCORDION ============ */
.faq-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
}

.acc-item {
	border-bottom: 2px solid var(--line);
}

.acc-item h3 {
	margin: 0;
	font-family: inherit;
}

.acc-trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 60px;
	padding: 1.2rem 0;
	border: 0;
	background: none;
	color: inherit;
	font-family: var(--font-display);
	font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
	font-weight: 700;
	text-align: left;
	line-height: 1.25;
	cursor: pointer;
	transition: color .2s ease;
}

.acc-trigger:hover {
	color: var(--accent);
}

.acc-icon {
	position: relative;
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border: 2px solid currentColor;
	border-radius: 50%;
}

.acc-icon::before, .acc-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 11px;
	height: 2px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform .25s ease;
}

.acc-icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.acc-trigger[aria-expanded="true"] {
	color: var(--accent);
}

.acc-trigger[aria-expanded="true"] .acc-icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.acc-panel {
	padding-bottom: 1.4rem;
	color: var(--ink-2);
	max-width: 56ch;
}

.acc-panel[hidden] {
	display: none;
}

.acc-panel:not([hidden]) {
	animation: fadeUp .3s ease both;
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* ============ CONTACT FORM ============ */
.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
}

.contact-copy p {
	color: var(--ink-2);
	font-size: 1.05rem;
	max-width: 34ch;
}

.contact-list {
	display: grid;
	gap: .7rem;
	margin-top: 1.8rem;
}

.contact-list li {
	display: flex;
	align-items: center;
	gap: .7rem;
}

.contact-list a {
	font-weight: 500;
}

.form {
	display: grid;
	gap: 1.1rem;
	background: var(--surface);
	border: 3px solid var(--ink);
	border-radius: var(--r-xl);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	box-shadow: var(--hard);
}

.field {
	display: grid;
	gap: .4rem;
}

.field label {
	font-weight: 600;
	font-size: .95rem;
}

.field .opt {
	font-weight: 400;
	color: var(--ink-3);
}

.field input,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: .75rem 1rem;
	border: 2px solid var(--line);
	border-radius: var(--r-md);
	background: var(--surface-2);
	color: var(--ink);
	font-family: inherit;
	font-size: 1rem;
	transition: border-color .2s ease, background-color .2s ease;
}

.field textarea {
	resize: vertical;
	min-height: 8rem;
}

.field input:hover, .field textarea:hover {
	border-color: var(--ink-3);
}

.field input:focus, .field textarea:focus {
	border-color: var(--accent);
}

.field [aria-invalid="true"] {
	border-color: var(--coral);
}

.err {
	font-size: .87rem;
	color: var(--coral);
	font-weight: 500;
	margin: 0;
}

.err[hidden] {
	display: none;
}

.form-status {
	font-weight: 600;
	margin: 0;
	text-align: center;
}

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

.form-status.ok {
	color: var(--accent);
}

.form-status.bad {
	color: var(--coral);
}

/* ============ FOOTER ============ */
.site-footer {
	background: #05060f;
	color: var(--ink);
	padding-block: clamp(1.5rem, 3vw, 2.5rem) 2rem;
}

.footer-top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: clamp(2rem, 4vw, 4rem);
	padding-bottom: 2rem;
}

.footer-brand img {
	width: 237px;
	max-width: none;
	height: 38px;
	object-fit: cover;
	object-position: 50% 52%;
	margin-inline: -18px;
}

.footer-brand p {
	margin-top: 1.2rem;
	opacity: .75;
	max-width: 28ch;
}

.footer-nav {
	display: flex;
	justify-content: flex-end;
	gap: clamp(2rem, 5vw, 4rem);
	margin-right: 0.5rem;
}

.footer-nav h2 {
	font-family: var(--font-body);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	opacity: .55;
	margin-bottom: 1rem;
}

.footer-nav ul {
	display: grid;
	gap: .6rem;
}

.footer-nav a {
	text-decoration: none;
	opacity: .85;
	transition: opacity .2s ease, color .2s ease;
	display: inline-block;
}

.footer-nav a:hover {
	opacity: 1;
	color: var(--blue-soft);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, .15);
	font-size: .88rem;
	opacity: .75;
}

.footer-bottom p {
	margin: 0;
}

/* ============ MOTION & REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}

	.word-swap {
		height: auto;
	}

	.word-swap-list {
		animation: none;
	}

	.word-swap-list span:not(:last-child) {
		display: none;
	}
}

@media print {
	.site-header {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}
}