/* ==========================================================================
   Smart Move Finance – main stylesheet
   Brand: indigo #31275a · teal #0fab91 (sampled from the logo)
   ========================================================================== */

:root {
	--ink: #31275a;
	--ink-deep: #231c45;
	--ink-80: #5a5180;
	--teal: #0fab91;
	--teal-text: #08806c;          /* AA on white for small text */
	--mint: #c6ece3;
	--mint-pale: #eef8f5;
	--lilac-pale: #f5f3f9;
	--paper: #ffffff;
	--text: #2a2440;
	--muted: #625d74;
	--line: #e2dfea;

	--f-display: "Rubik", "Assistant", system-ui, sans-serif;
	--f-body: "Assistant", "Rubik", system-ui, sans-serif;

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(80px, 10vw, 140px);
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-hard: 6px 6px 0 var(--ink);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 18px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

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

.skip-link {
	position: absolute; inset-inline-start: 16px; top: -100px; z-index: 100;
	background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Illustration palette ---------- */
.art { width: 100%; height: auto; overflow: visible; }
.art .a-ink { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.art .a-thin { stroke-width: 2; }
.art .a-heavy { stroke-width: 6; }
.art .a-dash { stroke-dasharray: 1 9; stroke-width: 2.6; }
.art .a-lucide { stroke-width: .52; }
.art .a-teal { fill: var(--teal); stroke: none; }
.art .a-teal-line { stroke: var(--teal); }
.art .a-mint { fill: var(--mint); stroke: none; }
.art .a-mint-solid { fill: var(--mint); }
.art .a-paper { fill: var(--paper); }
.art .a-paper-soft { fill: rgba(255,255,255,.85); }
.art .a-fill-ink { fill: var(--ink); stroke: none; }
.art .a-fill-teal { fill: var(--teal); stroke: none; }
.art .a-wash { fill: none; stroke: rgba(255,255,255,.45); stroke-width: 2.4; stroke-linecap: round; }

/* ---------- Type helpers ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--f-display); font-weight: 500; font-size: 15px; letter-spacing: .02em;
	color: var(--teal-text); margin-bottom: 18px;
}
.eyebrow__mark { width: 40px; flex: none; }
.eyebrow--light { color: var(--mint); }
.eyebrow--light .eyebrow__mark .a-ink { stroke: #fff; }
.eyebrow--light .eyebrow__mark .a-teal-line { stroke: var(--teal); }

.section { padding-block: var(--section); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-title {
	font-family: var(--f-display); font-weight: 600; color: var(--ink);
	font-size: clamp(38px, 5.4vw, 68px); line-height: 1.08; letter-spacing: -.01em;
}

/* ---------- Buttons ---------- */
.btn {
	--bg: var(--paper); --fg: var(--ink); --bd: var(--ink); --sh: var(--ink);
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; padding: 0 28px;
	border: 2px solid var(--bd); border-radius: 999px;
	background: var(--bg); color: var(--fg);
	font-family: var(--f-display); font-weight: 500; font-size: 17px; line-height: 1.2;
	text-decoration: none; white-space: nowrap;
	box-shadow: 0 0 0 var(--sh);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--sh); }
.btn:active { transform: translate(0, 0); box-shadow: 0 0 0 var(--sh); }
.btn--primary { --bg: var(--ink); --fg: #fff; --bd: var(--ink); --sh: var(--teal); }
.btn--ghost { --sh: var(--teal); }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 16px; }
.btn--block { width: 100%; }
.btn__icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .btn__icon { transform: translateX(-4px); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.92);
	-webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 88px; transition: height .3s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 72px; }
.brand { display: block; flex: none; }
.brand img { width: 200px; transition: width .3s var(--ease); }
.site-header.is-scrolled .brand img { width: 176px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 32px; }
.nav__link {
	position: relative; display: block; padding: 6px 0;
	font-family: var(--f-display); font-size: 16px; font-weight: 400; color: var(--ink); text-decoration: none;
}
.nav__link::after {
	content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--teal);
	transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(56px, 7vw, 110px); overflow: hidden; }
