/* ==========================================================================
   WHITEHATCODE — main stylesheet (v2.0, corporate design system)
   Palette: white #FFFFFF · black #000000 · dark navy #00008B
   ========================================================================== */

:root {
	--bg: #FFFFFF;
	--ink: #000000;
	--navy: #00008B;
	--navy-rgb: 0, 0, 139;
	--white: #FFFFFF;
	--muted: rgba(0, 0, 0, .64);
	--line: rgba(0, 0, 0, .1);
	--line-strong: rgba(0, 0, 0, .18);
	--tint: rgba(var(--navy-rgb), .035);
	--navy-soft: rgba(var(--navy-rgb), .07);
	--font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--fs-hero: clamp(2.4rem, 1.5rem + 3.2vw, 4rem);
	--fs-h1: clamp(2.2rem, 1.5rem + 2.6vw, 3.5rem);
	--fs-h2: clamp(1.85rem, 1.35rem + 1.9vw, 2.75rem);
	--fs-h3: clamp(1.4rem, 1.2rem + .8vw, 1.8rem);
	--fs-h4: 1.2rem;
	--fs-lead: clamp(1.08rem, 1rem + .3vw, 1.2rem);
	--fs-body: 1.0625rem;
	--fs-sm: .95rem;
	--fs-xs: .8rem;

	--radius: 14px;
	--radius-sm: 10px;
	--container: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--header-h: 76px;
	--section: clamp(72px, 8vw, 112px);
	--shadow: 0 12px 32px -12px rgba(0, 0, 0, .14);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--navy); color: var(--white); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { 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: -100px; z-index: 10000; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 16px; color: var(--white); }
.site-main:focus { outline: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 800px; margin-left: auto; margin-right: auto; }
.center { text-align: center; justify-content: center; }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Typography ---------- */
.display-2 { font-size: var(--fs-h2); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.display-3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: 700; }
.lead { font-size: var(--fs-lead); line-height: 1.7; color: rgba(0, 0, 0, .78); }
.section-sub { font-size: var(--fs-lead); line-height: 1.65; color: var(--muted); max-width: 560px; margin: 0; }
.grad-text { color: var(--navy); }
.eyebrow { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin: 0 0 14px; }
.list-title { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.link-arrow .icon { width: 18px; height: 18px; }
.link-arrow:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 8px; border: 1.5px solid var(--navy); background: var(--navy); color: var(--white); font-size: .98rem; font-weight: 600; line-height: 1.2; text-align: center; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn:hover { color: var(--white); }
.btn-icon { display: inline-flex; }
.btn-icon .icon { width: 18px; height: 18px; }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); }
.btn--outline, .btn--ghost { background: transparent; color: var(--navy); }
.btn--outline:hover, .btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--light:hover { background: transparent; color: var(--white); }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: var(--header-h); display: flex; align-items: center; background: var(--white); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .35); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-main { padding-top: var(--header-h); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 34px; height: 34px; }
.brand__mark .logo-mark { width: 100%; height: 100%; }
.brand__word { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: .03em; line-height: 1; }
.brand__word b { color: var(--navy); font-weight: 800; }
.brand__img { max-height: 44px; width: auto; }

.primary-nav .nav-menu { list-style: none; display: flex; align-items: center; gap: 4px; }
.primary-nav .menu-item { position: relative; }
.primary-nav .menu-item > a { display: block; padding: 10px 14px; font-size: .96rem; font-weight: 500; color: var(--ink); border-radius: 6px; }
.primary-nav .menu-item > a:hover { color: var(--navy); }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--navy); font-weight: 600; box-shadow: inset 0 -2px 0 var(--navy); border-radius: 0; }
.primary-nav .sub-menu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.primary-nav .menu-item:hover > .sub-menu, .primary-nav .menu-item:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.primary-nav .sub-menu a { display: block; padding: 8px 12px; color: var(--ink); font-size: .93rem; }
.primary-nav .sub-menu a:hover { color: var(--navy); background: var(--tint); }
.site-header__actions { display: flex; align-items: center; gap: 12px; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white); padding: 0; }
.burger__lines { position: relative; display: block; width: 20px; height: 14px; margin: 0 auto; }
.burger__lines i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s, top .2s; }
.burger__lines i:nth-child(1) { top: 0; }
.burger__lines i:nth-child(2) { top: 6px; }
.burger__lines i:nth-child(3) { top: 12px; }
.burger[aria-expanded="true"] .burger__lines i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__lines i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; left: 0; right: 0; bottom: 0; top: var(--header-h); z-index: 850; background: var(--white); border-top: 1px solid var(--line); overflow-y: auto; opacity: 0; transition: opacity .2s; }
.admin-bar .mobile-menu { top: calc(var(--header-h) + 46px); }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav { padding-top: 16px; padding-bottom: 32px; }
.mobile-menu__list { list-style: none; margin-bottom: 24px; }
.mobile-menu__list a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.mobile-menu__list .current-menu-item > a { color: var(--navy); }
body.menu-open { overflow: hidden; }

/* ---------- Reveal (subtle, one-time) ---------- */
@media (prefers-reduced-motion: no-preference) {
	html.js [data-anim] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); animation: reveal-failsafe .01s 2.5s forwards; }
	html.js.anim-ready [data-anim] { animation: none; }
	html.js [data-anim].is-in { opacity: 1; transform: none; }
}
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.is-tint { background: var(--tint); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .display-2 { margin-bottom: 0; }
.section-head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head--center .section-sub { margin: 16px auto 0; }
.section-head--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; }
.section-head__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

