/* =====================================================================
   Kudos Georgia — site styles
   Concept: "By your side" — the open blue ring from the Kudos logo is the
   one signature device (hero orbit, readiness gauge, avatars, loaders).
   Everything around it stays calm: deep navy, white, cool greys, one blue.
   Type: FiraGO (Georgian) + Manrope (Latin, figures, wordmark).
   ===================================================================== */
@font-face { font-family: 'FiraGO'; src: url('../fonts/FiraGO-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'FiraGO'; src: url('../fonts/FiraGO-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'FiraGO'; src: url('../fonts/FiraGO-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'FiraGO'; src: url('../fonts/FiraGO-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'FiraGO'; src: url('../fonts/FiraGO-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #041525;          /* brand navy */
  --ink-2: #0A2238;        /* raised navy */
  --ink-3: #12304D;
  --blue: #2879FB;         /* brand blue (logo ring) */
  --blue-600: #1863DB;
  --blue-300: #7FB0FF;
  --blue-50: #EEF4FF;
  --surface: #F3F6FA;
  --white: #FFFFFF;
  --line: #E1E7EF;
  --line-dark: rgba(255, 255, 255, .12);
  --text: #0B1A2B;
  --text-2: #475569;
  --text-3: #74839A;
  --on-dark: #E8EEF7;
  --on-dark-2: #9FB0C6;
  --ok: #0E9F6E;  --ok-bg: #E6F6EF;
  --warn: #C47A06; --warn-bg: #FDF3E1;
  --bad: #D93A40; --bad-bg: #FCEBEC;
  --font: 'Manrope', 'FiraGO', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --wrap: 1240px;
  --shadow: 0 1px 2px rgba(4, 21, 37, .04), 0 12px 32px -12px rgba(4, 21, 37, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.65 var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.22; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
h2 { font-size: clamp(28px, 3.3vw, 42px); letter-spacing: -.015em; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 32px; }
.num { font-family: 'Manrope', var(--font); font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue-50); color: var(--ink); }
.btn-outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--text-3); color: var(--text); }
.btn-ghost-dark { border-color: rgba(255,255,255,.22); color: #fff; background: transparent; }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue-600); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; color: var(--ink); line-height: 1; }
.wordmark svg { height: 46px; width: auto; display: block; overflow: visible; }
.wordmark .wm-k { font: 800 31px/1 'Manrope', sans-serif; letter-spacing: -.035em; fill: currentColor; }
.wordmark .wm-g { font: 600 11.5px/1 'Manrope', sans-serif; letter-spacing: .32em; fill: currentColor; opacity: .72; }
.wordmark .wm-ring { stroke: var(--blue); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, color .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 28px; height: 78px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a, .nav-drop > button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px; color: var(--text); font-size: 15px; font-weight: 500; background: none; border: 0; cursor: pointer; }
.main-nav > a:hover, .nav-drop > button:hover, .nav-drop.open > button { background: var(--surface); color: var(--text); }
.main-nav > a.active, .nav-drop.active > button { color: var(--blue-600); }
.nav-drop { position: relative; }
.nav-drop .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav-drop.open .icon { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-36%); width: min(900px, 92vw); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -20px rgba(4,21,37,.25); padding: 14px; display: grid; grid-template-columns: 1fr 1fr 280px; gap: 6px; opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .18s, translate .18s var(--ease), visibility .18s; }
.nav-drop.open .mega { opacity: 1; visibility: visible; translate: 0 0; }
.mega a.mega-item { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 12px; border-radius: 14px; color: var(--text); }
.mega a.mega-item:hover { background: var(--surface); }
.mega-item .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.mega-item b { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; }
.mega-item small { display: block; color: var(--text-3); font-size: 13px; line-height: 1.45; margin-top: 2px; }
.mega-promo { grid-row: span 5; background: var(--ink); color: var(--on-dark); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.mega-promo h4 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.mega-promo p { font-size: 14px; color: var(--on-dark-2); }
.mega-promo .btn { margin-top: auto; align-self: flex-start; position: relative; }
.mega-promo .ring-deco { position: absolute; right: -60px; bottom: -60px; width: 200px; opacity: .55; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; margin-left: auto; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* header over dark hero */
.has-dark-top .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-dark-top .site-header:not(.is-scrolled) .wordmark { color: #fff; }
.has-dark-top .site-header:not(.is-scrolled) .main-nav > a,
.has-dark-top .site-header:not(.is-scrolled) .nav-drop > button { color: var(--on-dark); }
.has-dark-top .site-header:not(.is-scrolled) .main-nav > a:hover,
.has-dark-top .site-header:not(.is-scrolled) .nav-drop > button:hover,
.has-dark-top .site-header:not(.is-scrolled) .nav-drop.open > button { background: rgba(255,255,255,.08); color: #fff; }
.has-dark-top .site-header:not(.is-scrolled) .main-nav > a.active { color: var(--blue-300); }
.has-dark-top .site-header:not(.is-scrolled) .burger { background: transparent; border-color: rgba(255,255,255,.2); }
.has-dark-top .site-header:not(.is-scrolled) .burger span, .has-dark-top .site-header:not(.is-scrolled) .burger span::before, .has-dark-top .site-header:not(.is-scrolled) .burger span::after { background: #fff; }
.has-dark-top .site-header { margin-bottom: -78px; }

/* mobile drawer */
.drawer { position: fixed; inset: 78px 0 0 0; z-index: 49; background: #fff; padding: 20px 20px 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
body.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }
.drawer a { display: flex; justify-content: space-between; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 17px; font-weight: 500; }
.drawer .drawer-sub a { font-size: 15px; padding: 11px 4px 11px 16px; color: var(--text-2); }
.drawer .btn { width: 100%; margin-top: 22px; }
.drawer .drawer-contact { margin-top: 22px; color: var(--text-2); font-size: 15px; }

/* ---------- hero (home) ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; isolation: isolate; padding: 150px 0 0; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(900px 600px at 78% 30%, rgba(40,121,251,.28), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(40,121,251,.10), transparent 60%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lede { font-size: 19px; line-height: 1.6; color: var(--on-dark-2); max-width: 52ch; margin: 24px 0 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.badge-line { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); font-size: 13.5px; color: var(--on-dark); margin-bottom: 28px; }
.badge-line b { white-space: nowrap; background: var(--blue); color: #fff; font-weight: 600; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; }

.hero-stage { position: relative; min-height: 520px; display: grid; place-items: center; }
.orbit { position: absolute; width: 640px; max-width: 130%; aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; pointer-events: none; }
.orbit circle { fill: none; }
.orbit .o-main { stroke: url(#ringGrad); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.8s var(--ease) .2s forwards; }
.orbit .o-thin { stroke: rgba(127,176,255,.22); stroke-width: 1; }
.orbit .o-dot { fill: var(--blue-300); }
@keyframes draw { to { stroke-dashoffset: 300; } }

.launcher { position: relative; width: 100%; max-width: 440px; background: rgba(10, 34, 56, .72); border: 1px solid rgba(255,255,255,.12); border-radius: 28px; padding: 28px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.launcher h2 { font-size: 21px; color: #fff; letter-spacing: 0; margin-bottom: 6px; }
.launcher > p { font-size: 14.5px; color: var(--on-dark-2); margin-bottom: 20px; }
.goal-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.goal-chip { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); color: var(--on-dark);
  font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; line-height: 1.3; transition: border-color .15s, background .15s, color .15s; }
.goal-chip .icon { width: 18px; height: 18px; color: var(--blue-300); }
.goal-chip:hover { border-color: rgba(127,176,255,.5); color: #fff; }
.goal-chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.goal-chip[aria-pressed="true"] .icon { color: #fff; }
.launcher-out { margin-top: 18px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.14); font-size: 14px; color: var(--on-dark-2); min-height: 78px; }
.launcher-out b { color: #fff; display: block; font-size: 15px; margin-bottom: 2px; }
.launcher .btn { width: 100%; margin-top: 16px; }

.trust { margin-top: 96px; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: repeat(4, 1fr); }
.trust > div { padding: 28px 24px 34px 0; }
.trust > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.trust b { display: block; font: 700 34px/1.1 'Manrope', var(--font); color: #fff; letter-spacing: -.02em; }
.trust b.t-word { font-size: 22px; line-height: 1.5; font-family: var(--font); font-weight: 600; }
.trust span { display: block; color: var(--on-dark-2); font-size: 14px; margin-top: 6px; line-height: 1.5; }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section-tint { background: var(--surface); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.sec-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 52px; }
.sec-head p { color: var(--text-2); font-size: 18px; max-width: 60ch; margin: 16px 0 0; }
.section-dark .sec-head p { color: var(--on-dark-2); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--blue-600); margin-bottom: 16px; }
.kicker::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-left-color: transparent; transform: rotate(-45deg); }
.section-dark .kicker, .page-hero .kicker { color: var(--blue-300); }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--text); min-height: 250px;
  transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.svc-card:hover { border-color: #C9D7EA; box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.svc-card .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 22px; }
.svc-card .ic .icon { width: 26px; height: 26px; }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { color: var(--text-2); font-size: 15px; margin: 0 0 20px; }
.svc-card .link-arrow { margin-top: auto; font-size: 14.5px; }
.svc-card.featured { background: var(--ink); color: var(--on-dark); border-color: var(--ink); overflow: hidden; }
.svc-card.featured h3 { color: #fff; } .svc-card.featured p { color: var(--on-dark-2); }
.svc-card.featured .ic { background: rgba(40,121,251,.18); color: var(--blue-300); }
.svc-card.featured .link-arrow { color: var(--blue-300); }

/* diagnostic explainer */
.diag-band { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.steps { list-style: none; margin: 36px 0 40px; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(127,176,255,.5); color: var(--blue-300); display: grid; place-items: center; font: 600 15px 'Manrope', sans-serif; }
.steps b { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.steps span { color: var(--on-dark-2); font-size: 15px; }

.result-mock { background: #fff; color: var(--text); border-radius: 28px; padding: 30px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); position: relative; }
.rm-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-3); }
.rm-top { display: grid; grid-template-columns: 1fr 120px; gap: 20px; align-items: center; margin: 18px 0 18px; }
.section-dark .result-mock h3, .rm-top h3 { font-size: 22px; color: var(--ink); }
.rm-top p { color: var(--text-2); font-size: 14px; margin: 8px 0 0; }
.rm-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; align-items: center; }

/* ring gauge (shared by mock, result, admin) */
.gauge { position: relative; width: 120px; aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .g-track { stroke: var(--line); }
.gauge .g-val { stroke: var(--blue); stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease); }
.gauge .g-num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gauge .g-num b { font: 700 34px/1 'Manrope', sans-serif; letter-spacing: -.02em; color: var(--ink); display: block; }
.gauge .g-num small { font-size: 11.5px; color: var(--text-3); display: block; margin-top: 4px; }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-ok { color: var(--ok); background: var(--ok-bg); }
.pill-warn { color: var(--warn); background: var(--warn-bg); }
.pill-bad { color: var(--bad); background: var(--bad-bg); }
.pill-plain { color: var(--text-2); background: var(--surface); }
.pill-plain::before { display: none; }

/* about strip */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-grid .big-quote { font-size: clamp(21px, 2vw, 26px); line-height: 1.5; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.fact { background: var(--surface); border-radius: var(--r); padding: 24px; }
.fact b { display: block; font: 700 40px/1 'Manrope', var(--font); letter-spacing: -.03em; color: var(--ink); }
.fact b.t-word { font-size: 20px; line-height: 1.4; font-family: var(--font); font-weight: 600; letter-spacing: 0; }
.fact span { display: block; color: var(--text-2); font-size: 14px; margin-top: 10px; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; color: var(--text); }

/* projects */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--text); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.proj-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); }
.proj-cover { position: relative; aspect-ratio: 16 / 10; background: var(--ink-2); color: #fff; overflow: hidden; }
.proj-cover img { width: 100%; height: 100%; object-fit: cover; }
.proj-cover .cover-art { position: absolute; inset: 0; background: radial-gradient(420px 260px at 85% 0%, rgba(40,121,251,.45), transparent 60%), var(--ink-2); }
.proj-cover .cover-art svg { position: absolute; right: -40px; bottom: -70px; width: 260px; opacity: .9; transform: rotate(var(--rot, 0deg)); }
.proj-cover .cover-ic { position: absolute; left: 22px; top: 22px; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--blue-300); }
.proj-cover .cover-year { position: absolute; left: 22px; bottom: 18px; font: 700 15px 'Manrope', sans-serif; color: var(--on-dark-2); }
.proj-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.proj-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.proj-body h3 { font-size: 19px; margin-bottom: 10px; }
.proj-body p { color: var(--text-2); font-size: 15px; margin: 0 0 18px; }
.proj-body .link-arrow { margin-top: auto; font-size: 14.5px; }
.sample-tag { position: absolute; right: 16px; top: 16px; font-size: 12px; font-weight: 600; color: var(--ink); background: #fff; border-radius: 999px; padding: 4px 10px; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { padding: 28px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.avatar { position: relative; width: 84px; height: 84px; margin-bottom: 20px; }
.avatar span { position: absolute; inset: 9px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 600; }
.avatar svg { position: absolute; inset: 0; transform: rotate(-35deg); }
.member h3 { font-size: 18px; }
.member .role { color: var(--blue-600); font-size: 14px; font-weight: 500; margin: 6px 0 14px; }
.member p { color: var(--text-2); font-size: 14.5px; margin: 0; }
.member.compact p { display: none; }

/* insights */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--text); min-height: 260px; transition: border-color .2s, box-shadow .25s; }
.post:hover { border-color: #C9D7EA; box-shadow: var(--shadow); color: var(--text); }
.post time { font-size: 13.5px; color: var(--text-3); }
.post h3 { font-size: 19px; margin: 12px 0; line-height: 1.35; }
.post p { color: var(--text-2); font-size: 15px; margin: 0 0 18px; }
.post .link-arrow { margin-top: auto; font-size: 14.5px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: 32px; padding: 72px; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 400px at 100% 100%, rgba(40,121,251,.35), transparent 60%); }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: var(--on-dark-2); margin: 16px 0 0; font-size: 17px; max-width: 52ch; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band .ring-deco { position: absolute; right: -120px; top: -140px; width: 420px; z-index: -1; opacity: .5; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; background: var(--ink); color: var(--on-dark); padding: 168px 0 88px; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 420px at 90% 0%, rgba(40,121,251,.3), transparent 60%); }
.page-hero .ring-deco { position: absolute; right: -140px; top: 40px; width: 520px; z-index: -1; opacity: .55; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 54px); max-width: 20ch; }
.page-hero .lede { color: var(--on-dark-2); font-size: 19px; max-width: 60ch; margin: 22px 0 0; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--on-dark-2); margin-bottom: 26px; }
.crumbs a { color: var(--on-dark-2); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

/* prose */
.prose { font-size: 17.5px; line-height: 1.75; color: var(--text); max-width: 70ch; }
.prose p { margin: 0 0 1.2em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: start; }
.aside-card { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: #fff; }
.aside-card h3 { font-size: 18px; margin-bottom: 16px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.5; }
.check-list .icon { width: 22px; height: 22px; color: var(--blue); stroke-width: 2; }
.aside-card .btn { width: 100%; margin-top: 24px; }
.aside-card .note { font-size: 13.5px; color: var(--text-3); margin: 12px 0 0; text-align: center; }

/* filters */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-bar button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 14.5px; color: var(--text-2); }
.filter-bar button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* project detail */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 0 0 48px; }
.metric { background: var(--surface); border-radius: var(--r); padding: 22px; }
.metric b { display: block; font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.metric span { font-size: 13.5px; color: var(--text-3); }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; margin: 0; font-size: 15px; }
.dl dt { color: var(--text-3); } .dl dd { margin: 0; font-weight: 500; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--text); }
.contact-item .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.contact-item small { display: block; color: var(--text-3); font-size: 13px; }
.contact-item b { font-weight: 600; font-size: 16px; word-break: break-word; }
.map-frame { margin-top: 18px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--surface); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.form-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; background: #fff; box-shadow: var(--shadow); }
.form-card h2 { font-size: 26px; margin-bottom: 8px; }
.form-card > p { color: var(--text-2); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.fgrid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 15.5px; transition: border-color .15s, box-shadow .15s; }
.field textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(40,121,251,.15); }
.field.invalid input, .field.invalid textarea { border-color: var(--bad); }
.field .err { color: var(--bad); font-size: 13.5px; margin-top: 6px; }
.notice { padding: 16px 18px; border-radius: 12px; font-size: 15px; }
.notice-ok { background: var(--ok-bg); color: #065F46; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding: 88px 0 36px; margin-top: 0; }
.site-footer .wordmark { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.foot-grid h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 600; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.foot-grid a { color: var(--on-dark-2); }
.foot-grid a:hover { color: #fff; }
.foot-about p { margin: 22px 0; font-size: 15px; max-width: 38ch; }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--on-dark); }
.socials a:hover { border-color: var(--blue-300); color: #fff; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.foot-bottom { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.foot-bottom a { color: var(--on-dark-2); }

/* ---------- reveal (one orchestrated motion on load is in the hero; this is a gentle in-view fade) ---------- */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; translate: 0 14px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .main-nav, .header-cta .btn-outline { display: none; }
  .burger { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .header-cta + .burger { margin-left: 0; }
  .hero-grid, .diag-band, .about-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-stage { min-height: 0; padding: 40px 0; }
  .svc-grid, .proj-grid, .post-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .aside-card { position: static; }
  .cta-band { grid-template-columns: 1fr; padding: 56px 40px; }
}
@media (max-width: 680px) {
  .wrap { padding-inline: 18px; }
  .header-in { height: 68px; gap: 12px; }
  .has-dark-top .site-header { margin-bottom: -68px; }
  .drawer { inset: 68px 0 0 0; }
  .wordmark svg { height: 40px; }
  .header-cta .btn { display: none; }
  .hero { padding-top: 112px; }
  .hero .lede { font-size: 17px; }
  .launcher { padding: 20px; border-radius: 22px; }
  .goal-chips { grid-template-columns: 1fr 1fr; }
  .goal-chip { padding: 11px 12px; font-size: 13.5px; }
  .trust { grid-template-columns: 1fr; margin-top: 56px; }
  .trust > div, .trust > div + div { padding: 20px 0; border-left: 0; }
  .trust > div + div { border-top: 1px solid var(--line-dark); }
  .section { padding: 72px 0; }
  .sec-head { grid-template-columns: 1fr; margin-bottom: 36px; }
  .svc-grid, .proj-grid, .post-grid, .team-grid, .facts { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; }
  .page-hero { padding: 128px 0 64px; }
  .page-hero .lede { font-size: 17px; }
  .cta-band { padding: 44px 24px; border-radius: 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .fgrid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .rm-top { grid-template-columns: 1fr 96px; }
  .gauge { width: 96px; }
  .gauge .g-num b { font-size: 26px; }
  .result-mock { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .orbit .o-main { stroke-dashoffset: 300; }
  .js .reveal { opacity: 1; translate: none; }
}
