/* ============================================================
   MUDBOXX RESEARCH — Core Design System
   Editorial premium light theme. Fraunces (display) + Manrope (body)
   ============================================================ */

:root {
  --primary: #0B1F3A;
  --primary-600: #10294d;
  --secondary: #1769FF;
  --secondary-700: #0f4fce;
  --accent: #19B5A5;
  --accent-600: #12988b;
  --background: #FFFFFF;
  --section-bg: #F6F9FC;
  --text: #243447;
  --muted: #667085;
  --border: #E5EAF0;

  --ink: #0B1F3A;
  --glass: rgba(255, 255, 255, 0.7);
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06);
  --shadow-md: 0 10px 30px -12px rgba(11, 31, 58, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 31, 58, .28);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1280px;
  --ff-display: "Fraunces", Georgia, serif;
  --ff-sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--ff-sans);
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

::selection { background: var(--accent); color: #fff; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--primary); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 84px 0; }
.section--bg { background: var(--section-bg); }
.section--ink { background: var(--primary); color: #fff; }

/* ---------- Typography ---------- */
.display { font-family: var(--ff-display); font-weight: 500; line-height: .98; letter-spacing: -.02em; font-optical-sizing: auto; }
h1, h2, h3 { font-family: var(--ff-display); font-weight: 500; letter-spacing: -.02em; line-height: 1.02; color: var(--primary); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
p { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--text); line-height: 1.55; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--secondary);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.section--ink .eyebrow { color: var(--accent); }

.chapter-num { font-family: var(--ff-display); font-size: .95rem; color: var(--accent); letter-spacing: .1em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--primary); --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 100px; font-weight: 700; font-size: .95rem;
  background: var(--bg); color: var(--fg);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s ease;
  position: relative; overflow: hidden; will-change: transform;
}
.btn svg { transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { --bg: var(--secondary); }
.btn--primary:hover { background: var(--secondary-700); }
.btn--accent { --bg: var(--accent); }
.btn--accent:hover { background: var(--accent-600); }
.btn--ghost { --bg: transparent; --fg: var(--primary); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--primary); background: #fff; }
.section--ink .btn--ghost { --fg: #fff; border-color: rgba(255,255,255,.25); }
.section--ink .btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--lg { padding: 18px 32px; font-size: 1rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--secondary);
  position: relative;
}
.link-arrow::after { content: ""; position: absolute; bottom: -3px; left: 0; width: 100%; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow svg { transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.85); backdrop-filter: blur(16px);
  transition: transform .5s var(--ease), box-shadow .4s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--border), var(--shadow-sm); }
.site-header.hide { transform: translateY(-110%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 48px; width: auto; display: block; }
.header-inner .brand-logo { height: 50px; }
.brand-logo-badge { background: #fff; padding: 12px 16px; border-radius: 14px; display: inline-block; box-shadow: var(--shadow-sm); }
.brand-logo-badge img { height: 42px; width: auto; display: block; }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text { font-family: var(--ff-display); font-weight: 600; font-size: 1.15rem; color: var(--primary); letter-spacing: -.01em; line-height: 1; }
.brand-text small { display: block; font-family: var(--ff-sans); font-weight: 600; font-size: .58rem; letter-spacing: .3em; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px; font-weight: 600; font-size: .92rem; color: var(--text); border-radius: 100px;
  position: relative; transition: color .3s ease;
}
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--primary); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--primary); }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-cta .btn { padding: 12px 22px; }

