/* ==========================================================================
   Maryam Rani — design system + homepage
   Brand: espresso #4A2E2A · mocha #6B4C43 · gold #C8A96A · cream #F7F4EF
          champagne #F4E4C9 · growth green #22C55E
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	--espresso: #4A2E2A;
	--espresso-deep: #2E1C19;
	--espresso-ink: #241614;
	--mocha: #6B4C43;
	--gold: #C8A96A;
	--gold-light: #E3CC97;
	--gold-deep: #8A6A32;
	--cream: #F7F4EF;
	--cream-deep: #EFE7DA;
	--paper: #FFFDF9;
	--champagne: #F4E4C9;
	--green: #22C55E;

	--ink: #2A1A17;
	--muted: #6B5953;
	--line: rgba(74, 46, 42, .12);
	--line-light: rgba(244, 228, 201, .14);

	--font-head: "Poppins", ui-sans-serif, system-ui, sans-serif;
	--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius-sm: 12px;
	--radius: 22px;
	--radius-lg: 32px;
	--shadow-sm: 0 2px 6px rgba(46, 28, 25, .05), 0 8px 24px -12px rgba(46, 28, 25, .14);
	--shadow: 0 4px 12px rgba(46, 28, 25, .06), 0 24px 48px -20px rgba(46, 28, 25, .25);
	--shadow-lg: 0 30px 80px -30px rgba(20, 10, 8, .55);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--ease-spring: cubic-bezier(.34, 1.56, .64, 1);

	--container: 1200px;
	--gutter: clamp(20px, 4vw, 32px);
	--section-y: clamp(80px, 10vw, 132px);
	--header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body.mr-site {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--cream);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
.mr-site :where(img) { max-width: 100%; height: auto; display: block; }
:where(.mr-site) :where(h1, h2, h3, h4) { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.02em; color: inherit; }
:where(.mr-site) :where(p) { margin: 0; }
:where(.mr-site) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.mr-site) :where(a) { color: inherit; text-decoration: none; }
:where(.mr-site) :where(button) { font: inherit; color: inherit; cursor: pointer; }
.mr-site :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.mr-site ::selection { background: var(--gold); color: var(--espresso-ink); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--gold); color: var(--espresso-ink); padding: 10px 18px; border-radius: 999px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }
#main:focus { outline: none; }
.anchor-alias { position: absolute; top: 0; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.text-gold { color: var(--gold); background: linear-gradient(100deg, var(--gold-light), var(--gold) 60%, #D9BC80); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.text-accent { color: var(--gold-deep); }

/* ---------- 3. Buttons & small UI ---------- */
.btn {
	--btn-pad-y: .9em; --btn-pad-x: 1.5em;
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: var(--btn-pad-y) var(--btn-pad-x);
	border-radius: 999px; border: 1px solid transparent;
	font-family: var(--font-head); font-weight: 600; font-size: .975rem; line-height: 1.2; letter-spacing: .005em;
	white-space: nowrap;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { --btn-pad-y: .7em; --btn-pad-x: 1.15em; font-size: .9rem; }
.btn--lg { --btn-pad-y: 1.05em; --btn-pad-x: 1.8em; font-size: 1.025rem; }
.btn--block { width: 100%; }

.btn--gold { color: var(--espresso-ink); background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, #B8975A 100%); box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 12px 30px -12px rgba(200, 169, 106, .75); }
.btn--gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--gold:hover { box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 18px 40px -14px rgba(200, 169, 106, .9); }
.btn--gold:hover::after { transform: translateX(120%); }

.btn--ghost-light { color: var(--champagne); border-color: rgba(244, 228, 201, .32); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(244, 228, 201, .1); border-color: rgba(244, 228, 201, .6); }

.btn--dark { color: var(--champagne); background: var(--espresso); box-shadow: 0 14px 30px -16px rgba(46, 28, 25, .8); }
.btn--dark:hover { background: var(--espresso-deep); }

.btn--outline-light { color: var(--champagne); border-color: rgba(244, 228, 201, .28); }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold-light); }
.btn--outline-light:hover .icon { transform: translateY(2px); }

.eyebrow { display: inline-flex; align-items: center; gap: .65em; font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--champagne); }
.eyebrow--light::before { background: var(--green); opacity: 1; }
.hero__eyebrow::before { display: none; }