.hero__grid { position: relative; z-index: 1; }
.hero__copy { max-width: 760px; padding-bottom: calc(10vw + 48px); }
.hero__sea { position: absolute; inset-inline: 0; bottom: 0; height: 27.5vw; z-index: 0; pointer-events: none; }
.hero__sea .art { width: 100%; height: 100%; }
.hero__title {
	font-family: var(--f-display); font-weight: 700; color: var(--ink);
	font-size: clamp(44px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -.02em;
	margin-bottom: 32px;
}
.hero__line { display: block; }
.hero__line--accent { color: var(--teal); }
.hero__text { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.65; color: var(--muted); max-width: 42ch; margin-bottom: 44px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
/* gentle motion */
@media (prefers-reduced-motion: no-preference) {
	.art--hero .boat__bob { animation: bob 6s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
	@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-1.2deg); } }
}

/* ---------- Fit band ---------- */
.fit { background: var(--teal); color: var(--ink); }
.fit__inner {
	display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center;
	gap: 40px 64px; padding-block: clamp(40px, 5vw, 64px);
}
.fit__text { display: flex; flex-direction: column; gap: 6px; }
.fit__lead { font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; }
.fit__figure { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.1; color: var(--ink-deep); }
.fit__scale { padding-bottom: 32px; }
.fit__track { position: relative; height: 14px; border: 2px solid var(--ink); border-radius: 99px; background: rgba(255,255,255,.35); }
.fit__range {
	position: absolute; top: -2px; bottom: -2px; right: 5%; left: 16.7%;
	background: var(--ink); border-radius: 99px;
	transform-origin: right; transition: transform 1.2s var(--ease) .2s;
}
.js .fit:not(.is-in) .fit__range { transform: scaleX(0); }
.fit__labels { position: relative; height: 0; }
.fit__labels span {
	position: absolute; top: 12px; right: var(--at); transform: translateX(50%);
	font-family: var(--f-display); font-weight: 600; font-size: 16px; white-space: nowrap;
}

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.svc-card {
	position: relative; display: flex; flex-direction: column; align-items: flex-start;
	min-height: 320px; padding: 32px 36px 30px;
	background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-lg);
	text-align: start; color: var(--ink);
	box-shadow: 0 0 0 var(--ink);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
	-webkit-tap-highlight-color: transparent;
}
.svc-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard); }
.svc-card[aria-expanded="true"] { background: var(--mint-pale); transform: translate(-4px, -4px); box-shadow: 6px 6px 0 var(--teal); }
.svc-card__top { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; margin-bottom: auto; }
.svc-card__num { font-family: var(--f-display); font-weight: 500; font-size: 15px; color: var(--muted); letter-spacing: .08em; }
.svc-card__icon { width: 88px; }
.svc-card__tag {
	display: inline-block; margin-top: 28px; margin-bottom: 8px;
	font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--teal-text);
}
.svc-card__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2vw, 27px); line-height: 1.3; max-width: 22ch; }
.svc-card__more {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 22px;
	font-family: var(--f-display); font-size: 15px; font-weight: 500;
	border-bottom: 2px solid var(--teal); padding-bottom: 2px;
}
.svc-card__more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.svc-card:hover .svc-card__more svg { transform: translateX(-4px); }
.svc-card[aria-expanded="true"] .svc-card__more svg { transform: rotate(-90deg); }