/* ---------- Cards (shared) ---------- */
.card, .service-card, .pillar, .why-card, .value-card, .tech-group, .testi-card, .mv-card, .box, .aside-card, .case__block, .post-card, .contact-card, .svc-row, .form-card {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	transition: border-color .2s, box-shadow .2s;
}
.icon-box { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--navy-soft); color: var(--navy); flex: none; }
.icon-box .icon { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero__title { font-size: var(--fs-hero); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; margin-bottom: 22px; }
.hero__text { font-size: var(--fs-lead); line-height: 1.7; color: rgba(0, 0, 0, .72); max-width: 580px; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; border-radius: var(--radius); }
.hero-panel { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.hero-panel__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); margin-bottom: 18px; }
.hero-panel__list { list-style: none; margin-bottom: 24px; }
.hero-panel__list li { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; line-height: 1.35; }
.hero-panel__list li:first-child { border-top: 1px solid rgba(255, 255, 255, .18); }
.hero-panel__num { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; color: rgba(255, 255, 255, .6); min-width: 22px; }
.hero-panel__link { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; }
.hero-panel__link .icon { width: 18px; height: 18px; }
.hero-panel__link:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- About (home) ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 72px; align-items: start; margin-bottom: clamp(40px, 5vw, 56px); }
.about__body .lead { margin-bottom: 20px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { padding: 28px; }
.pillar h3, .why-card h3, .value-card h3 { font-size: var(--fs-h4); margin: 18px 0 8px; }
.pillar p, .why-card p, .value-card p { font-size: var(--fs-sm); color: var(--muted); margin: 0; line-height: 1.6; }
/* Why Choose Us highlights */
.highlights { position: relative; margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: linear-gradient(180deg, var(--tint), rgba(255, 255, 255, 0) 70%), var(--white); overflow: hidden; isolation: isolate; }
.highlights::before { content: ""; position: absolute; z-index: -1; inset: -40% -10% auto auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--navy-rgb), .08), rgba(var(--navy-rgb), 0)); pointer-events: none; }
.highlights__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: clamp(24px, 3vw, 36px); }
.highlights__head .eyebrow { margin: 0; }
.highlights__title { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 600; line-height: 1.45; color: var(--muted); max-width: 520px; margin: 0; }
.highlights__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.highlight { container-type: inline-size; position: relative; display: flex; flex-direction: column; padding: 26px 24px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.highlight__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.highlight__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--navy-soft); color: var(--navy); }
.highlight__icon .icon { width: 22px; height: 22px; }
.highlight__index { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; color: rgba(0, 0, 0, .38); }
.highlight__term { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; font-size: min(2.15rem, calc(100cqi / 7.1)); line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; color: var(--navy); margin: 0 0 8px; }
.highlight__label { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; line-height: 1.35; color: var(--ink); margin: 0 0 12px; }
.highlight__text { font-size: var(--fs-sm); line-height: 1.65; color: var(--muted); margin: 0; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 30px; height: 100%; }
.service-card__title { font-size: var(--fs-h4); line-height: 1.3; margin: 20px 0 10px; }
.service-card__title a { color: var(--ink); }
.service-card:hover .service-card__title a { color: var(--navy); }
.service-card__text { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; margin: 0 0 24px; }
.service-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .94rem; font-weight: 600; color: var(--navy); }
.service-card__more .icon { width: 17px; height: 17px; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.stretched:focus-visible { outline: none; }
.stretched:focus-visible::after { outline: 2px solid var(--navy); outline-offset: 2px; }

.consult-card { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 32px; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.consult-card__title { color: var(--white); font-size: var(--fs-h3); line-height: 1.25; margin-bottom: 10px; }
.consult-card__text { color: rgba(255, 255, 255, .78); font-size: var(--fs-sm); margin: 0; max-width: 520px; }
.consult-card .btn { align-self: flex-start; }
.consult-card.s3-0 { grid-column: 1 / -1; flex-direction: row; align-items: center; }
.consult-card.s3-2 { grid-column: span 2; }

/* Services page */
.svc-index { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: none; }
.svc-index a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; line-height: 1.35; color: var(--ink); background: var(--white); transition: border-color .2s, color .2s; }
.svc-index a:hover { border-color: var(--navy); color: var(--navy); }
.svc-index__num { font-size: var(--fs-xs); font-weight: 700; color: var(--navy); }
.svc-list-section { padding-top: 0; }
.svc-rows { display: grid; gap: 20px; }
.svc-row { scroll-margin-top: calc(var(--header-h) + 24px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 56px; padding: clamp(26px, 3.5vw, 44px); }
.svc-row__top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.svc-row__num { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: rgba(0, 0, 0, .35); }
.svc-row__title { font-size: var(--fs-h3); line-height: 1.2; margin-bottom: 8px; }
.svc-row__tag { color: var(--navy); font-weight: 600; font-size: var(--fs-sm); margin-bottom: 14px; }
.svc-row__desc { color: rgba(0, 0, 0, .74); font-size: var(--fs-sm); line-height: 1.75; margin-bottom: 26px; }
.svc-row__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.svc-row__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-content: start; padding-top: 4px; }
.check-list, .dot-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.55; }
.check-list .icon { width: 18px; height: 18px; margin-top: .2em; color: var(--navy); }
.dot-list li { position: relative; padding-left: 18px; font-size: var(--fs-sm); line-height: 1.55; color: rgba(0, 0, 0, .8); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }

/* Single service */
.svc-single__grid { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.svc-single__media { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; }
.svc-lists, .svc-lists--boxed { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.svc-lists__title { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.box { padding: 28px; }
.aside-card { padding: 30px; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--navy); color: var(--white); margin-bottom: 18px; }
.aside-card__icon .icon { width: 26px; height: 26px; }
.aside-card__title { font-size: 1.35rem; line-height: 1.3; }
.aside-card p { color: var(--muted); font-size: var(--fs-sm); }
.aside-card .btn { width: 100%; }
.aside-card__sub { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 28px 0 8px; }
.aside-links { list-style: none; }
.aside-links a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--ink); }
.aside-links a:hover { color: var(--navy); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { padding: 30px; }

/* ---------- Process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.step { padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--navy); margin-bottom: 14px; }
.step__title { font-size: var(--fs-h4); margin-bottom: 8px; }
.step__text { font-size: var(--fs-sm); color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card.is-hidden-filter { display: none; }
.project-card__link { display: block; color: var(--ink); }
.project-card__link:hover { color: var(--ink); }
.project-card__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--navy); border: 1px solid var(--line); }
.project-card__media img, .project-card__media .ph-art { width: 100%; height: 100%; object-fit: cover; }
.project-card__meta { padding: 18px 2px 0; }
.tag { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.project-card__title { font-size: var(--fs-h4); line-height: 1.3; margin-bottom: 6px; transition: color .2s; }
.project-card__link:hover .project-card__title { color: var(--navy); }
.project-card__text { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.project-card__arrow { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { padding: 10px 18px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--white); font-size: .92rem; font-weight: 500; color: var(--ink); transition: background-color .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--navy); color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filter-empty, .empty-note { color: var(--muted); }

/* ---------- Tech ---------- */
.tech-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tech-group { padding: 30px; }
.tech-group__title { font-size: var(--fs-h4); margin-bottom: 18px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--white); font-size: .88rem; font-weight: 500; color: rgba(0, 0, 0, .8); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { position: relative; margin: 0; padding: 30px; display: flex; flex-direction: column; }
.testi-card.is-placeholder { border-style: dashed; }
.placeholder-badge { position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--navy-soft); }
.testi-card__quote { color: var(--navy); margin-bottom: 14px; }
.testi-card__quote .icon { width: 30px; height: 30px; }
.testi-card blockquote { margin: 0 0 22px; font-size: 1rem; line-height: 1.65; color: rgba(0, 0, 0, .8); flex: 1; }
.testi-card blockquote p:last-child { margin: 0; }
.testi-card figcaption { display: flex; align-items: center; gap: 12px; }
.testi-card figcaption b { display: block; font-family: var(--font-display); font-size: 1rem; }
.testi-card figcaption small { color: var(--muted); font-size: .86rem; }
.testi-card__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-card__avatar--initial { display: grid; place-items: center; background: var(--navy); color: var(--white); font-weight: 700; }

/* ---------- CTA ---------- */
.cta { padding-top: 0; }
.is-tint + .cta { padding-top: var(--section); }
.cta__panel { border-radius: var(--radius); padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 72px); background: var(--navy); text-align: center; }
.cta__content { max-width: 760px; margin: 0 auto; }
.cta__content .display-2 { color: var(--white); margin-bottom: 14px; }
.cta__text { color: rgba(255, 255, 255, .8); font-size: var(--fs-lead); margin: 0 auto 30px; max-width: 600px; }

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(48px, 6vw, 80px) 0; background: var(--tint); border-bottom: 1px solid var(--line); }
.page-hero__title { font-size: var(--fs-h1); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; max-width: 900px; margin-bottom: 16px; }
.page-hero__text { font-size: var(--fs-lead); color: rgba(0, 0, 0, .7); max-width: 680px; margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }
.page-hero--404 .page-hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.page-hero--404 .page-hero__text { margin: 0 auto 28px; }
.big-404 { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--navy); margin: 0 0 8px; }