.hamburger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--border); position: relative; background: #fff; }
.hamburger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--primary); transition: transform .4s var(--ease), opacity .3s ease; }
.hamburger span:nth-child(1) { top: 17px; }
.hamburger span:nth-child(2) { top: 23px; }
.hamburger span:nth-child(3) { top: 29px; }
body.menu-open .hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: var(--primary); color: #fff;
  padding: 120px 32px 40px; display: flex; flex-direction: column; gap: 6px;
  clip-path: circle(0% at calc(100% - 46px) 42px); transition: clip-path .7s var(--ease); pointer-events: none;
}
body.menu-open .mobile-menu { clip-path: circle(160% at calc(100% - 46px) 42px); pointer-events: auto; }
.mobile-menu a { font-family: var(--ff-display); font-size: 2rem; color: #fff; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
body.menu-open .mobile-menu a { opacity: 1; transform: none; }
.mobile-menu .m-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.mobile-menu .m-cta .btn { flex: 1; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 180px 0 100px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { max-width: 34ch; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* line reveal (masked) */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: block; transform: translateY(105%); }

.hero-bg-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: -1; }
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, #cfe0ff, transparent 70%); top: -120px; right: -80px; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #c8f3ee, transparent 70%); bottom: -140px; left: -100px; }

.floating-tag {
  position: absolute; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-md);
  padding: 9px 16px; border-radius: 100px; font-weight: 700; font-size: .82rem; color: var(--primary);
  display: inline-flex; align-items: center; gap: 8px; z-index: 3;
}
.floating-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--border); background: #fff; }
.marquee--ink { background: var(--primary); border-color: rgba(255,255,255,.1); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--ff-display); font-size: 1.6rem; color: var(--primary); display: inline-flex; align-items: center; gap: 60px; opacity: .85; }
.marquee--ink .marquee-item { color: #fff; }
.marquee-item::after { content: "✳"; color: var(--accent); font-size: 1rem; }

/* ---------- Trust bar ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.trust-item { display: flex; flex-direction: column; gap: 12px; padding: 24px 20px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.trust-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.trust-item .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--section-bg); display: grid; place-items: center; color: var(--secondary); }
.trust-item h4 { font-family: var(--ff-sans); font-size: .98rem; font-weight: 700; color: var(--primary); }

/* ---------- Section header ---------- */
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p { margin-top: 18px; font-size: 1.1rem; }

/* ---------- Split / About preview ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.media-frame { position: relative; }
.media-frame::before { content: ""; position: absolute; inset: -16px; border: 1px solid var(--border); border-radius: calc(var(--radius) + 16px); z-index: -1; }
.lifecycle-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 30px 0; }
.lifecycle-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--text); font-size: .95rem; }
.lifecycle-list li svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; position: relative; overflow: hidden;
}
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 60%, rgba(23,105,255,.05)); opacity: 0; transition: opacity .4s; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { opacity: 1; }
.card .ic { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(140deg, var(--secondary), var(--accent)); display: grid; place-items: center; color: #fff; margin-bottom: 22px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { font-size: .94rem; }
.card .card-num { position: absolute; top: 24px; right: 28px; font-family: var(--ff-display); color: var(--border); font-size: 2.4rem; line-height: 1; }

/* ---------- Why cards (feature grid) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.why-cell { background: #fff; padding: 34px 28px; transition: background-color .4s ease; }
.why-cell:hover { background: var(--section-bg); }
.why-cell .ic { color: var(--accent); margin-bottom: 16px; }
.why-cell h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-cell p { font-size: .9rem; }

/* ---------- Timeline (How we work) ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.15); transform: translateX(-50%); }
.timeline::after { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 0; background: var(--accent); transform: translateX(-50%); transition: height .1s linear; }
.tl-step { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; gap: 0; margin-bottom: 12px; }
.tl-step .tl-body { padding: 26px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); }
.tl-step:nth-child(even) .tl-body { grid-column: 3; }
.tl-step:nth-child(odd) .tl-body { grid-column: 1; text-align: right; }
.tl-dot { grid-column: 2; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); margin: 0 auto; box-shadow: 0 0 0 6px rgba(25,181,165,.2); }
.tl-body .num { font-family: var(--ff-display); font-size: 2.2rem; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.tl-body h3 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.tl-body p { color: rgba(255,255,255,.7); font-size: .92rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat .num { font-family: var(--ff-display); font-size: clamp(2.6rem, 5vw, 4rem); color: var(--primary); line-height: 1; }
.section--ink .stat .num { color: #fff; }
.stat .num .suffix { color: var(--accent); }
.stat p { margin-top: 10px; font-weight: 600; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 2; text-align: center; }
.cta-band h2 { margin-bottom: 20px; }
.cta-band .lead { color: rgba(255,255,255,.8); max-width: 46ch; margin: 0 auto 34px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- World map ---------- */
.map-wrap { position: relative; background: linear-gradient(180deg, #fff, var(--section-bg)); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-md); }
.map-svg { width: 100%; height: auto; display: block; }
.map-dot circle.core { fill: var(--secondary); }
.map-legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 20px; justify-content: center; color: var(--muted); font-size: .85rem; font-weight: 600; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; }
.map-tooltip {
  position: fixed; z-index: 60; background: var(--primary); color: #fff; padding: 12px 16px; border-radius: 12px;
  font-size: .8rem; pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; box-shadow: var(--shadow-lg); max-width: 220px;
}
.map-tooltip.show { opacity: 1; transform: none; }
.map-tooltip strong { display: block; font-family: var(--ff-display); font-size: 1rem; margin-bottom: 4px; }
.map-tooltip .cov { color: var(--accent); font-weight: 700; }

/* ---------- Accordion / FAQ ---------- */
.accordion { max-width: 820px; margin: 0 auto; }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; text-align: left; font-family: var(--ff-display); font-size: 1.25rem; color: var(--primary); }
.acc-icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--border); display: grid; place-items: center; transition: transform .4s var(--ease), background-color .3s, color .3s; position: relative; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; transition: transform .4s var(--ease); }
.acc-icon::before { width: 14px; height: 2px; }
.acc-icon::after { width: 2px; height: 14px; }
.acc-item.open .acc-icon { background: var(--secondary); border-color: var(--secondary); }
.acc-item.open .acc-icon::before, .acc-item.open .acc-icon::after { background: #fff; }
.acc-item.open .acc-icon::after { transform: scaleY(0); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.acc-body p { padding-bottom: 26px; max-width: 62ch; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .82rem; color: var(--primary); }
.field label .req { color: var(--secondary); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .95rem; color: var(--text); padding: 13px 15px; border: 1.5px solid var(--border);
  border-radius: 12px; background: #fff; transition: border-color .3s, box-shadow .3s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(23,105,255,.12); outline: none; }
.field.err input, .field.err select, .field.err textarea { border-color: #e5484d; }
.field .msg { font-size: .76rem; color: #e5484d; display: none; }
.field.err .msg { display: block; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; grid-column: 1/-1; font-size: .86rem; color: var(--muted); }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--secondary); flex-shrink: 0; }
.file-drop { border: 1.5px dashed var(--border); border-radius: 12px; padding: 18px; text-align: center; color: var(--muted); font-size: .88rem; cursor: pointer; transition: border-color .3s, background-color .3s; }
.file-drop:hover { border-color: var(--secondary); background: var(--section-bg); }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 1500; background: rgba(11,31,58,.55); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff; border-radius: 22px; width: 100%; max-width: 620px; max-height: 92vh; overflow-y: auto;
  padding: 40px; box-shadow: var(--shadow-lg); transform: translateY(24px) scale(.98); transition: transform .45s var(--ease); position: relative;
}
.modal-overlay.open .modal { transform: none; }
.modal-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--section-bg); display: grid; place-items: center; color: var(--primary); transition: background-color .3s, transform .3s; }
.modal-close:hover { background: var(--border); transform: rotate(90deg); }
.modal h3 { font-size: 1.7rem; margin-bottom: 6px; }
.modal .modal-sub { margin-bottom: 22px; }
.modal .doc-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--section-bg); border: 1px solid var(--border); color: var(--primary); font-weight: 700; font-size: .82rem; padding: 8px 14px; border-radius: 100px; margin-bottom: 22px; }
.modal .doc-chip .dot { color: var(--accent); }
.modal .form-actions { margin-top: 24px; }
.modal .btn { width: 100%; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: rgba(255,255,255,.7); padding-top: 90px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.site-footer h4 { color: #fff; font-family: var(--ff-sans); font-weight: 700; font-size: .82rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 22px; }
.site-footer .brand-text { color: #fff; }
.site-footer .brand-text small { color: rgba(255,255,255,.5); }
.footer-col p { color: rgba(255,255,255,.6); font-size: .92rem; max-width: 34ch; margin-top: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: rgba(255,255,255,.7); font-size: .92rem; transition: color .3s, padding-left .3s; }
.footer-col ul a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { font-size: .92rem; margin-bottom: 14px; color: rgba(255,255,255,.7); }
.footer-contact li strong { color: #fff; display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; font-size: .84rem; }
.footer-legal a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; color: #fff; transition: background-color .3s, transform .3s; }
.footer-social a:hover { background: var(--secondary); transform: translateY(-3px); }
.copyright { font-size: .84rem; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 180px 0 80px; position: relative; overflow: hidden; }
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { max-width: 16ch; margin-bottom: 24px; }
.page-hero .lead { max-width: 60ch; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 26px; font-weight: 600; }
.breadcrumb a:hover { color: var(--secondary); }

/* ---------- Diagram (People+Process+Tech+Quality) ---------- */
.diagram { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.diagram .node { padding: 34px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); position: relative; }
.diagram .node .ic { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; background: var(--section-bg); color: var(--secondary); display: grid; place-items: center; }
.diagram .node h4 { font-family: var(--ff-display); font-size: 1.2rem; color: var(--primary); }

/* journey flow */
.journey { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.journey .jn { padding: 16px 24px; background: #fff; border: 1px solid var(--border); border-radius: 100px; font-weight: 700; color: var(--primary); font-size: .95rem; }
.journey .jn.active { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.journey .arw { color: var(--accent); }

/* industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ind-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 1; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease); cursor: default; }
.ind-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ind-card .ic { position: absolute; top: 26px; left: 26px; color: var(--secondary); transition: transform .5s var(--ease); }
.ind-card:hover .ic { transform: scale(1.1) rotate(-6deg); }
.ind-card h3 { font-size: 1.2rem; }
.ind-card .ind-desc { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s ease, margin-top .4s; }
.ind-card:hover .ind-desc { max-height: 160px; opacity: 1; margin-top: 10px; }
.ind-card .ind-desc p { font-size: .88rem; }

/* region cards */
.region-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.region-tab { padding: 11px 22px; border-radius: 100px; border: 1.5px solid var(--border); font-weight: 700; font-size: .9rem; color: var(--text); background: #fff; transition: all .3s; }
.region-tab.active, .region-tab:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.region-panel { display: none; animation: fadeUp .5s var(--ease); }
.region-panel.active { display: block; }
.aud-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.aud-tags span { padding: 8px 16px; background: var(--section-bg); border: 1px solid var(--border); border-radius: 100px; font-size: .85rem; font-weight: 600; color: var(--primary); }

/* credential download cards */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.dl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dl-card .ic { width: 50px; height: 50px; border-radius: 12px; background: var(--section-bg); color: var(--secondary); display: grid; place-items: center; margin-bottom: 18px; }
.dl-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.dl-card p { font-size: .9rem; flex: 1; margin-bottom: 20px; }
.dl-actions { display: flex; gap: 10px; }
.dl-actions .btn { flex: 1; justify-content: center; padding: 11px 14px; font-size: .85rem; }

/* jobs */
.job-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.job-filter { padding: 10px 20px; border-radius: 100px; border: 1.5px solid var(--border); font-weight: 700; font-size: .88rem; background: #fff; color: var(--text); transition: all .3s; }
.job-filter.active, .job-filter:hover { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.job-list { display: grid; gap: 16px; }
.job-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.job-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.job-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.job-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .86rem; font-weight: 600; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-tag { display: inline-block; padding: 4px 12px; background: var(--section-bg); border-radius: 100px; font-size: .72rem; font-weight: 700; color: var(--secondary); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 12px; }

/* insights */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.article-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.article-card:hover .thumb img { transform: scale(1.06); }
.article-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.article-body .cat { color: var(--secondary); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.article-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.article-body p { font-size: .92rem; flex: 1; }
.article-body .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: .82rem; color: var(--muted); font-weight: 600; }

/* legal pages */
.legal { max-width: 820px; }

/* article detail */
.art-byline { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-weight: 600; font-size: .88rem; }
.art-byline i { color: var(--accent); margin-right: 6px; }
.art-hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/8; }
.art-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body-wrap { max-width: 760px; }
.article-body-wrap p { color: var(--text); font-size: 1.12rem; line-height: 1.8; margin-bottom: 22px; }
.article-body-wrap h2 { font-size: 1.7rem; margin: 40px 0 16px; }
.article-body-wrap ul { list-style: none; margin: 0 0 26px; display: grid; gap: 12px; }
.article-body-wrap li { position: relative; padding-left: 30px; color: var(--text); font-size: 1.05rem; line-height: 1.6; }
.article-body-wrap li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(25,181,165,.15); }
.article-body-wrap .note-inline { background: var(--section-bg); border-left: 3px solid var(--accent); padding: 16px 20px; border-radius: 0 12px 12px 0; font-size: .95rem; color: var(--muted); }
.art-share { max-width: 760px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--primary); }
.art-share a { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--border); display: grid; place-items: center; color: var(--primary); transition: background-color .3s, color .3s, transform .3s; }
.art-share a:hover { background: var(--secondary); color: #fff; border-color: var(--secondary); transform: translateY(-3px); }
.art-share a.link-arrow { width: auto; height: auto; border: none; color: var(--secondary); }
.art-share a.link-arrow:hover { background: none; transform: none; }
@media (max-width: 720px) { .article-body-wrap p { font-size: 1.05rem; } .art-hero-img { aspect-ratio: 4/3; } }
.legal h2 { font-size: 1.6rem; margin: 44px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text); margin-bottom: 14px; font-size: .98rem; line-height: 1.7; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal .note { background: var(--section-bg); border-left: 3px solid var(--accent); padding: 16px 20px; border-radius: 0 12px 12px 0; font-size: .9rem; color: var(--muted); }

/* contact layout */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.contact-info li { margin-bottom: 26px; }
.contact-info .k { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--secondary); font-weight: 700; margin-bottom: 6px; }
.contact-info .v { font-size: 1.05rem; color: var(--primary); font-weight: 600; }
.contact-info .v a:hover { color: var(--secondary); }

/* toast */
.toast-wrap { position: fixed; bottom: 28px; right: 28px; z-index: 2000; display: flex; flex-direction: column; gap: 12px; }
.toast { background: var(--primary); color: #fff; padding: 16px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; transform: translateX(120%); transition: transform .5s var(--ease); max-width: 340px; }
.toast.show { transform: none; }
.toast .ic { color: var(--accent); flex-shrink: 0; }
.toast strong { display: block; font-size: .95rem; }
.toast span { font-size: .84rem; color: rgba(255,255,255,.75); }

/* utility */
.mt-40 { margin-top: 40px; }
.center { text-align: center; }
.reveal { opacity: 0; transform: translateY(32px); }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 3000; opacity: .025; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
