/* iboxverse — corporate site styles (v2) */
:root {
  --navy: #0B1F3A;
  --navy-2: #071528;
  --navy-3: #10284A;
  --navy-line: #1D3558;
  --blue: #2F80ED;
  --blue-2: #1F6BD6;
  --blue-soft: #EAF2FD;
  --sky: #8CB8F6;
  --ink: #0B1F3A;
  --text: #3E4C63;
  --muted: #6B7A90;
  --muted-dark: #9FB0C8;
  --line: #E4E9F0;
  --soft: #F5F8FC;
  --white: #FFFFFF;
  --wa: #25D366;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .04), 0 10px 30px rgba(11, 31, 58, .06);
  --shadow-lg: 0 2px 6px rgba(11, 31, 58, .05), 0 30px 60px rgba(11, 31, 58, .12);
  --container: 1240px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -0.015em; font-weight: 700; }
h1 { font-size: clamp(42px, 5.6vw, 80px); letter-spacing: -0.022em; line-height: 1.08; }
h2 { font-size: clamp(32px, 3.8vw, 54px); letter-spacing: -0.02em; line-height: 1.14; }
h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 650; line-height: 1.25; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 112px 0; }
.section-sm { padding: 80px 0; }
.bg-soft { background: var(--soft); }
.dark { background: var(--navy); color: var(--muted-dark); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: currentColor; box-shadow: 14px 0 0 -0px transparent; }
.dark .eyebrow { color: var(--sky); }
.lead { font-size: 21px; line-height: 1.6; color: var(--text); max-width: 680px; }
.dark .lead { color: var(--muted-dark); }
.muted { color: var(--muted); }
.accent { color: var(--blue); }
.dark .accent { color: var(--sky); }

