/* Perception Solution & Consultants
   Palette taken from the logo: cerulean "P" and slate-grey wordmark.
   Light pages with deep-navy feature bands; one accent (logo blue). */
:root {
  --blue: #0A9FDE;
  --blue-deep: #0670A3;
  --blue-soft: #E6F5FC;
  --slate: #7D8085;
  --navy: #0C1A2A;
  --navy-2: #13263B;
  --ink: #17202C;
  --muted: #5B6676;
  --line: #E2E7ED;
  --tint: #F4F8FB;
  --white: #FFFFFF;
  --head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --script: "Cormorant Garamond", Palatino, "Book Antiqua", Georgia, serif;
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(12, 26, 42, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 96px }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden }
img { max-width: 100%; height: auto; display: block }
a { color: var(--blue-deep) }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0; text-wrap: balance; color: var(--ink) }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -0.025em }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em }
h3 { font-size: 1.2rem; font-weight: 700 }
p { margin: 0 }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0) }
.muted { color: var(--muted) }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)) }
.section { padding-block: clamp(64px, 9vw, 112px) }
.section.tint { background: var(--tint) }
.section.dark { background: var(--navy); color: #C9D4E1 }
.section.dark h2, .section.dark h3 { color: var(--white) }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .78rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep) }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue) }
.dark .eyebrow { color: var(--blue) }
.script { font-family: var(--script); font-style: italic; font-weight: 600; color: var(--blue) }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch }
.dark .lead { color: #A9B7C8 }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: var(--blue); color: var(--white); font: 700 .98rem/1 var(--head); text-decoration: none; border: 2px solid var(--blue); transition: transform .25s var(--ease), background .25s, box-shadow .25s; cursor: pointer }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(6, 112, 163, .7) }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line) }
.btn.ghost:hover { border-color: var(--blue); color: var(--blue-deep); background: transparent }
.dark .btn.ghost, .hero .btn.ghost, .page-hero .btn.ghost { color: var(--white); border-color: rgba(255,255,255,.3) }
.btn-sm { padding: 10px 18px; font-size: .9rem }
.btn .arr { transition: transform .25s var(--ease) }
.btn:hover .arr { transform: translateX(4px) }
.actions { display: flex; flex-wrap: wrap; gap: 14px }

/* progress + header */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-deep)); transform-origin: 0 50%; transform: scaleX(0) }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(12,26,42,.45) }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; transition: height .3s var(--ease) }
.scrolled .header-inner { height: 68px }
.brand img { width: 150px; transition: width .3s var(--ease) }
.scrolled .brand img { width: 124px }
.site-nav { display: flex; align-items: center; gap: 6px }
.site-nav a:not(.btn) { position: relative; padding: 10px 14px; color: var(--ink); text-decoration: none; font: 600 .95rem/1 var(--head) }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease) }
.site-nav a:not(.btn):hover::after, .site-nav a.active::after { transform: scaleX(1) }
.site-nav a.active:not(.btn) { color: var(--blue-deep) }
.site-nav .btn.active { background: var(--blue-deep); border-color: var(--blue-deep) }
.site-nav .btn { margin-left: 10px }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0 }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

