/* Path Crafters public site. Palette from the logo: asphalt black, logo blue, white lane marks. */
:root {
  --ink: #0b0e13;
  --asphalt: #12161d;
  --asphalt-2: #1a2029;
  --line: #2a313c;
  --paper: #f6f5f1;
  --white: #ffffff;
  --text: #14181f;
  --muted: #5f6774;
  --muted-light: #a7afbb;
  --border: #e2e1dc;
  --blue: #2c93dc;
  --blue-deep: #1b6fae;
  --blue-soft: #e7f2fb;
  --ok: #1f8a5b;
  --err: #c2412d;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 14, 19, .08);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Manrope', 'Inter', system-ui, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; color: inherit; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 245, 241, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--border); box-shadow: 0 4px 20px rgba(11, 14, 19, .05); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-text { font-family: var(--display); font-weight: 700; letter-spacing: .14em; font-size: .95rem; white-space: nowrap; }
.brand-text b { color: var(--blue); font-weight: 800; }
.brand-text em { font-style: normal; font-weight: 600; letter-spacing: .04em; margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--border); color: var(--muted); }
.brand-light { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.site-nav a:hover, .site-nav a.active { color: var(--blue-deep); background: var(--blue-soft); }
.site-nav .nav-cta { background: var(--ink); color: #fff; margin-left: 8px; padding: 10px 18px; }
.site-nav .nav-cta:hover { background: var(--blue); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .2s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font: 600 .95rem var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue-soft); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: '→'; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--asphalt); color: #fff; overflow: hidden; isolation: isolate; }
.hero-roads { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-roads .grid path { stroke: rgba(255, 255, 255, .045); stroke-width: 1; }
.hero-roads .road { fill: none; stroke: #232a35; stroke-width: 70; }
.hero-roads .road.thin { stroke-width: 44; }
.hero-roads .lane { fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: 3; stroke-dasharray: 26 30; animation: drive 6s linear infinite; }
.hero-roads .lane.thin { stroke-width: 2; animation-duration: 9s; }
.hero-roads .accent { fill: none; stroke-width: 3; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s .3s ease-out forwards; }
@keyframes drive { to { stroke-dashoffset: -112; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 22, 29, .96) 0%, rgba(18, 22, 29, .75) 45%, rgba(18, 22, 29, .2) 100%); }
.hero-inner { padding: clamp(80px, 14vw, 170px) 0 clamp(70px, 10vw, 120px); max-width: 860px; margin-left: max(16px, calc((100% - var(--wrap)) / 2)); }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--blue); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--blue); margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted-light); max-width: 640px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 26px 24px 34px 0; }
.stat strong { display: block; font: 800 2.4rem/1 var(--display); color: #fff; }
.stat span { color: var(--muted-light); font-size: .9rem; }

.page-hero { background: var(--asphalt); color: #fff; padding: clamp(70px, 10vw, 120px) 0 clamp(50px, 7vw, 80px); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--blue) 0 48px, transparent 48px 72px); opacity: .9; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); max-width: 900px; }
/* ---------- project detail ---------- */
.project-hero { background: var(--asphalt); color: #fff; padding: clamp(60px, 9vw, 110px) 0 clamp(50px, 7vw, 80px); position: relative; overflow: hidden; }
.project-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 48px 48px; }
.project-hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.project-hero:not(.has-image) .project-hero-grid { grid-template-columns: 1fr; max-width: 900px; }
.project-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.hero-figure { margin: 0; background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); transform: rotate(-1deg); }
.hero-figure img { width: 100%; max-height: 440px; object-fit: contain; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-tags span { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: .85rem; color: #d5dae1; }
.hero-tags .status-pill { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.facts-bar { background: #fff; border-bottom: 1px solid var(--border); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-block: 0; }
.facts-grid div { padding: 22px 20px 22px 0; border-right: 1px solid var(--border); margin-right: 20px; }
.facts-grid div:last-child { border-right: 0; }
.facts-grid dt { text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--muted); font-weight: 600; }
.facts-grid dd { margin: 6px 0 0; font-weight: 600; font-family: var(--display); }
.figures-section { padding-bottom: 0; }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.figure { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px 24px; border-bottom: 4px solid var(--blue); }
.figure strong { display: block; font: 800 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--display); color: #fff; margin-bottom: 8px; }
.figure span { color: var(--muted-light); font-size: .9rem; }
.model-section { background: var(--ink); color: #fff; }
.model-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.model-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.muted-light { color: var(--muted-light); margin-top: 12px; }
.aps-canvas { position: absolute; inset: 0; }
.aps-status { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted-light); background: radial-gradient(circle at 50% 45%, #1b2330, #000); pointer-events: none; }
.aps-status[hidden] { display: none; }
.aps-status.error { color: #f1b7ad; }
.timeline { list-style: none; padding: 0; margin: 40px 0 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 150px; top: 6px; bottom: 6px; width: 2px; background: repeating-linear-gradient(180deg, var(--blue) 0 14px, transparent 14px 24px); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 40px; padding: 0 0 34px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 143px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--blue); }
.timeline li.done::before { background: var(--blue); }
.timeline li.current::before { background: #fff; box-shadow: 0 0 0 6px rgba(44, 147, 220, .25); }
.timeline .when { font: 700 .9rem var(--display); color: var(--blue-deep); text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.timeline h3 { margin-bottom: 6px; }
.timeline p { color: var(--muted); margin: 0; }
.timeline .state { font: 600 .72rem var(--font); font-style: normal; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-deep); background: var(--blue-soft); padding: 3px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }

/* ---------- clients strip ---------- */
.clients-band { background: #fff; border-bottom: 1px solid var(--border); padding: 34px 0 40px; overflow: hidden; }
.clients-band.dark { background: var(--ink); border: 0; padding: 56px 0 64px; }
.clients-head { text-align: center; }
.clients-head .kicker { margin-bottom: 22px; }
.clients-band.dark .kicker { color: var(--muted-light); }
.logo-strip { position: relative; }
.logo-strip.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logo-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: clamp(40px, 7vw, 96px); flex-wrap: wrap; }
.marquee .logo-track { justify-content: flex-start; flex-wrap: nowrap; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .logo-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(20px, 3.5vw, 48px))); } }
.logo-track li { flex: 0 0 auto; }
.logo-track img { height: 46px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1) opacity(.65); transition: filter .3s, transform .3s; }
.logo-track a:hover img, .logo-track img:hover { filter: none; transform: scale(1.04); }
.clients-band.dark .logo-track img { filter: brightness(0) invert(1) opacity(.7); }
.clients-band.dark .logo-track a:hover img { filter: brightness(0) invert(1); }
.logo-word { font: 800 1.2rem var(--display); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.clients-band.dark .logo-word { color: #c9cfd8; }

/* ---------- about numbers & offices ---------- */
.numbers-band { background: var(--ink); color: #fff; position: relative; }
.numbers-band::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--blue) 0 40px, transparent 40px 64px); }
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.number { padding: 46px 24px 50px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.number:last-child { border-right: 0; }
.number strong { display: block; font: 800 clamp(2.4rem, 4.6vw, 3.6rem)/1 var(--display); background: linear-gradient(180deg, #fff 30%, #9fcdf0); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.number span { color: var(--muted-light); font-size: .92rem; }
.value-num { display: block; font: 700 .8rem var(--display); color: var(--blue); letter-spacing: .14em; margin-bottom: 14px; }
.offices-section { background: #fff; }
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 32px; }
.office { position: relative; padding: 34px 30px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--border); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.office::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(44, 147, 220, .08); }
.office:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.office .pin { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; margin-bottom: 18px; }
.office small { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--muted); font-weight: 600; }
.office h3 { font-size: 1.5rem; margin: 6px 0 10px; }
.office a { font-weight: 600; text-decoration: none; }

/* ---------- offices with maps ---------- */
.offices .office { padding: 0; display: flex; flex-direction: column; background: #fff; }
.office-body { padding: 26px 28px 22px; position: relative; z-index: 1; display: flex; gap: 16px; align-items: center; }
.office-body .pin { margin: 0; flex: 0 0 auto; }
.office-body h3 { margin: 2px 0 0; }
.map-slot { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #e8eef4, #dfe6ee); border-top: 1px solid var(--border); display: grid; place-items: center; align-content: center; gap: 14px; overflow: hidden; margin-top: auto; }
.map-slot::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(27, 111, 174, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 111, 174, .08) 1px, transparent 1px); background-size: 28px 28px; }
.map-pin-preview { position: relative; color: var(--err); filter: drop-shadow(0 6px 8px rgba(194, 65, 45, .35)); animation: pin-bob 2.4s ease-in-out infinite; }
@keyframes pin-bob { 50% { transform: translateY(-6px); } }
.map-slot.loaded .map-pin-preview { display: none; }
.map-slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 600 .9rem var(--font); cursor: pointer; box-shadow: 0 8px 20px rgba(11, 14, 19, .2); }
.map-btn:hover { background: var(--blue-deep); }
.office-actions { display: flex; flex-wrap: wrap; border-top: 1px solid var(--border); }
.office-actions a { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 14px; font-weight: 600; font-size: .88rem; text-decoration: none; color: var(--text); border-right: 1px solid var(--border); transition: background .2s, color .2s; }
.office-actions a:last-child { border-right: 0; }
.office-actions a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.office-actions .icon { color: var(--blue); }
.map-note { margin-top: 14px; }
.office::after { display: none; }

/* ---------- contact: reach cards ---------- */
.reach { display: grid; gap: 12px; margin-top: 22px; }
.reach-card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--border); border-radius: 14px; text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s; }
.reach-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.reach-card small { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 600; color: var(--muted); }
.reach-card strong { font-weight: 600; font-size: 1rem; overflow-wrap: anywhere; }
.reach-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-deep); }
.reach-go { color: var(--muted-light); transition: transform .2s, color .2s; }
.reach-card:hover .reach-go { transform: translateX(3px); color: var(--blue); }
.reach-wa .reach-ico { background: #25d366; color: #fff; }
.reach-wa:hover { border-color: #25d366; }
.contact-info h2 { margin-bottom: 6px; }

/* ---------- footer contact list ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-grid .contact-list a { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 7px 0; }
.contact-list .ci { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(44, 147, 220, .12); color: var(--blue); transition: background .2s, color .2s; }
.contact-list a:hover .ci { background: var(--blue); color: #fff; }
.contact-list small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-light); line-height: 1.4; }
.contact-list span:last-child { line-height: 1.45; padding-top: 1px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.footer-grid .social a { display: grid; place-items: center; width: 40px; height: 40px; margin: 0; border-radius: 50%; border: 1px solid var(--line); color: #c3c9d2; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.footer-grid .social a:hover { transform: translateY(-2px); color: #fff; background: var(--blue); border-color: var(--blue); }
.footer-grid .social .soc-wa:hover { background: #25d366; border-color: #25d366; }
.footer-grid .social .soc-in:hover { background: #0a66c2; border-color: #0a66c2; }

/* ---------- capabilities ---------- */
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.chip-list li { padding: 12px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--border); font-weight: 600; font-family: var(--display); }
.commitments { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 32px; }
.commitment { position: relative; padding: 34px 30px; border-radius: var(--radius); background: var(--ink); color: #fff; overflow: hidden; }
.commitment span { position: absolute; right: 18px; top: -10px; font: 800 7rem/1 var(--display); color: rgba(44, 147, 220, .18); }
.commitment h3 { position: relative; color: #fff; }
.commitment p { position: relative; color: var(--muted-light); margin: 0; }
.download-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.download-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .2s; }
.download-list a:hover { border-color: var(--blue); }
.download-list small { display: block; color: var(--muted); }
.file-ico { width: 48px; height: 56px; border-radius: 8px; background: #fbebe8; color: var(--err); display: grid; place-items: center; font: 800 .75rem var(--display); }
.download-list .dl { font-size: 1.3rem; color: var(--blue); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.wa-link { display: inline-flex !important; align-items: center; gap: 8px; color: #128c7e; font-weight: 600; }

/* ---------- clients pages ---------- */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.client-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s; }
.client-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.client-logo { height: 140px; display: grid; place-items: center; padding: 24px; background: var(--paper); border-bottom: 1px solid var(--border); }
.client-logo img { max-height: 70px; max-width: 80%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.client-tile:hover .client-logo img { filter: none; opacity: 1; }
.client-meta { padding: 18px 22px 22px; display: grid; gap: 2px; }
.client-meta small { color: var(--muted); }
.client-meta em { font-style: normal; color: var(--blue-deep); font-weight: 600; font-size: .9rem; margin-top: 8px; }
.client-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.client-hero-logo { background: #fff; border-radius: var(--radius); padding: 34px; display: grid; place-items: center; min-height: 180px; }
.client-hero-logo img { max-height: 110px; object-fit: contain; }
.clients-head .kicker a { color: inherit; }
.tag-link { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); font-size: .85rem; color: #fff; text-decoration: none; }
.tag-link:hover { background: rgba(255, 255, 255, .1); }
.facts-grid dd a { text-decoration: none; }

/* ---------- team organisation chart ---------- */
.org-top { text-align: center; position: relative; padding-bottom: 46px; }
.org-leaders { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 10px; }
.leader { width: min(300px, 100%); background: var(--ink); color: #fff; border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; align-items: center; border-bottom: 4px solid var(--blue); }
.leader h3 { color: #fff; margin: 14px 0 2px; }
.leader small { color: var(--muted-light); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.leader p { color: var(--muted-light); font-size: .9rem; margin: 12px 0 0; }
.leader .avatar { margin: 0; border: 3px solid var(--blue); }
.org-top::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 2px; height: 46px; background: repeating-linear-gradient(180deg, var(--blue) 0 8px, transparent 8px 14px); }
.org-branches { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; padding-top: 28px; border-top: 2px solid var(--blue); position: relative; }
.trade { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: relative; }
.trade::before { content: ''; position: absolute; left: 50%; top: -30px; width: 2px; height: 30px; background: var(--blue); }
.trade-head { display: flex; gap: 14px; align-items: flex-start; padding: 20px 20px 16px; background: var(--paper); border-bottom: 1px solid var(--border); }
.trade-head .icon { color: var(--blue); flex: 0 0 auto; margin: 0; }
.trade-head h3 { margin: 0 0 2px; font-size: 1.1rem; }
.trade-head p { margin: 0; color: var(--muted); font-size: .85rem; }
.trade-people { padding: 10px 14px 16px; display: grid; gap: 6px; }
.person { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; position: relative; }
.person.is-lead { background: var(--blue-soft); }
.person strong { display: block; font-size: .95rem; }
.person small { color: var(--muted); font-size: .82rem; }
.avatar.sm { width: 46px; height: 46px; margin: 0; flex: 0 0 auto; }
.avatar.sm span { font-size: .95rem; }
.lead-tag { display: inline-block; font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-deep); margin-top: 2px; }
.in-link { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 6px; background: #0a66c2; color: #fff; font: 700 .8rem var(--font); display: grid; place-items: center; text-decoration: none; }

/* ---------- team: clickable cards & profile popup ---------- */
button.person, button.leader { font: inherit; color: inherit; cursor: pointer; text-align: left; border: 0; }
button.person { width: 100%; background: transparent; transition: background .2s, transform .2s; }
button.person:hover { background: var(--paper); }
button.person.is-lead:hover { background: #d9ebf8; }
.person-text { flex: 1; min-width: 0; display: grid; }
.person-go { color: var(--muted-light); transition: transform .2s, color .2s; }
button.person:hover .person-go { color: var(--blue); transform: translateX(3px); }
button.leader { text-align: center; transition: transform .25s, box-shadow .25s; }
button.leader:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(11, 14, 19, .25); }
.leader-name { display: block; font: 700 1.2rem var(--display); color: #fff; margin: 14px 0 2px; }
.leader-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: .8rem; font-weight: 600; color: var(--blue); }
.avatar { display: grid; }
.avatar.lg { width: 120px; height: 120px; margin: 0; flex: 0 0 auto; border: 3px solid var(--blue-soft); }
.avatar.lg span { font-size: 2rem; }
body.dialog-open { overflow: hidden; }
.member-dialog { width: min(860px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--text); box-shadow: 0 40px 90px rgba(0, 0, 0, .45); overflow: hidden; }
.member-dialog[open] { display: flex; flex-direction: column; animation: dlg-in .25s ease-out; }
.member-dialog::backdrop { background: rgba(11, 14, 19, .72); backdrop-filter: blur(4px); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 14px rgba(0, 0, 0, .15); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); }
.dialog-close:hover { background: var(--ink); color: #fff; }
.dialog-body { overflow-y: auto; overscroll-behavior: contain; }
/* Profile popup: cover band, sticky sidebar, content column. */
.member-dialog { width: min(1040px, calc(100vw - 32px)); }
.pf-cover { height: 132px; background:
  repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 26px, transparent 26px 46px) left 50% / 100% 3px no-repeat,
  radial-gradient(600px 220px at 85% 0%, rgba(44, 147, 220, .55), transparent 70%),
  linear-gradient(120deg, #0b0e13, #173a57); }
.pf-grid { display: grid; grid-template-columns: 300px 1fr; }
.pf-side { position: sticky; top: 0; align-self: start; padding: 0 26px 28px; text-align: center; border-right: 1px solid var(--border); background: linear-gradient(180deg, #fff, var(--paper)); }
.avatar.xl { width: 148px; height: 148px; margin: -78px auto 14px; border: 5px solid #fff; box-shadow: 0 14px 34px rgba(11, 14, 19, .22); background: var(--blue-soft); }
.avatar.xl span { font-size: 2.6rem; }
.pf-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pf-name { font-size: 1.7rem; margin: 12px 0 2px; }
.pf-role { color: var(--muted); margin: 0 0 18px; }
.pf-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 8px; margin: 0 0 18px; }
.pf-stats div { padding: 12px 6px; border-radius: 12px; background: #fff; border: 1px solid var(--border); }
.pf-stats dt { font: 800 1.5rem/1 var(--display); color: var(--ink); }
.pf-stats dd { margin: 4px 0 0; font-size: .7rem; color: var(--muted); line-height: 1.3; }
.pf-contact { display: grid; gap: 6px; text-align: left; margin-bottom: 16px; }
.pf-contact a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: .9rem; overflow-wrap: anywhere; transition: background .2s; }
.pf-contact a:hover { background: var(--blue-soft); }
.pf-contact a > span { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-deep); }
.pf-contact a > span.in { background: #0a66c2; color: #fff; }
.pf-contact a > span.tm { background: #5b5fc7; color: #fff; }
.pf-cv { margin-top: 4px; }
.pf-main { padding: 26px 34px 34px; min-width: 0; }
.pf-sec { padding: 22px 0; border-bottom: 1px solid var(--border); }
.pf-sec:first-child { padding-top: 6px; }
.pf-sec:last-child { border-bottom: 0; }
.pf-sec h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin: 0 0 14px; }
.pf-sec h3 .icon { color: var(--blue); }
.pf-bio p { color: #3b424d; font-size: 1rem; line-height: 1.75; }
.pf-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-tags li { padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--border); font-size: .86rem; font-weight: 500; }
.pf-projects { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.pf-projects a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: #fff; text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s; }
.pf-projects a:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.pf-proj-mark { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; }
.pf-proj-txt { flex: 1; min-width: 0; display: grid; }
.pf-proj-txt small { color: var(--muted); font-size: .8rem; }
.pf-proj-go { color: var(--muted-light); }
.pf-projects a:hover .pf-proj-go { color: var(--blue); }
.pf-timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.pf-timeline::before { content: ''; position: absolute; left: 47px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.pf-timeline li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 8px 0; }
.pf-timeline li::after { content: ''; position: absolute; left: 42px; top: 34px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.pf-year { justify-self: center; align-self: start; max-width: 96px; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: #fff; font: 700 .72rem/1.3 var(--display); text-align: center; position: relative; z-index: 1; }
.pf-year.empty { visibility: hidden; }
.pf-timeline li:has(.pf-year.empty)::after { top: 16px; }
.pf-timeline strong { display: block; }
.pf-timeline small { color: var(--muted); }
.pf-timeline.edu li::after { border-color: var(--ok); }
.pdfv-compact .pdfv-stage { height: min(70vh, 620px); }

/* ---------- project: our role & LOD ---------- */
.role-section { background: #fff; border-top: 1px solid var(--border); }
.role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: start; }
.lod-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lod-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--border); }
.lod-list strong { display: block; font-family: var(--display); }
.lod-list small { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.lod-badge { display: inline-grid; place-items: center; min-width: 88px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; font: 800 1rem var(--display); letter-spacing: .02em; white-space: nowrap; }
.lod-badge.sm { min-width: 0; padding: 3px 10px; border-radius: 999px; font-size: .78rem; }
.lod-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: .92rem; }
.lod-table th, .lod-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.lod-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* ---------- project: 3D poster (viewer loads on request) ---------- */
.aps-poster { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; align-content: center; gap: 12px; background: radial-gradient(circle at 50% 45%, #1b2330, #0b0e13); }
.aps-poster[hidden] { display: none; }
.aps-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: .18; filter: invert(1) grayscale(1); }
.aps-launch { position: relative; padding: 16px 28px; font-size: 1.05rem; box-shadow: 0 16px 40px rgba(44, 147, 220, .35); }
.aps-launch[disabled] { opacity: .6; cursor: progress; }
.aps-poster small { position: relative; color: var(--muted-light); }

/* ---------- project team ---------- */
.crew-section { background: #fff; border-top: 1px solid var(--border); }
.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.crew-card { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--paper); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s; }
.crew-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.crew-text { flex: 1; min-width: 0; display: grid; }
.crew-text small { color: var(--muted); }
.crew-text em { font-style: normal; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-deep); font-weight: 700; margin-top: 2px; }
.crew-go { color: var(--muted-light); transition: transform .2s, color .2s; }
.crew-card:hover .crew-go { color: var(--blue); transform: translateX(3px); }

/* ---------- PDF work-sample viewer ---------- */
.samples-section { background: var(--ink); color: #fff; }
.samples-section .kicker { color: var(--blue); }
.pdfv { border-radius: var(--radius); overflow: hidden; background: #1b212b; border: 1px solid var(--line); }
.pdfv:fullscreen { border-radius: 0; display: flex; flex-direction: column; }
.pdfv:fullscreen .pdfv-stage { height: auto; flex: 1; }
.pdfv-tabs { display: flex; gap: 4px; padding: 8px 8px 0; overflow-x: auto; scrollbar-width: thin; }
.pdfv-tabs button { flex: 0 0 auto; padding: 10px 16px; border: 0; border-radius: 10px 10px 0 0; background: transparent; color: var(--muted-light); font: 600 .88rem var(--font); cursor: pointer; min-height: 44px; }
.pdfv-tabs button[aria-selected="true"] { background: #232b37; color: #fff; }
.pdfv-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 10px 14px; background: #232b37; border-bottom: 1px solid var(--line); }
.pdfv-title { font: 600 .95rem var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.pdfv-tools { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pdfv-tools button, .pdfv-tools a { min-width: 40px; height: 40px; padding: 0 10px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #fff; font: 600 1rem var(--font); cursor: pointer; display: inline-grid; place-items: center; text-decoration: none; }
.pdfv-tools button:hover, .pdfv-tools a:hover { background: var(--blue); }
.pdfv-fit { font-size: .8rem !important; }
.pdfv-page { min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; color: var(--muted-light); font-size: .9rem; }
.pdfv-sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.pdfv-stage { position: relative; height: min(78vh, 900px); overflow: auto; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 12px; background: #11151c; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.pdfv-stage:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.pdfv-pg { flex: 0 0 auto; background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .45); }
.pdfv-pg canvas { display: block; }
.pdfv-status { margin: auto; color: var(--muted-light); text-align: center; padding: 40px 16px; }
.pdfv-status.error { color: #f1b7ad; }
.pdfv-desc { padding: 10px 16px 14px; margin: 0; color: var(--muted-light) !important; }

/* ---------- candidate accounts ---------- */
.auth-section { padding: clamp(48px, 8vw, 96px) 0; background: linear-gradient(180deg, var(--paper), #fff); }
.auth-wrap { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.auth-side h1 { font-size: clamp(2rem, 4vw, 3rem); }
.auth-perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.auth-perks li { position: relative; padding-left: 30px; color: var(--muted); }
.auth-perks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .7rem; display: grid; place-items: center; }
.auth-card-pub { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); }
.auth-alt { margin: 18px 0 0; text-align: center; font-size: .92rem; color: var(--muted); }
.signed-as { background: var(--blue-soft); color: var(--blue-deep); padding: 12px 14px; border-radius: 10px; font-size: .9rem; }
.account-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.account-head .actions { margin: 0; }
.account-head form { margin: 0; }
.tag-ok, .tag-warn { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.tag-ok { background: rgba(31, 138, 91, .2); color: #7fd8ae; }
.tag-warn { background: rgba(180, 84, 14, .25); color: #f6c08d; }
.account-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.account-grid h2 { font-size: 1.5rem; }
.app-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.app-list li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.app-list small { display: block; color: var(--muted); font-size: .82rem; }
.app-status { flex: 0 0 auto; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--blue-soft); color: var(--blue-deep); }
.st-interview, .st-offer { background: #fff3e0; color: #b4540e; }
.st-hired { background: #e6f5ee; color: var(--ok); }
.st-rejected { background: #eef0f3; color: var(--muted); }
.card-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.account-more { margin-top: 14px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 4px 18px; }
.account-more summary { cursor: pointer; font-weight: 600; padding: 12px 0; min-height: 44px; }
.account-more form { padding-bottom: 16px; }
.small-empty { padding: 32px 20px; }
.notice.info-note { background: #fff8db; color: #6b5200; border: 1px solid #ecd27a; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.inline-form { display: inline; margin: 0; }
.linkish { background: none; border: 0; padding: 0; color: var(--blue-deep); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.btn-danger-pub { background: #fff; color: var(--err); border-color: #e9b9b1; }
.btn-danger-pub:hover { background: #fbebe8; }
.site-header .site-nav form { margin: 0; }

/* ---------- polish ---------- */
a.card::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--blue); border-radius: var(--radius) var(--radius) 0 0; transition: width .4s ease; }
a.card:hover::before { width: 100%; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
::selection { background: var(--blue); color: #fff; }

/* ---------- plugins ---------- */
.product-card .product-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.product-mark { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; display: grid; place-items: center; font: 800 1rem var(--display); letter-spacing: .04em; }
.badge { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); }
.product-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.product-foot .more { font-weight: 600; color: var(--blue-deep); font-size: .9rem; }
.product-foot .more::after { content: ' →'; }
.hero-product { background: radial-gradient(900px 480px at 80% 30%, #173a57, var(--ink) 70%); }
.product-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; padding: clamp(70px, 10vw, 120px) 0; }
.spec-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius); padding: 10px 26px; backdrop-filter: blur(8px); }
.spec-card dl { margin: 0; }
.spec-card div { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.spec-card div:last-child { border-bottom: 0; }
.spec-card dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-light); }
.spec-card dd { margin: 4px 0 0; font: 700 1.1rem var(--display); }
.feature-card .num { font: 700 .85rem var(--display); color: var(--blue); letter-spacing: .1em; margin-bottom: 14px; }
.product-shot img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 auto; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.dark, .approach { background: var(--ink); color: #fff; }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--blue-deep); margin-bottom: 14px; }
.dark .kicker, .kicker.light { color: var(--blue); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose { font-size: 1.05rem; }
.prose .big, .big { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.55; color: var(--text); font-family: var(--display); font-weight: 500; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose .cover { border-radius: var(--radius); margin-bottom: 32px; }
.intro { border-bottom: 1px solid var(--border); }

/* ---------- cards ---------- */
.cards { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; color: var(--text); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; display: flex; flex-direction: column; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon { color: var(--blue); margin-bottom: 18px; }
.card p { color: var(--muted); font-size: .97rem; }
.card small { color: var(--muted); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.service-card .num { position: absolute; top: 24px; right: 26px; font: 700 .85rem var(--display); color: var(--muted-light); letter-spacing: .1em; }
.service-card .more { margin-top: auto; font-weight: 600; color: var(--blue-deep); font-size: .9rem; }
.service-card .more::after { content: ' →'; }
.services-band { background: #fff; }
.services-band .card { background: var(--paper); }
.project-card { padding: 0; overflow: hidden; }
.project-card .thumb { aspect-ratio: 16 / 10; background: var(--asphalt-2); overflow: hidden; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card:hover .thumb img { transform: scale(1.05); }
.blueprint { display: grid; place-items: center; background-color: #14324d !important; background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 24px 24px; }
.blueprint span { color: rgba(255, 255, 255, .8); font: 700 .8rem var(--display); letter-spacing: .2em; }
.card-body { padding: 24px 26px 28px; }
.post-card img { border-radius: 10px; margin: -8px -8px 18px; width: calc(100% + 16px); aspect-ratio: 16 / 9; object-fit: cover; }
.team-card { text-align: center; align-items: center; }
.avatar { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; margin-bottom: 18px; background: var(--blue-soft); display: grid; place-items: center; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar span { font: 800 1.6rem var(--display); color: var(--blue-deep); }

/* ---------- approach steps ---------- */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 22px; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 18px, transparent 18px 32px); }
.steps li { padding-right: 28px; position: relative; }
.steps span { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 .9rem var(--display); margin-bottom: 22px; position: relative; }
.steps p { color: var(--muted-light); }

/* ---------- values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
.value { padding: 32px 28px 8px 0; border-right: 1px solid var(--border); margin-right: 28px; }
.value:last-child { border-right: 0; }
.value h3 { font-size: 1.5rem; }
.value p { color: var(--muted); }

/* ---------- SHEVO ---------- */
.shevo-band { background: radial-gradient(1200px 500px at 85% 50%, #1d5f93 0%, #123a5a 40%, var(--ink) 100%); color: #fff; }
.shevo-band .lead { color: #c6d6e6; }
.shevo-visual { position: relative; aspect-ratio: 1; max-width: 420px; margin-left: auto; width: 100%; }
.shevo-visual::before { content: ''; position: absolute; inset: 12%; border: 1px dashed rgba(255, 255, 255, .3); border-radius: 50%; animation: spin 40s linear infinite; }
.shevo-visual .core { position: absolute; inset: 34%; border-radius: 50%; background: var(--blue); display: grid; place-items: center; font: 800 1.3rem var(--display); letter-spacing: .14em; box-shadow: 0 0 80px rgba(44, 147, 220, .55); }
.shevo-visual .node { position: absolute; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); font-size: .85rem; font-weight: 600; backdrop-filter: blur(6px); }
.n1 { top: 6%; left: 50%; transform: translateX(-50%); }
.n2 { top: 46%; right: -2%; }
.n3 { bottom: 6%; left: 50%; transform: translateX(-50%); }
.n4 { top: 46%; left: -4%; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-shevo { background: radial-gradient(900px 500px at 80% 40%, #1d5f93, var(--ink) 70%); }
.hero-careers { background: linear-gradient(120deg, var(--ink), #173a57); }

/* ---------- careers ---------- */
.careers-teaser { background: #fff; border-top: 1px solid var(--border); }
.job-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.job-filter input, .job-filter select { flex: 1 1 220px; }
.job-list { display: grid; gap: 12px; }
.job-row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 24px; align-items: center; padding: 24px 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.job-row:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.job-row h3 { margin-bottom: 4px; }
.job-row p { margin: 0; color: var(--muted); font-size: .95rem; }
.job-row .arrow, .service-row .arrow { font-size: 1.4rem; color: var(--blue); transition: transform .2s; }
.job-row:hover .arrow, .service-row:hover .arrow { transform: translateX(4px); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.tags li { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); font-weight: 600; }
.tags.light li { background: rgba(255, 255, 255, .1); color: #fff; }
.apply-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; position: sticky; top: 96px; }
.apply-box h2 { font-size: 1.4rem; }
.job-split { grid-template-columns: 1.3fr 1fr; }
.thanks { min-height: 55vh; display: grid; place-items: center; }
.check-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 2rem; margin: 0 auto 24px; }
.ref { font-family: ui-monospace, monospace; letter-spacing: .08em; }

/* ---------- services list ---------- */
.service-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.service-row { display: grid; grid-template-columns: 60px 48px 1fr auto; gap: 24px; align-items: center; padding: 34px 8px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); transition: background .2s; }
.service-row:hover { background: #fff; }
.service-row h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 6px; }
.service-row p { margin: 0; color: var(--muted); }
.service-row .num { font: 700 .9rem var(--display); color: var(--muted-light); letter-spacing: .1em; }
.service-row .icon { color: var(--blue); }
.side-icon .icon { width: 120px; height: 120px; color: var(--blue); stroke-width: 1; }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--border); }
.facts dt { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--muted); font-weight: 600; }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); text-decoration: none; color: var(--text); font-weight: 500; font-size: .9rem; }
.filters a.on, .filters a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 60px 20px; background: #fff; border: 1px dashed var(--border); border-radius: var(--radius); }

/* ---------- CTA ---------- */
.cta-band { background: var(--blue); color: #fff; padding: clamp(60px, 8vw, 100px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; left: -10%; right: -10%; bottom: 22px; height: 3px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 40px, transparent 40px 70px); }
.cta-inner { position: relative; text-align: center; max-width: 760px; }
.cta-inner .actions { justify-content: center; }
.cta-inner p { color: #e3f1fb; font-size: 1.1rem; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.form label small { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 1rem; width: 100%; padding: 12px 14px; border: 1px solid #cfd3d8; border-radius: 10px; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(44, 147, 220, .18); }
input[type="file"] { padding: 10px; background: var(--paper); }
input[type="checkbox"] { width: auto; }
.check { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: flex-start; font-weight: 400 !important; }
.check input { margin-top: 5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -5000px; }
.notice { padding: 16px 20px; border-radius: 10px; margin-bottom: 20px; }
.notice ul { margin: 0; padding-left: 1.2em; }
.notice.success { background: #e6f5ee; color: var(--ok); border: 1px solid #b9e2cd; }
.notice.error { background: #fbebe8; color: var(--err); border: 1px solid #f2c6bd; }
.contact-info p { display: grid; gap: 2px; margin-bottom: 22px; }
.contact-info .label { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--muted); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #d5dae1; padding: 0 0 26px; }
.road-line { height: 6px; background: repeating-linear-gradient(90deg, var(--blue) 0 60px, transparent 60px 90px); margin-bottom: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: #fff; margin-bottom: 18px; }
.footer-grid a { display: block; color: #c3c9d2; text-decoration: none; margin-bottom: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-grid .muted, .footer-grid address { color: var(--muted-light); font-style: normal; }
.footer-grid address { margin-bottom: 12px; line-height: 1.6; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted-light); }

/* ---------- AI chat ---------- */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 60; }
.chat-launch { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 .95rem var(--font); cursor: pointer; box-shadow: 0 12px 30px rgba(11, 14, 19, .3); transition: transform .2s, background .2s; }
.chat-launch:hover { transform: translateY(-2px); background: var(--blue-deep); }
.chat.open .chat-launch { display: none; }
.chat-panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 100px)); background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(11, 14, 19, .28); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); }
.chat-panel[hidden] { display: none; }
.chat-panel header { display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--ink); color: #fff; }
.chat-panel header small { display: block; color: var(--muted-light); font-size: .75rem; margin-top: 2px; }
.chat-close { background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: .94rem; white-space: pre-wrap; word-wrap: break-word; }
.msg.bot { background: #fff; border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.error { color: var(--err); }
.msg.typing { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: var(--paper); }
.chat-suggest button { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 6px 12px; font: 500 .8rem var(--font); cursor: pointer; color: var(--blue-deep); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.chat-form input { border-radius: 999px; }
.chat-form button { flex: 0 0 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; font-size: 1.2rem; cursor: pointer; }

/* ---------- error page ---------- */
.error-page { min-height: 100vh; display: grid; place-items: center; background: var(--paper); }
.error-box { text-align: center; padding: 40px 20px; max-width: 520px; }
.error-box .brand { justify-content: center; margin-bottom: 24px; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-roads .accent { stroke-dashoffset: 0; }
}

/* ---------- responsive ---------- */
.site-nav .nav-cta { white-space: nowrap; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
img, iframe, video { max-width: 100%; }
.btn, .filters a, .chat-suggest button { min-height: 44px; }
.site-footer { padding-bottom: max(26px, env(safe-area-inset-bottom)); }
.chat { right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); }
/* Eight menu items: tighten spacing on mid-size desktops so the bar never wraps. */
@media (max-width: 1400px) and (min-width: 861px) {
  .site-nav { gap: 0; }
  .site-nav a { padding: 8px 10px; font-size: .93rem; }
  .site-nav .nav-cta { padding: 10px 16px; margin-left: 6px; }
}
@media (max-width: 1180px) and (min-width: 861px) {
  .brand-text { display: none; }
  .site-nav a { padding: 8px 9px; font-size: .92rem; }
}
@media (max-width: 1000px) {
  .split, .job-split { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value:nth-child(2) { border-right: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .apply-box { position: static; }
  .shevo-visual { margin: 20px auto 0; max-width: 340px; }
  .project-hero-grid, .product-hero, .client-hero-grid, .auth-wrap, .account-grid { grid-template-columns: 1fr; }
  .org-branches { border-top: 0; padding-top: 0; }
  .trade::before, .org-top::after { display: none; }
  .org-top { padding-bottom: 28px; }
  .hero-figure { transform: none; }
}
@media (max-width: 640px) {
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 34px; }
  .timeline li::before { left: 0; }
  .facts-grid div { border-right: 0; border-bottom: 1px solid var(--border); margin-right: 0; padding: 14px 0; }
  .model-frame { aspect-ratio: 4 / 5; }
  .number { border-right: 0; border-bottom: 1px solid var(--line); margin-right: 0; padding: 28px 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--paper); padding: 16px; gap: 4px; border-bottom: 1px solid var(--border); box-shadow: 0 20px 40px rgba(11, 14, 19, .1); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .site-nav.open { opacity: 1; transform: none; visibility: visible; }
  .site-nav { max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
  body.nav-open { overflow: hidden; }
  .footer-grid a { padding: 6px 0; margin-bottom: 4px; }
  .section-head { align-items: flex-start; }
  .product-hero { padding: 64px 0; gap: 28px; }
  .hero-inner { padding-top: 72px; }
  .site-nav a { padding: 14px 12px; font-size: 1.05rem; }
  .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .job-row { grid-template-columns: 1fr; gap: 12px; }
  .job-row .arrow { display: none; }
  .service-row { grid-template-columns: 40px 1fr auto; }
  .service-row .icon { display: none; }
}
@media (max-width: 560px) {
  .brand-text { display: none; }
  .row2, .values-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .value { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--border); padding-right: 0; }
  .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .office-actions a { flex-basis: 50%; border-bottom: 1px solid var(--border); }
  .reach-card { padding: 14px; gap: 12px; }
  .chat { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .chat-launch span { display: none; }
  .chat-launch { width: 56px; height: 56px; padding: 0; justify-content: center; }
  /* Full-screen chat on phones, sized to the visible area so the keyboard never hides the input. */
  .chat.open { inset: 0; right: 0; bottom: 0; }
  .chat-panel { width: 100vw; height: 100dvh; border-radius: 0; border: 0; padding-bottom: env(safe-area-inset-bottom); }
  .page-hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  h1 { font-size: clamp(2.1rem, 9.5vw, 2.6rem); }
  .section { padding: 56px 0; }
  .card { padding: 24px; }
  .contact-info { order: 2; }
  .download-list a { grid-template-columns: auto 1fr; }
  .download-list .dl { display: none; }
  .apply-box { padding: 22px; }
  .stats .stat { padding: 20px 0; }
  .stat strong { font-size: 2rem; }
  .pdfv-stage { height: 70vh; padding: 8px; }
  .pdfv-bar { padding: 8px; }
  .pdfv-sep { display: none; }
  .pdfv-tools { width: 100%; justify-content: space-between; }
  .app-list li { flex-direction: column; align-items: flex-start; }
  .auth-side .auth-perks { display: none; }
  .member-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .avatar.lg { width: 88px; height: 88px; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-side { position: static; border-right: 0; border-bottom: 1px solid var(--border); padding: 0 20px 22px; }
  .pf-cover { height: 104px; }
  .avatar.xl { width: 120px; height: 120px; margin-top: -64px; }
  .pf-main { padding: 18px 20px 28px; }
  .pf-projects { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
}
