/* =========================================================================
   Happy Advertising — main stylesheet
   ========================================================================= */

@font-face {
	font-family: "Mona Sans";
	src: url("../fonts/mona-sans-latin-ext.woff2") format("woff2");
	font-weight: 200 900;
	font-stretch: 75% 125%;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Mona Sans";
	src: url("../fonts/mona-sans-latin.woff2") format("woff2");
	font-weight: 200 900;
	font-stretch: 75% 125%;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--orange: #ff7f29;
	--orange-600: #ec6810;
	--orange-700: #c9530a;
	--orange-50: #fff4ec;
	--orange-100: #ffe4d1;
	--ink: #0b0b0b;
	--ink-2: #17171a;
	--ink-3: #26262b;
	--muted: #5e5e68;
	--muted-2: #8a8a94;
	--line: #ebe8e3;
	--line-2: #dcd8d1;
	--bg: #ffffff;
	--soft: #faf7f2;
	--peach: #ffd2b5;
	--lilac: #e3d9ff;
	--sky: #d4e9ff;
	--ok: #1fa463;

	--font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--w-max: 1240px;
	--w-prose: 760px;
	--gutter: clamp(16px, 4vw, 32px);
	--r-sm: 10px;
	--r: 18px;
	--r-lg: 28px;
	--r-xl: 40px;
	--shadow-sm: 0 1px 2px rgba(11, 11, 11, .06), 0 2px 8px rgba(11, 11, 11, .04);
	--shadow: 0 10px 30px -12px rgba(11, 11, 11, .18);
	--shadow-lg: 0 30px 60px -24px rgba(11, 11, 11, .28);
	--glow: 0 18px 40px -14px rgba(255, 127, 41, .55);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 76px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-600); }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.15rem; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 999; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 999px; transform: translateY(-200%); }
.skip-link:focus { transform: none; color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: calc(var(--w-max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.hl { color: var(--orange); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-3); }
.center-row { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }

/* --------------------------------------------------------------- eyebrow */
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 18px;
	font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--ink-3);
}
.eyebrow::before {
	content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--orange);
	box-shadow: 0 0 0 4px rgba(255, 127, 41, .18);
}
.section--dark .eyebrow, .cta-band .eyebrow, .cta-inline .eyebrow { color: rgba(255, 255, 255, .78); }