/* hero (home) */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% -10%, #12406A 0%, transparent 60%), var(--navy); color: #C9D4E1; overflow: hidden }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55 }
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: clamp(72px, 10vw, 128px) }
.hero h1 { color: var(--white) }
.hero h1 .script { font-size: 1.12em; font-weight: 600; letter-spacing: 0 }
.hero .lead { color: #AFC0D3 }
.hero-copy { display: grid; gap: 26px }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px }
.hero-tags span { padding: 8px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font: 600 .82rem/1 var(--head); color: #DCE6F1; background: rgba(255,255,255,.04) }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center }
.hero-visual svg { width: 100%; height: 100% }
.scan { transform-origin: 230px 230px; animation: spin 7s linear infinite }
.pulse { animation: pulse 2.6s var(--ease) infinite }
.pulse.d2 { animation-delay: .8s } .pulse.d3 { animation-delay: 1.6s }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes pulse { 0%, 100% { opacity: .25 } 50% { opacity: 1 } }

/* page hero (inner pages) */
.page-hero { position: relative; background: var(--navy); color: #B9C7D7; overflow: hidden; padding-block: clamp(64px, 8vw, 104px) }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 90% 0%, rgba(10,159,222,.35), transparent 60%), repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 72px), repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 72px) }
.page-hero .container { position: relative; display: grid; gap: 18px; max-width: 1200px }
.page-hero h1 { color: var(--white); max-width: 18ch }
.page-hero .lead { color: #AFC0D3 }
.crumbs { font: 600 .85rem/1 var(--head); color: #8FA3B9 }
.crumbs a { color: var(--blue); text-decoration: none }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.12); position: relative }
.stats div { padding: 28px 20px; border-right: 1px solid rgba(255,255,255,.12); display: grid; gap: 4px }
.stats div:last-child { border-right: 0 }
.stats b { font: 800 clamp(1.6rem, 3vw, 2.2rem)/1 var(--head); color: var(--white) }
.stats span { font-size: .92rem; color: #93A6BC }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: grid; gap: 14px; align-content: start; text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; min-width: 0 }
.card::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease) }
a.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent }
a.card:hover::after { transform: scaleX(1) }
.card p { color: var(--muted); font-size: .98rem }
.card .more { font: 700 .9rem/1 var(--head); color: var(--blue-deep); margin-top: 6px }
.icon { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-deep) }
.icon svg { width: 28px; height: 28px }
.dark .card { background: var(--navy-2); border-color: rgba(255,255,255,.08) }
.dark .card p { color: #9FB0C4 }
.dark .icon { background: rgba(10,159,222,.14); color: var(--blue) }

/* split blocks */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center }
.split > * { min-width: 0 }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px }
.checks li { position: relative; padding-left: 34px }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230670A3' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat }
.checks b { color: var(--ink) }
.dark .checks b { color: var(--white) }
.panel { background: var(--tint); border-radius: 20px; padding: clamp(28px, 4vw, 44px); display: grid; gap: 18px; border: 1px solid var(--line) }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line) }
.pillars div { padding: 32px 28px 8px 0; display: grid; gap: 10px; align-content: start }
.pillars div + div { padding-left: 28px; border-left: 1px solid var(--line) }
.pillars p { color: var(--muted) }
.pillars .n { font: 800 .8rem/1 var(--head); letter-spacing: .12em; color: var(--blue) }

/* process */
.process { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; counter-reset: step }
.process::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: rgba(255,255,255,.12) }
.process::after { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear }
.process li { position: relative; counter-increment: step; display: grid; gap: 10px; align-content: start; min-width: 0 }
.process li::before { content: counter(step, decimal-leading-zero); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); border: 2px solid var(--blue); color: var(--white); font: 800 1rem/1 var(--head); position: relative; z-index: 1 }
.process p { font-size: .95rem; color: #9FB0C4 }
.light-process .process::before { background: var(--line) }
.light-process .process li::before { background: var(--white); color: var(--blue-deep) }
.light-process .process p { color: var(--muted) }

/* industries */
.industry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px }
.industry { border-radius: var(--radius); padding: 28px 24px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; transition: transform .35s var(--ease), box-shadow .35s; min-width: 0 }
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow) }
.industry p { color: var(--muted); font-size: .96rem }

/* brand marquee */
.marquee { position: relative; overflow: hidden; display: grid; gap: 18px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent) }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 38s linear infinite }
.marquee-track.rev { animation-direction: reverse; animation-duration: 44s }
.marquee:hover .marquee-track { animation-play-state: paused }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)) } }

