/* ==========================================================================
   Pro SME Solutions — main stylesheet
   ========================================================================== */

/* ---- Tokens ---- */
:root {
	--navy: #0D2446;
	--navy-deep: #081A35;
	--amber: #F1993B;
	--amber-deep: #C9852F;
	--amber-mid: #E08A2B;
	--amber-dark: #D97D1E;
	--tint: #F6F6F3;
	--white: #ffffff;
	--text-light: #E7EBF2;
	--text-muted-light: #AEBACE;
	--text-faint-light: #9AA7BD;
	--text-soft-light: #C7D0DE;
	--text-dark: #0D2446;
	--text-muted-dark: #475063;
	--text-mono-muted: #8A93A4;
	--text-mono-dim: #5A6678;
	--text-mono-dimmer: #6E7C95;
	--text-placeholder: #9AA3B2;
	--border-light: rgba(255,255,255,0.08);
	--border-light-2: rgba(255,255,255,0.10);
	--border-light-3: rgba(255,255,255,0.12);
	--border-dark: rgba(13,36,70,0.10);
	--border-dark-2: rgba(13,36,70,0.12);
	--font-display: 'Space Grotesk', sans-serif;
	--font-body: 'IBM Plex Sans', sans-serif;
	--font-mono: 'IBM Plex Mono', monospace;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--white);
	font-family: var(--font-body);
	color: var(--text-dark);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; }

/* ---- Layout ---- */
.container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 40px);
}
.container--narrow { max-width: 1100px; }
.container--testimonial { max-width: 980px; }

.section { padding: clamp(60px, 9vw, 100px) 0; }
.section--white { background: var(--white); color: var(--text-dark); }
.section--tint { background: var(--tint); color: var(--text-dark); }
.section--navy { background: var(--navy); color: var(--white); }

.grid { display: grid; gap: 1px; background: var(--border-dark); border: 1px solid var(--border-dark); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.split { display: grid; gap: 60px; align-items: start; }
.split--help { grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: 72px; }
.split--contact { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }

/* ---- Type ---- */
.eyebrow {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 18px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.eyebrow--dark { color: var(--amber-deep); }
.eyebrow--light { color: var(--amber); }
.eyebrow--center { justify-content: center; }
.eyebrow--footer { color: var(--amber); font-size: 11px; letter-spacing: 0.16em; margin-bottom: 20px; }
.eyebrow__rule { width: 24px; height: 1px; background: var(--amber); display: inline-block; }

.h1 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(32px, 7vw, 60px);
	line-height: 1.04;
	letter-spacing: -0.025em;
	margin: 0 0 24px;
	max-width: 700px;
}
.h1--center { max-width: 780px; margin-left: auto; margin-right: auto; }
.h1--wide { max-width: 820px; }
.h1--hero { font-size: clamp(38px, 9vw, 68px); line-height: 1.02; max-width: 660px; }

.h2 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(28px, 5.5vw, 42px);
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin: 0 0 22px;
}
.h2--light { color: var(--white); }
.h2--wide { max-width: 760px; margin-bottom: 56px; }
.h2--center { text-align: center; font-size: clamp(27px, 4.5vw, 34px); line-height: 1.1; margin-bottom: 32px; }

.lede { font-size: 18px; line-height: 1.6; margin: 0 0 34px; max-width: 480px; }
.lede--narrow { max-width: 460px; color: var(--text-soft-light); }
.lede--muted { color: var(--text-muted-light); }
.lede--center { margin-left: auto; margin-right: auto; }
.lede--wide { max-width: 560px; }

.statement {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(23px, 4.8vw, 33px);
	line-height: 1.4;
	letter-spacing: -0.015em;
	margin: 0 0 40px;
	max-width: 920px;
}
.statement__highlight { color: var(--amber-mid); }

.link-underline {
	display: inline-block;
	font-size: 15px;
	font-weight: 600;
	color: var(--text-dark);
	text-decoration: none;
	border-bottom: 2px solid var(--amber);
	padding-bottom: 3px;
	transition: opacity .2s;
	white-space: nowrap;
}
.link-underline:hover { opacity: 0.65; }
.link-underline--light {
	color: var(--white);
	font-weight: 500;
	border-bottom: 2px solid rgba(255,255,255,0.25);
	transition: border-color .2s;
}
.link-underline--light:hover { border-color: var(--amber); }