/* ---------- About page ---------- */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.intro__img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.facts-panel { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: var(--white); border-radius: var(--radius); overflow: hidden; }
.facts-panel__item { padding: 28px; border-right: 1px solid rgba(255, 255, 255, .16); border-bottom: 1px solid rgba(255, 255, 255, .16); }
.facts-panel__item:nth-child(2n) { border-right: 0; }
.facts-panel__item:nth-child(n+3) { border-bottom: 0; }
.facts-panel__item .icon { width: 26px; height: 26px; margin-bottom: 16px; }
.facts-panel__item h3, .facts-panel__item .facts-panel__title { font-family: var(--font-display); font-weight: 700; line-height: 1.3; color: var(--white); font-size: var(--fs-h4); margin: 0 0 6px; }
.facts-panel__item p { color: rgba(255, 255, 255, .75); font-size: var(--fs-sm); margin: 0; line-height: 1.55; }
.mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv-card { padding: clamp(28px, 4vw, 44px); }
.mv-card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--navy); color: var(--white); margin-bottom: 20px; }
.mv-card__title { font-size: var(--fs-h3); }
.mv-card p { color: rgba(0, 0, 0, .74); font-size: var(--fs-lead); margin: 0; line-height: 1.65; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { padding: 28px; }
.value-card__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: rgba(0, 0, 0, .35); margin-bottom: 18px; }
.value-card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--navy-soft); color: var(--navy); }
.different__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.different__head .section-sub { margin-top: 16px; }
.diff-list { list-style: none; border-top: 1px solid var(--line); }
.diff-item { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.diff-item__num { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--navy); min-width: 36px; line-height: 1.5; }
.diff-item h3 { font-size: var(--fs-h4); margin-bottom: 6px; }
.diff-item p { color: var(--muted); font-size: var(--fs-sm); margin: 0; line-height: 1.6; }
.expertise-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.expertise-list a { display: flex; align-items: center; gap: 14px; padding: 18px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.expertise-list a > .icon:first-child { color: var(--navy); }
.expertise-list .expertise-arrow { margin-left: auto; width: 18px; height: 18px; color: var(--muted); }
.expertise-list a:hover { color: var(--navy); }
.expertise-list a:hover .expertise-arrow { color: var(--navy); }

/* ---------- Case study ---------- */
.case__media { aspect-ratio: 16 / 8; border-radius: var(--radius); overflow: hidden; margin: 0 0 40px; background: var(--navy); }
.case__media img, .case__media .ph-art { width: 100%; height: 100%; object-fit: cover; }
.case__facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 48px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case__facts > div { padding: 20px 24px; border-right: 1px solid var(--line); }
.case__facts > div:last-child { border-right: 0; }
.case__facts dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.case__facts dd { margin: 0; font-weight: 600; }
.case__body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case__block { padding: 30px; }
.case__num { font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--navy); }
.case__title { font-size: var(--fs-h4); margin: 10px 0; }
.case__block p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.case__content { margin-top: 48px; }
.case__actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 40px; }
.next-project { display: flex; flex-direction: column; gap: 6px; margin-top: 64px; padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; color: var(--ink); }
.next-project__title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h2); line-height: 1.15; padding-right: 64px; transition: color .2s; }
.next-project:hover .next-project__title { color: var(--navy); }
.next-project__arrow { position: absolute; right: 0; top: 50%; width: 40px; height: 40px; margin-top: -20px; color: var(--navy); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 72px); align-items: start; }
.contact__info .section-sub { margin-bottom: 0; }
.contact-cards { list-style: none; display: grid; gap: 12px; margin: 28px 0 32px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px; }
.contact-card small { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-card a, .contact-card b { font-weight: 600; word-break: break-word; color: var(--ink); }
.contact-card a:hover { color: var(--navy); }
.contact-card__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--navy); color: var(--white); }
.placeholder-text { color: var(--navy) !important; font-weight: 500 !important; font-style: italic; }
.form-card { padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card__title { font-size: var(--fs-h3); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; padding: 24px 14px 10px; border-radius: 8px; background: var(--white); border: 1px solid var(--line-strong); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field textarea { resize: vertical; min-height: 140px; }
.field select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; cursor: pointer; }
.field > label { position: absolute; left: 15px; top: 17px; color: var(--muted); font-size: 1rem; pointer-events: none; transform-origin: left top; transition: transform .2s, color .2s; }
.field--select > label, .field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.76); color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(var(--navy-rgb), .12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #000000; box-shadow: 0 0 0 1px #000000; }
.field-error { color: var(--ink); font-size: .85rem; font-weight: 600; margin: 6px 2px 0; }
.field-error::before { content: "! "; color: var(--navy); }
.field-error:empty { display: none; }
.field > label.check { position: relative; left: auto; top: auto; pointer-events: auto; transform: none; color: rgba(0, 0, 0, .8); font-size: .95rem; }
.check { position: relative; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; color: rgba(0, 0, 0, .8); font-size: .95rem; }
.check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.check-box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; border: 1.5px solid var(--line-strong); background: var(--white); margin-top: 2px; color: var(--white); transition: background-color .2s, border-color .2s; }
.check-box .icon { width: 14px; height: 14px; opacity: 0; }
.check input:checked + .check-box { background: var(--navy); border-color: var(--navy); }
.check input:checked + .check-box .icon { opacity: 1; }
.check input:focus-visible + .check-box { outline: 2px solid var(--navy); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-note { color: var(--muted); font-size: .86rem; margin: 0; }
.form-status { margin-top: 16px; border-radius: 8px; font-size: .96rem; }
.form-status:empty { display: none; }
.form-status.is-ok { padding: 14px 16px; background: var(--navy); color: var(--white); }
.form-status.is-error { padding: 14px 16px; background: var(--white); border: 1.5px solid var(--ink); color: var(--ink); }
.contact-form.is-loading button[type="submit"] { pointer-events: none; opacity: .65; }

/* ---------- Socials ---------- */
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a, .socials .is-placeholder { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line-strong); color: var(--ink); transition: background-color .2s, color .2s, border-color .2s; }
.socials .icon { width: 18px; height: 18px; }
.socials a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.socials .is-placeholder { opacity: .45; border-style: dashed; cursor: help; }