.section-head { max-width: 780px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.section-head.split > div { max-width: 720px; }
.section-head h2 { margin-bottom: 18px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 999px;
  font: 600 16px/1 var(--font); border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); box-shadow: 0 14px 30px rgba(47, 128, 237, .35); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #CBD5E3; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); }
.dark .link-arrow { color: var(--sky); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
a:hover > .link-arrow svg, .link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header .logo-dark { display: none; }
.site-header .logo-light { display: block; }
.site-header.scrolled, .site-header.solid, .site-header.menu-open { background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); }
.site-header.scrolled .logo-dark, .site-header.solid .logo-dark, .site-header.menu-open .logo-dark { display: block; }
.site-header.scrolled .logo-light, .site-header.solid .logo-light, .site-header.menu-open .logo-light { display: none; }
.nav { height: 84px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand svg { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links > li > a, .nav-links > li > button { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px;
  font: 500 15px var(--font); color: #fff; background: none; border: 0; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.nav-links > li > a:hover, .nav-links > li > button:hover { background: rgba(255, 255, 255, .08); }
.scrolled .nav-links > li > a, .scrolled .nav-links > li > button, .solid .nav-links > li > a, .solid .nav-links > li > button { color: var(--ink); }
.scrolled .nav-links > li > a:hover, .scrolled .nav-links > li > button:hover, .solid .nav-links > li > a:hover, .solid .nav-links > li > button:hover { background: var(--soft); }
.nav-links a[aria-current="page"], .nav-links .is-current { color: var(--sky) !important; }
.scrolled .nav-links a[aria-current="page"], .scrolled .nav-links .is-current, .solid .nav-links a[aria-current="page"], .solid .nav-links .is-current { color: var(--blue) !important; }
.chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-cta { height: 46px; padding: 0 22px; font-size: 15px; margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.scrolled .menu-toggle, .solid .menu-toggle, .menu-open .menu-toggle { color: var(--ink); border-color: var(--line); }
.menu-toggle svg { width: 22px; height: 22px; }

/* mega menu */
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 40px 80px rgba(11, 31, 58, .14);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: none; }
.has-mega:hover .chev, .has-mega.open .chev { transform: rotate(180deg); }
.mega-inner { display: grid; grid-template-columns: 1.1fr repeat(4, 1fr); gap: 40px; padding: 44px 28px 48px; }
.mega-intro h4 { font-size: 28px; margin-bottom: 10px; }
.mega-intro p { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.mega-col h5 { font: 600 12px var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 4px 0 16px; display: flex; align-items: center; gap: 10px; }
.mega-col h5 svg { width: 18px; height: 18px; }
.mega-col a { display: block; padding: 8px 0; font-size: 15px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); transition: color .2s, padding .2s; }
.mega-col a:hover { color: var(--blue); padding-left: 4px; }
.mobile-cta { display: none; }

/* ---------- hero (all pages) ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-2); color: var(--muted-dark); padding: 172px 0 0; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(60% 70% at 78% 35%, rgba(47, 128, 237, .32), transparent 60%), radial-gradient(50% 60% at 10% 100%, rgba(47, 128, 237, .14), transparent 70%), linear-gradient(180deg, #071528 0%, #0B1F3A 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(140, 184, 246, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 184, 246, .07) 1px, transparent 1px);
  background-size: 72px 72px; -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 80% at 70% 40%, #000 30%, transparent 80%); }
.hero h1 { color: #fff; }
.hero .lead { margin: 28px 0 40px; color: #B9C6D8; max-width: 560px; }
.hero h1 { margin-top: 4px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero-home { padding-bottom: 0; }
.hero-home h1 { max-width: 760px; }
.hero-stats { margin-top: 96px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--navy-line); }
.hero-stats div { padding: 32px 28px 40px 0; }
.hero-stats div + div { padding-left: 28px; border-left: 1px solid var(--navy-line); }
.hero-stats strong { display: block; font-family: var(--display); font-size: 44px; font-weight: 650; letter-spacing: -0.04em; color: #fff; line-height: 1; margin-bottom: 10px; }
.hero-stats span { font-size: 15px; }
.page-hero { padding-bottom: 104px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 68px); max-width: 900px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted-dark); margin-bottom: 30px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

/* hero visual: the box */
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; margin-left: auto; }
.hero-visual > svg { width: 100%; height: 100%; overflow: visible; }
.hv-corner { transform-box: fill-box; animation: hvIn 1.1s var(--ease) both; }
.hv-c1 { --dx: -60px; --dy: -60px; animation-delay: .15s; }
.hv-c2 { --dx: -60px; --dy: 60px; animation-delay: .3s; }
.hv-c3 { --dx: 60px; --dy: 60px; animation-delay: .45s; }
.hv-c4 { --dx: 60px; --dy: -60px; animation-delay: .6s; }
@keyframes hvIn { from { opacity: 0; transform: translate(var(--dx), var(--dy)); } to { opacity: 1; transform: none; } }
.hv-core { transform-origin: 50% 50%; transform-box: fill-box; animation: hvCore 1s var(--ease) 1s both, hvPulse 4s ease-in-out 2s infinite; }
@keyframes hvCore { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes hvPulse { 50% { transform: scale(1.06); } }
.hv-orbit { transform-origin: 280px 280px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hv-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 14px;
  background: rgba(16, 40, 74, .72); border: 1px solid rgba(140, 184, 246, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); animation: float 6s ease-in-out infinite, fadeUp .8s var(--ease) both; }
.hv-chip .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: #fff; }
.hv-chip small { display: block; font-weight: 500; font-size: 12px; color: var(--muted-dark); }
.hv-chip-1 { left: -4%; top: 14%; animation-delay: 0s, 1.3s; }
.hv-chip-2 { right: -6%; top: 40%; animation-delay: 1.5s, 1.5s; }
.hv-chip-3 { left: 6%; bottom: 8%; animation-delay: .8s, 1.7s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; } }

/* service hero illustration */
.svc-visual { position: relative; max-width: 500px; width: 100%; margin-left: auto; aspect-ratio: 1 / 1; }
.svc-visual svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; padding: 30px 24px; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.marquee-track span::after { content: ""; width: 14px; height: 14px; border: 3px solid var(--blue); border-radius: 3px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- statement ---------- */
.statement { font-family: var(--display); font-size: clamp(30px, 3.6vw, 52px); line-height: 1.18; letter-spacing: -0.015em; font-weight: 600; color: var(--ink); max-width: 1100px; margin: 0; }
.statement .dim { color: #A7B4C6; }

/* ---------- pillars (tabs) ---------- */
.pillars { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.pillar-tabs { display: grid; gap: 10px; position: sticky; top: 120px; }
.pillar-tab { display: flex; align-items: center; gap: 18px; width: 100%; text-align: left; padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font: inherit; color: var(--ink); transition: all .25s var(--ease); }
.pillar-tab .num { font: 600 13px var(--font); color: var(--muted); letter-spacing: .1em; }
.pillar-tab strong { font-family: var(--display); font-size: 24px; font-weight: 650; letter-spacing: -0.02em; flex: 1; }
.pillar-tab svg { width: 20px; height: 20px; opacity: 0; transform: translateX(-6px); transition: all .25s var(--ease); }
.pillar-tab:hover { border-color: #C6D5EA; }
.pillar-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.pillar-tab.active .num { color: var(--sky); }
.pillar-tab.active svg { opacity: 1; transform: none; color: var(--sky); }
.pillar-panel { display: none; }
.pillar-panel.active { display: block; animation: fadeUp .5s var(--ease) both; }
.pp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.pp-top { display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: center; padding: 44px 44px 36px; background: linear-gradient(180deg, var(--soft), #fff); border-bottom: 1px solid var(--line); }
.pp-top h3 { font-size: 34px; letter-spacing: -0.035em; margin-bottom: 12px; }
.pp-top p { margin: 0; font-size: 17px; }
.pp-art svg { width: 100%; height: auto; }
.pp-list { display: grid; grid-template-columns: 1fr 1fr; }
.pp-list a { display: flex; gap: 18px; align-items: flex-start; padding: 28px 44px; border-top: 1px solid var(--line); transition: background .2s; }
.pp-list a:nth-child(odd) { border-right: 1px solid var(--line); }
.pp-list a:nth-child(-n+2) { border-top: 0; }
.pp-list a:hover { background: var(--soft); }
.pp-list strong { display: block; font-family: var(--display); font-size: 19px; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 4px; }
.pp-list span.d { display: block; font-size: 15px; color: var(--muted); line-height: 1.55; }
.ico { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.ico svg { width: 52%; height: 52%; }

/* ---------- model (dark) ---------- */
.model { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.model-list li { padding: 18px 0; }
.model-art { position: relative; max-width: 400px; width: 100%; aspect-ratio: 1; margin: 0 auto; }
.model-art svg { width: 100%; height: 100%; overflow: visible; }
.model-list { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--navy-line); }
.model-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--navy-line); }
.model-list .n { font: 600 14px var(--font); color: var(--sky); letter-spacing: .08em; padding-top: 4px; }
.model-list h3 { color: #fff; margin-bottom: 6px; }
.model-list p { margin: 0; font-size: 16px; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card h3 { margin: 22px 0 10px; }
a.card:hover, .card.hover:hover { border-color: #C6D5EA; box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.svc-card { display: flex; flex-direction: column; min-height: 300px; }
.svc-card .tag { position: absolute; top: 30px; right: 30px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.svc-card .link-arrow { margin-top: auto; padding-top: 24px; }

.industry { display: flex; flex-direction: column; gap: 0; padding: 30px; min-height: 230px; overflow: hidden; }
.industry .ico { background: var(--navy); color: #fff; transition: background .25s; }
.industry:hover .ico { background: var(--blue); }
.industry h3 { font-size: 20px; margin: auto 0 6px; padding-top: 40px; }
.industry p { font-size: 15px; }
.industry::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border: 22px solid var(--soft); border-radius: 28px; transform: rotate(12deg); transition: border-color .3s; z-index: 0; }
.industry:hover::after { border-color: var(--blue-soft); }
.industry > * { position: relative; z-index: 1; }

/* ---------- process ---------- */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line); }
.process li { position: relative; padding-right: 32px; }
.process .dot { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fff; border: 2px solid var(--line); color: var(--blue); margin-bottom: 30px; transition: all .3s var(--ease); }
.process .dot svg { width: 24px; height: 24px; }
.process li:hover .dot, .process li:last-child .dot { background: var(--navy); border-color: var(--navy); color: #fff; }
.process li::before { counter-increment: step; content: "Step 0" counter(step); display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); position: absolute; top: 100%; }
.process .dot + h3::before { content: none; }
.process .step-n { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.dark .process .step-n { color: var(--sky); }
.process h3 { margin-top: 0; font-size: 24px; margin-bottom: 10px; }
.process li::before { display: none; }
.process p { font-size: 16px; color: var(--muted); margin: 0; }
.dark .process::before { background: var(--navy-line); }
.dark .process .dot { background: var(--navy); border-color: var(--navy-line); color: var(--sky); }
.dark .process li:hover .dot, .dark .process li:last-child .dot { background: var(--blue); border-color: var(--blue); color: #fff; }
.dark .process li::before { color: var(--sky); }
.dark .process p { color: var(--muted-dark); }

/* ---------- principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principles > div { padding: 44px 40px 8px 0; }
.principles > div + div { padding-left: 40px; border-left: 1px solid var(--line); }
.principles .n { font-family: var(--display); font-size: 64px; font-weight: 650; letter-spacing: -0.05em; color: var(--blue-soft); -webkit-text-stroke: 1.5px var(--blue); line-height: 1; margin-bottom: 26px; }
.principles h3 { font-size: 24px; }
.principles p { color: var(--muted); font-size: 16px; }

/* ---------- work / portfolio ---------- */
.pf-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.pf-filter { font: 500 15px var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 11px 22px; cursor: pointer; transition: all .2s; }
.pf-filter:hover { border-color: #B9C8DC; }
.pf-filter.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pf-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.pf-item { grid-column: span 6; margin: 0; display: block; background: var(--navy); border-radius: 24px; overflow: hidden; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.pf-item[hidden] { display: none; }
.pf-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pf-wide { grid-column: span 12; }
.pf-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-3); }
.pf-wide .pf-media { aspect-ratio: 21 / 9; }
.pf-media img, .pf-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pf-item:hover .pf-media img { transform: scale(1.03); }
.pf-sheet .pf-media img { object-fit: contain; background: #fff; }
.pf-item figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; color: var(--muted-dark); }
.pf-item figcaption strong { display: block; color: #fff; font-family: var(--display); font-size: 20px; letter-spacing: -0.015em; font-weight: 600; }
.pf-item figcaption span { font-size: 14px; }
.pf-item .tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); border: 1px solid var(--navy-line); padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.pf-cta { display: grid; place-items: center; padding: 48px; background: var(--blue); }
.pf-cta div { text-align: center; color: #DCE9FC; }
.pf-cta strong { display: block; color: #fff; font-family: var(--display); font-size: 32px; letter-spacing: -0.03em; margin: 18px 0 8px; line-height: 1.15; }
.pf-cta .ico { margin: 0 auto; background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 36px; background: var(--navy); color: var(--muted-dark); padding: 88px 80px; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 90% at 100% 0%, rgba(47, 128, 237, .38), transparent 60%); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(140, 184, 246, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 184, 246, .07) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band .inner { display: grid; grid-template-columns: 1.3fr auto; gap: 48px; align-items: end; }
.cta-band h2 { color: #fff; margin-bottom: 18px; max-width: 760px; }
.cta-band p { margin: 0; font-size: 19px; max-width: 600px; }
.cta-band .mark { position: absolute; right: 64px; top: 64px; width: 84px; }
.cta-band .mark svg { width: 100%; height: auto; }

/* ---------- service detail ---------- */
.includes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.include { padding: 34px; }
.include .n { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--blue); letter-spacing: .06em; }
.include h3 { margin: 18px 0 10px; font-size: 21px; }
.include p { font-size: 15.5px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; }
.info-box { border: 1px solid var(--line); border-radius: 22px; padding: 38px; background: #fff; }
.info-box h3 { font-size: 22px; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); }
.dark .chips li { background: rgba(255, 255, 255, .06); border-color: var(--navy-line); color: #DCE6F4; }
.checks { display: grid; gap: 14px; }
.checks.two { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; 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' fill='none' stroke='%232F80ED' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks strong { color: var(--ink); }
.dark .checks strong { color: #fff; }
.dark .checks li::before { background-color: rgba(47, 128, 237, .2); }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--soft); }
.faq details p { padding: 0 64px 26px 0; margin: 0; }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.values .card h3 { margin-top: 26px; }
.big-quote { font-family: var(--display); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.22; letter-spacing: -0.03em; color: #fff; font-weight: 600; margin: 0 0 28px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list a, .contact-list div { display: flex; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.contact-list strong { display: block; color: var(--ink); font-size: 19px; font-weight: 600; }
.contact-list a:hover strong { color: var(--blue); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 48px; box-shadow: var(--shadow-lg); }
.form h2 { font-size: 34px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: 400 16px var(--font); color: var(--ink); background: var(--soft); border: 1.5px solid transparent; border-radius: 14px; padding: 15px 16px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 128, 237, .14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { width: 100%; }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-2); color: #8FA0B8; padding: 104px 0 36px; }
.footer-top { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid #16294A; }
.footer-top h2 { color: #fff; font-size: clamp(34px, 4vw, 56px); margin: 0; max-width: 720px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 40px; }
.site-footer h4 { font-family: var(--font); color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.site-footer li { margin-bottom: 12px; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.footer-brand .logo { width: 170px; margin-bottom: 22px; }
.footer-brand .logo svg { width: 100%; height: auto; }
.footer-brand p { font-size: 15px; max-width: 300px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; border: 1px solid #1B3053; color: #CFE0FB; transition: all .2s; }
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.socials a svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 72px; padding-top: 28px; border-top: 1px solid #16294A; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(37, 211, 102, .35); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- 3D hero + isometric art ---------- */
.hero-3d { aspect-ratio: 1 / 1; }
.hero-3d .hv-chip-1 { left: -8%; top: 8%; }
.hero-3d .hv-chip-2 { right: -10%; top: 58%; }
.hero-3d .hv-chip-3 { left: -4%; bottom: 4%; }
.hero-3d img { width: 100%; height: 100%; object-fit: cover; border-radius: 0;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  animation: heroFloat 7s ease-in-out infinite, fadeUp 1.2s var(--ease) both; }
@keyframes heroFloat { 50% { transform: translateY(-14px); } }
.pp-art img { width: 100%; height: auto; }
.section-head.split > div[style*="width:220px"] img { width: 100%; height: auto; }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.who-art img { width: 100%; height: auto; border-radius: 24px; }
@media (max-width: 900px) { .who { grid-template-columns: 1fr; gap: 32px; } .who-art { max-width: 460px; margin: 0 auto; width: 100%; } }

/* ---------- clients ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client { min-width: 0; display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .2s; }
.client:hover { background: var(--soft); }
.client img { max-height: 76px; max-width: 78%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .8; transition: all .3s; }
.client:hover img { filter: none; opacity: 1; }
.client-empty svg { width: 44px; height: auto; opacity: .7; }
.confidential { margin: 0 0 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 40px; border-radius: 24px; background: var(--navy); color: var(--muted-dark); }
.confidential .ico { width: 60px; height: 60px; background: rgba(47,128,237,.18); color: var(--sky); }
.confidential h3 { color: #fff; margin: 0 0 8px; font-size: 24px; }
.confidential p { margin: 0; font-size: 16px; max-width: 640px; }
@media (max-width: 900px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } .confidential { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .client { padding: 16px; } .confidential { padding: 28px; } }

/* ---------- project brief ---------- */
.brief-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.brief-aside { position: sticky; top: 120px; display: grid; gap: 20px; }
.brief-steps { display: grid; gap: 4px; margin-bottom: 12px; }
.brief-steps li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; font-weight: 600; color: var(--muted); transition: all .25s; }
.brief-steps li span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 13px; transition: all .25s; }
.brief-steps li.active { background: var(--soft); color: var(--ink); }
.brief-steps li.active span { background: var(--blue); border-color: var(--blue); color: #fff; }
.brief-steps li.done span { background: var(--navy); border-color: var(--navy); color: #fff; }
.brief-note { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 16px; }
.brief-note .ico { width: 40px; height: 40px; border-radius: 12px; }
.brief-note p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.brief-note a { color: var(--blue); font-weight: 600; }
.brief { position: relative; overflow: hidden; padding-top: 52px; }
.brief-progress { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--soft); }
.brief-progress i { display: block; height: 100%; width: 25%; background: var(--blue); transition: width .4s var(--ease); }
.step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step.active { display: block; animation: fadeUp .45s var(--ease) both; }
.step legend { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 6px; padding: 0; }
.step > .muted { margin-bottom: 24px; }
.step .field > label:first-child { margin-bottom: 4px; }
.opt-group { margin-bottom: 22px; }
.opt-group h4 { font: 600 12px var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink); background: #fff; transition: all .2s; }
.opt span svg { width: 18px; height: 18px; color: var(--blue); }
.opt:hover span { border-color: #B9C8DC; }
.opt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.opt input:checked + span svg { color: var(--sky); }
.opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.opt-wide span { width: 100%; justify-content: center; border-style: dashed; }
.field input.invalid, .field textarea.invalid { border-color: #E5484D; background: #FFF5F5; }
.brief-error { color: #D13A3F; font-size: 14px; font-weight: 500; min-height: 22px; margin: 18px 0 0; }
.brief-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 8px; }
.brief-nav .btn { width: auto; }
.brief-nav .btn[hidden] { display: none; }
.brief-nav #brief-next, .brief-nav #brief-send { margin-left: auto; }
.brief-summary { margin-top: 8px; padding: 22px 24px; border-radius: 16px; background: var(--soft); }
.brief-summary h4 { font: 600 12px var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.brief-summary dl { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; margin: 0; font-size: 15px; }
.brief-summary dt { color: var(--muted); }
.brief-summary dd { margin: 0; color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .brief-wrap { grid-template-columns: 1fr; gap: 28px; } .brief-aside { position: static; } .brief-steps { grid-template-columns: repeat(4, 1fr); } .brief-steps li { flex-direction: column; text-align: center; gap: 6px; font-size: 12px; padding: 10px 4px; } .brief-note { display: none; } }
@media (max-width: 640px) { .step legend { font-size: 24px; } .brief-nav .btn { flex: 1; } .brief-summary dl { grid-template-columns: 1fr; } .opt span { padding: 10px 14px; font-size: 14px; } }

/* ---------- model section: fits one screen ---------- */
.model-sec { padding: 88px 0; }
.model-sec .model { grid-template-columns: .8fr 1.2fr; gap: 64px; }
.model-sec .model-art { max-width: 360px; }
.model-sec h2 { font-size: clamp(30px, 3.2vw, 44px); margin-bottom: 14px; }
.model-sec .lead { font-size: 17px; margin: 0; }
.model-sec .model-list { grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 28px; border-top: 0; }
.model-sec .model-list li { grid-template-columns: 36px 1fr; gap: 10px; padding: 18px 0; border-top: 1px solid var(--navy-line); border-bottom: 0; }
.model-sec .model-list h3 { font-size: 19px; margin-bottom: 4px; }
.model-sec .model-list p { font-size: 14.5px; line-height: 1.55; }
@media (max-width: 900px) { .model-sec .model { grid-template-columns: 1fr; gap: 40px; } .model-sec .model-art { max-width: 280px; } }
@media (max-width: 640px) { .model-sec .model-list { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.story-points { display: grid; gap: 0; border-top: 1px solid var(--line); }
.story-points div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.story-points strong { font-family: var(--display); font-size: 22px; color: var(--ink); }
.story-points span { color: var(--muted); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cmp { border-radius: 24px; padding: 40px; }
.cmp h3 { font-size: 22px; margin-bottom: 22px; }
.cmp li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); font-size: 16px; }
.cmp li::before { content: ""; position: absolute; left: 0; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: center / 11px no-repeat; }
.cmp-old { background: #fff; border: 1px solid var(--line); color: var(--muted); }
.cmp-old li::before { background-color: #F1F3F6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA6B6' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.cmp-new { background: var(--navy); color: #C9D5E6; }
.cmp-new h3 { color: #fff; }
.cmp-new li { border-color: var(--navy-line); }
.cmp-new li::before { background-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tm { text-align: center; }
.tm-photo { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--navy); margin-bottom: 20px; }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; }
.tm-ph { display: grid; place-items: center; height: 100%; background: radial-gradient(70% 60% at 50% 35%, rgba(47,128,237,.3), transparent 70%), var(--navy); }
.tm-ph svg { width: 34%; height: auto; }
.tm h3 { font-size: 20px; margin: 0 0 4px; }
.tm-role { display: block; font-size: 14px; color: var(--ink); font-weight: 500; }
.tm-qual { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.network { display: flex; gap: 18px; align-items: center; margin-top: 48px; padding: 26px 30px; border: 1px solid var(--line); border-radius: 20px; }
.network p { margin: 0; color: var(--muted); }
.network strong { color: var(--ink); }
.do-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.do-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-weight: 600; color: var(--ink); transition: all .25s var(--ease); }
.do-item .ico { width: 42px; height: 42px; border-radius: 12px; }
.do-item:hover { border-color: #C6D5EA; transform: translateY(-2px); box-shadow: var(--shadow); }
@media (max-width: 1100px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .do-grid { grid-template-columns: 1fr; } .cmp { padding: 28px; } .story-points div { grid-template-columns: 1fr; gap: 4px; } .team { gap: 16px; } .network { flex-direction: column; align-items: flex-start; } }

/* ---------- security ---------- */
.secure { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.layers { display: grid; gap: 14px; }
.layer { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 24px 26px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.layer small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.layer strong { display: block; font-family: var(--display); font-size: 20px; color: var(--ink); margin: 2px 0 4px; }
.layer span:not(.ico) { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.layer em { font-style: normal; font-size: 12px; font-weight: 600; white-space: nowrap; padding: 6px 12px; border-radius: 999px; }
.layer.l1 { margin: 0 0 0 0; } .layer.l2 { margin: 0 24px; } .layer.l3 { margin: 0 48px; }
.layer.l1 em { background: var(--blue-soft); color: var(--blue); }
.layer.l2 { background: var(--navy); border-color: var(--navy); }
.layer.l2 strong { color: #fff; } .layer.l2 small, .layer.l2 span:not(.ico) { color: var(--muted-dark); }
.layer.l2 .ico { background: var(--blue); color: #fff; }
.layer.l2 em { background: rgba(47,128,237,.25); color: #fff; }
.layer.l3 { border-style: dashed; }
.layer.l3 em { background: #F1F3F6; color: var(--muted); }
.layer + .layer::before { content: ""; position: absolute; left: 50%; top: -15px; width: 2px; height: 14px; background: var(--line); }
.secure-points { display: grid; gap: 26px; }
.secure-points li { display: grid; grid-template-columns: auto 1fr; gap: 18px; }
.secure-points h3 { font-size: 19px; margin: 4px 0 4px; }
.secure-points p { margin: 0; font-size: 15.5px; color: var(--muted); }
.os { margin-top: 64px; padding: 40px 44px; border-radius: 28px; background: var(--navy); color: var(--muted-dark); display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; align-items: center;
  background-image: radial-gradient(60% 120% at 100% 0%, rgba(47,128,237,.3), transparent 60%); }
.os-head { display: flex; gap: 16px; align-items: center; grid-row: span 2; padding-right: 40px; border-right: 1px solid var(--navy-line); }
.os-badge { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.06); display: grid; place-items: center; }
.os-badge svg { width: 34px; height: auto; }
.os-head small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.os-head strong { font-family: var(--display); font-size: 26px; color: #fff; }
.os p { margin: 0; font-size: 16px; }
.os-flow { display: flex; flex-wrap: wrap; gap: 8px; counter-reset: os; }
.os-flow li { counter-increment: os; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--navy-line); color: #fff; font-size: 14px; font-weight: 500; }
.os-flow li::before { content: "0" counter(os); color: var(--sky); font-size: 12px; font-weight: 600; }
@media (max-width: 1000px) { .secure { grid-template-columns: 1fr; } .os { grid-template-columns: 1fr; } .os-head { grid-row: auto; border-right: 0; padding-right: 0; } }
@media (max-width: 640px) { .layer { grid-template-columns: auto 1fr; padding: 20px; } .layer em { grid-column: 2; justify-self: start; } .layer.l2, .layer.l3 { margin: 0; } .os { padding: 28px; } }

/* ---------- spacing: collapse gaps between same-colour sections ---------- */
.section:not(.bg-soft):not(.dark) + .section:not(.bg-soft):not(.dark),
.section:not(.bg-soft):not(.dark) + .section-sm,
.section.bg-soft + .section.bg-soft { padding-top: 0; }
@media (max-width: 640px) { .section { padding: 72px 0; } }

/* ---------- brand film ---------- */
.film { border-radius: 28px; overflow: hidden; background: #F7F9FC; border: 1px solid var(--line); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-cap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-top: 28px; }
.film-cap h3 { font-size: 26px; margin: 0; }
.film-cap .eyebrow { margin-bottom: 10px; }
.film-cap p { margin: 0; }
@media (max-width: 760px) { .film-cap { grid-template-columns: 1fr; gap: 12px; } .film { border-radius: 18px; } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.menu-open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 84px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 28px 28px; max-height: calc(100vh - 84px); overflow: auto; box-shadow: var(--shadow-lg); }
  .site-header.menu-open .nav-links > li > a, .site-header.menu-open .nav-links > li > button { width: 100%; height: 54px; justify-content: space-between; font-size: 18px; color: var(--ink); border-radius: 0; border-bottom: 1px solid var(--line); }
  .site-header.menu-open .mega { position: static; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .site-header.menu-open .has-mega.open .mega { display: block; }
  .mega-inner { grid-template-columns: 1fr 1fr; gap: 24px; padding: 20px 0; }
  .mega-intro { display: none; }
  .site-header.menu-open .mobile-cta { display: block; margin-top: 20px; }
  .mobile-cta .btn { width: 100%; }
  .grid-4, .values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 32px; }
  .pillar-tabs { position: static; grid-template-columns: repeat(2, 1fr); }
  .includes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 96px 0; }
  .hero { padding-top: 140px; }
  .hero-grid, .model, .split, .contact-grid, .faq-wrap { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual, .svc-visual { margin: 0 auto; max-width: 440px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 64px; }
  .hero-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats div:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
  .grid-3, .principles { grid-template-columns: 1fr; }
  .principles > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .process { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .process::before { display: none; }
  .pp-top { grid-template-columns: 1fr; }
  .pp-art { display: none; }
  .cta-band { padding: 64px 36px; }
  .cta-band .inner { grid-template-columns: 1fr; }
  .cta-band .mark { right: 32px; top: 32px; width: 56px; }
  .info-grid { grid-template-columns: 1fr; }
  .pf-item { grid-column: span 12; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .section { padding: 80px 0; }
  .lead { font-size: 18px; }
  .grid-2, .grid-4, .values, .includes, .footer-grid, .field-row, .pp-list, .checks.two, .process { grid-template-columns: 1fr; }
  .pillar-tabs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pillar-tab { padding: 16px; gap: 10px; } .pillar-tab strong { font-size: 18px; } .pillar-tab svg { display: none; }
  .pp-top { padding: 30px 24px; } .pp-top h3 { font-size: 26px; }
  .pp-list a { padding: 22px 24px; border-right: 0 !important; border-top: 1px solid var(--line) !important; }
  .pp-list a:first-child { border-top: 0 !important; }
  .card, .include, .info-box { padding: 26px; }
  .form { padding: 28px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hero-stats strong { font-size: 34px; }
  .hero-stats div { padding: 24px 12px 28px 0; }
  .hero-stats div + div { padding-left: 16px; }
  .hv-chip { font-size: 12px; padding: 8px 12px 8px 8px; } .hv-chip .ico { width: 28px; height: 28px; }
  .hv-chip-1 { left: 0; top: 6%; } .hv-chip-2 { right: 0; top: 44%; } .hv-chip-3 { left: 2%; bottom: 4%; }
  .hv-chip small { display: none; }
  .hero-3d .hv-chip-1 { left: 0; top: 6%; } .hero-3d .hv-chip-2 { right: 0; top: 62%; } .hero-3d .hv-chip-3 { left: 2%; bottom: 4%; }
  .faq details p { padding-right: 0; }
  .cta-band { padding: 56px 24px; border-radius: 28px; }
  .footer-top h2 { font-size: 34px; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