/* ---- Buttons ---- */
.btn {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 2px;
	padding: 15px 28px;
	border: none;
	cursor: pointer;
	transition: transform .2s, box-shadow .2s, background .2s;
	text-align: center;
}
.btn--primary { color: var(--navy); background: var(--amber); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(241,153,59,0.35); }
.btn--small { font-size: 14px; padding: 11px 20px; }
.btn--large { font-size: 16px; padding: 17px 38px; }
.btn--block { width: 100%; padding: 16px; font-size: 16px; }

/* ---- Header / Nav ---- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--navy);
	border-bottom: 1px solid var(--border-light);
	transition: background .3s ease, box-shadow .35s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
	background: rgba(9,23,46,0.86);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 10px 34px rgba(0,0,0,0.30);
}
.site-header.mobile-nav-is-open {
	background: var(--navy);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: none;
}
.site-header__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 40px);
	height: 74px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-header__logo img { height: 25px; }

.nav-desktop { display: flex; align-items: center; gap: 38px; }
.nav-link {
	position: relative;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--text-light);
	text-decoration: none;
	padding: 26px 0;
	transition: color .2s;
}
.nav-link:hover { color: var(--amber); }
.nav-link.is-active::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 22px;
	height: 2px;
	background: var(--amber);
}

.nav-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	position: relative;
	z-index: 61;
}
.nav-burger span {
	width: 24px;
	height: 2px;
	background: #fff;
	display: block;
	border-radius: 2px;
	transition: transform .25s ease, opacity .2s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
	position: fixed;
	inset: 0;
	top: 74px;
	z-index: 59;
	background: var(--navy);
	display: none;
	flex-direction: column;
	justify-content: space-between;
	overflow-y: auto;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav__links { display: flex; flex-direction: column; padding: 12px clamp(20px, 6vw, 40px) 0; }
.mobile-nav__link {
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 600;
	color: var(--text-light);
	text-decoration: none;
	padding: 18px 0;
	border-bottom: 1px solid var(--border-light);
}
.mobile-nav__footer {
	padding: 24px clamp(20px, 6vw, 40px) clamp(28px, 6vw, 40px);
	display: flex;
	flex-direction: column;
	gap: 16px;
	border-top: 1px solid var(--border-light);
}
.mobile-nav__email { font-family: var(--font-mono); font-size: 14px; color: var(--text-muted-light); text-decoration: none; }

@media (max-width: 760px) {
	.nav-desktop { display: none; }
	.nav-burger { display: flex; }
}

/* ---- Hero ---- */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero__media { position: relative; height: min(660px, 82vh); min-height: 560px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__scrim { position: absolute; inset: 0; pointer-events: none; }
.hero__scrim--diagonal { background: linear-gradient(90deg, rgba(13,36,70,0.96) 0%, rgba(13,36,70,0.74) 42%, rgba(13,36,70,0.12) 100%); }
.hero__inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
.hero__inner--bottom {
	position: absolute;
	inset: 0;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 40px) 76px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---- Page header (About / Services / Contact) ---- */
.page-header { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-header__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-header__scrim { position: absolute; inset: 0; background: rgba(13,36,70,0.72); pointer-events: none; }
.page-header__scrim--diagonal { background: linear-gradient(90deg, rgba(13,36,70,0.96) 0%, rgba(13,36,70,0.74) 42%, rgba(13,36,70,0.12) 100%); }
.page-header__content { position: relative; padding-top: clamp(64px, 9vw, 92px); padding-bottom: clamp(60px, 8vw, 96px); }
.page-header--center { min-height: calc(100vh - 74px); display: flex; align-items: center; }
.page-header--center .page-header__content { text-align: center; padding-top: clamp(24px, 5vw, 40px); padding-bottom: clamp(24px, 5vw, 40px); width: 100%; }
.page-header--plain { background: var(--tint); padding: clamp(60px, 9vw, 96px) 0; }
.page-header--plain .page-header__content { position: static; }
.page-header--plain .h1 { color: var(--text-dark); }

/* ---- Intro statement (home) ---- */
.section--white + .section--tint,
.container--narrow { }

/* ---- Section head / cards ---- */
.section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 56px;
}
.section-head .h2 { margin: 0; }

.card-grid.grid--3 { }
.service-card {
	display: block;
	background: var(--white);
	padding: 38px 34px;
	text-decoration: none;
	color: var(--text-dark);
	transition: background .2s, transform .2s, filter .35s ease, opacity .35s ease, box-shadow .35s ease;
	position: relative;
}
.service-card:hover { background: var(--navy); color: var(--white); }
.service-card--static { cursor: default; padding: 42px clamp(24px, 5vw, 36px); }
.service-card--static:hover { background: var(--white); color: var(--text-dark); }
.service-card__n { font-family: var(--font-mono); font-size: 13px; color: var(--amber); letter-spacing: 0.08em; }
.service-card__title { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; margin: 18px 0 12px; }
.service-card--static .service-card__title { font-size: 21px; line-height: 1.22; color: var(--text-dark); }
.service-card__desc { font-size: 14.5px; line-height: 1.6; color: inherit; opacity: 0.72; margin: 0; }
.service-card__desc--static { color: var(--text-dark); opacity: 0.72; }

@media (hover: hover) {
	.svc-grid:hover > .service-card { filter: blur(4px); opacity: 0.55; }
	.svc-grid:hover > .service-card:hover { filter: none; opacity: 1; transform: scale(1.015); box-shadow: 0 18px 40px rgba(13,36,70,0.18); z-index: 1; position: relative; }
}

/* ---- How we help / pillars ---- */
.pillar-list { display: flex; flex-direction: column; }
.pillar-row { display: flex; gap: 24px; padding: 26px 0; border-top: 1px solid var(--border-light-3); }
.pillar-row__n { font-family: var(--font-mono); font-size: 13px; color: var(--amber); padding-top: 4px; flex-shrink: 0; }
.pillar-row__title { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin: 0 0 8px; letter-spacing: -0.01em; }
.pillar-row__desc { font-size: 15px; line-height: 1.6; color: var(--text-muted-light); margin: 0; }

.pillar-card { background: var(--white); padding: 44px clamp(24px, 5vw, 40px); }
.pillar-card__n { font-family: var(--font-mono); font-size: 13px; color: var(--amber); letter-spacing: 0.08em; }
.pillar-card__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; margin: 16px 0 12px; }
.pillar-card__desc { font-size: 15.5px; line-height: 1.65; color: var(--text-muted-dark); margin: 0; }