.svc-panels { margin-top: clamp(64px, 8vw, 104px); border-top: 2px solid var(--ink); }
.svc-panel { border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.svc-panel__heading { font: inherit; }
.svc-panel__toggle {
	display: grid; grid-template-columns: 56px minmax(140px, 220px) 1fr 44px; align-items: center; gap: 16px;
	width: 100%; padding: 30px 0; border: 0; background: none; text-align: start; color: var(--ink);
}
.svc-panel__num { font-family: var(--f-display); font-size: 15px; color: var(--muted); letter-spacing: .08em; }
.svc-panel__name { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); }
.svc-panel__sub { color: var(--muted); font-size: 17px; }
.svc-panel__plus {
	position: relative; justify-self: end; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%;
	transition: background-color .3s, transform .4s var(--ease);
}
.svc-panel__plus::before, .svc-panel__plus::after {
	content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; background: var(--ink);
	transform: translate(-50%, -50%); transition: transform .4s var(--ease), background-color .3s;
}
.svc-panel__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc-panel__toggle:hover .svc-panel__plus { background: var(--mint); }
.svc-panel__toggle[aria-expanded="true"] .svc-panel__plus { background: var(--ink); transform: rotate(180deg); }
.svc-panel__toggle[aria-expanded="true"] .svc-panel__plus::before { background: #fff; }
.svc-panel__toggle[aria-expanded="true"] .svc-panel__plus::after { transform: translate(-50%, -50%) rotate(0); background: #fff; }

.svc-panel__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--ease); }
.js .svc-panel__body { grid-template-rows: 0fr; }
.js .svc-panel.is-open .svc-panel__body { grid-template-rows: 1fr; }
.svc-panel__inner {
	overflow: hidden; min-height: 0;
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px);
}
.svc-panel__aside, .svc-panel__text { padding-bottom: 56px; }
.svc-panel__aside { padding-inline-start: 72px; }
.svc-panel__lead {
	font-family: var(--f-display); font-weight: 500; color: var(--ink);
	font-size: clamp(22px, 2.2vw, 28px); line-height: 1.45; margin-bottom: 28px;
	padding-inline-start: 22px; border-inline-start: 4px solid var(--teal);
}
.svc-panel__text { max-width: 64ch; }
.svc-panel__text p { color: var(--text); margin-bottom: 1.1em; }
.svc-panel__text p:last-child { margin-bottom: 0; }
.js .svc-panel__inner > * { opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease); }
.js .svc-panel.is-open .svc-panel__inner > * { opacity: 1; transform: none; transition-delay: .15s; }

/* ---------- Process ---------- */
.process { background: var(--mint-pale); position: relative; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: s; position: relative; }
.steps::before {
	content: ""; position: absolute; top: 84px; inset-inline: 16%; height: 0;
	border-top: 2px dashed rgba(49,39,90,.35); z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__art {
	width: min(100%, 260px); margin: 0 auto 24px; padding: 14px 10px;
	background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-lg);
}
.step__num {
	display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px;
	border-radius: 50%; background: var(--ink); color: #fff;
	font-family: var(--f-display); font-weight: 600; font-size: 18px;
}
.step__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(21px, 2vw, 25px); line-height: 1.35; color: var(--ink); max-width: 16ch; margin-inline: auto; }
.process__cta { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 72px); }