/* ---------- Footer ---------- */
.site-footer { background: #000000; color: rgba(255, 255, 255, .72); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.6fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand__word b { color: var(--white); opacity: .7; }
.site-footer .brand__mark .logo-mark path:first-child { fill: var(--navy); }
.footer-intro { color: rgba(255, 255, 255, .68); font-size: var(--fs-sm); margin: 18px 0 22px; max-width: 340px; line-height: 1.65; }
.footer-title { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-links, .footer-contact, .legal-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-col:nth-child(3) .footer-links { columns: 2; column-gap: 24px; }
.footer-col:nth-child(3) .footer-links li { break-inside: avoid; }
.footer-links a, .legal-links a { color: rgba(255, 255, 255, .72); font-size: var(--fs-sm); }
.footer-links a:hover, .legal-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: var(--fs-sm); line-height: 1.55; word-break: break-word; }
.footer-contact a { color: rgba(255, 255, 255, .85); }
.footer-contact a:hover { color: var(--white); }
.footer-contact .icon { width: 18px; height: 18px; color: var(--white); margin-top: .15em; }
.site-footer .placeholder-text { color: rgba(255, 255, 255, .55) !important; }
.site-footer .socials a, .site-footer .socials .is-placeholder { border-color: rgba(255, 255, 255, .25); color: var(--white); }
.site-footer .socials a:hover { background: var(--navy); border-color: var(--navy); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 22px; }
.to-top { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: var(--white); transition: background-color .2s, border-color .2s; }
.to-top .icon { transform: rotate(-45deg); width: 18px; height: 18px; }
.to-top:hover { background: var(--navy); border-color: var(--navy); }

/* ---------- Editor content ---------- */
.entry-content { font-size: var(--fs-body); line-height: 1.75; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: var(--fs-h3); margin-top: 1.6em; }
.entry-content h3 { font-size: var(--fs-h4); margin-top: 1.4em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--navy); font-size: 1.1rem; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px; }
.page-media { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; }
.wp-block-button__link { border-radius: 8px; background: var(--navy); color: var(--white) !important; text-decoration: none !important; padding: 13px 24px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { overflow: hidden; }
.post-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.post-card__media img, .post-card__media .ph-art { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px; }
.post-card__date { color: var(--muted); font-size: .85rem; }
.post-card__title { font-size: var(--fs-h4); }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--navy); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-strong); color: var(--ink); }
.pagination .current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.search-form { display: flex; gap: 8px; margin-top: 16px; }
.search-form input[type="search"] { flex: 1; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line-strong); font: inherit; }
.search-form .search-submit { padding: 12px 20px; border-radius: 8px; border: 0; background: var(--navy); color: var(--white); font-weight: 600; }
.comments { margin-top: 56px; }
.comment-list { list-style: none; }
.comment-form input, .comment-form textarea { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid var(--line-strong); font: inherit; }
.comment-form .submit { padding: 13px 24px; border-radius: 8px; border: 0; background: var(--navy); color: var(--white); font-weight: 600; }

/* ==========================================================================
   v2.1 — Premium motion & atmosphere (navy / black / white only)
   All continuous motion is slow, low-contrast and disabled for reduced motion.
   ========================================================================== */

/* ---------- Page loader & transitions ---------- */
.loader { display: none; }
html.js .loader { display: grid; place-items: center; position: fixed; inset: 0; z-index: 9999; background: var(--white); opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s linear 0s; animation: loader-failsafe .4s 3s forwards; }
html.js .loader.is-done { opacity: 0; visibility: hidden; animation: none; transition: opacity .55s var(--ease), visibility 0s linear .55s; }
html.js.is-leaving .loader { opacity: 1; visibility: visible; animation: none; transition: opacity .32s var(--ease), visibility 0s; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.loader__mark { width: 56px; height: 56px; filter: drop-shadow(0 8px 22px rgba(var(--navy-rgb), .35)); }
.loader__mark .logo-mark { width: 100%; height: 100%; }
.loader__mark .lm-w { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-line 1s .15s var(--ease) forwards; }
.loader__word { font-family: var(--font-display); font-weight: 800; font-size: .95rem; letter-spacing: .22em; color: var(--ink); }
.loader__word b { color: var(--navy); }
.loader__bar { width: 140px; height: 2px; border-radius: 2px; background: rgba(var(--navy-rgb), .12); overflow: hidden; }
.loader__bar i { display: block; width: 40%; height: 100%; background: var(--navy); border-radius: 2px; animation: loader-bar 1.1s var(--ease) infinite; }
@keyframes loader-bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes draw-line { to { stroke-dashoffset: 0; } }

/* ---------- Logo: entrance + soft glow ---------- */
.brand__mark { position: relative; }
.brand__mark::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--navy-rgb), .35), transparent 68%); opacity: 0; z-index: -1; pointer-events: none; }
.brand__word { position: relative; overflow: hidden; padding: 2px 0; }
.brand__word::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-18deg); pointer-events: none; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
	html.js:not(.is-loaded) .site-header .brand__mark, html.js:not(.is-loaded) .site-header .brand__word { opacity: 0; animation: reveal-failsafe .01s 3.2s forwards; }
	html.is-loaded .site-header .brand__mark { animation: logo-in .8s var(--ease) both; }
	html.is-loaded .site-header .lm-w { stroke-dasharray: 1; animation: logo-draw 1s .25s var(--ease) both; }
	html.is-loaded .site-header .brand__word { animation: word-in .8s .15s var(--ease) both; }
	html.is-loaded .brand__mark::after { animation: glow-breathe 5s 1.2s ease-in-out infinite; }
	html.is-loaded .site-header .brand__word::after { animation: shimmer 1.4s .9s var(--ease) 1; }
	.brand:hover .brand__word::after { animation: shimmer 1.2s var(--ease) 1; }
}
@keyframes logo-in { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes logo-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes word-in { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes glow-breathe { 0%, 100% { opacity: 0; } 50% { opacity: .9; } }
@keyframes shimmer { 0% { left: -60%; opacity: 1; } 100% { left: 120%; opacity: 1; } }

/* ---------- Shared background layers ---------- */
.hero, .page-hero, .has-fx, .site-footer { position: relative; isolation: isolate; overflow: hidden; }
.hero > .container, .page-hero > .container, .has-fx > .container, .site-footer > .container { position: relative; z-index: 1; }
.hero__bg, .page-hero__bg, .bg-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora { position: absolute; inset: 0; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; background: radial-gradient(circle, rgba(var(--navy-rgb), .16), transparent 66%); }
.aurora i:nth-child(1) { width: 620px; height: 620px; right: -140px; top: -180px; }
.aurora i:nth-child(2) { width: 520px; height: 520px; left: -200px; bottom: -220px; background: radial-gradient(circle, rgba(var(--navy-rgb), .11), transparent 66%); }
.aurora i:nth-child(3) { width: 420px; height: 420px; left: 38%; top: 30%; background: radial-gradient(circle, rgba(var(--navy-rgb), .07), transparent 66%); }
.aurora--soft i { opacity: .8; }
.dot-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(var(--navy-rgb), .16) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 10%, transparent 75%); }
.particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.line-pattern { position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(var(--navy-rgb), .045) 0 1px, transparent 1px 46px); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.flow-lines { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; }
.flow-lines path { fill: none; stroke: rgba(var(--navy-rgb), .18); stroke-width: 1.2; stroke-dasharray: 6 10; vector-effect: non-scaling-stroke; }
.page-hero .aurora i:nth-child(1) { width: 520px; height: 520px; right: -120px; top: -220px; }

/* Smooth white ↔ tint transitions between sections */
.is-tint { background: linear-gradient(180deg, var(--bg) 0, var(--tint) 120px, var(--tint) calc(100% - 120px), var(--bg) 100%); }
.page-hero { background: linear-gradient(180deg, var(--tint), var(--bg)); }