/* --------------------------------------------------------------- buttons */
.btn {
	--b-bg: var(--ink); --b-fg: #fff; --b-ic: var(--orange); --b-icfg: #fff; --b-bd: transparent;
	display: inline-flex; align-items: center; gap: 12px;
	padding: 7px 7px 7px 24px; min-height: 52px;
	border-radius: 999px; border: 1.5px solid var(--b-bd);
	background: var(--b-bg); color: var(--b-fg);
	font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn__icon {
	display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
	background: var(--b-ic); color: var(--b-icfg);
	transition: transform .35s var(--ease);
}
.btn__icon .icon { width: 18px; height: 18px; }
.btn:hover { color: var(--b-fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn:hover .icon-whatsapp, .btn:hover .icon-phone, .btn:hover .icon-plus { transform: rotate(45deg); }
.btn--primary { --b-bg: var(--orange); --b-ic: #fff; --b-icfg: var(--orange); }
.btn--primary:hover { --b-bg: var(--orange-600); box-shadow: var(--glow); }
.btn--ghost { --b-bg: rgba(255, 255, 255, .7); --b-fg: var(--ink); --b-bd: var(--line-2); --b-ic: var(--ink); backdrop-filter: blur(8px); }
.btn--ghost:hover { --b-bg: #fff; }
.btn--ghost-light { --b-bg: rgba(255, 255, 255, .08); --b-fg: #fff; --b-bd: rgba(255, 255, 255, .25); --b-ic: #fff; --b-icfg: var(--ink); }
.btn--ghost-light:hover { --b-bg: rgba(255, 255, 255, .16); }
.btn--outline { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink); --b-ic: var(--ink); }
.btn--outline:hover { --b-bg: var(--ink); --b-fg: #fff; --b-ic: var(--orange); }
.btn--link { --b-bg: transparent; --b-fg: var(--ink); padding-left: 4px; --b-ic: var(--orange-50); --b-icfg: var(--orange-600); }
.btn--link:hover { box-shadow: none; }
.btn--sm { min-height: 44px; padding: 5px 5px 5px 18px; font-size: .9rem; }
.btn--sm .btn__icon { width: 34px; height: 34px; }
.btn--block { width: 100%; justify-content: space-between; }
.round-btn {
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	border: 1.5px solid var(--line-2); background: #fff; color: var(--ink);
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Gutenberg buttons map onto .btn */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0; }
.wp-block-button__link {
	display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
	background: var(--orange); color: #fff; font-weight: 600; text-decoration: none;
	transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.wp-block-button__link::after { content: "→"; transition: transform .25s var(--ease); }
.wp-block-button__link:hover { color: #fff; background: var(--orange-600); transform: translateY(-2px); box-shadow: var(--glow); }
.wp-block-button__link:hover::after { transform: translateX(3px); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }

/* ---------------------------------------------------------------- header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .78);
	backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); background: rgba(255, 255, 255, .9); }
.site-header__bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { width: 138px; height: auto; }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); border: 1px solid var(--line); transition: .2s; }
.icon-link:hover { background: var(--orange-50); color: var(--orange-600); border-color: var(--orange-100); }
.icon-link .icon { width: 19px; height: 19px; }

.nav { margin-left: 16px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: static; }
.nav__link {
	display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px;
	font-weight: 550; font-size: .95rem; text-decoration: none; color: var(--ink);
	transition: background .2s, color .2s;
}
.nav__chev { width: 15px; height: 15px; transition: transform .25s; }
.nav__item:hover > .nav__link, .nav__item.is-open > .nav__link { background: var(--soft); }
.nav__item.is-current > .nav__link { color: var(--orange-600); }
.nav__item:hover .nav__chev, .nav__item.is-open .nav__chev { transform: rotate(180deg); }
.nav__item.has-panel { position: relative; }

.dropdown, .mega {
	position: absolute; top: calc(100% + 8px); left: 50%;
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
	transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav__item.has-panel::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.nav__item:hover > .dropdown, .nav__item:hover > .mega, .nav__item.is-open > .dropdown, .nav__item.is-open > .mega,
.nav__item:focus-within > .dropdown, .nav__item:focus-within > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown ul { list-style: none; margin: 0; padding: 8px; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); }
.dropdown__link { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: .95rem; }
.dropdown__link:hover, .dropdown__link.is-current { background: var(--orange-50); color: var(--orange-700); }

.mega__inner {
	display: grid; grid-template-columns: 260px 1fr; gap: 8px; width: min(760px, 92vw); padding: 10px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.mega__intro {
	display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 20px; text-decoration: none;
	background: radial-gradient(120% 90% at 0% 0%, var(--peach), transparent 60%), radial-gradient(90% 90% at 100% 100%, var(--lilac), transparent 60%), var(--soft);
}
.mega__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--orange); margin-bottom: 8px; }
.mega__title { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.mega__tag { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.mega__all { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-weight: 600; font-size: .9rem; }
.mega__all .icon { width: 16px; height: 16px; transition: transform .25s; }
.mega__intro:hover .mega__all .icon { transform: translateX(4px); }
.mega__grid { list-style: none; margin: 0; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; align-content: start; }
.mega__link { display: block; padding: 12px 14px; border-radius: 14px; text-decoration: none; transition: background .2s; }
.mega__link:hover, .mega__link.is-current { background: var(--soft); color: var(--ink); }
.mega__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; font-size: .95rem; }
.mega__name .icon { width: 15px; height: 15px; opacity: 0; transform: translate(-4px, 4px); transition: .25s var(--ease); color: var(--orange); }
.mega__link:hover .mega__name .icon { opacity: 1; transform: none; }
.mega__desc { display: block; margin-top: 2px; color: var(--muted); font-size: .82rem; line-height: 1.4; }

.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; right: 18px; }
.burger span:nth-child(3) { top: 29px; }

/* drawer (mobile) */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(11, 11, 11, .45); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.drawer.is-open { opacity: 1; }
.drawer__panel {
	position: absolute; inset: 0 0 0 auto; width: min(440px, 100%); background: #fff;
	display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
	transform: translateX(100%); transition: transform .4s var(--ease);
	padding: 0 20px calc(20px + env(safe-area-inset-bottom));
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); position: sticky; top: 0; background: #fff; z-index: 1; }
.mnav__list { list-style: none; margin: 8px 0 24px; padding: 0; }
.mnav__item { border-bottom: 1px solid var(--line); }
.mnav__row { display: flex; align-items: center; justify-content: space-between; }
.mnav__link { display: block; flex: 1; padding: 16px 0; font-size: 1.25rem; font-weight: 650; letter-spacing: -.02em; text-decoration: none; }
.mnav__item.is-current > .mnav__row .mnav__link, .mnav__item.is-current > .mnav__link { color: var(--orange-600); }
.mnav__toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
.mnav__toggle .icon { transition: transform .3s var(--ease); }
.mnav__toggle[aria-expanded="true"] { background: var(--ink); color: #fff; }
.mnav__toggle[aria-expanded="true"] .icon { transform: rotate(45deg); }
.mnav__sub { list-style: none; margin: 0 0 16px; padding: 4px 0 4px 14px; border-left: 2px solid var(--orange); }
.mnav__sub a { display: block; padding: 9px 0; color: var(--muted); text-decoration: none; font-weight: 500; }
.mnav__sub a:hover { color: var(--ink); }
.drawer__foot { margin-top: auto; display: grid; gap: 16px; }
.drawer__contact { display: grid; gap: 6px; }
.drawer__contact a { display: flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; padding: 6px 0; }
.drawer__contact .icon { color: var(--orange); width: 18px; height: 18px; }
body.drawer-open { overflow: hidden; }

/* ---------------------------------------------------------------- aurora */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; will-change: transform; animation: drift 22s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; background: var(--peach); top: -30%; right: -10%; }
.aurora span:nth-child(2) { width: 40vw; height: 40vw; max-width: 600px; max-height: 600px; background: var(--lilac); bottom: -35%; left: -8%; animation-duration: 26s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 30vw; height: 30vw; max-width: 460px; max-height: 460px; background: var(--sky); top: 10%; left: 30%; opacity: .5; animation-duration: 30s; animation-delay: -12s; }
.aurora--home span:nth-child(1) { background: radial-gradient(circle, #ffb98a, var(--peach)); }
.aurora--soft span { opacity: .45; }
.aurora--dark span { opacity: .22; filter: blur(90px); }
.aurora--dark span:nth-child(1) { background: var(--orange); top: -40%; right: -20%; }
.aurora--dark span:nth-child(2) { background: #7a5cff; bottom: -50%; left: -20%; }
@keyframes drift {
	0% { transform: translate3d(0, 0, 0) scale(1); }
	50% { transform: translate3d(-4%, 6%, 0) scale(1.08); }
	100% { transform: translate3d(5%, -3%, 0) scale(.96); }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #fffaf6 0%, #fff 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, #fff); z-index: 0; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); }
.hero--split .hero__inner, .hero--home .hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero--center .hero__copy { max-width: 880px; margin-inline: auto; text-align: center; }
.hero--center .crumbs ol, .hero--center .hero__actions { justify-content: center; }
.hero--compact .hero__inner { padding-block: clamp(32px, 5vw, 64px) clamp(40px, 5vw, 64px); }
.hero__title { margin-bottom: .35em; }
.hero__title--xl { font-size: clamp(2.7rem, 7.4vw, 6rem); line-height: 1; letter-spacing: -.045em; font-weight: 750; }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--ink-3); max-width: 640px; }
.hero--center .hero__lead { margin-inline: auto; }
.hero__lead p:last-child { margin-bottom: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__visual { position: relative; }
.hero__frame {
	position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4;
	box-shadow: var(--shadow-lg); background: var(--soft);
	transform: rotate(1.5deg);
}
.hero__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
	position: absolute; left: -24px; bottom: 28px; display: flex; align-items: center; gap: 12px;
	padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px);
	box-shadow: var(--shadow); font-size: .85rem; line-height: 1.25; color: var(--muted);
}
.hero__badge strong { font-size: 2rem; letter-spacing: -.04em; color: var(--orange); }
.hero__badge--alt { left: auto; right: -16px; bottom: auto; top: 24px; color: var(--ink); font-weight: 600; }
.hero__badge--alt .icon { width: 30px; height: 30px; color: var(--ok); }
.float { animation: float 6s ease-in-out infinite; }
.float--delay { animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.hero__trust { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.hero__trust li { display: flex; flex-direction: column; line-height: 1.2; }
.hero__trust strong { font-size: 1.6rem; letter-spacing: -.03em; }
.hero__trust span { font-size: .85rem; color: var(--muted); }
.hero__trust .hero__iso { flex-direction: row; align-items: center; gap: 8px; }
.hero__iso img { width: 34px; height: auto; }

/* orbit */
.orbit { position: relative; width: min(520px, 100%); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(11, 11, 11, .14); animation: spin 60s linear infinite; }
.orbit__ring--1 { inset: 17%; }
.orbit__ring--2 { inset: 0; animation-duration: 90s; animation-direction: reverse; }
.orbit__chip {
	position: absolute; top: 50%; left: 50%; width: 0; height: 0;
	transform: rotate(calc(360deg / var(--n) * var(--i))) translateY(var(--rad));
}
.orbit__ring--1 .orbit__chip { --rad: -33cqw; }
.orbit__ring--2 .orbit__chip { --rad: -50cqw; }
.orbit__chip > span {
	position: absolute; transform: translate(-50%, -50%) rotate(calc(-360deg / var(--n) * var(--i)));
	white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
	box-shadow: var(--shadow); font-weight: 600; font-size: .88rem;
	animation: counter-spin 60s linear infinite;
}
.orbit__ring--2 .orbit__chip > span { animation: counter-spin-rev 90s linear infinite; }
.orbit__ring--1 .orbit__chip:nth-child(odd) > span { background: var(--ink); color: #fff; border-color: var(--ink); }
.orbit__ring--2 .orbit__chip:nth-child(3n) > span { background: var(--orange); color: #fff; border-color: var(--orange); }
.orbit__core {
	position: absolute; inset: 36%; display: grid; place-items: center; border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #fff, #fff3ea); box-shadow: 0 0 0 14px rgba(255, 127, 41, .08), 0 0 0 30px rgba(255, 127, 41, .05), var(--glow);
	animation: pulse 4s ease-in-out infinite;
}
.orbit__core img { width: 58%; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counter-spin { from { transform: translate(-50%, -50%) rotate(calc(-360deg / var(--n) * var(--i))); } to { transform: translate(-50%, -50%) rotate(calc(-360deg / var(--n) * var(--i) - 360deg)); } }
@keyframes counter-spin-rev { from { transform: translate(-50%, -50%) rotate(calc(-360deg / var(--n) * var(--i))); } to { transform: translate(-50%, -50%) rotate(calc(-360deg / var(--n) * var(--i) + 360deg)); } }
@keyframes pulse { 50% { transform: scale(1.04); } }

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--orange-600); }
.crumbs [aria-current] span { color: var(--ink); font-weight: 500; }

/* -------------------------------------------------------------- sections */
.section { position: relative; isolation: isolate; padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(32px, 4vw, 56px) clamp(64px, 8vw, 112px); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #fff; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .container { position: relative; z-index: 1; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--dark .section-head p { color: rgba(255, 255, 255, .7); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.section-head--row > div { max-width: 720px; }
.section-head--row > p { max-width: 420px; margin: 0; }
.section-head h2 { margin-bottom: .3em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.split--top { align-items: start; }
.split--center { align-items: center; }
.prose > :last-child { margin-bottom: 0; }
.prose--light { color: rgba(255, 255, 255, .8); }

/* ----------------------------------------------------------------- cards */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--orange-50); color: var(--orange-600); margin-bottom: 20px; }
.card--glass { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.card--glass p { color: rgba(255, 255, 255, .7); }
.card--glass .card__icon { background: rgba(255, 127, 41, .15); color: var(--orange); }

/* bento (home services) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento__card {
	position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 3vw, 38px);
	border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); overflow: hidden; isolation: isolate;
	transition: transform .35s var(--ease), box-shadow .35s;
}
.bento__card::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--peach); filter: blur(60px); opacity: 0; transition: opacity .5s; z-index: -1; }
.bento__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bento__card:hover::before { opacity: .8; }
.bento__card--1 { grid-column: span 4; background: var(--ink); color: #fff; border-color: var(--ink); }
.bento__card--1::before { background: var(--orange); opacity: .35; }
.bento__card--2 { grid-column: span 2; }
.bento__card--3 { grid-column: span 3; }
.bento__card--4 { grid-column: span 3; background: linear-gradient(135deg, var(--orange-50), #fff 60%); }
.bento__top { display: flex; justify-content: space-between; align-items: center; }
.bento__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--orange); color: #fff; }
.bento__icon .icon { width: 26px; height: 26px; }
.bento__num { font-size: .85rem; font-weight: 600; color: var(--muted-2); letter-spacing: .1em; }
.bento__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 6px 0 0; }
.bento__title a { text-decoration: none; }
.bento__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.bento__text { color: var(--muted); margin: 0; max-width: 520px; }
.bento__card--1 .bento__text { color: rgba(255, 255, 255, .72); }
.bento__chips { position: relative; z-index: 1; list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; padding-right: 56px; }
.bento__chips a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .85rem; font-weight: 550; text-decoration: none; background: rgba(255, 255, 255, .6); transition: .2s; }
.bento__chips a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.bento__card--1 .bento__chips a { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; }
.bento__card--1 .bento__chips a:hover { background: var(--orange); border-color: var(--orange); }
.bento__go { position: absolute; right: 22px; bottom: 22px; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .35s var(--ease), background .2s; }
.bento__card--1 .bento__go { background: var(--orange); }
.bento__card:hover .bento__go { transform: rotate(45deg); background: var(--orange); }

/* service child cards */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.svc-card {
	position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: 26px;
	border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-decoration: none;
	transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.svc-card__num { font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--orange-600); }
.svc-card__title { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.svc-card__text { color: var(--muted); font-size: .95rem; line-height: 1.5; padding-right: 30px; }
.svc-card__go { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--soft); transition: .3s var(--ease); }
.svc-card:hover .svc-card__go { background: var(--orange); color: #fff; transform: rotate(45deg); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border-radius: var(--r-lg); overflow: hidden; }
.stats--4 { grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 80px); background: var(--line); }
.stat { padding: clamp(24px, 3vw, 40px); background: var(--ink); }
.stats--4 .stat { background: #fff; }
.stat__num { margin: 0; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 750; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num em { font-style: normal; color: var(--orange); margin-left: 2px; font-size: .6em; }
.stat__label { margin: 10px 0 0; color: rgba(255, 255, 255, .65); font-size: .95rem; }
.stats--4 .stat__label { color: var(--muted); }

/* values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { position: relative; padding: 30px 26px; border-radius: var(--r-lg); background: var(--soft); border: 1px solid var(--line); transition: transform .3s var(--ease), background .3s; }
.value:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.value__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: var(--orange); margin-bottom: 28px; }
.value__num { position: absolute; top: 26px; right: 26px; font-weight: 600; color: var(--muted-2); font-size: .85rem; }
.value h3 { margin-bottom: .4em; }
.value p { color: var(--muted); font-size: .96rem; margin: 0; }

/* industries */
.ind-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ind-cloud a {
	display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
	background: #fff; border: 1px solid var(--line); font-weight: 600; text-decoration: none; transition: .25s var(--ease);
}
.ind-cloud a .icon { width: 16px; height: 16px; color: var(--orange); transition: transform .25s; }
.ind-cloud a:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.ind-cloud a:hover .icon { transform: rotate(45deg); }
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.ind-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.ind-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.ind-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.ind-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ind-card:hover .ind-card__media img { transform: scale(1.06); }
.ind-card__body { display: flex; flex-direction: column; gap: 8px; padding: 24px; flex: 1; }
.ind-card__title { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.ind-card__text { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.ind-card__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--orange-600); }
.ind-card__go .icon { width: 18px; height: 18px; transition: transform .25s; }
.ind-card:hover .ind-card__go .icon { transform: translateX(4px); }

/* ---------------------------------------------------------------- clients */
.clients { padding-block: clamp(40px, 5vw, 72px); overflow: hidden; }
.clients__head { text-align: center; margin-bottom: 32px; }
.clients__head .eyebrow { justify-content: center; }
.clients__title { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.marquee { --gap: 16px; display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: var(--gap); }
.marquee__track { display: flex; gap: var(--gap); animation: marquee 60s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: var(--gap); list-style: none; margin: 0; padding: 0; flex: none; }
.logo-chip { display: grid; place-items: center; width: 170px; height: 88px; padding: 16px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.logo-chip img { max-height: 48px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .3s; }
.logo-chip:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.logo-wall li { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: .3s; }
.logo-wall li:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.logo-wall img { max-height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .3s; }
.logo-wall li:hover img { filter: none; opacity: 1; }

/* ---------------------------------------------------------- testimonials */
.testi { padding-block: clamp(64px, 9vw, 120px); background: var(--soft); overflow: hidden; }
.testi__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.testi__title { margin: 0; }
.testi__nav { display: flex; gap: 10px; }
.testi__track {
	display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding: 10px max(var(--gutter), calc((100vw - var(--w-max)) / 2)) 30px;
	scroll-padding-inline: max(var(--gutter), calc((100vw - var(--w-max)) / 2));
}
.testi__track::-webkit-scrollbar { display: none; }
.testi__card {
	flex: 0 0 clamp(290px, 34vw, 420px); scroll-snap-align: start; margin: 0;
	display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: var(--r-lg);
	background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease);
}
.testi__card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.testi__quote { color: var(--orange); }
.testi__quote .icon { width: 34px; height: 34px; fill: currentColor; stroke: none; opacity: .9; }
.testi__card blockquote { margin: 0; flex: 1; }
.testi__card blockquote p { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.testi__card.is-long blockquote p { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.testi__card.is-open blockquote p { -webkit-line-clamp: unset; display: block; }
.testi__more { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--orange-600); font-weight: 600; font-size: .9rem; }
.testi__card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.testi__card figcaption strong { display: block; font-size: .98rem; }
.testi__card figcaption small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.3; }
.avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), #ffb27a); color: #fff; font-weight: 700; }

/* --------------------------------------------------------------- blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__ph { display: block; height: 100%; background: linear-gradient(135deg, var(--peach), var(--lilac)); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; color: var(--muted); font-size: .82rem; }
.post-card__meta > span { display: inline-flex; align-items: center; gap: 5px; }
.post-card__meta .icon { width: 15px; height: 15px; }
.tag { display: inline-flex; padding: 4px 11px; border-radius: 999px; background: var(--orange-50); color: var(--orange-700); font-weight: 600; font-size: .78rem; text-decoration: none; }
a.tag:hover { background: var(--orange); color: #fff; }
.post-card__title { font-size: 1.2rem; line-height: 1.3; margin: 0; }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { color: var(--orange-600); }
.post-card__excerpt { color: var(--muted); font-size: .95rem; margin: 0; }
.post-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); color: #fff; margin-bottom: 32px; }
.post-feature__media { display: block; min-height: 340px; }
.post-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.post-feature__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(28px, 4vw, 56px); }
.post-feature__body p { color: rgba(255, 255, 255, .72); }
.post-feature__body .post-card__meta { color: rgba(255, 255, 255, .6); }
.post-feature__body .btn { align-self: flex-start; }
.post-feature__title { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin: 0; }
.post-feature__title a { text-decoration: none; color: #fff; }
.post-feature__title a:hover { color: var(--orange); }
.filter-chips { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips a, .filter-chips button {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
	border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; transition: .2s;
}
.filter-chips small { color: var(--muted-2); font-weight: 500; }
.filter-chips a:hover, .filter-chips button:hover { border-color: var(--ink); }
.filter-chips .is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-chips .is-active small { color: rgba(255, 255, 255, .6); }
.search-pill { display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 28px auto 0; padding: 6px 8px 6px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.search-pill input { flex: 1; border: 0; outline: 0; background: none; padding: 10px 0; }
.search-pill .icon { color: var(--muted); }
.pager ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 0; margin: 48px 0 0; }
.pager a, .pager span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 600; }
.pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager a:hover { border-color: var(--ink); }
.pager .dots { border: 0; }

/* article */
.read-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; }
.read-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--orange), #ffb27a); }
.article__head { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(32px, 5vw, 64px); background: linear-gradient(180deg, #fffaf6, #fff); }
.article__head .container { position: relative; z-index: 1; }
.article__title { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 18px 0 0; }
.article__cover { margin-top: clamp(28px, 4vw, 48px); }
.article__cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.article__layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(40px, 6vw, 80px); max-width: calc(1100px + var(--gutter) * 2); }
.article__aside { position: relative; }
.article__aside > * { position: sticky; top: calc(var(--header-h) + 24px); }
.toc { padding: 20px; border-radius: var(--r); background: var(--soft); margin-bottom: 18px; max-height: calc(100vh - 220px); overflow: auto; }
.toc__title { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 8px; padding: 6px 0; font-size: .88rem; line-height: 1.35; color: var(--muted); text-decoration: none; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--orange); font-weight: 600; font-size: .78rem; padding-top: 1px; }
.toc a:hover, .toc a.is-active { color: var(--ink); }
.share { position: static !important; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share .toc__title { width: 100%; margin: 0; }
.share a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); transition: .2s; }
.share a:hover { background: var(--ink); color: #fff; }
.share .icon { width: 18px; height: 18px; }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin: 56px 0 32px; padding: 26px; border-radius: var(--r-lg); background: var(--soft); }
.author-box img { width: 56px; flex: none; }
.author-box p { margin: 0; color: var(--muted); font-size: .96rem; }
.author-box .author-box__name { color: var(--ink); font-weight: 700; margin-bottom: 4px; }

/* -------------------------------------------------------------- prose */
.prose, .entry-content { font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); margin: 1.8em 0 .55em; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol, .entry-content ul:not([class*="hp-"]):not(.wp-block-list[class*="hp-"]) { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--orange); }
.prose a, .entry-content p a, .entry-content li a { color: var(--orange-700); text-decoration: underline; text-decoration-color: rgba(255, 127, 41, .4); }
.prose a:hover, .entry-content p a:hover, .entry-content li a:hover { text-decoration-color: currentColor; }
.prose blockquote, .entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--orange); font-size: 1.15rem; color: var(--ink-3); }
.prose figure, .entry-content figure { margin: 2em 0; }
.prose img { border-radius: var(--r); }
.prose figcaption { margin-top: 8px; color: var(--muted); font-size: .88rem; text-align: center; }
.prose table, .entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.5em 0; }
.prose th, .prose td, .entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th, .entry-content th { background: var(--soft); font-weight: 600; }
.wp-block-table { overflow-x: auto; }
.prose .wp-block-details, .prose details { border: 1px solid var(--line); border-radius: var(--r); padding: 0 20px; margin: 10px 0; }
.prose details summary { padding: 16px 0; font-weight: 600; cursor: pointer; }

/* ----------------------------------------------- Gutenberg page sections */
.entry-content > *:not(.hp-section):not(.cta-inline):not(.clients):not(.testi):not(.section):not(.alignfull) {
	max-width: var(--w-prose); margin-inline: auto; padding-inline: var(--gutter);
}
.entry-content > .cta-inline { margin: clamp(24px, 4vw, 48px) auto; width: calc(100% - var(--gutter) * 2); max-width: var(--w-max); }
.entry-content--prose { padding-block: clamp(24px, 4vw, 48px) clamp(64px, 8vw, 112px); }
.entry-content--prose > * { max-width: var(--w-prose); margin-inline: auto; }

.hp-section { padding: clamp(56px, 8vw, 112px) var(--gutter); position: relative; }
.hp-section > * { max-width: var(--w-prose); margin-inline: auto; }
.hp-section > .hp-split, .hp-section > .hp-cards, .hp-section > .hp-faq, .hp-section > .hp-stats, .hp-section > .hp-gallery, .hp-section > .hp-wide, .hp-section > .hp-logos { max-width: var(--w-max); }
.hp-section--soft { background: var(--soft); }
.hp-section--dark { background: var(--ink); color: #fff; }
.hp-section--dark h2, .hp-section--dark h3 { color: #fff; }
.hp-section--dark p, .hp-section--dark li { color: rgba(255, 255, 255, .78); }
.hp-section--intro { padding-top: clamp(16px, 3vw, 40px); }
.hp-section h2 { margin-top: 0; font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.hp-section h3 { margin-top: 1.4em; }
.hp-section h2 + h3, .hp-section .hp-eyebrow + h2 { margin-top: 0; }
.hp-section p.hp-eyebrow {
	display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
	font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.hp-section p.hp-eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 127, 41, .18); }
.hp-section--dark p.hp-eyebrow { color: rgba(255, 255, 255, .78); }
.hp-lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem) !important; line-height: 1.5; color: var(--ink-3); font-weight: 500; }
.hp-section .wp-block-image img { border-radius: var(--r-lg); }
.hp-section > .wp-block-image { margin-block: 2em; }

/* lists inside sections become checklists */
.hp-section ul.wp-block-list, .hp-check { list-style: none; padding: 0 !important; margin: 0 0 1.4em; display: grid; gap: 10px; }
.hp-section ul.wp-block-list > li, .hp-check > li {
	position: relative; padding: 14px 18px 14px 50px; margin: 0; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); line-height: 1.55;
}
.hp-section--soft ul.wp-block-list > li { background: #fff; }
.hp-section ul.wp-block-list > li::before, .hp-check > li::before {
	content: ""; position: absolute; left: 16px; top: 16px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.hp-section ul.wp-block-list > li strong:first-child { color: var(--ink); }
.hp-section ol.wp-block-list { padding-left: 1.3em; }
.hp-section ol.wp-block-list li::marker { color: var(--orange); font-weight: 700; }

/* split: image + text */
.hp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hp-split > .wp-block-image { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.hp-split > .wp-block-image img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.hp-split--rev > .wp-block-image { order: 2; }
.hp-split--top { align-items: start; }
.hp-split__body > :last-child { margin-bottom: 0; }

/* cards from boxes / h3 groups */
.hp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-block: 1.4em 2em; }
.hp-cards--2 { grid-template-columns: repeat(2, 1fr); }
.hp-card {
	position: relative; padding: 28px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
	counter-increment: hpcard; transition: transform .3s var(--ease), box-shadow .3s;
}
.hp-cards { counter-reset: hpcard; }
.hp-card::before { content: counter(hpcard, decimal-leading-zero); display: block; margin-bottom: 16px; font-size: .82rem; font-weight: 700; letter-spacing: .1em; color: var(--orange-600); }
.hp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hp-section--soft .hp-card { background: #fff; }
.hp-section:not(.hp-section--soft) .hp-card { background: var(--soft); }
.hp-card h3 { margin: 0 0 .45em !important; font-size: 1.2rem; }
.hp-card p, .hp-card li { font-size: .97rem; color: var(--muted); }
.hp-card > :last-child { margin-bottom: 0; }
.hp-card ul.wp-block-list > li { padding: 6px 0 6px 28px; background: none !important; border: 0; border-radius: 0; }
.hp-card ul.wp-block-list > li::before { left: 0; top: 9px; width: 18px; height: 18px; background-size: 11px; }

/* accordion (long content) + FAQ */
.hp-accordion { display: grid; gap: 12px; margin-block: 1.4em 2em; }
.wp-block-details { margin: 0; }
.hp-accordion > .wp-block-details, .hp-faq .wp-block-details {
	border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s;
}
.hp-section:not(.hp-section--soft) .hp-accordion > .wp-block-details { background: var(--soft); }
.hp-accordion > .wp-block-details[open], .hp-faq .wp-block-details[open] { box-shadow: var(--shadow); border-color: transparent; background: #fff; }
.wp-block-details > summary {
	list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 22px; cursor: pointer; font-weight: 650; font-size: 1.08rem; letter-spacing: -.01em; line-height: 1.35;
}
.wp-block-details > summary::-webkit-details-marker { display: none; }
.wp-block-details > summary::after {
	content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
	transition: transform .3s var(--ease), background-color .3s;
}
.wp-block-details[open] > summary::after { transform: rotate(45deg); background-color: var(--orange); }
.wp-block-details > summary:hover { color: var(--orange-700); }
.wp-block-details > :not(summary) { padding-inline: 22px; }
.wp-block-details > :not(summary):last-child { padding-bottom: 22px; margin-bottom: 0; }
.wp-block-details > p, .wp-block-details > ul { color: var(--ink-3); }
.wp-block-details ul.wp-block-list > li { background: var(--soft); }
.hp-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.hp-faq__head { position: sticky; top: calc(var(--header-h) + 24px); }
.hp-faq__head .wp-block-image { margin-top: 28px; }
.hp-faq__head .wp-block-image img { border-radius: var(--r-xl); aspect-ratio: 4 / 3; object-fit: cover; }
.hp-faq__list { display: grid; gap: 12px; }

/* stats from content */
.hp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-block: 1.4em 2em; }
.hp-stat { padding: 24px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.hp-stat p { margin: 0; color: rgba(255, 255, 255, .7) !important; }
.hp-stat p.hp-stat__num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 750; letter-spacing: -.04em; color: #fff !important; line-height: 1.1; margin-bottom: 6px; }

/* galleries (projects) */
.hp-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hp-gallery > .wp-block-image { margin: 0; }
.hp-gallery > .wp-block-image:first-child:nth-last-child(odd), .hp-gallery > .wp-block-image:only-child { grid-column: 1 / -1; }
.hp-gallery img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.hp-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.hp-logos > .wp-block-image { margin: 0; display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.hp-logos img { max-height: 52px; width: auto !important; object-fit: contain; border-radius: 0 !important; filter: grayscale(1); opacity: .8; transition: .3s; }
.hp-logos > .wp-block-image:hover img { filter: none; opacity: 1; }
.entry-content--project .hp-section:first-child { padding-top: 0; }

/* ---------------------------------------------------------- inline CTA */
.cta-inline {
	position: relative; isolation: isolate; overflow: hidden;
	display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center;
	padding: clamp(28px, 4vw, 52px); border-radius: var(--r-xl); background: var(--ink); color: #fff;
}
.cta-inline__glow { position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; background: var(--orange); filter: blur(90px); opacity: .45; animation: drift 14s ease-in-out infinite alternate; }
.cta-inline__title { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.08; margin: 0 0 10px; color: #fff; }
.cta-inline__text { color: rgba(255, 255, 255, .72); margin: 0; }
.cta-inline__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.prose .cta-inline { margin: 40px 0 0; grid-template-columns: 1fr; }
.prose .cta-inline__actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
.prose .cta-inline a { color: #fff; text-decoration: none; }

/* ------------------------------------------------------------- CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding-block: clamp(72px, 10vw, 140px); text-align: center; }
.cta-band__aurora span { position: absolute; border-radius: 50%; filter: blur(100px); animation: drift 20s ease-in-out infinite alternate; }
.cta-band__aurora { position: absolute; inset: 0; z-index: -1; }
.cta-band__aurora span:nth-child(1) { width: 600px; height: 600px; left: 50%; top: 40%; margin-left: -300px; background: var(--orange); opacity: .35; }
.cta-band__aurora span:nth-child(2) { width: 400px; height: 400px; left: -100px; bottom: -200px; background: #7a5cff; opacity: .18; }
.cta-band__aurora span:nth-child(3) { width: 360px; height: 360px; right: -80px; top: -160px; background: #ffb27a; opacity: .2; }
.cta-band__inner { max-width: 860px; }
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 4.8rem); letter-spacing: -.045em; line-height: 1; color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .72); font-size: 1.15rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* --------------------------------------------------------------- footer */
.site-footer { background: #050505; color: rgba(255, 255, 255, .66); padding-top: clamp(56px, 7vw, 96px); font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .66); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer__top { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__brand img { width: 150px; }
.site-footer__claim { margin: 20px 0; color: #fff; font-weight: 600; font-size: 1.1rem; line-height: 1.4; }
.site-footer__claim span { display: block; color: rgba(255, 255, 255, .55); font-weight: 400; font-size: .92rem; margin-top: 6px; }
.site-footer__h { color: #fff; font-weight: 650; margin-bottom: 14px; }
.site-footer__h a { color: #fff; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); transition: .2s; }
.socials a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.socials .icon { width: 17px; height: 17px; }
.certs { display: flex; gap: 10px; margin-top: 22px; }
.certs img { width: 44px; height: auto; background: #fff; border-radius: 8px; padding: 3px; }
.site-footer__contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 32px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__contact > a, .site-footer__contact > span { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.site-footer__contact .icon { color: var(--orange); width: 20px; height: 20px; margin-top: 2px; }
.site-footer__contact strong { display: block; color: #fff; font-weight: 600; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px 40px; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* quick actions */
.quick-actions { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.quick-actions a, .quick-actions button { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 0; color: #fff; box-shadow: var(--shadow); transition: transform .25s var(--ease), opacity .3s; }
.quick-actions a:hover, .quick-actions button:hover { transform: scale(1.08); color: #fff; }
.quick-actions .icon { width: 24px; height: 24px; }
.quick-actions__wa { background: #25d366; }
.quick-actions__call { background: var(--orange); display: none !important; }
.quick-actions__top { background: var(--ink); opacity: 0; pointer-events: none; }
.quick-actions__top .icon { transform: rotate(180deg); }
.quick-actions__top.is-visible { opacity: 1; pointer-events: auto; }

/* ------------------------------------------------------------- portfolio */
.portfolio-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 28px; }
.portfolio-bar .filter-chips { margin: 0; }
.portfolio-bar__count { margin: 0; color: var(--muted); font-weight: 500; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card[hidden] { display: none; }
.project-card a { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); text-decoration: none; isolation: isolate; }
.project-card__media { display: block; aspect-ratio: 4 / 3; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card a:hover .project-card__media img { transform: scale(1.06); }
.project-card__body { position: absolute; inset: auto 12px 12px; display: flex; flex-direction: column; gap: 2px; padding: 14px 64px 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); transition: transform .35s var(--ease); }
.project-card__title { font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; color: var(--ink); }
.project-card__tags { font-size: .82rem; color: var(--muted); }
.project-card__go { position: absolute; right: 22px; bottom: 22px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; transition: .35s var(--ease); }
.project-card a:hover .project-card__go { background: var(--orange); transform: rotate(45deg); }
.project-card a:hover .project-card__body { transform: translateY(-4px); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; }
.proj-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding-block: 24px 80px; }
.proj-nav__link { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: var(--r); border: 1px solid var(--line); text-decoration: none; transition: .25s; }
.proj-nav__link:hover { border-color: var(--ink); color: var(--ink); }
.proj-nav__link small { display: block; color: var(--muted); font-size: .8rem; }
.proj-nav__link span { font-weight: 650; }
.proj-nav__link--next { justify-content: flex-end; text-align: right; }
.proj-nav__all { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; }
.proj-nav__all:hover { background: var(--orange); color: #fff; }

/* -------------------------------------------------------------- povestea */
.founder__quote { margin: 28px 0 0; padding: 0; border: 0; }
.founder__quote p { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; font-weight: 600; letter-spacing: -.02em; color: var(--orange); margin-bottom: 14px; }
.founder__quote cite { font-style: normal; color: rgba(255, 255, 255, .7); }
.founder .cards { margin-top: clamp(48px, 6vw, 80px); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--orange)); }
.timeline__item { position: relative; padding: 70px 16px 0 0; }
.timeline__item::before { content: ""; position: absolute; top: 18px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); }
.timeline__year { position: absolute; top: -10px; left: 0; font-weight: 750; font-size: 1.05rem; letter-spacing: -.02em; }
.timeline__item h3 { font-size: 1.05rem; margin-bottom: .3em; }
.timeline__item p { font-size: .9rem; color: var(--muted); margin: 0; }
.timeline__item--you::before { background: var(--orange); box-shadow: 0 0 0 8px rgba(255, 127, 41, .2); animation: pulse 2s ease-in-out infinite; }
.timeline__item--you .timeline__year { color: var(--orange-600); }

/* --------------------------------------------------------------- contact */
.hero--contact .contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); padding-block: clamp(32px, 5vw, 72px) clamp(64px, 8vw, 112px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 10px; }
.contact-list a { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .7); border: 1px solid var(--line); text-decoration: none; backdrop-filter: blur(8px); transition: .25s var(--ease); }
.contact-list a:hover { transform: translateX(4px); background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.contact-list span { line-height: 1.35; font-weight: 600; }
.contact-list__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--orange); color: #fff; }
.contact-list__icon--wa { background: #25d366; }
.contact-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .88rem; }
.contact-legal p { margin: 0; }
.certs--dark { margin: 0; }
.certs--dark img { border: 1px solid var(--line); }
.form-card { position: sticky; top: calc(var(--header-h) + 20px); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card__title { font-size: 1.6rem; font-weight: 750; letter-spacing: -.03em; margin-bottom: 20px; }

/* form */
.hp-form { display: grid; gap: 18px; }
.hp-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .86rem; font-weight: 600; color: var(--ink-3); }
.field input, .field textarea, .field select {
	width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--soft);
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(255, 127, 41, .15); }
.field textarea { resize: vertical; min-height: 130px; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: .86rem; font-weight: 600; color: var(--ink-3); margin-bottom: 8px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: .88rem; font-weight: 550; cursor: pointer; transition: .2s; user-select: none; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.check a { color: var(--ink); }
.hp-form__hp { position: absolute; left: -9999px; }
.hp-form__note { display: flex; align-items: center; gap: 8px; justify-content: center; margin: 0; color: var(--muted); font-size: .85rem; }
.hp-form__note .icon { width: 16px; height: 16px; color: var(--ok); }
.hp-form__alert { padding: 14px 16px; border-radius: 14px; background: #fff1f0; color: #a8261a; margin: 0; font-size: .92rem; }
.hp-form .is-invalid { border-color: #e5484d !important; }

/* 404 */
.big-404 { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; margin-bottom: 24px; }
.big-404 img { width: .8em; height: .8em; animation: spin 12s linear infinite; }

/* --------------------------------------------------------------- motion */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
	.marquee__track { animation: none; flex-wrap: wrap; }
}

/* ----------------------------------------------------------- responsive */
@media (max-width: 1180px) {
	.nav__link { padding: 10px 10px; font-size: .9rem; }
	.site-footer__top { grid-template-columns: repeat(3, 1fr); }
	.site-footer__brand { grid-column: 1 / -1; }
	.timeline { grid-template-columns: repeat(4, 1fr); row-gap: 40px; }
	.timeline::before { display: none; }
}
@media (max-width: 1040px) {
	:root { --header-h: 68px; }
	.nav, .hide-sm { display: none !important; }
	.burger { display: block; }
	.hero--split .hero__inner, .hero--home .hero__inner, .hero--contact .contact-grid { grid-template-columns: 1fr; }
	.hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
	.hero--home .hero__visual { max-width: 440px; }
	.values { grid-template-columns: repeat(2, 1fr); }
	.post-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stats--4 { grid-template-columns: repeat(2, 1fr); }
	.bento__card--1, .bento__card--2, .bento__card--3, .bento__card--4 { grid-column: span 3; }
	.article__layout { grid-template-columns: 1fr; }
	.article__aside { order: 2; }
	.article__aside > * { position: static; }
	.toc { display: none; }
	.hp-faq { grid-template-columns: 1fr; }
	.hp-faq__head { position: static; }
	.hp-faq__head .wp-block-image { display: none; }
	.form-card { position: static; }
	.quick-actions__call { display: grid !important; }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.split, .hp-split, .cards--3, .post-feature, .cta-inline { grid-template-columns: 1fr; }
	.hp-split > .wp-block-image { position: static; order: -1 !important; }
	.hp-split > .wp-block-image img { aspect-ratio: 16 / 10; }
	.bento { grid-template-columns: 1fr; }
	.bento__card--1, .bento__card--2, .bento__card--3, .bento__card--4 { grid-column: auto; }
	.post-grid, .project-grid, .hp-gallery, .hp-cards--2 { grid-template-columns: 1fr; }
	.values { grid-template-columns: 1fr; }
	.stats, .stats--4 { grid-template-columns: 1fr 1fr; }
	.stat { padding: 22px 18px; }
	.cta-inline__actions { align-items: stretch; }
	.cta-inline__actions .btn { justify-content: space-between; }
	.hero__badge { left: 8px; bottom: 12px; }
	.hero__badge--alt { right: 8px; top: 12px; }
	.hero__frame { transform: none; border-radius: var(--r-lg); }
	.hero__actions .btn { flex: 1 1 auto; justify-content: space-between; }
	.hp-form__grid { grid-template-columns: 1fr; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.site-footer__contact { grid-template-columns: 1fr; }
	.timeline { grid-template-columns: 1fr; row-gap: 0; padding-left: 8px; }
	.timeline::before { display: block; left: 16px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--line-2), var(--orange)); }
	.timeline__item { padding: 0 0 28px 44px; }
	.timeline__item::before { top: 4px; left: 0; }
	.timeline__year { position: static; display: block; margin-bottom: 2px; color: var(--orange-600); }
	.testi__head { flex-direction: column; align-items: flex-start; }
	.testi__card { flex-basis: 86vw; padding: 24px; }
	.proj-nav { grid-template-columns: 1fr 1fr; }
	.proj-nav__all { display: none; }
	.post-feature__media { min-height: 220px; }
	.section-head--row { flex-direction: column; align-items: flex-start; }
	.logo-chip { width: 130px; height: 70px; padding: 12px 16px; }
	.logo-chip img { max-height: 38px; }
	.wp-block-details > summary { padding: 16px 18px; font-size: 1rem; }
	.wp-block-details > :not(summary) { padding-inline: 18px; }
	.hp-card { padding: 22px 20px; }
	.orbit__chip > span { font-size: .72rem; padding: 6px 11px; }
	.quick-actions { right: 12px; }
	.quick-actions a, .quick-actions button { width: 48px; height: 48px; }
}
@media (max-width: 420px) {
	.site-footer__top { grid-template-columns: 1fr; }
	.brand img { width: 120px; }
	.hero__title--xl { font-size: 2.6rem; }
}

/* callout box (single icon-box + button from old pages) */
.hp-callout {
	position: relative; overflow: hidden; isolation: isolate; margin-block: 2em 0;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
	padding: clamp(26px, 4vw, 44px); border-radius: var(--r-xl); background: var(--ink); color: #fff;
}
.hp-section > .hp-callout { max-width: var(--w-max); }
.hp-callout::before { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; right: -100px; top: -160px; border-radius: 50%; background: var(--orange); filter: blur(90px); opacity: .45; }
.hp-callout p { color: rgba(255, 255, 255, .75) !important; margin: 0; }
.hp-callout p.hp-callout__title { flex: 1 1 420px; color: #fff !important; font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.hp-callout .wp-block-buttons { margin: 0; }
.hp-job-tags { font-size: .85rem !important; color: var(--orange-700) !important; }
.hp-section--form .hp-form { max-width: var(--w-prose); padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ---- logos are white artwork: show them on dark tiles ---- */
.logo-chip, .logo-wall li, .hp-logos > .wp-block-image { background: var(--ink) !important; border-color: var(--ink) !important; }
.logo-chip { width: 180px; height: 96px; padding: 4px 12px; }
.logo-chip img, .logo-wall img, .hp-logos img { height: 88px !important; max-height: none !important; width: auto !important; filter: none !important; opacity: .82; transition: opacity .3s, transform .3s var(--ease); }
.logo-chip:hover img, .logo-wall li:hover img, .hp-logos > .wp-block-image:hover img { opacity: 1; transform: scale(1.05); }
.logo-wall li, .hp-logos > .wp-block-image { padding: 4px; }
.logo-wall li:hover, .hp-logos > .wp-block-image:hover { background: var(--ink-3) !important; }
@media (max-width: 760px) {
	.logo-chip { width: 140px; height: 76px; }
	.logo-chip img, .logo-wall img, .hp-logos img { height: 70px !important; }
}

/* ---- sections with wide grids: align text column with the grid's left edge ---- */
.hp-section:has(> .hp-cards, > .hp-logos, > .hp-stats, > .hp-gallery) > :not(.hp-cards):not(.hp-logos):not(.hp-stats):not(.hp-gallery):not(.hp-callout):not(.hp-split):not(.hp-faq) {
	margin-left: max(0px, calc((100% - var(--w-max)) / 2));
	margin-right: auto;
}
@media (max-width: 760px) {
	.hero--home .hero__visual { max-width: none; }
	.orbit { width: min(300px, 70vw); margin-block: 24px 8px; }
	.hero--home .hero__inner { padding-bottom: 72px; }
}
