/* SER Accounting & Consulting — layout and type modeled on the Conseil consulting style */
:root {
  --primary: #0e76bc;        /* SER logo blue (Conseil uses teal here) */
  --primary-dark: #0a5c94;
  --accent: #00aeef;         /* SER logo cyan */
  --ink: #0f0e26;            /* SER logo navy */
  --heading: #000;
  --text: #52525b;
  --muted: #71717a;
  --line: #e4e4e7;
  --soft: #f4f4f5;
  --bg-alt: #f2f2f2;
  --tint: rgba(14, 118, 188, .1);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 8px rgba(0,0,0,.05), 0 24px 35px rgba(0,0,0,.08);
  --f-head: "Poppins", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.165,.84,.44,1);
  --ease-2: cubic-bezier(.365,.84,.44,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.6; color: var(--text); background: #fff; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--f-head); color: var(--heading); font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); line-height: 1.02; letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.2; letter-spacing: -.04em; }
h3 { font-size: 1.35rem; line-height: 1.3; letter-spacing: -.03em; }
h4 { font-size: 1.05rem; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; font-size: 14px; padding: 9px 18px; line-height: 1.8; border-radius: var(--radius); border: 0; cursor: pointer; transition: all .15s ease-in-out; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--primary-dark); }
.btn-soft { background: var(--tint); color: var(--primary-dark); }
.btn-soft:hover { background: rgba(14,118,188,.18); }
.btn-pill { border-radius: 999px; padding: 10px 24px; font-size: 16px; font-weight: 400; }
.btn-white { background: #fff; color: #222; }
.btn-white:hover, .btn-white:focus-visible { background: #e6e6e6; color: #292929; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-gray { background: var(--soft); color: #18181b; }
.btn-gray:hover { background: var(--line); }
.link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-size: 14px; font-weight: 500; color: var(--primary); }
.link svg { width: 14px; height: 14px; transition: transform .2s; }
.link:hover svg { transform: translateX(3px); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-size: 12px; font-weight: 600; color: #3f3f46; background: var(--soft); padding: 5px 12px; border-radius: 160px; margin-bottom: 18px; }
.badge-tint { background: var(--tint); color: var(--primary-dark); }
.badge-dark { background: rgba(0,0,0,.45); color: #fff; backdrop-filter: blur(6px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: #18181b; margin-bottom: 14px; }
.eyebrow .ico { width: 22px; height: 22px; border-radius: 6px; background: var(--tint); color: var(--primary); display: grid; place-items: center; }
.eyebrow .ico svg { width: 13px; height: 13px; }

/* Header — Conseil: main row fixed; info bar is "smart sticky" (hides scrolling down, returns scrolling up) */
.site-header { position: sticky; top: 0; z-index: 50; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.hdr-main { position: relative; z-index: 2; background: #fff; transition: box-shadow .2s var(--ease), background-color .2s var(--ease); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 66px; border-bottom: 1px solid var(--line); }
.hdr-left, .main-nav, .nav-cta { flex: 1; display: flex; align-items: center; }
.main-nav { justify-content: center; gap: 0; align-self: stretch; }
.nav-cta { justify-content: flex-end; gap: 10px; }
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.hdr-divider { width: 1px; height: 24px; background: rgba(0,0,0,.1); margin: 0 16px; display: inline-block; }
.topbar .hdr-divider { height: 20px; margin: 0 14px; }
.hdr-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: #000; white-space: nowrap; }
.hdr-tag svg { width: 18px; height: 18px; }
.main-nav a { display: flex; align-items: center; padding: 0 18px; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: #000; transition: color .4s var(--ease); }
.main-nav a span { position: relative; padding: 6px 0; }
.main-nav a span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav a:hover span::after, .main-nav a[aria-current="page"] span::after { transform: scaleX(1); }
.topbar { position: relative; z-index: 1; background: #fff; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-size: 14px; font-weight: 600; color: #000; transition: transform .4s var(--ease-2), opacity .4s var(--ease-2); }
.topbar.is-hidden { transform: translateY(-100%); opacity: 0; transition: transform .4s var(--ease-2), opacity .2s ease .4s; pointer-events: none; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.topbar .info, .follow { display: flex; align-items: center; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 16px; height: 16px; }
.follow { gap: 8px; }
.social-links { display: inline-flex; align-items: center; gap: 4px; }
.social-links a { display: inline-grid; place-items: center; padding: 0 4px; color: #000; transition: color .4s var(--ease); }
.social-links a:hover { color: var(--primary); }
.social-links svg { width: 20px; height: 20px; }
.social-links.lg svg { width: 24px; height: 24px; }
.hdr-main.is-scroll { box-shadow: 0 1px 0 var(--line); }
.menu-btn { display: none; background: var(--soft); border: 0; width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav { display: none; }

/* Page loading bar (Conseil shows a thin bar until the page renders) */
.page-loader { position: fixed; z-index: 9999; top: 50%; left: 50%; width: 100px; height: 5px; border-radius: 3px; overflow: hidden; transform: translate(-50%,-50%); transition: opacity .3s; pointer-events: none; }
.page-loader::before { content: ""; position: absolute; inset: 0; background: var(--primary); opacity: .1; }
.page-loader::after { content: ""; position: absolute; inset: 0; border-radius: 3px; background: var(--primary); transform: translateX(-100%); animation: loadbar 1.4s ease-in-out infinite; }
@keyframes loadbar { to { transform: translateX(100%); } }
body.render .page-loader { opacity: 0; }

/* Hero */
.hero { position: relative; color: #fff; text-align: center; padding: 130px 0 190px; overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; background: url("../img/desk.webp") center 30% / cover no-repeat; }
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; overflow: hidden; }
.hero-slide.is-active { opacity: 1; }
.kb { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1); transition: transform 10s linear; }
.hero-slide.is-active .kb { transform: scale(1.3); transition-duration: 20s; }
.kb-solo { transform: scale(1); transition: transform 20s linear; }
body.render .kb-solo { transform: scale(1.3); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,14,38,.55) 0%, rgba(15,14,38,.62) 45%, rgba(10,92,148,.85) 100%); }
.hero::after { content: ""; position: absolute; z-index: 2; left: -10%; right: -10%; bottom: -1px; height: 90px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hero .wrap { position: relative; z-index: 3; }
.hero h1 { color: #fff; max-width: 900px; margin: 0 auto 18px; }
.hero .lead { font-size: 18px; color: rgba(255,255,255,.78); max-width: 640px; margin: 0 auto 30px; }
.hero-top { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.hero-top .badge { margin: 0; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hero-strip { margin-top: 64px; }
.hero-strip p { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.marquee { display: flex; overflow: hidden; max-width: 760px; margin: 0 auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-inner { list-style: none; margin: 0; padding: 0; display: flex; flex: none; font-family: var(--f-head); font-weight: 600; font-size: 22px; letter-spacing: -.03em; color: rgba(255,255,255,.88); animation: marquee 40s linear infinite; }
.marquee-inner li { display: flex; align-items: center; gap: 10px; padding: 0 1.5vw; white-space: nowrap; transition: transform .4s var(--ease); }
.marquee-inner li:hover { transform: scale(1.05); }
@keyframes marquee { to { transform: translateX(-100%); } }
.hero-strip svg { width: 22px; height: 22px; opacity: .8; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 110px 0 150px; text-align: center; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero .hero-bg { opacity: .9; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,14,38,.7), rgba(10,92,148,.86)); }
.page-hero::after { content: ""; position: absolute; z-index: 2; left: -10%; right: -10%; bottom: -1px; height: 70px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.page-hero .wrap { position: relative; z-index: 3; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 820px; margin-inline: auto; }
.page-hero p { color: rgba(255,255,255,.78); font-size: 18px; max-width: 640px; margin: 0 auto; }
.crumbs { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }

/* Sections */
section { padding: 100px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 16px; }
.bg-alt { background: var(--bg-alt); }

/* Feature cards (3-up) */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 50px 50px 36px; }
.card .icon { width: 40px; height: 40px; color: var(--primary); margin-bottom: 28px; }
.card .icon svg { width: 34px; height: 34px; }
.card p { font-size: 15px; line-height: 1.8; }
.card hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0 18px; }
.card .tag { position: absolute; top: 16px; right: 16px; margin: 0; }

/* Split (text + image) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.split .lead { font-size: 17px; max-width: 480px; }
.split-img { position: relative; }
.split-img img { border-radius: var(--radius-lg); width: 100%; height: 460px; object-fit: cover; transition: transform 1s var(--ease-2); }
.split-img { border-radius: var(--radius-lg); }
.split-img.hover-zoom > img { display: block; }
.split-img.hover-zoom { overflow: hidden; }
.split-img.hover-zoom .zoom-clip { overflow: hidden; border-radius: var(--radius-lg); }
.hover-zoom:hover .zoom-layer, .split-img.hover-zoom:hover img { transform: scale(1.05); }
.zoom-layer { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1s var(--ease-2); }
.split-img figcaption { font-size: 14px; text-align: center; margin-top: 22px; color: var(--text); }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.mini { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: #fff; }
.mini .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--primary); display: grid; place-items: center; flex: none; }
.mini .ico svg { width: 18px; height: 18px; }
.mini strong { display: block; font-family: var(--f-head); font-size: 14px; color: #18181b; font-weight: 600; }
.mini span { font-size: 12px; color: var(--muted); }

/* Industries tabs */
.tabs-layout { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.tabs-layout h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
.tab-list { display: flex; flex-direction: column; gap: 6px; margin-top: 30px; }
.tab { display: flex; align-items: center; gap: 12px; background: none; border: 0; text-align: left; padding: 10px 25px; margin: 4px 0; border-radius: var(--radius); font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; color: #3f3f46; opacity: .7; cursor: pointer; transition: all .4s var(--ease); }
.tab svg { width: 16px; height: 16px; flex: none; }
.tab:not([aria-selected="true"]):hover { opacity: 1; }
.tab[aria-selected="true"] { background: var(--primary); color: #fff; opacity: 1; box-shadow: 0 .25rem .5rem rgba(0,0,0,.05), 0 1.5rem 2.2rem rgba(0,0,0,.1); }
.panel { transition: opacity .15s linear; }
.panel.is-entering { opacity: 0; }
.panel { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; }
.panel[hidden] { display: none; }
.panel-text { padding: 44px 40px; }
.panel-text h3 { font-size: 1.9rem; }
.panel-text ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.panel-text li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: #27272a; }
.panel-text li svg { width: 18px; height: 18px; color: var(--primary); flex: none; }
.panel-img { position: relative; overflow: hidden; }
.panel-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,14,38,.05) 30%, rgba(10,92,148,.9)); }
.panel-img .over { z-index: 2; position: absolute; left: 28px; right: 28px; bottom: 28px; color: #fff; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-family: var(--f-head); font-weight: 600; font-size: 16px; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks svg { width: 20px; height: 20px; flex: none; }

/* Info card + image (Operations style) */
.combo { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.combo-text { padding: 60px; }
.combo-text h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.combo-text .lead { font-size: 17px; }
.combo-foot { display: grid; grid-template-columns: auto 1fr; gap: 36px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 34px; align-items: start; }
.combo-foot .big { font-family: var(--f-head); font-weight: 600; font-size: 3.2rem; line-height: 1; color: #000; letter-spacing: -.04em; }
.combo-foot .big small { display: block; font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; margin-top: 10px; }
.combo-foot h4 { margin-bottom: 6px; }
.combo-foot p { font-size: 14px; margin: 0; }
.combo-img { position: relative; overflow: hidden; min-height: 520px; }
.combo-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,14,38,.1) 25%, rgba(10,92,148,.92)); }
.combo-img .over { z-index: 2; position: absolute; left: 40px; bottom: 40px; right: 40px; color: #fff; }

.ask { display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 50px; margin-top: 30px; }
.ask h3 { font-size: 1.5rem; margin-bottom: 6px; }
.ask p { margin: 0; font-size: 15px; }

/* Quote */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--f-head); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; letter-spacing: -.03em; color: #000; }
.quote cite { display: block; margin-top: 20px; font-style: normal; font-size: 15px; color: var(--muted); }

/* CTA banner */
.cta-wrap { position: relative; padding: 0 0 100px; }
.cta-wrap.half::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: var(--bg-alt); }
.cta { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-align: center; padding: 120px 30px; background: var(--ink); }
.cta-bg { position: absolute; inset: 0; background: url("../img/hero.webp") center 35% / cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,14,38,.55), rgba(10,92,148,.9)); }
.cta > *:not(.cta-bg) { position: relative; z-index: 2; }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); max-width: 760px; margin: 0 auto 16px; }
.cta p { color: rgba(255,255,255,.75); font-size: 17px; margin-bottom: 28px; }
.cta .hero-actions { gap: 12px; }

/* Services page */
.svc { display: grid; grid-template-columns: 300px 1fr; gap: 60px; padding: 56px 0; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc-head .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--primary); display: grid; place-items: center; margin-bottom: 20px; }
.svc-head .icon svg { width: 26px; height: 26px; }
.svc-head h2 { font-size: 1.8rem; line-height: 1.2; }
.svc-body p { font-size: 16px; line-height: 1.8; }
.svc-body .btn { margin-top: 8px; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 70px; }
.toc a { font-family: var(--f-head); font-size: 14px; font-weight: 500; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: #27272a; transition: all .2s; }
.toc a:hover { border-color: var(--primary); color: var(--primary); }

/* Industries page */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ind-grid .card { padding: 40px; }
.ind-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ind-grid li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: #27272a; }
.ind-grid li svg { width: 16px; height: 16px; color: var(--primary); flex: none; }

/* About values */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.values .card { padding: 48px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.contact-list { display: grid; gap: 16px; margin-top: 30px; }
.contact-list .mini { padding: 20px; }
.contact-list .mini strong { font-size: 15px; }
.contact-list .mini span { font-size: 14px; }
form.card { padding: 44px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-family: var(--f-head); font-weight: 500; font-size: 14px; color: #18181b; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fafafa; color: #18181b; transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.map { border: 0; width: 100%; height: 280px; border-radius: var(--radius-lg); margin-top: 16px; filter: grayscale(.2); }

/* Footer */
.site-footer { background: var(--bg-alt); padding: 70px 0 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-grid h5 { font-size: 14px; font-weight: 600; padding-bottom: 14px; border-bottom: 1px solid #d9d9de; margin-bottom: 18px; }
.foot-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 320px; }
.foot-contact { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; font-family: var(--f-head); font-weight: 600; color: #18181b; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 16px; height: 16px; color: var(--primary); flex: none; margin-top: 3px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-family: var(--f-head); font-weight: 500; color: #3f3f46; }
.foot-links a:hover { color: var(--primary); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid #d9d9de; margin-top: 56px; padding-top: 26px; color: var(--muted); }
.foot-follow { display: flex; align-items: center; gap: 12px; color: #18181b; font-family: var(--f-head); font-size: 14px; }
.foot-bottom nav { display: flex; gap: 22px; font-family: var(--f-head); font-weight: 600; color: #18181b; }

/* Scroll animations — Conseil timings: fade / fade-in-up / fade-in-right at 20px, .5s easeOutQuart; headings slide in word-by-word (.8s, 75ms stagger) or letter-by-letter (.5s) with a 5px blur */
.js [data-anim] { opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); will-change: transform, opacity; }
.js [data-anim="fade-in-up"] { transform: translateY(20px); }
.js [data-anim="fade-in-right"] { transform: translateX(20px); }
.js [data-anim].is-in { opacity: 1; transform: none; }
.slide-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em 1em; margin: -.1em -1em; white-space: nowrap; }
.slide-mask.done { overflow: visible; }
.slide-item { display: inline-block; transform: translateY(10px); filter: blur(5px); opacity: 0; transition-property: transform, filter, opacity; transition-duration: .8s; transition-timing-function: ease; }
[data-slide="letters"] .slide-item { transition-duration: .5s; }
.is-in .slide-item, .slide-head.is-in .slide-item { transform: none; filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js [data-anim], .slide-item { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .kb, .kb-solo { transform: none !important; transition: none !important; }
  .marquee-inner { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1080px) {
  .main-nav, .nav-cta .btn-soft, .hdr-tag, .hdr-left .hdr-divider { display: none; }
  .hdr-left, .nav-cta { flex: none; }
  .menu-btn { display: grid; place-items: center; }
  .mobile-nav.open { display: block; border-top: 1px solid var(--line); padding: 12px 0 20px; }
  .mobile-nav a { display: block; padding: 12px 0; font-family: var(--f-head); font-weight: 500; color: #18181b; border-bottom: 1px solid var(--soft); }
  .mobile-nav .btn { margin-top: 14px; width: 100%; justify-content: center; color: #fff; border: 0; }
  .cards-3, .ind-grid { grid-template-columns: 1fr 1fr; }
  .split, .tabs-layout, .combo, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 720px) {
  section { padding: 72px 0; }
  .topbar .follow, .topbar .email { display: none; }
  .nav-cta .btn-primary { display: none; }
  .hero { padding: 90px 0 150px; }
  .cards-3, .ind-grid, .values, .mini-cards, .panel, .field-row, .foot-grid { grid-template-columns: 1fr; }
  .panel-img { min-height: 260px; }
  .card { padding: 36px 28px 28px; }
  .combo-text { padding: 36px 28px; }
  .combo-img { min-height: 380px; }
  .ask { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .split-img img { height: 320px; }
  .cta { padding: 80px 22px; }
}
.cta-wrap .wrap { position: relative; z-index: 1; }
@media (max-width: 480px) { h1 { font-size: 2.15rem; } .hero .lead { font-size: 16px; } .hero-strip ul { font-size: 16px; gap: 10px 22px; } }