@media (prefers-reduced-motion: no-preference) {
	.aurora i:nth-child(1) { animation: drift-a 26s ease-in-out infinite alternate; }
	.aurora i:nth-child(2) { animation: drift-b 32s ease-in-out infinite alternate; }
	.aurora i:nth-child(3) { animation: drift-c 38s ease-in-out infinite alternate; }
	.line-pattern { animation: pattern-pan 40s linear infinite; }
	.flow-lines path { animation: dash-flow 14s linear infinite; }
	.flow-lines path:nth-child(2) { animation-duration: 18s; animation-direction: reverse; }
	.flow-lines path:nth-child(3) { animation-duration: 22s; }
}
@keyframes drift-a { to { transform: translate3d(-120px, 90px, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(140px, -80px, 0) scale(1.12); } }
@keyframes drift-c { to { transform: translate3d(-90px, -60px, 0) scale(.92); } }
@keyframes pattern-pan { to { background-position: 460px 0; } }
@keyframes dash-flow { to { stroke-dashoffset: -320; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(64px, 8vw, 112px); }
.hero__title .w { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
	html.js .hero__title[data-words] .w { opacity: 0; transform: translateY(.45em); filter: blur(4px); transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
	html.is-loaded .hero__title[data-words] .w { opacity: 1; transform: none; filter: none; }
	html.js:not(.is-loaded) .hero .eyebrow, html.js:not(.is-loaded) .hero__text, html.js:not(.is-loaded) .hero__ctas { opacity: 0; animation: reveal-failsafe .01s 3.2s forwards; }
	html.is-loaded .hero .eyebrow { animation: fade-up .7s var(--ease) both; }
	html.is-loaded .hero__text { animation: fade-up .8s .55s var(--ease) both; }
	html.is-loaded .hero__ctas { animation: fade-up .8s .7s var(--ease) both; }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* Animated underline on the highlighted words */
.hero__title .grad-text { background-image: linear-gradient(var(--navy), var(--navy)); background-repeat: no-repeat; background-position: 0 92%; background-size: 0 4px; padding-bottom: 2px; }
html.is-loaded .hero__title .grad-text { animation: underline-in 1s 1.1s var(--ease) forwards; }
html.no-js .hero__title .grad-text { background-size: 100% 4px; }
@keyframes underline-in { to { background-size: 100% 4px; } }

/* Hero illustration */
.hero__visual { position: relative; }
.hero-art { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin-left: auto; }
.hero-art__net { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ha-orbit { fill: none; stroke: rgba(var(--navy-rgb), .14); stroke-width: 1; stroke-dasharray: 3 9; }
.ha-orbit--2 { stroke: rgba(var(--navy-rgb), .2); }
.ha-orbit--3 { stroke: rgba(var(--navy-rgb), .26); stroke-dasharray: none; }
.ha-links line { stroke: rgba(var(--navy-rgb), .22); stroke-width: 1; stroke-dasharray: 4 6; }
.ha-links .ha-spoke { stroke: rgba(var(--navy-rgb), .12); }
.ha-node { fill: var(--navy); }
.ha-card { position: absolute; background: rgba(255, 255, 255, .94); border: 1px solid rgba(var(--navy-rgb), .14); border-radius: 14px; box-shadow: 0 24px 50px -24px rgba(var(--navy-rgb), .45), 0 2px 6px rgba(0, 0, 0, .04); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ha-card--chart { left: 14%; right: 6%; top: 19%; padding: 18px 20px 16px; }
.ha-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ha-card__title { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--ink); }
.ha-live { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.ha-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--navy); }
.ha-chart { display: block; width: 100%; height: 120px; overflow: visible; }
.ha-chart__grid line { stroke: rgba(0, 0, 0, .07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ha-chart__area { fill: rgba(var(--navy-rgb), .08); }
.ha-chart__line { fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ha-chart__dot { fill: var(--navy); }
.ha-chart__ping { fill: none; stroke: var(--navy); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; opacity: 0; }
.ha-legend { display: flex; justify-content: flex-end; gap: 16px; margin-top: 10px; font-size: .75rem; color: var(--muted); }
.ha-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ha-legend span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--navy); }
.ha-legend span:nth-child(2)::before { opacity: .55; }
.ha-legend span:nth-child(3)::before { background: var(--ink); }
.ha-card--bars { left: 0; bottom: 2%; width: 40%; padding: 16px 18px; }
.ha-bars { display: flex; align-items: flex-end; gap: 8px; height: 64px; margin-top: 12px; }
.ha-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: var(--navy); transform-origin: bottom; }
.ha-bars i:nth-child(odd) { background: rgba(var(--navy-rgb), .35); }
.ha-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--white); border: 1px solid rgba(var(--navy-rgb), .14); box-shadow: 0 14px 30px -16px rgba(var(--navy-rgb), .5); font-size: .82rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.ha-chip__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); }
.ha-chip__icon .icon { width: 15px; height: 15px; }
.ha-chip--1 { top: 5%; left: 6%; }
.ha-chip--2 { top: 8%; right: 0; }
.ha-chip--3 { bottom: 8%; right: 6%; }

@media (prefers-reduced-motion: no-preference) {
	html.js:not(.is-loaded) .hero-art > * { opacity: 0; animation: reveal-failsafe .01s 3.2s forwards; }
	html.is-loaded .hero-art__net { animation: fade-in 1.2s .2s var(--ease) both; }
	html.is-loaded .ha-card--chart { animation: rise-in .9s .45s var(--ease) both; }
	html.is-loaded .ha-card--bars { animation: rise-in .9s .7s var(--ease) both; }
	html.is-loaded .ha-chip--1 { animation: rise-in .8s .9s var(--ease) both, hover-y 9s 2s ease-in-out infinite; }
	html.is-loaded .ha-chip--2 { animation: rise-in .8s 1.05s var(--ease) both, hover-y 10s 2.4s ease-in-out infinite; }
	html.is-loaded .ha-chip--3 { animation: rise-in .8s 1.2s var(--ease) both, hover-y 11s 2.8s ease-in-out infinite; }
	html.is-loaded .ha-chart__line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-line 1.6s .9s var(--ease) forwards; }
	html.is-loaded .ha-chart__area { animation: fade-in 1s 1.8s var(--ease) both; }
	html.is-loaded .ha-chart__dot { animation: fade-in .4s 2.3s both; }
	html.is-loaded .ha-chart__ping { animation: ping 2.6s 2.5s ease-out infinite; }
	html.is-loaded .ha-bars i { animation: bar-grow .9s calc(1s + var(--i) * 90ms) var(--ease) both; }
	html.is-loaded .ha-live i { animation: blink 2.4s 2s ease-in-out infinite; }
	.ha-links line { animation: dash-flow 22s linear infinite; }
	.ha-links .ha-spoke { animation-duration: 30s; animation-direction: reverse; }
	.ha-node { animation: node-pulse 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * -.45s); }
	.ha-orbit { animation: dash-flow 60s linear infinite; }
	.ha-orbit--2 { animation-direction: reverse; animation-duration: 80s; }
	.ha-glow { animation: glow-scale 8s ease-in-out infinite; transform-origin: 280px 280px; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hover-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ping { 0% { opacity: .7; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(3.2); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes node-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes glow-scale { 0%, 100% { transform: scale(.94); opacity: .85; } 50% { transform: scale(1.04); opacity: 1; } }

/* ---------- Image reveal ---------- */
.reveal-img { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
	html.js [data-anim] .reveal-img, html.js .hero__img.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
	html.js [data-anim].is-in .reveal-img, html.is-loaded .hero__img.reveal-img { clip-path: inset(0 0 0 0); }
	html.js [data-anim] .reveal-img > * { transform: scale(1.08); transition: transform 1.4s var(--ease); }
	html.js [data-anim].is-in .reveal-img > * { transform: none; }
}

/* ---------- CTA panel atmosphere ---------- */
.cta__panel { position: relative; overflow: hidden; isolation: isolate; }
.cta__content { position: relative; z-index: 1; }
.cta__fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cta__glow { position: absolute; width: 520px; height: 520px; left: 50%; top: 50%; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 62%); filter: blur(10px); }
.cta__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at center, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 15%, transparent 72%); }
.cta__sweep { position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .1), transparent); transform: skewX(-18deg); }
@media (prefers-reduced-motion: no-preference) {
	.cta__glow { animation: cta-glow 16s ease-in-out infinite alternate; }
	.cta__sweep { animation: sweep 9s ease-in-out infinite; }
	.cta__grid { animation: grid-pan 30s linear infinite; }
}
@keyframes cta-glow { 0% { transform: translate(-30%, -10%); } 100% { transform: translate(30%, 12%); } }
@keyframes sweep { 0%, 55% { left: -40%; } 100% { left: 130%; } }
@keyframes grid-pan { to { background-position: 44px 44px; } }