/* ---- Testimonials ---- */
.quote-mark { font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--amber); height: 30px; }
.quote-mark--light { height: 34px; }
.testimonial-quote {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(21px, 4vw, 28px);
	line-height: 1.45;
	letter-spacing: -0.01em;
	margin: 0 0 32px;
}
.testimonial-quote--light { font-size: clamp(19px, 3.6vw, 26px); line-height: 1.5; margin-bottom: 28px; }
.testimonial-name { font-weight: 600; font-size: 16px; }
.testimonial-name--light { color: var(--white); }
.testimonial-role { font-family: var(--font-mono); font-size: 13px; color: var(--text-mono-muted); margin-top: 4px; }

.carousel { position: relative; min-height: 240px; }
.carousel__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: translateX(4%);
	pointer-events: none;
	transition: opacity .6s ease, transform .6s ease;
}
.carousel__slide.is-active { position: relative; opacity: 1; transform: translateX(0); pointer-events: auto; }
.carousel__dots { display: flex; gap: 10px; margin-top: 36px; }
.carousel__dot {
	width: 6px;
	height: 6px;
	border-radius: 3px;
	background: rgba(255,255,255,0.25);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background .3s ease, width .3s ease;
}
.carousel__dot.is-active { width: 26px; background: var(--amber); }

/* ---- Bio (About) ---- */
.bio-section { position: relative; }
.bio-section__photo-wrap { position: relative; }
.bio-section__photo {
	width: min(280px, 60vw);
	aspect-ratio: 4 / 5;
	margin: 0 auto;
	transform: translateY(-42%);
	position: relative;
}
.bio-section__photo img {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; object-position: 50% 20%;
	border-radius: 4px;
	box-shadow: 0 30px 60px -20px rgba(13,36,70,0.45);
}
.bio-section__photo-frame {
	position: absolute; inset: 0;
	border: 1px solid rgba(241,153,59,0.65);
	border-radius: 4px;
	pointer-events: none;
}
.bio-section__content {
	margin-top: -5%;
	padding-top: 0;
	padding-bottom: clamp(60px, 9vw, 100px);
	text-align: center;
}
.bio-section__credentials { font-family: var(--font-mono); font-size: 15px; font-weight: 400; letter-spacing: 0.04em; color: var(--text-mono-muted); }
.bio-section__lede { font-size: 19px; line-height: 1.7; margin: 0 0 24px; }
.bio-section__text { font-size: 17px; line-height: 1.7; color: var(--text-muted-dark); margin: 0; }