.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: pulse 2.4s var(--ease) infinite; }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list li { font-size: .75rem; font-weight: 500; line-height: 1; padding: 6px 10px; border-radius: 999px; background: rgba(200, 169, 106, .14); color: #6A5022; }
.tag-list--soft li { background: var(--cream); color: var(--muted); border: 1px solid var(--line); }

.text-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--espresso); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; transition: color .2s, gap .3s var(--ease); }
.text-link:hover { color: var(--gold-deep); gap: .75em; }

/* ---------- 4. Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding-block: 14px; transition: background-color .4s, box-shadow .4s, padding .4s var(--ease), backdrop-filter .4s; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { padding-block: 8px; background: rgba(36, 22, 20, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 var(--line-light), 0 10px 30px -18px rgba(0,0,0,.6); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 58px; width: auto; transition: height .4s var(--ease); filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.is-scrolled .brand img { height: 48px; }

.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav__link { position: relative; display: block; padding: 10px 16px; font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: rgba(244, 228, 201, .82); border-radius: 999px; transition: color .25s; }
.site-nav__link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav__link:hover, .site-nav__link.is-active { color: var(--champagne); }
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); }
.site-nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light); background: rgba(255,255,255,.05); align-items: center; justify-content: center; }
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 1.6px; border-radius: 2px; background: var(--champagne); transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5.2px; }
.nav-toggle__bars span:nth-child(3) { top: 10.4px; }
.nav-open .nav-toggle__bars span:nth-child(1) { top: 5.2px; transform: rotate(45deg); }
.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars span:nth-child(3) { top: 5.2px; transform: rotate(-45deg); }

@media (max-width: 980px) {
	:root { --header-h: 74px; }
	.nav-toggle { display: inline-flex; }
	.brand img { height: 50px; }
	.site-nav {
		position: fixed; inset: 0; z-index: -1;
		display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
		padding: calc(var(--header-h) + 40px) var(--gutter) 32px;
		background: radial-gradient(120% 60% at 100% 0%, rgba(200,169,106,.18), transparent 60%), var(--espresso-ink);
		opacity: 0; visibility: hidden; transform: translateY(-12px);
		transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
		overflow-y: auto;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
	.site-nav__link { font-size: 1.6rem; font-weight: 600; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line-light); color: var(--champagne); }
	.site-nav__link::after { display: none; }
	.nav-open .site-nav__list li { animation: navItem .55s var(--ease) both; }
	.nav-open .site-nav__list li:nth-child(2) { animation-delay: .04s; }
	.nav-open .site-nav__list li:nth-child(3) { animation-delay: .08s; }
	.nav-open .site-nav__list li:nth-child(4) { animation-delay: .12s; }
	.nav-open .site-nav__list li:nth-child(5) { animation-delay: .16s; }
	.site-nav__mobile-extra { display: grid; gap: 16px; }
	.site-nav__contact { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: rgba(244,228,201,.75); font-size: .95rem; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
}
@media (max-width: 560px) {
	.site-header__cta { display: none; }
}

/* ---------- 5. Hero ---------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: min(100svh, 940px);
	display: flex; align-items: center;
	padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(72px, 9vw, 110px);
	color: var(--champagne);
	background: linear-gradient(165deg, var(--espresso-ink) 0%, var(--espresso) 48%, var(--mocha) 100%);
}
.hero__bg, .section__bg, .cta__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.hero__glow--1 { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(200,169,106,.55), transparent 65%); animation: drift 22s ease-in-out infinite alternate; }
.hero__glow--2 { width: 460px; height: 460px; left: -180px; bottom: -200px; background: radial-gradient(circle, rgba(200,169,106,.35), transparent 65%); animation: drift 26s ease-in-out -8s infinite alternate-reverse; }
.hero__glow--3 { width: 600px; height: 600px; left: 50%; top: -300px; transform: translateX(-50%); background: radial-gradient(circle, rgba(200,169,106,.28), transparent 65%); }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(244,228,201,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(244,228,201,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(40px, 6vw, 80px); }
.hero__title { font-size: clamp(2.35rem, 4.5vw + .2rem, 4rem); font-weight: 700; line-height: 1.07; letter-spacing: -.03em; color: var(--champagne); text-wrap: balance; }
.hero__lead { margin-top: 24px; max-width: 37em; font-size: clamp(1.03rem, .4vw + .95rem, 1.15rem); color: rgba(244, 228, 201, .78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; font-size: .9rem; color: rgba(244, 228, 201, .72); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { width: 18px; height: 18px; color: var(--green); }

.hero__visual { position: relative; min-height: 520px; }
.hero__portrait { position: absolute; right: 0; top: 0; width: 80%; aspect-ratio: 4 / 4.7; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); outline: 1px solid rgba(200,169,106,.35); outline-offset: 8px; }
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; transform: scale(1.04); animation: kenburns 18s ease-in-out infinite alternate; }
.hero__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(36,22,20,.45)); }

/* SERP illustration */
.serp { position: absolute; left: 0; bottom: 18px; width: min(340px, 72%); padding: 14px; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.4) inset; animation: floatY 7s ease-in-out infinite; }
.serp__bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; box-shadow: 0 2px 8px rgba(46,28,25,.06); }
.serp__bar .icon { width: 16px; height: 16px; color: var(--muted); }
.serp__query { white-space: nowrap; overflow: hidden; color: var(--ink); }
.serp__caret { width: 1.5px; height: 16px; background: var(--espresso); margin-left: -8px; animation: blink 1s steps(2) infinite; }
.serp__map { position: relative; height: 86px; margin: 10px 0; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #EEF2E6, #E7EBDD); }
.serp__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.serp__road { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; }
.serp__road--thin { stroke-width: 4; }
.serp__pin { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #B9ADA6; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.serp__pin--2 { left: 22%; top: 58%; }
.serp__pin--3 { left: 74%; top: 30%; }
.serp__pin--1 { left: 50%; top: 40%; width: 34px; height: 34px; margin: -17px 0 0 -17px; display: grid; place-items: center; background: var(--espresso); color: var(--gold-light); animation: pinDrop .9s var(--ease-spring) 1.1s both; }
.serp__pin--1 .icon { width: 18px; height: 18px; }
.serp__pin--1::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: pulse 2.4s var(--ease) 2s infinite; }
.serp__list { display: grid; gap: 6px; --row: 54px; }
.serp__item { display: flex; align-items: center; gap: 10px; height: var(--row); padding: 0 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.serp__rank { width: 22px; height: 22px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; font: 600 .72rem/1 var(--font-head); background: var(--cream-deep); color: var(--muted); }
.serp__body { display: grid; gap: 3px; flex: 1; min-width: 0; }
.serp__body strong { font: 600 .85rem/1.1 var(--font-head); }
.serp__stars { display: flex; gap: 1px; color: #E8A93B; }
.serp__stars .icon { width: 11px; height: 11px; }
.serp__meta { font-size: .68rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp__call { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; flex-shrink: 0; }
.serp__call .icon { width: 15px; height: 15px; }
.serp__item--you { border-color: rgba(200,169,106,.7); background: linear-gradient(90deg, #FFF8EA, #fff); box-shadow: 0 8px 20px -12px rgba(138,106,50,.6); position: relative; z-index: 1; animation: climb 1.1s var(--ease) 1.4s both; }
.serp__item--you .serp__rank { background: var(--gold); color: var(--espresso-ink); }
.serp__item:not(.serp__item--you) { animation: drop 1.1s var(--ease) 1.4s both; }
.skeleton { display: block; height: 8px; border-radius: 4px; background: var(--cream-deep); }
.w-70 { width: 70%; } .w-60 { width: 60%; } .w-45 { width: 45%; } .w-35 { width: 35%; }

.float-chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(46, 28, 25, .72); border: 1px solid var(--line-light); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); color: var(--champagne); }
.float-chip strong { display: block; font: 600 .88rem/1.2 var(--font-head); }
.float-chip small { display: block; font-size: .72rem; color: rgba(244,228,201,.65); }
.float-chip__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(200,169,106,.18); color: var(--gold-light); }
.float-chip__icon .icon { width: 18px; height: 18px; }
.float-chip__icon--green { background: rgba(34,197,94,.16); color: #4ADE80; }
.float-chip--growth { top: 9%; left: 2%; animation: floatY 8s ease-in-out -2s infinite; }
.float-chip--gbp { right: -4%; bottom: 30%; animation: floatY 9s ease-in-out -5s infinite; }
.sparkline { width: 72px; height: 26px; }
.sparkline path { fill: none; stroke: #4ADE80; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 110; stroke-dashoffset: 110; animation: draw 1.6s var(--ease) 1.8s forwards; }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 1.5px solid rgba(244,228,201,.35); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: scrollHint 2s var(--ease) infinite; }

@media (max-width: 980px) {
	.hero { min-height: 0; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__copy { text-align: left; }
	.hero__visual { min-height: 0; aspect-ratio: 1 / .95; max-width: 560px; width: 100%; margin-inline: auto; }
	.hero__scroll { display: none; }
}
@media (max-width: 560px) {
	.hero__actions .btn { width: 100%; }
	.hero__visual { aspect-ratio: auto; min-height: 0; display: flex; flex-direction: column; align-items: center; }
	.hero__portrait { position: relative; width: 100%; aspect-ratio: 4 / 3.6; }
	.serp { position: relative; left: auto; bottom: auto; width: 92%; margin-top: -90px; }
	.float-chip--growth { top: 14px; left: 14px; padding: 10px 12px; }
	.float-chip--growth .sparkline { display: none; }
	.float-chip--gbp { display: none; }
}

/* ---------- 6. Industries strip ---------- */
.industries { background: var(--espresso-ink); color: var(--champagne); border-block: 1px solid var(--line-light); }
.industries__inner { display: flex; align-items: center; gap: 32px; padding-block: 22px; }
.industries__label { flex-shrink: 0; font: 600 .78rem/1.3 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.marquee { position: relative; display: flex; overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; flex-shrink: 0; align-items: center; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: inline-flex; align-items: center; font: 500 1rem/1 var(--font-head); color: rgba(244,228,201,.78); white-space: nowrap; padding-inline: 22px; }
.marquee__track li::after { content: ""; width: 6px; height: 6px; margin-left: 44px; transform: rotate(45deg); background: var(--gold); opacity: .7; }
.marquee__track li { padding-inline: 0 0; }
.marquee__track li + li, .marquee__track li:first-child { margin-left: 44px; }
@media (max-width: 760px) {
	.industries__inner { flex-direction: column; align-items: stretch; gap: 14px; text-align: center; }
}

/* ---------- 7. Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--dark { isolation: isolate; overflow: hidden; color: var(--champagne); background: linear-gradient(170deg, var(--espresso-ink), var(--espresso) 60%, #57382F); margin-inline: clamp(0px, 1.2vw, 16px); border-radius: clamp(0px, 3vw, 40px); }
.section--cream-deep { background: var(--cream-deep); }

.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 68px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--left { margin-bottom: 28px; }
.section-title { font-size: clamp(1.95rem, 2.6vw + 1rem, 3rem); font-weight: 600; color: var(--espresso); text-wrap: balance; }
.section--dark .section-title { color: var(--champagne); }
.section--dark .eyebrow { color: var(--gold); }
.section-lead { margin-top: 18px; font-size: 1.1rem; color: var(--muted); text-wrap: pretty; }
.section--dark .section-lead { color: rgba(244,228,201,.72); }
.section-head--center .section-lead { max-width: 620px; margin-inline: auto; }

.prose p + p { margin-top: 1.05em; }
.prose p { color: #4D3C37; }
.prose em { font-style: normal; color: var(--espresso); font-weight: 600; }

/* ---------- 8. About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.about__panel { position: relative; padding: clamp(26px, 3vw, 36px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.about__panel::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(200,169,106,.75), transparent 40%, transparent 70%, rgba(200,169,106,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { padding: 20px; border-radius: 16px; background: linear-gradient(150deg, var(--espresso), var(--mocha)); color: var(--champagne); }
.stat__num { display: block; font: 700 clamp(2.2rem, 3vw, 2.8rem)/1 var(--font-head); letter-spacing: -.03em; color: var(--gold-light); }
.stat__label { display: block; margin-top: 8px; font-size: .85rem; line-height: 1.4; color: rgba(244,228,201,.75); }
.about__panel-title { margin: 28px 0 14px; font-size: 1rem; color: var(--espresso); }
.skill-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.skill-list li { display: flex; align-items: flex-start; gap: 9px; font-size: .92rem; line-height: 1.35; color: #4D3C37; }
.skill-list .icon { width: 17px; height: 17px; margin-top: 1px; padding: 2px; border-radius: 50%; background: rgba(34,197,94,.14); color: #15803D; }
.resume-link { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--cream); transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; }
.resume-link:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.resume-link strong { display: block; font: 600 .95rem/1.2 var(--font-head); color: var(--espresso); }
.resume-link small { display: block; font-size: .8rem; color: var(--muted); }
.resume-link__icon { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--espresso); color: var(--gold-light); }
.resume-link__arrow { margin-left: auto; color: var(--gold-deep); transition: transform .35s var(--ease); }
.resume-link:hover .resume-link__arrow { transform: translate(3px, -3px); }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .skill-list { grid-template-columns: 1fr; } }

/* ---------- 9. Services ---------- */
.services { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card {
	--mx: 50%; --my: 0%;
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; flex-direction: column;
	padding: 28px 24px 24px; border-radius: var(--radius);
	background: var(--paper); border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(200,169,106,.16), transparent 45%); opacity: 0; transition: opacity .4s; }
.service-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--mocha)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(200,169,106,.45); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__num { position: absolute; top: 22px; right: 22px; font: 600 .8rem/1 var(--font-head); color: rgba(74,46,42,.28); letter-spacing: .05em; }
.service-card__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: var(--gold-light); background: linear-gradient(145deg, var(--espresso), var(--mocha)); box-shadow: 0 10px 22px -12px rgba(74,46,42,.9); transition: transform .5s var(--ease-spring); }
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card:hover .service-card__icon { transform: translateY(-2px) rotate(-6deg) scale(1.05); }
.service-card__title { margin-top: 22px; font-size: 1.12rem; color: var(--espresso); }
.service-card__text { margin-top: 10px; font-size: .93rem; line-height: 1.6; color: var(--muted); flex: 1; }
.service-card .tag-list { margin-top: 18px; }
.services__note { margin-top: 44px; text-align: center; color: var(--muted); }
.services__note a { color: var(--espresso); font-weight: 600; border-bottom: 1.5px solid var(--gold); }
.services__note a:hover { color: var(--gold-deep); }
@media (max-width: 1100px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- 10. Process timeline ---------- */
.timeline-wrap { position: relative; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.timeline__line { position: absolute; left: 12.5%; right: 12.5%; top: 32px; height: 2px; background: rgba(244,228,201,.14); border-radius: 2px; }
.timeline__progress { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold-light), var(--gold)); transform-origin: left; transform: scaleX(var(--progress, 0)); border-radius: inherit; box-shadow: 0 0 14px rgba(200,169,106,.6); transition: transform .2s linear; }
.timeline__step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.timeline__node { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--espresso-ink); color: var(--gold-light); border: 2px solid rgba(200,169,106,.5); box-shadow: 0 0 0 8px rgba(46,28,25,.8); transition: background-color .5s, color .5s, border-color .5s, transform .5s var(--ease-spring); }
.timeline__node .icon { width: 26px; height: 26px; }
.timeline__step.is-reached .timeline__node { background: var(--gold); color: var(--espresso-ink); border-color: var(--gold-light); transform: scale(1.06); }
.timeline__card { margin-top: 26px; padding: 26px 22px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid var(--line-light); backdrop-filter: blur(6px); flex: 1; width: 100%; transition: transform .5s var(--ease), border-color .4s, background-color .4s; }
.timeline__card:hover { transform: translateY(-4px); border-color: rgba(200,169,106,.45); background: rgba(255,255,255,.06); }
.timeline__count { font: 600 .75rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.timeline__card h3 { margin-top: 12px; font-size: 1.15rem; color: var(--champagne); }
.timeline__card p { margin-top: 10px; font-size: .93rem; color: rgba(244,228,201,.72); }
.timeline__card .timeline__output { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-light); font-size: .83rem; font-weight: 500; color: var(--gold-light); text-align: left; }
.timeline__output .icon { width: 16px; height: 16px; margin-top: 2px; color: #4ADE80; }
@media (max-width: 980px) {
	.timeline { grid-template-columns: 1fr; gap: 18px; padding-left: 0; }
	.timeline__line { left: 31px; right: auto; top: 32px; bottom: 32px; width: 2px; height: auto; }
	.timeline__progress { transform: scaleY(var(--progress, 0)); transform-origin: top; background: linear-gradient(180deg, var(--gold-light), var(--gold)); }
	.timeline__step { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; }
	.timeline__node { flex-shrink: 0; }
	.timeline__card { margin-top: 0; }
	.timeline__card .timeline__output { justify-content: flex-start; }
}
@media (max-width: 480px) {
	.timeline__node { width: 52px; height: 52px; box-shadow: 0 0 0 6px rgba(46,28,25,.8); }
	.timeline__node .icon { width: 22px; height: 22px; }
	.timeline__line { left: 25px; }
	.timeline__step { gap: 14px; }
	.timeline__card { padding: 22px 18px; }
}

/* ---------- 11. Work / portfolio ---------- */
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -16px auto 40px; }
.filter__btn { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: 500 .9rem/1.2 var(--font-head); color: var(--muted); transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.filter__btn:hover { border-color: var(--gold); color: var(--espresso); }
.filter__btn.is-active { background: var(--espresso); border-color: var(--espresso); color: var(--champagne); }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project.is-hidden { display: none; }
.project.is-filtered-in { animation: fadeUp .55s var(--ease) both; }
.project__inner { height: 100%; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.project__inner:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; overflow: hidden; background: linear-gradient(145deg, var(--cream-deep), #E6DCCB); cursor: zoom-in; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project--gbp .project__media img, .project--seo .project__media img { object-fit: contain; padding: clamp(14px, 3vw, 26px); filter: drop-shadow(0 10px 20px rgba(46,28,25,.18)); }
.project__inner:hover .project__media img { transform: scale(1.04); }
.project__zoom { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(36,22,20,.75); color: var(--champagne); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease-spring); }
.project__zoom .icon { width: 18px; height: 18px; }
.project__media:hover .project__zoom, .project__media:focus-visible .project__zoom { opacity: 1; transform: none; }
.project__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.project__industry { font: 600 .75rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.project__title { margin-top: 10px; font-size: 1.3rem; color: var(--espresso); }
.project__text { margin-top: 10px; font-size: .95rem; color: var(--muted); flex: 1; }
.project__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.project__link { display: inline-flex; align-items: center; gap: 6px; font: 600 .9rem/1 var(--font-head); color: var(--espresso); transition: color .2s; }
.project__link .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.project__link:hover { color: var(--gold-deep); }
.project__link:hover .icon { transform: translate(3px, -3px); }
@media (max-width: 760px) { .project-grid { grid-template-columns: 1fr; } .project__body { padding: 22px 20px 22px; } }

/* ---------- 12. Why ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.why__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.why__intro .section-title { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); }
.why__intro .btn { margin-top: 32px; }
.reason-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.reason { padding: 26px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.reason:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(200,169,106,.45); }
.reason:nth-child(even) { transform: translateY(28px); }
.reason:nth-child(even):hover { transform: translateY(24px); }
.reason__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(200,169,106,.18); color: var(--gold-deep); transition: background-color .3s, color .3s; }
.reason:hover .reason__icon { background: var(--espresso); color: var(--gold-light); }
.reason__icon .icon { width: 22px; height: 22px; }
.reason h3 { margin-top: 18px; font-size: 1.08rem; color: var(--espresso); }
.reason p { margin-top: 8px; font-size: .93rem; color: var(--muted); }
@media (max-width: 980px) { .why__grid { grid-template-columns: 1fr; } .why__intro { position: static; } }
@media (max-width: 600px) { .reason-grid { grid-template-columns: 1fr; } .reason:nth-child(even), .reason:nth-child(even):hover { transform: none; } }

/* ---------- 13. FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__ask { margin-top: 8px; padding: 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.faq__ask p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.faq__ask strong { color: var(--espresso); }
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; list-style: none; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary h3 { font-size: clamp(1rem, .4vw + .95rem, 1.12rem); font-weight: 600; color: var(--espresso); transition: color .2s; }
.accordion__item summary:hover h3 { color: var(--gold-deep); }
.accordion__icon { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--espresso); transition: transform .45s var(--ease), background-color .3s, color .3s, border-color .3s; }
.accordion__icon .icon { width: 18px; height: 18px; }
.accordion__item[open] .accordion__icon { transform: rotate(45deg); background: var(--espresso); border-color: var(--espresso); color: var(--gold-light); }
.accordion__panel { padding: 0 56px 24px 4px; color: var(--muted); }
.accordion__item[open] .accordion__panel { animation: fadeDown .45s var(--ease) both; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__intro { position: static; } .accordion__panel { padding-right: 8px; } }

/* ---------- 14. Final CTA ---------- */
.cta { padding: 0 0 var(--section-y); }
.cta__card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(36px, 6vw, 72px); border-radius: var(--radius-lg); color: var(--champagne); background: linear-gradient(150deg, var(--espresso-ink), var(--espresso) 55%, var(--mocha)); box-shadow: var(--shadow-lg); }
.cta__bg .hero__glow--1 { width: 420px; height: 420px; top: -180px; right: -80px; }
.cta__bg .hero__glow--2 { width: 380px; height: 380px; }
.cta__title { font-size: clamp(1.85rem, 2.6vw + 1rem, 3rem); font-weight: 700; line-height: 1.12; text-wrap: balance; }
.cta__lead { margin-top: 18px; max-width: 40em; color: rgba(244,228,201,.76); }
.cta__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta__points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: .88rem; color: rgba(244,228,201,.7); }
.cta__points li { display: inline-flex; align-items: center; gap: 7px; }
.cta__points .icon { width: 16px; height: 16px; color: #4ADE80; }
.contact-list { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--line-light); backdrop-filter: blur(8px); transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.contact-card:hover { background: rgba(255,255,255,.09); border-color: rgba(200,169,106,.55); transform: translateX(4px); }
.contact-card small { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.contact-card strong { display: block; font: 600 .98rem/1.3 var(--font-head); color: var(--champagne); word-break: break-word; }
.contact-card__icon { width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; background: rgba(200,169,106,.16); color: var(--gold-light); }
.contact-card__arrow { margin-left: auto; width: 18px; height: 18px; color: rgba(244,228,201,.5); transition: transform .35s var(--ease), color .3s; }
.contact-card:hover .contact-card__arrow { color: var(--gold); transform: translate(3px, -3px); }
@media (max-width: 900px) { .cta__card { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cta__actions .btn { width: 100%; } .cta__card { border-radius: 24px; } .cta .container { padding-inline: 12px; } }

/* ---------- 15. Footer ---------- */
.site-footer { position: relative; padding: clamp(64px, 8vw, 96px) 0 28px; color: rgba(244,228,201,.75); background: var(--espresso-ink); border-radius: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.3fr; gap: 40px; }
.site-footer__brand p { margin-top: 18px; max-width: 34ch; font-size: .95rem; }
.brand--footer img { height: 62px; }
.site-footer h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col a, .site-footer__col span { font-size: .93rem; transition: color .2s; }
.site-footer__col a:hover { color: var(--gold-light); }
.site-footer__contact li a, .site-footer__contact li span { display: inline-flex; align-items: center; gap: 10px; word-break: break-word; }
.site-footer__contact .icon { width: 17px; height: 17px; color: var(--gold); }
.site-footer__col .btn { margin-top: 22px; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); color: var(--champagne); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease-spring); }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--espresso-ink); transform: translateY(-3px); }
.social .icon { width: 19px; height: 19px; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: .85rem; }
.to-top { display: inline-flex; align-items: center; gap: 6px; color: var(--champagne); }
.to-top .icon { width: 16px; height: 16px; transform: rotate(-45deg); transition: transform .35s var(--ease); }
.to-top:hover { color: var(--gold-light); }
.to-top:hover .icon { transform: rotate(-45deg) translate(2px, -2px); }
@media (max-width: 980px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- 16. Lightbox ---------- */
.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-lg); overflow: visible; }
.lightbox::backdrop { background: rgba(20, 12, 10, .82); backdrop-filter: blur(6px); }
.lightbox[open] { animation: zoomIn .4s var(--ease) both; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 20px 20px 0 0; background: var(--cream-deep); }
.lightbox__caption { padding: 14px 20px; font: 500 .95rem/1.4 var(--font-head); color: var(--espresso); }
.lightbox__close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--gold); color: var(--espresso-ink); box-shadow: var(--shadow); }
@media (max-width: 560px) { .lightbox__close { top: 8px; right: 8px; } }

/* ---------- 17. Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .reason[data-reveal].is-visible:nth-child(even) { transform: translateY(28px); }
@media (max-width: 600px) { .js .reason[data-reveal].is-visible:nth-child(even) { transform: none; } }
.js .service-card[data-reveal].is-visible, .js .project[data-reveal].is-visible, .js .reason[data-reveal].is-visible { transition: opacity .9s var(--ease) calc(var(--d, 0) * 90ms), transform .5s var(--ease), box-shadow .5s, border-color .3s; }

.js [data-enter] { opacity: 0; animation: enter 1s var(--ease) forwards; animation-delay: calc(var(--e, 0) * 110ms + 150ms); }
[data-enter="1"] { --e: 0; } [data-enter="2"] { --e: 1; } [data-enter="3"] { --e: 2; } [data-enter="4"] { --e: 3; } [data-enter="5"] { --e: 4; }
.js .hero__visual[data-enter] { animation-name: enterVisual; animation-duration: 1.3s; }

@keyframes enter { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes enterVisual { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes navItem { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 50px) scale(1.12); } }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.12) translateX(-2%); } }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes pulse { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pinDrop { from { opacity: 0; transform: translateY(-30px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes climb { from { transform: translateY(calc((var(--row) + 6px) * 2)); } to { transform: none; } }
@keyframes drop { from { transform: translateY(calc((var(--row) + 6px) * -1)); } to { transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.js [data-reveal], .js [data-enter] { opacity: 1 !important; transform: none !important; }
	.js .reason[data-reveal]:nth-child(even) { transform: translateY(28px) !important; }
	.marquee { mask-image: none; -webkit-mask-image: none; }
	.marquee__track { flex-wrap: wrap; justify-content: center; flex-shrink: 1; row-gap: 10px; }
	.marquee__track[aria-hidden="true"] { display: none; }
	.hero__portrait img { transform: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 600px) {
	.js .reason[data-reveal]:nth-child(even) { transform: none !important; }
}

/* ---------- 18. Guard against Elementor global kit styles (always win) ---------- */
body.mr-site :is(h1, h2, h3, h4) { font-family: var(--font-head); text-transform: none; }
body.mr-site .hero__title, body.mr-site .cta__title { color: var(--champagne); font-size: clamp(2.35rem, 4.5vw + .2rem, 4rem); }
body.mr-site .cta__title { font-size: clamp(1.85rem, 2.6vw + 1rem, 3rem); }
body.mr-site .section-title { color: var(--espresso); font-size: clamp(1.95rem, 2.6vw + 1rem, 3rem); font-weight: 600; }
body.mr-site .why__intro .section-title { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); }
body.mr-site .section--dark .section-title { color: var(--champagne); }
body.mr-site .service-card__title { color: var(--espresso); font-size: 1.12rem; }
body.mr-site .project__title { color: var(--espresso); font-size: 1.3rem; }
body.mr-site .reason h3 { color: var(--espresso); font-size: 1.08rem; }
body.mr-site .about__panel-title { color: var(--espresso); font-size: 1rem; }
body.mr-site .timeline__card h3 { color: var(--champagne); font-size: 1.15rem; }
body.mr-site .accordion__item summary h3 { color: var(--espresso); font-size: clamp(1rem, .4vw + .95rem, 1.12rem); }
body.mr-site .accordion__item summary:hover h3 { color: var(--gold-deep); }
body.mr-site .site-footer h3 { color: var(--gold); font-size: .8rem; }
body.mr-site .site-nav__link { color: rgba(244, 228, 201, .85); }
body.mr-site .site-nav__link:hover, body.mr-site .site-nav__link.is-active { color: var(--champagne); }
body.mr-site .btn--gold { color: var(--espresso-ink); }
body.mr-site .btn--ghost-light, body.mr-site .btn--dark, body.mr-site .btn--outline-light { color: var(--champagne); }
body.mr-site .btn--outline-light:hover { color: var(--gold-light); }
body.mr-site .project__link, body.mr-site .text-link, body.mr-site .services__note a, body.mr-site .resume-link { color: var(--espresso); }
body.mr-site .project__link:hover, body.mr-site .text-link:hover, body.mr-site .services__note a:hover { color: var(--gold-deep); }
body.mr-site .site-footer a, body.mr-site .to-top, body.mr-site .contact-card, body.mr-site .social a, body.mr-site .site-nav__contact { color: var(--champagne); }
body.mr-site .site-footer__col a { color: rgba(244, 228, 201, .75); }
body.mr-site .site-footer__col a:hover, body.mr-site .to-top:hover { color: var(--gold-light); }
body.mr-site .social a:hover { color: var(--espresso-ink); }
body.mr-site .brand, body.mr-site .project__media { color: inherit; }
body.mr-site .filter__btn { color: var(--muted); }
body.mr-site .filter__btn.is-active { color: var(--champagne); }