/* ---------- Footer glow ---------- */
.site-footer__glow { position: absolute; z-index: 0; width: 900px; height: 600px; left: 50%; bottom: -380px; margin-left: -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--navy-rgb), .55), transparent); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .site-footer__glow { animation: footer-glow 20s ease-in-out infinite alternate; } }
@keyframes footer-glow { to { transform: translateX(22%) scale(1.15); } }

/* ---------- Subtle button & link hovers ---------- */
.btn .btn-icon .icon, .link-arrow .icon, .service-card__more .icon, .hero-panel__link .icon { transition: transform .25s var(--ease); }
.btn:hover .btn-icon .icon, .link-arrow:hover .icon, .service-card:hover .service-card__more .icon { transform: translateX(3px); }
.btn--primary { box-shadow: 0 8px 20px -12px rgba(var(--navy-rgb), .7); }
.btn--primary:hover { box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .55); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.pillars, .value-grid { grid-template-columns: repeat(2, 1fr); }
	.svc-index { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
	.primary-nav, .header-cta { display: none; }
	.burger { display: block; }
	.hero__inner, .about__grid, .intro__grid, .different__grid, .svc-single__grid, .contact__grid, .svc-row { grid-template-columns: minmax(0, 1fr); }
	.hero__visual { max-width: 520px; width: 100%; margin: 0 auto; }
	.hero-art { margin: 0 auto; }
	.hero__img { aspect-ratio: 16 / 10; }
	.section-head--split { grid-template-columns: 1fr; align-items: start; }
	.service-grid, .why-grid, .testi-grid, .post-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
	.consult-card.s3-0, .consult-card.s3-1, .consult-card.s3-2 { grid-column: auto; flex-direction: column; align-items: stretch; }
	.consult-card.s2-0 { grid-column: 1 / -1; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.case__body { grid-template-columns: 1fr; }
	.sticky-col { position: static; }
}

@media (max-width: 760px) {
	:root { --header-h: 66px; }
	body { font-size: 1rem; }
	.hero__ctas .btn, .svc-row__ctas .btn { width: 100%; }
	.service-grid, .why-grid, .testi-grid, .post-grid, .project-grid, .pillars, .value-grid, .mv__grid, .tech-groups, .expertise-list, .svc-lists, .svc-lists--boxed, .svc-row__lists, .form-grid, .steps, .facts-panel { grid-template-columns: 1fr; }
	.consult-card.s2-0, .consult-card.s2-1 { grid-column: auto; }
	.svc-index { grid-template-columns: 1fr 1fr; }
	.facts-panel__item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
	.facts-panel__item:nth-child(n+3) { border-bottom: 1px solid rgba(255, 255, 255, .16); }
	.facts-panel__item:last-child { border-bottom: 0; }
	.case__facts { grid-template-columns: 1fr 1fr; }
	.case__facts > div:nth-child(2) { border-right: 0; }
	.case__facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.footer-bottom { flex-direction: column; align-items: flex-start; position: relative; }
	.footer-bottom p { padding-right: 56px; }
	.to-top { position: absolute; right: 0; top: 20px; }
	.form-foot .btn { width: 100%; }
	.next-project__title { padding-right: 48px; }
	.service-card, .why-card, .pillar, .value-card, .tech-group, .testi-card, .box, .aside-card, .case__block { padding: 24px; }
}

@media (max-width: 520px) {
	.ha-card--chart { left: 6%; right: 4%; padding: 14px; }
	.ha-chart { height: 90px; }
	.ha-card--bars { width: 48%; padding: 12px 14px; }
	.ha-bars { height: 46px; }
	.ha-chip { font-size: .74rem; padding: 6px 10px 6px 6px; }
	.ha-chip__icon { width: 24px; height: 24px; }
	.ha-chip--2 { right: 0; top: 4%; }
	.ha-chip--1 { top: 2%; left: 0; }
	.aurora i:nth-child(1) { width: 380px; height: 380px; }
}

@media (max-width: 420px) {
	.brand__word { font-size: 1rem; }
	.brand__mark { width: 30px; height: 30px; }
	.svc-index { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

@media print {
	.site-header, .mobile-menu, .cta, .site-footer { display: none !important; }
	.site-main { padding-top: 0; }
}

/* Highlights — responsive */
@media (max-width: 1024px) {
	.highlights__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.highlights { padding: 22px 16px; border-radius: var(--radius); }
	.highlights__head { flex-direction: column; align-items: flex-start; }
	.highlights__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.highlight { padding: 22px 20px 24px; }
	.highlight__top { margin-bottom: 18px; }
}

/* =========================================================
   Unified hover system (v2.3) — one motion language, taken from
   the "Why Choose Us" highlights: 3px lift, navy border + soft
   shadow, navy top bar that draws across, icon fills navy.
   Same timing everywhere. Hover effects only on devices with a
   real pointer; touch devices keep tap states only.
   ========================================================= */
:root {
	--hv-dur: .3s;
	--hv-ease: cubic-bezier(.2, .7, .2, 1);
	--hv-lift: translateY(-3px);
	--hv-border: rgba(var(--navy-rgb), .35);
	--hv-shadow: 0 12px 32px -12px rgba(0, 0, 0, .14);
	--hv-shadow-sm: 0 10px 22px -12px rgba(0, 0, 0, .28);
}

/* Cards */
:is(.highlight, .service-card, .why-card, .pillar, .value-card, .post-card, .svc-row, .tech-group, .testi-card, .mv-card, .contact-card, .project-card) { position: relative; transition: border-color var(--hv-dur) var(--hv-ease), box-shadow var(--hv-dur) var(--hv-ease), transform var(--hv-dur) var(--hv-ease), background-color var(--hv-dur) var(--hv-ease); }
:is(.highlight, .service-card, .why-card, .pillar, .value-card, .post-card, .svc-row, .tech-group, .testi-card, .mv-card, .contact-card, .project-card):not(.project-card)::before,
.project-card__media::before,
.step::before { content: ""; position: absolute; z-index: 2; left: var(--hv-bar-inset, 24px); right: var(--hv-bar-inset, 24px); top: -1px; height: 2px; border-radius: 2px; background: var(--navy); transform: scaleX(.18); transform-origin: left; transition: transform var(--hv-dur) var(--hv-ease); pointer-events: none; }
.contact-card { --hv-bar-inset: 18px; }
.project-card__media { position: relative; transition: border-color var(--hv-dur) var(--hv-ease), box-shadow var(--hv-dur) var(--hv-ease); }
.project-card__media::before { top: 0; }
.step { position: relative; transition: background-color var(--hv-dur) var(--hv-ease); }
.step::before { --hv-bar-inset: 30px; transform: scaleX(0); }
:is(.highlight__icon, .icon-box, .contact-card__icon, .mv-card__icon, .value-card__icon, .aside-card__icon) { transition: background-color var(--hv-dur) var(--hv-ease), color var(--hv-dur) var(--hv-ease); }

/* Reveal-on-scroll cards: once revealed, hand transitions over to the hover timing */
html.js :is(.highlight, .service-card, .why-card, .pillar, .value-card, .post-card, .svc-row, .tech-group, .testi-card, .mv-card, .contact-card, .project-card)[data-anim].is-settled { transition: opacity 0s, border-color var(--hv-dur) var(--hv-ease), box-shadow var(--hv-dur) var(--hv-ease), transform var(--hv-dur) var(--hv-ease), background-color var(--hv-dur) var(--hv-ease); }

html.js .link-arrow[data-anim].is-settled { transition: opacity 0s, transform var(--hv-dur) var(--hv-ease), background-size var(--hv-dur) var(--hv-ease), color var(--hv-dur) var(--hv-ease); }
html.js .btn[data-anim].is-settled { transition: opacity 0s, background-color var(--hv-dur) var(--hv-ease), border-color var(--hv-dur) var(--hv-ease), color var(--hv-dur) var(--hv-ease), box-shadow var(--hv-dur) var(--hv-ease), transform var(--hv-dur) var(--hv-ease); }
.post-card::before { top: 0; }

/* Buttons & small controls */
.btn, .filter, .socials a, .to-top, .svc-index a { transition: background-color var(--hv-dur) var(--hv-ease), border-color var(--hv-dur) var(--hv-ease), color var(--hv-dur) var(--hv-ease), box-shadow var(--hv-dur) var(--hv-ease), transform var(--hv-dur) var(--hv-ease); }
.btn .btn-icon .icon, .link-arrow .icon, .service-card__more .icon, .hero-panel__link .icon, .expertise-arrow { transition: transform var(--hv-dur) var(--hv-ease), color var(--hv-dur) var(--hv-ease); }

/* Text links: navy underline that draws across (same bar motif) */
.link-arrow, .primary-nav .nav-menu > .menu-item > a, .footer-links a, .legal-links a, .breadcrumbs a, .aside-links a { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1.5px; transition: background-size var(--hv-dur) var(--hv-ease), color var(--hv-dur) var(--hv-ease); }
.link-arrow:hover, .footer-links a:hover, .legal-links a:hover, .hero-panel__link:hover { text-decoration: none; }
.primary-nav .nav-menu > .menu-item > a { background-image: linear-gradient(var(--navy), var(--navy)); background-position: 14px calc(100% - 2px); background-size: 0 2px; }
.primary-nav .nav-menu > :is(.current-menu-item, .current_page_item) > a { box-shadow: none; background-size: calc(100% - 28px) 2px; border-radius: 6px; }
.primary-nav .sub-menu a { transition: background-color var(--hv-dur) var(--hv-ease), color var(--hv-dur) var(--hv-ease); }

@media (hover: hover) and (pointer: fine) {
	:is(.highlight, .service-card, .why-card, .pillar, .value-card, .post-card, .svc-row, .tech-group, .testi-card, .mv-card, .contact-card, .project-card):hover,
	html.js :is(.highlight, .service-card, .why-card, .pillar, .value-card, .post-card, .svc-row, .tech-group, .testi-card, .mv-card, .contact-card, .project-card)[data-anim].is-in:hover { transform: var(--hv-lift); border-color: var(--hv-border); box-shadow: var(--hv-shadow); }
	:is(.highlight, .service-card, .why-card, .pillar, .value-card, .post-card, .svc-row, .tech-group, .testi-card, .mv-card, .contact-card, .project-card):hover::before, .project-card:hover .project-card__media::before, .step:hover::before { transform: scaleX(1); }
	.project-card:hover { box-shadow: none; }
	.project-card:hover .project-card__media { border-color: var(--hv-border); box-shadow: var(--hv-shadow); }
	.step:hover { background-color: var(--tint); }
	:is(.highlight, .service-card, .why-card, .pillar, .value-card, .post-card, .svc-row, .tech-group, .testi-card, .mv-card, .contact-card, .project-card):hover :is(.highlight__icon, .icon-box, .contact-card__icon, .mv-card__icon, .value-card__icon, .aside-card__icon) { background: var(--navy); color: var(--white); }

	.btn:hover, html.js .btn[data-anim].is-in:hover, .filter:hover, .socials a:hover, .to-top:hover, .svc-index a:hover { transform: var(--hv-lift); box-shadow: var(--hv-shadow-sm); }
	.btn--primary:hover { box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .55); }
	.site-footer :is(.socials a, .to-top):hover { box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .7); }

	.link-arrow:hover, .primary-nav .nav-menu > .menu-item > a:hover, .footer-links a:hover, .legal-links a:hover, .breadcrumbs a:hover, .aside-links a:hover { background-size: 100% 1.5px; }
	.primary-nav .nav-menu > .menu-item > a:hover { background-size: calc(100% - 28px) 2px; }
}

/* Keyboard users get the same visual state on focus */
:is(.btn, .filter, .socials a, .to-top, .svc-index a):focus-visible { transform: var(--hv-lift); box-shadow: var(--hv-shadow-sm); }
:is(.highlight, .service-card, .why-card, .pillar, .value-card, .post-card, .svc-row, .tech-group, .testi-card, .mv-card, .contact-card, .project-card):focus-within::before { transform: scaleX(1); }

/* Touch: subtle press feedback instead of hover */
@media (hover: none) {
	.btn:active, .filter:active, .socials a:active, .to-top:active, .svc-index a:active { transform: scale(.98); }
}

@media (prefers-reduced-motion: reduce) {
	:is(.highlight, .service-card, .why-card, .pillar, .value-card, .post-card, .svc-row, .tech-group, .testi-card, .mv-card, .contact-card, .project-card), .btn, .filter, .socials a, .to-top, .svc-index a { transform: none !important; }
}

/* =========================================================
   Contact details (v2.4): top contact bar, footer, contact page
   ========================================================= */
:root { --topbar-h: 0px; }
.site-header.has-topbar { --topbar-h: 38px; }
.site-header { height: auto; flex-direction: column; align-items: stretch; transition: border-color var(--hv-dur) var(--hv-ease), box-shadow var(--hv-dur) var(--hv-ease), transform var(--hv-dur) var(--hv-ease); }
.site-header__inner { height: var(--header-h); width: 100%; }
body.has-topbar { --topbar-h: 38px; }
.site-main { padding-top: calc(var(--header-h) + var(--topbar-h)); }
/* Once the page scrolls, the contact bar tucks away and only the main bar stays. */
.site-header.has-topbar.is-scrolled { transform: translateY(calc(-1 * var(--topbar-h))); }

.topbar { height: var(--topbar-h); background: var(--navy); color: var(--white); font-size: .82rem; line-height: 1; }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__contact { list-style: none; display: flex; align-items: center; gap: 6px 26px; margin: 0; padding: 0; min-width: 0; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .88); font-weight: 500; white-space: nowrap; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px; padding: 3px 0; transition: background-size var(--hv-dur) var(--hv-ease), color var(--hv-dur) var(--hv-ease); }
.topbar__contact .icon { width: 15px; height: 15px; flex: none; }
.topbar .socials { gap: 2px; }
.topbar .socials a { width: 30px; height: 30px; border: 0; border-radius: 6px; color: rgba(255, 255, 255, .88); }
.topbar .socials .icon { width: 15px; height: 15px; }