/* ---- CTA band ---- */
.cta-band { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; padding: clamp(64px, 10vw, 108px) 0; }
.cta-band__glow {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 760px; height: 760px; border-radius: 50%;
	background: radial-gradient(circle, rgba(241,153,59,0.10), transparent 65%);
	pointer-events: none;
}
.cta-band__inner { max-width: 1000px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); text-align: center; position: relative; }
.cta-band__heading { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 7vw, 50px); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 22px; }
.cta-band__text { font-size: 18px; line-height: 1.6; color: var(--text-muted-light); max-width: 560px; margin: 0 auto 38px; }

/* ---- Contact page ---- */
.contact-info { display: flex; flex-direction: column; gap: 24px; border-top: 1px solid var(--border-dark-2); padding-top: 28px; }
.contact-info__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mono-muted); margin-bottom: 7px; }
.contact-info__value { font-size: 16px; font-weight: 500; }
.contact-info__value--link { color: var(--text-dark); text-decoration: none; border-bottom: 1px solid var(--amber); padding-bottom: 2px; display: inline-block; }

.contact-panel { background: #fff; border: 1px solid var(--border-dark); border-radius: 4px; padding: clamp(24px, 5vw, 44px) clamp(24px, 5vw, 44px) clamp(28px, 5vw, 48px); }
.contact-panel__success { text-align: center; padding: 48px 12px; }
.contact-panel__success-icon {
	width: 56px; height: 56px; border-radius: 50%;
	background: rgba(241,153,59,0.16); color: var(--amber-dark);
	display: flex; align-items: center; justify-content: center;
	font-size: 28px; margin: 0 auto 22px;
}
.contact-panel__success-heading { font-family: var(--font-display); font-weight: 600; font-size: 26px; margin: 0 0 12px; letter-spacing: -0.01em; }
.contact-panel__success-text { font-size: 16px; line-height: 1.6; color: var(--text-muted-dark); margin: 0 auto; max-width: 360px; }

.contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mono-dim); margin-bottom: 8px; }
.field__optional { text-transform: none; letter-spacing: 0; color: var(--text-placeholder); }
.field--full { margin-bottom: 28px; }
.input {
	width: 100%;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--text-dark);
	background: #fff;
	border: 1px solid rgba(13,36,70,0.18);
	border-radius: 2px;
	padding: 13px 14px;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}
.input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(241,153,59,0.16); }
.input::placeholder { color: var(--text-placeholder); }
textarea.input { resize: vertical; }
.contact-form__error {
	background: rgba(217,48,48,0.08);
	color: #a12222;
	border: 1px solid rgba(217,48,48,0.25);
	border-radius: 2px;
	padding: 12px 14px;
	font-size: 14px;
	margin-bottom: 20px;
}

/* ---- Footer ---- */
.site-footer { background: var(--navy-deep); color: var(--text-light); font-family: var(--font-body); }
.site-footer__inner { max-width: 1240px; margin: 0 auto; padding: 72px clamp(20px, 5vw, 40px) 40px; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--border-light-2); }
.site-footer__brand { max-width: 340px; }
.site-footer__logo { height: 26px; margin-bottom: 22px; }
.site-footer__brand p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-faint-light); }
.site-footer__links { display: flex; flex-direction: column; gap: 13px; }
.site-footer__links a { font-size: 15px; color: var(--text-light); text-decoration: none; transition: color .2s; }
.site-footer__links a:hover { color: var(--amber); }
.site-footer__muted { font-size: 15px; color: var(--text-faint-light); }
.site-footer__cta-link { font-size: 15px; font-weight: 600; color: var(--amber); text-decoration: none; }
.site-footer__bottom { padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-footer__copyright { font-family: var(--font-mono); font-size: 12px; color: var(--text-mono-dimmer); }
.site-footer__credit { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; }
.site-footer__credit span { font-family: var(--font-mono); font-size: 12px; color: var(--text-mono-dimmer); line-height: 1; }
.site-footer__credit img { height: 12px; width: auto; position: relative; top: 1px; }

/* ==========================================================================
   Scroll-reveal animation
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	html.ps-anim [data-reveal]:not([data-stagger]) {
		opacity: 0;
		transform: translateY(34px);
		transition: opacity .85s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
	}
	html.ps-anim [data-reveal]:not([data-stagger]).is-in { opacity: 1; transform: none; }
	html.ps-anim [data-reveal][data-stagger] > * {
		opacity: 0;
		transform: translateY(34px);
		transition: opacity .85s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
	}
	html.ps-anim [data-reveal][data-stagger].is-in > * { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.split { grid-template-columns: 1fr !important; gap: 48px !important; }
	.grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.site-footer__top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
	.contact-form__grid { grid-template-columns: 1fr; }
}