/* ---------- Team ---------- */
.team { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.team::after {
	/* the logo swell, quietly, in the corner */
	content: ""; position: absolute; left: -120px; bottom: -140px; width: 520px; height: 520px; border-radius: 50%;
	border: 2px solid rgba(15,171,145,.35); box-shadow: 0 0 0 40px rgba(15,171,145,.06), 0 0 0 80px rgba(15,171,145,.04);
	pointer-events: none;
}
.team__grid { position: relative; z-index: 1; }
.team__head { max-width: 900px; margin-bottom: clamp(56px, 7vw, 96px); }
.team__lead { font-family: var(--f-display); font-weight: 500; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.2; letter-spacing: -.01em; }
.team__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.team__grid .team__head { margin-bottom: 0; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.person__frame {
	position: relative; aspect-ratio: 1 / 1; margin-bottom: 22px; border-radius: var(--radius-lg);
	background: var(--teal); border: 2px solid #fff;
	box-shadow: 8px 8px 0 var(--teal);
	overflow: hidden;
}
.person__frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) contrast(1.02); }
.person--mono .person__frame { background: var(--ink-deep); }
.person__mono {
	position: absolute; inset: 0; display: grid; place-items: center;
	font-family: var(--f-display); font-weight: 600; font-size: clamp(40px, 4.4vw, 64px); color: var(--teal);
}
.person__name { font-family: var(--f-display); font-weight: 600; font-size: 20px; line-height: 1.4; }
.person__role { color: var(--mint); font-size: 17px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-card {
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
	padding: 32px; border: 2px solid var(--ink); border-radius: var(--radius-lg); background: var(--paper);
}
.contact-card--address { background: var(--lilac-pale); }
.contact-card__name { font-family: var(--f-display); font-weight: 500; font-size: 18px; color: var(--muted); }
.contact-card__phone {
	font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 2.8vw, 36px); color: var(--ink);
	text-decoration: none; letter-spacing: .01em; line-height: 1.3;
}
.contact-card__phone:hover { color: var(--teal-text); }
.contact-card__action {
	display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px;
	font-family: var(--f-display); font-weight: 500; text-decoration: none; color: var(--teal-text);
}
.contact-card__action svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.contact-card__address { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.2vw, 27px); color: var(--ink); line-height: 1.35; }
.contact-card__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 18px; }
.contact-card__links a { font-family: var(--f-display); font-weight: 500; color: var(--teal-text); text-decoration: none; border-bottom: 2px solid currentColor; }
.contact__cta { margin-top: 40px; }
.contact__cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--lilac-pale); border-top: 1px solid var(--line); padding-block: 48px; }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px 56px; }
.site-footer__brand img { width: 128px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--f-display); }
.site-footer__nav a { text-decoration: none; color: var(--ink); }
.site-footer__nav a:hover { color: var(--teal-text); }
.site-footer__meta { display: flex; flex-direction: column; align-items: flex-end; font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ---------- Dialogs ---------- */
.dialog {
	width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0;
	border: 2px solid var(--ink); border-radius: var(--radius-lg); background: var(--paper); color: var(--text);
	box-shadow: 10px 10px 0 var(--teal); overflow-x: hidden; overflow-y: auto;
}
.dialog::backdrop { background: rgba(35, 28, 69, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialog[open] { animation: dlg-in .35s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px); } }
.dialog__form { position: relative; padding: 40px clamp(22px, 5vw, 44px) 32px; }
.dialog__close {
	position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; display: grid; place-items: center;
	border: 0; border-radius: 50%; background: var(--lilac-pale);
}
.dialog__close:hover { background: var(--mint); }
.dialog__close svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.dialog__title { font-family: var(--f-display); font-weight: 600; font-size: 30px; line-height: 1.2; color: var(--ink); margin-bottom: 8px; padding-inline-end: 44px; }
.dialog__sub { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.dialog__fields { display: grid; gap: 16px; margin-bottom: 24px; }
.field { display: grid; gap: 6px; }
.field__label { font-family: var(--f-display); font-weight: 500; font-size: 15px; color: var(--ink); padding: 0; }
.field__input {
	width: 100%; min-height: 54px; padding: 0 16px;
	border: 2px solid var(--line); border-radius: 12px; background: #fff; font-size: 18px;
	transition: border-color .2s, box-shadow .2s;
}
.field__input[dir="ltr"] { text-align: right; }
.field__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--mint); }
.field__input[aria-invalid="true"] { border-color: #c0392b; }
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dialog__status { min-height: 1.6em; margin-top: 14px; font-size: 16px; color: var(--muted); }
.dialog__status.is-error { color: #b0302a; }
.dialog__status.is-ok { color: var(--teal-text); font-weight: 600; }
.dialog__status a { color: var(--ink); font-weight: 600; }

.slots { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.slots .field__label { display: block; margin-bottom: 10px; }
.slots__days { display: flex; gap: 8px; margin-bottom: 14px; }
.slots__day {
	min-height: 40px; padding: 0 16px; border: 2px solid var(--line); border-radius: 99px; background: #fff;
	font-family: var(--f-display); font-size: 15px; color: var(--ink);
}
.slots__day[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; max-height: 196px; overflow: auto; padding: 2px; }
.slot {
	min-height: 44px; border: 2px solid var(--line); border-radius: 10px; background: #fff;
	font-family: var(--f-display); font-size: 16px; color: var(--ink); direction: ltr;
	transition: border-color .15s, background-color .15s;
}
.slot:hover { border-color: var(--ink); }
.slot[aria-checked="true"] { background: var(--teal); border-color: var(--ink); color: var(--ink-deep); font-weight: 600; }
.slots__empty { color: var(--muted); }

/* ---------- Inner pages ---------- */
.page { padding-block: 80px 120px; }
.page__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(34px, 4vw, 52px); color: var(--ink); margin-bottom: 32px; }
.prose p, .prose ul, .prose ol { margin-bottom: 1em; }
.prose ul { list-style: disc; padding-inline-start: 1.2em; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
	.js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.nav__list { gap: 22px; }
	.nav { gap: 24px; }
	.svc-panel__toggle { grid-template-columns: 44px 1fr 44px; }
	.svc-panel__sub { grid-column: 2; grid-row: 2; font-size: 16px; line-height: 1.5; }
	.svc-panel__plus { grid-column: 3; grid-row: 1 / span 2; }
	.svc-panel__aside { padding-inline-start: 60px; }
}

@media (max-width: 900px) {
	html { scroll-padding-top: 76px; }
	.site-header__inner, .site-header.is-scrolled .site-header__inner { height: 72px; }
	.brand img, .site-header.is-scrolled .brand img { width: 160px; }

	.burger {
		display: grid; place-content: center; gap: 7px; width: 48px; height: 48px; padding: 0;
		border: 2px solid var(--ink); border-radius: 50%; background: #fff; position: relative; z-index: 2;
	}
	.burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
	.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
	.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

	.nav {
		position: fixed; inset: 72px 0 auto 0; height: calc(100dvh - 72px);
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 32px;
		padding: 32px var(--gutter) 40px; background: var(--paper);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s;
	}
	.nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .35s var(--ease); }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__link { font-size: 30px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.nav__link::after { display: none; }
	.nav__cta { min-height: 56px; font-size: 18px; }
	body.nav-open { overflow: hidden; }

	.hero__copy { padding-bottom: 16px; }
	.hero__sea { position: relative; height: max(27.5vw, 280px); margin-top: -24px; }

	.fit__inner { grid-template-columns: 1fr; }

	.svc-panel__inner { grid-template-columns: 1fr; gap: 0; }
	.svc-panel__aside { padding-inline-start: 0; padding-bottom: 28px; }

	.steps { grid-template-columns: 1fr; gap: 48px; }
	.steps::before { display: none; }
	.step__art { width: min(100%, 220px); }

	.team__grid { grid-template-columns: 1fr; }
	.people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.person__name { font-size: 17px; }
	.person__role { font-size: 15px; }
	.contact__grid { grid-template-columns: 1fr; }

	.site-footer__inner { grid-template-columns: 1fr; justify-items: start; }
	.site-footer__meta { align-items: flex-start; }
}

@media (max-width: 600px) {
	body { font-size: 17px; }
	.hero__title { font-size: clamp(40px, 11.5vw, 56px); margin-bottom: 22px; }
	.hero__text { margin-bottom: 32px; }
	.hero__actions .btn { width: 100%; }
	.svc-grid { grid-template-columns: 1fr; gap: 20px; }
	.svc-card { min-height: 0; padding: 24px 24px 24px; }
	.svc-card__icon { width: 72px; }
	.svc-panel__toggle { padding: 24px 0; gap: 12px; grid-template-columns: 34px 1fr 40px; }
	.svc-panel__plus { width: 40px; height: 40px; }
	.people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
	.person__frame { box-shadow: 6px 6px 0 var(--teal); margin-bottom: 16px; }
	.contact-card { padding: 26px 24px; }
	.contact__cta-actions .btn { width: 100%; }
	.dialog__title { font-size: 26px; }
}