/* Header button: same label + arrow pattern as other buttons */
.header-cta { gap: 8px; }
.header-cta .btn-icon .icon { width: 16px; height: 16px; }

/* Mobile menu contact */
.mobile-menu__contact { list-style: none; display: grid; gap: 10px; margin: 24px 0 18px; padding: 20px 0 0; border-top: 1px solid var(--line); }
.mobile-menu__contact a { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; min-height: 40px; }
.mobile-menu__contact .icon { width: 18px; height: 18px; color: var(--navy); }

/* Address + map links */
address { font-style: normal; }
.map-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: var(--fs-sm); font-weight: 600; color: var(--navy); background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1.5px; transition: background-size var(--hv-dur) var(--hv-ease), color var(--hv-dur) var(--hv-ease); }
.map-link .icon { width: 15px; height: 15px; transition: transform var(--hv-dur) var(--hv-ease); }
.site-footer .map-link { color: var(--white); }
.footer-contact address { color: rgba(255, 255, 255, .85); }
.contact-card--top { align-items: flex-start; }
.contact-card address { font-weight: 600; color: var(--ink); line-height: 1.55; }

/* Labeled social profiles (contact page) */
.socials--labeled { gap: 10px; }
.socials--labeled a { width: auto; height: 44px; padding: 0 16px 0 12px; gap: 10px; display: inline-flex; align-items: center; font-size: .92rem; font-weight: 600; }
.contact__social .eyebrow { margin-bottom: 12px; }