/* brand / logo tiles */
.logo-tile { flex: none; width: 190px; height: 96px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); display: grid; place-items: center; padding: 14px 18px; text-align: center; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease) }
.logo-tile img { max-height: 52px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s }
.logo-tile:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px) }
.logo-tile:hover img { filter: none; opacity: 1 }
.wordmark { font: 800 1.2rem/1.1 var(--head); letter-spacing: -0.01em; color: #6C7480; transition: color .3s }
.logo-tile:hover .wordmark { color: var(--ink) }
.wordmark small { display: block; margin-top: 6px; font: 600 .68rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: #9AA3AE }

.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px }
.filter button { font: 700 .9rem/1 var(--head); padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: background .25s, color .25s, border-color .25s }
.filter button:hover { border-color: var(--blue) }
.filter button[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy) }
.brand-group { display: grid; gap: 20px; margin-bottom: 56px }
.brand-group[hidden] { display: none }
.brand-group h3 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap }
.brand-group h3 span { font: 500 .95rem/1.4 var(--body); color: var(--muted) }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px }
.logo-grid .logo-tile { width: auto }
.logo-tile.placeholder { border-style: dashed; background: var(--tint) }
.logo-tile.placeholder .wordmark { font-size: .95rem; color: #9AA3AE }

/* CTA band */
.cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--blue-deep), var(--blue)); color: var(--white); border-radius: 24px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(255,255,255,.08) }
.cta h2 { color: var(--white) }
.cta p { color: rgba(255,255,255,.85); margin-top: 10px; max-width: 56ch }
.cta .btn { background: var(--white); color: var(--blue-deep); border-color: var(--white); position: relative; z-index: 1 }
.cta .btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy) }

/* services page */
.subnav { position: sticky; top: 68px; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line) }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none }
.subnav a { flex: none; padding: 16px 16px; font: 700 .9rem/1 var(--head); color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; transition: color .25s, border-color .25s }
.subnav a.on, .subnav a:hover { color: var(--blue-deep); border-color: var(--blue) }
.service-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 72px); align-items: start }
.service-block .sticky { position: sticky; top: 150px; display: grid; gap: 18px }
.service-block .letter { font: 800 4.5rem/1 var(--head); color: var(--blue-soft); -webkit-text-stroke: 1.5px var(--blue) }
.feature-list { display: grid; gap: 18px }
.feature { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .3s, box-shadow .3s }
.feature:hover { border-color: var(--blue); box-shadow: var(--shadow) }
.feature p { color: var(--muted); margin-top: 6px }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px }
.tags span { font: 600 .78rem/1 var(--head); padding: 7px 10px; border-radius: 6px; background: var(--tint); color: var(--blue-deep) }

/* about */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px }
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px }
.mv .card h3 { font-size: 1.4rem }
.quote { font-family: var(--script); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.3; color: var(--ink) }
.quote::before { content: "\201C"; color: var(--blue) }
.quote::after { content: "\201D"; color: var(--blue) }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 56px); align-items: start }
.contact-list { display: grid; gap: 16px }
.contact-item { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .3s, transform .3s var(--ease) }
a.contact-item:hover { border-color: var(--blue); transform: translateX(4px) }
.contact-item small { display: block; font: 700 .75rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px }
.contact-item b { font: 700 1.05rem/1.3 var(--head); word-break: break-word }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); display: grid; gap: 18px }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px }
.field { display: grid; gap: 8px }
.field label { font: 700 .88rem/1 var(--head) }
.field input, .field select, .field textarea { font: 400 1rem/1.4 var(--body); padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--tint); color: var(--ink); transition: border-color .25s, background .25s; width: 100% }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white) }
.field textarea { min-height: 130px; resize: vertical }
.hp { position: absolute; left: -9999px }
.form-status { font-weight: 600; min-height: 1.4em }
.form-status.ok { color: #137A3E } .form-status.err { color: #B4232A }

/* eSamsSoft plan cards */
.plan .price { font: 800 2rem/1 var(--head); color: var(--ink) }
.plan .price small { font: 500 .9rem/1 var(--body); color: var(--muted); margin-left: 4px }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow) }
.badge { justify-self: start; font: 700 .72rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--blue); color: var(--white) }