/* Office map */
.contact-map { padding-top: 0; }
.contact-map__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.contact-map__head .display-3 { margin: 0; }
.contact-map__frame { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--tint); width: 100%; height: clamp(300px, 36vw, 460px); transition: border-color var(--hv-dur) var(--hv-ease), box-shadow var(--hv-dur) var(--hv-ease); }
.contact-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35); }

@media (hover: hover) and (pointer: fine) {
	.topbar__contact a:hover { color: var(--white); background-size: 100% 1px; }
	.topbar .socials a:hover { background: rgba(255, 255, 255, .14); color: var(--white); box-shadow: none; }
	.map-link:hover { background-size: 100% 1.5px; }
	.map-link:hover .icon { transform: translate(2px, -2px); }
	.mobile-menu__contact a:hover { color: var(--navy); }
	.contact-map__frame:hover { border-color: var(--hv-border); box-shadow: var(--hv-shadow); }
}

@media (max-width: 1180px) {
	.topbar__addr { display: none; }
}
@media (max-width: 1024px) {
	/* Tablet & phone: the contact bar is replaced by the contact block in the menu */
	.site-header.has-topbar, body.has-topbar { --topbar-h: 0px; }
	.topbar { display: none; }
}
@media (max-width: 760px) {
	.contact-map__frame { height: 320px; }
	.contact-map__head .btn { width: 100%; }
	.socials--labeled { display: grid; grid-template-columns: 1fr 1fr; }
	.socials--labeled a { width: 100%; }
}

/* =========================================================
   Footer social icons — official brand colours on hover (footer only)
   ========================================================= */
.site-footer .socials a { position: relative; overflow: hidden; isolation: isolate; transition: background-color var(--hv-dur) var(--hv-ease), border-color var(--hv-dur) var(--hv-ease), color var(--hv-dur) var(--hv-ease), box-shadow var(--hv-dur) var(--hv-ease), transform var(--hv-dur) var(--hv-ease); }
/* Instagram's gradient can't transition as a background colour, so it fades in on a layer. */
.site-footer .socials a.social-instagram::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); opacity: 0; transition: opacity var(--hv-dur) var(--hv-ease); }
@media (hover: hover) and (pointer: fine) {
	.site-footer .socials a.social-facebook:hover { background: #1877F2; border-color: #1877F2; color: #FFFFFF; box-shadow: 0 10px 22px -10px rgba(24, 119, 242, .7); }
	.site-footer .socials a.social-linkedin:hover { background: #0A66C2; border-color: #0A66C2; color: #FFFFFF; box-shadow: 0 10px 22px -10px rgba(10, 102, 194, .7); }
	.site-footer .socials a.social-instagram:hover { background: transparent; border-color: transparent; color: #FFFFFF; box-shadow: 0 10px 22px -10px rgba(214, 36, 159, .7); }
	.site-footer .socials a.social-instagram:hover::before { opacity: 1; }
	/* X is black: keep a white outline so it stays visible on the black footer. */
	.site-footer .socials a.social-x:hover { background: #000000; border-color: #FFFFFF; color: #FFFFFF; box-shadow: 0 10px 22px -10px rgba(255, 255, 255, .35); }
	.site-footer .socials a.social-youtube:hover { background: #FF0000; border-color: #FF0000; color: #FFFFFF; box-shadow: 0 10px 22px -10px rgba(255, 0, 0, .6); }
}
.site-footer .socials a:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }

/* =========================================================
   v2.5 audit fixes — mobile refinements
   ========================================================= */
@media (max-width: 520px) {
	/* Hero art: a little taller so the Engagement card no longer covers the chart legend */
	.hero-art { aspect-ratio: 1 / 1.1; }
	.ha-card--chart { top: 15%; }
	.ha-card--bars { bottom: 0; }
}
@media (max-width: 600px) {
	/* Compact cards: icon sits beside the title instead of on its own row */
	.service-card, .why-card, .pillar { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; align-content: start; padding: 20px; }
	.service-card > *, .why-card > *, .pillar > * { grid-column: 1 / -1; }
	.service-card > .icon-box, .why-card > .icon-box, .pillar > .icon-box { grid-column: 1; grid-row: 1; width: 44px; height: 44px; }
	.service-card > .service-card__title, .why-card > h3, .pillar > h3 { grid-column: 2; grid-row: 1; margin: 0; }
	.service-card__text, .why-card p, .pillar p { margin-top: 12px; }
	.service-card__text { margin-bottom: 16px; }
	.service-card__more { justify-self: start; }
	.service-card, .why-card, .pillar { --hv-bar-inset: 20px; }
}

/* Placeholder notes (logged-in editors only) & empty state */
.admin-note { margin: 0 0 20px; padding: 10px 14px; border: 1px dashed rgba(var(--navy-rgb), .4); border-radius: var(--radius-sm); background: var(--tint); color: var(--navy); font-size: var(--fs-sm); }
.empty-state { grid-column: 1 / -1; max-width: 620px; margin: 0 auto; padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px); text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.empty-state .icon-box { margin-bottom: 18px; }
.empty-state h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.empty-state p { color: var(--muted); margin: 0 auto 24px; }
@media (max-width: 400px) {
	/* Very narrow phones: long button labels wrap instead of overflowing */
	.btn { white-space: normal; }
	.aside-card .btn, .btn--block { padding-left: 16px; padding-right: 16px; }
}