/* WordPress editor content (fallback template) */
.entry { max-width: 760px; display: grid; gap: 18px }
.entry img { border-radius: var(--radius) }

/* footer */
.site-footer { background: var(--navy); color: #A3B3C5; padding-top: 72px; font-size: .96rem }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px }
.footer-grid h4 { color: var(--white); font-size: .95rem; margin-bottom: 16px }
.footer-grid > div { display: grid; gap: 10px; align-content: start; min-width: 0 }
.footer-grid a { color: #C7D3E0; text-decoration: none; word-break: break-word }
.footer-grid a:hover { color: var(--blue) }
.footer-brand p { max-width: 38ch }
.logo-plate { display: inline-block; background: var(--white); border-radius: 12px; padding: 10px 14px; width: max-content }
.logo-plate img { width: 150px }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px; margin-top: 56px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #7F92A8 }
.wa-float { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 55; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: var(--white); display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); transition: transform .3s var(--ease) }
.wa-float:hover { transform: scale(1.08) }

/* scroll reveal (only when JS is running, so content is never hidden without it) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s) }
.js [data-reveal="left"] { transform: translateX(-36px) }
.js [data-reveal="right"] { transform: translateX(36px) }
.js [data-reveal="zoom"] { transform: scale(.94) }
.js [data-reveal].in { opacity: 1; transform: none }
.hero-copy > * { animation: rise .9s var(--ease) both }
.hero-copy > :nth-child(2) { animation-delay: .1s } .hero-copy > :nth-child(3) { animation-delay: .2s }
.hero-copy > :nth-child(4) { animation-delay: .3s } .hero-copy > :nth-child(5) { animation-delay: .4s }
.hero-visual { animation: fadein 1.4s .3s var(--ease) both }
@keyframes rise { from { opacity: 0; transform: translateY(24px) } }
@keyframes fadein { from { opacity: 0; transform: scale(.94) } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important }
  .js [data-reveal] { opacity: 1; transform: none }
}

/* responsive */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .industry-grid, .values { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .footer-grid { grid-template-columns: 1fr 1fr }
}
@media (max-width: 920px) {
  .nav-toggle { display: flex }
  .site-nav { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 12px max(20px, env(safe-area-inset-right, 0px)) 24px max(20px, env(safe-area-inset-left, 0px)); transform: translateY(-110%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; box-shadow: var(--shadow) }
  .nav-open .site-nav { transform: none; visibility: visible }
  .site-nav a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid var(--line) }
  .site-nav a:not(.btn)::after { display: none }
  .site-nav .btn { margin: 16px 0 0; justify-content: center }
  .header-inner { height: 68px }
  .brand img { width: 124px }
  .hero .container, .split, .service-block, .contact-grid, .mv { grid-template-columns: minmax(0, 1fr) }
  .hero-visual { max-width: 320px; order: -1 }
  .service-block .sticky { position: static }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .stats div:nth-child(2) { border-right: 0 }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12) }
  .cards.three, .pillars { grid-template-columns: minmax(0, 1fr) }
  .pillars div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line) }
  .process { grid-template-columns: minmax(0, 1fr); gap: 26px }
  .process::before, .process::after { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto }
  .process::after { transform: scaleY(var(--p, 0)); transform-origin: top }
  .process li { grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px }
  .process li::before { grid-row: span 2 }
  .cta { grid-template-columns: minmax(0, 1fr) }
}
@media (max-width: 600px) {
  body { font-size: 16px }
  .cards, .industry-grid, .values, .footer-grid, .form .row { grid-template-columns: minmax(0, 1fr) }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .logo-tile { width: 150px; height: 84px }
  .feature { grid-template-columns: minmax(0, 1fr) }
  .subnav { top: 68px }
}
