/* ===== Mao Qiwei · Portfolio ===== */
:root {
  --blue: #1664ff;
  --blue-2: #3c8cff;
  --blue-soft: #e8f0ff;
  --cyan: #00c8d2;
  --cyan-soft: #e0f8f9;
  --mint: #2ee6c4;
  --coral: #fe2c55;
  --coral-soft: #ffe8ed;
  --amber: #ffb020;
  --violet: #7b61ff;
  --ink: #0b1736;
  --ink-2: #3a4766;
  --muted: #6b7792;
  --line: #e4e9f2;
  --bg: #f6f8fc;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 23, 54, .04), 0 8px 28px rgba(11, 23, 54, .07);
  --shadow-lg: 0 18px 48px rgba(22, 100, 255, .16);
  --grad: linear-gradient(120deg, #1664ff 0%, #3c8cff 38%, #00c8d2 100%);
  --grad-warm: linear-gradient(120deg, #fe2c55 0%, #ff6a3d 100%);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1160px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- nav ---- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 14px; letter-spacing: .02em; box-shadow: 0 6px 16px rgba(22, 100, 255, .3); }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a { color: var(--ink-2); font-size: 14.5px; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--blue-soft); text-decoration: none; }
.nav-cta { background: var(--ink) !important; color: #fff !important; }
.nav-cta:hover { background: var(--blue) !important; }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

/* ---- hero ---- */
.hero { position: relative; padding: 140px 0 80px; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1; animation: float 14s ease-in-out infinite; }
.b1 { width: 520px; height: 520px; background: #9cc3ff; top: -160px; right: -120px; }
.b2 { width: 380px; height: 380px; background: #8ff0ee; top: 220px; right: 260px; animation-delay: -5s; }
.b3 { width: 300px; height: 300px; background: #ffb3c4; top: 60px; left: -120px; animation-delay: -9s; opacity: .4; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -26px) scale(1.06); } }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--blue); background: rgba(255, 255, 255, .75); border: 1px solid #d4e2ff; padding: 6px 14px 6px 8px; border-radius: 999px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(46, 230, 196, .25); animation: pulse 2s infinite; margin-left: 4px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(46, 230, 196, 0); } }
.hero h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.04; letter-spacing: -.035em; font-weight: 850; margin: 20px 0 18px; }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 600px; }
.typed { color: var(--blue); font-weight: 700; border-right: 2px solid var(--blue); padding-right: 3px; white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(22, 100, 255, .3); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-2); color: var(--blue); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 10px; }
.btn svg { width: 16px; height: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }
.chip.blue { color: var(--blue); background: var(--blue-soft); border-color: transparent; }
.chip.cyan { color: #00838a; background: var(--cyan-soft); border-color: transparent; }
.chip.coral { color: #d0123c; background: var(--coral-soft); border-color: transparent; }

.hero-card { background: rgba(255, 255, 255, .8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .9); border-radius: 24px; padding: 26px; box-shadow: var(--shadow-lg); }
.hero-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stat b { display: block; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
.stat span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.stat:nth-child(1) b { color: var(--blue); }
.stat:nth-child(2) b { color: var(--cyan); }
.stat:nth-child(3) b { color: var(--coral); }
.stat:nth-child(4) b { color: var(--violet); }
.hero-edu { display: flex; gap: 14px; align-items: center; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--ink); color: #fff; }
.hero-edu .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; flex: none; }
.hero-edu small { color: #a9b6d6; display: block; font-size: 12.5px; }
.hero-edu strong { font-size: 14.5px; }

/* ---- sections ---- */
section { padding: 88px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.kicker { font-family: var(--mono); font-size: 13px; color: var(--blue); font-weight: 700; letter-spacing: .04em; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; line-height: 1.1; margin-top: 6px; }
.sec-head p { color: var(--muted); max-width: 460px; }
.alt { background: #fff; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---- education ---- */
.edu-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; }
.edu-main { padding: 30px; position: relative; overflow: hidden; }
.edu-main::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--grad); opacity: .08; }
.edu-main h3 { font-size: 22px; letter-spacing: -.01em; }
.edu-main .sub { color: var(--ink-2); font-weight: 600; margin: 4px 0 2px; }
.meta { color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 14px; height: 14px; }
.gpa-row { display: flex; gap: 22px; margin: 26px 0 22px; }
.ring { position: relative; width: 116px; height: 116px; }
.ring svg { transform: rotate(-90deg); }
.ring .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .val b { font-size: 26px; letter-spacing: -.02em; line-height: 1; display: block; }
.ring .val small { font-size: 11px; color: var(--muted); font-weight: 600; }
.ring-label { text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-top: 8px; }
.online { border-top: 1px dashed var(--line); padding-top: 18px; margin-top: 4px; }
.online h4, .course-card h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.online li { list-style: none; font-size: 14.5px; margin: 6px 0; padding-left: 18px; position: relative; color: var(--ink-2); }
.online li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 3px; background: var(--cyan); }
.course-card { padding: 30px; }
.bar-row { display: grid; grid-template-columns: 210px 1fr 44px; gap: 12px; align-items: center; margin: 11px 0; font-size: 14px; }
.bar-row .name { color: var(--ink-2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 10px; background: #eef2f8; border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 99px; background: var(--grad); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.bar-row .num { font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }

/* ---- timeline / experience ---- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue), var(--cyan), var(--coral)); border-radius: 2px; }
.t-item { position: relative; margin-bottom: 30px; }
.t-dot { position: absolute; left: -40px; top: 26px; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); display: grid; place-items: center; }
.t-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.t-item.now .t-dot { border-color: var(--coral); }
.t-item.now .t-dot::after { background: var(--coral); animation: pulse-c 2s infinite; }
@keyframes pulse-c { 0% { box-shadow: 0 0 0 0 rgba(254, 44, 85, .5); } 70% { box-shadow: 0 0 0 10px rgba(254, 44, 85, 0); } }
.exp { padding: 28px; }
.exp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.co { display: flex; gap: 16px; align-items: center; }
.co-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; flex: none; letter-spacing: -.02em; }
.co h3 { font-size: 20px; letter-spacing: -.01em; line-height: 1.25; }
.co .role { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.exp-side { text-align: right; }
.date-pill { display: inline-block; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); }
.now .date-pill { background: var(--coral-soft); color: #d0123c; }
.exp-side .loc { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.ext { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 6px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.ext:hover { color: var(--blue); border-color: var(--blue-2); text-decoration: none; }
.ext svg { width: 13px; height: 13px; }
.exp-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; margin-top: 22px; }
.exp-body.single { grid-template-columns: 1fr; }
.pts { list-style: none; }
.pts li { position: relative; padding-left: 22px; margin: 0 0 12px; font-size: 15px; color: var(--ink-2); }
.pts li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 3px; background: var(--grad); transform: rotate(45deg); }
.pts b { color: var(--ink); }
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.panel h4 { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: flex; justify-content: space-between; }
.metric { margin-bottom: 14px; }
.metric-top { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.metric-top .delta { color: #00a67e; }
.ba { position: relative; height: 26px; background: #e9eef7; border-radius: 8px; overflow: hidden; }
.ba .before, .ba .after { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px; width: 0; transition: width 1.3s cubic-bezier(.2, .8, .2, 1); }
.ba .after { background: var(--grad); }
.ba .before { background: #9fb3d8; z-index: 1; opacity: .9; }
.ba .lbl { position: absolute; z-index: 2; top: 4px; font-size: 12px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 6px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.mini-stats div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: center; }
.mini-stats b { display: block; font-size: 20px; color: var(--blue); letter-spacing: -.02em; }
.mini-stats span { font-size: 11.5px; color: var(--muted); font-weight: 600; line-height: 1.3; display: block; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.flow .step { font-size: 12.5px; font-weight: 700; background: #fff; border: 1px solid var(--line); padding: 7px 10px; border-radius: 9px; color: var(--ink-2); }
.flow .step.hl { background: var(--blue-soft); color: var(--blue); border-color: transparent; }
.flow .step.hl2 { background: var(--cyan-soft); color: #00838a; border-color: transparent; }
.flow .step.hl3 { background: var(--coral-soft); color: #d0123c; border-color: transparent; }
.flow .arr { color: #a7b3cc; font-weight: 800; font-size: 13px; }
.loop-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; display: flex; gap: 6px; align-items: center; }
.loop-note svg, .crumb svg { width: 15px; height: 15px; flex: none; }
.demo-grid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 22px; align-items: start; }
.icon-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.icon-tiles div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 12px; }
.icon-tiles .ti { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 8px; color: #fff; }
.icon-tiles .ti svg { width: 18px; height: 18px; }
.icon-tiles b { font-size: 13.5px; display: block; line-height: 1.3; }
.icon-tiles span { font-size: 12px; color: var(--muted); line-height: 1.4; display: block; margin-top: 3px; }

/* ---- projects ---- */
.proj-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.proj { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.proj:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.proj.feature { grid-column: span 12; display: grid; grid-template-columns: 1.05fr 1fr; }
.proj.half { grid-column: span 6; }
.proj-media { position: relative; background: linear-gradient(135deg, #eaf2ff, #e3fbfb); min-height: 240px; overflow: hidden; }
.proj-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.proj.feature .proj-media img { position: absolute; inset: 0; }
.proj-media .tag { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 800; color: #fff; padding: 5px 10px; border-radius: 8px; background: rgba(11, 23, 54, .78); backdrop-filter: blur(6px); }
.proj-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.proj-body .date { font-family: var(--mono); font-size: 12.5px; color: var(--muted); font-weight: 700; }
.proj-body h3 { font-size: 23px; line-height: 1.22; letter-spacing: -.02em; }
.proj-body p { color: var(--ink-2); font-size: 15px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpis div { background: var(--bg); border-radius: 12px; padding: 12px; border: 1px solid var(--line); }
.kpis b { font-size: 21px; display: block; letter-spacing: -.02em; line-height: 1.15; }
.kpis span { font-size: 11.5px; color: var(--muted); font-weight: 600; line-height: 1.3; display: block; margin-top: 2px; }
.proj-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.video-duo { display: grid; grid-template-columns: 1fr 112px; gap: 10px; padding: 18px; align-items: end; height: 100%; }
.video-duo video { width: 100%; border-radius: 10px; box-shadow: 0 10px 26px rgba(11, 23, 54, .18); background: #000; }

/* ---- activities ---- */
.map-card { padding: 22px; position: relative; overflow: hidden; margin-bottom: 26px; }
.map-card svg { width: 100%; height: auto; }
.map-land { fill: #e6edf8; stroke: #fff; stroke-width: .6; }
.map-arc { fill: none; stroke: url(#arcGrad); stroke-width: 2.4; stroke-dasharray: 6 6; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }
.pin circle.halo { animation: halo 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes halo { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
.pin text { font-family: var(--font); font-size: 15px; font-weight: 800; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.pin text.s { font-size: 12px; font-weight: 600; fill: var(--muted); }
.map-legend { position: absolute; right: 26px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; background: rgba(255, 255, 255, .9); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.map-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.act-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.act { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.act-top { padding: 22px 24px 18px; color: #fff; position: relative; overflow: hidden; }
.act-top::after { content: ""; position: absolute; right: -30px; top: -30px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.act-top .when { font-size: 12.5px; font-weight: 700; opacity: .9; font-family: var(--mono); }
.act-top h3 { font-size: 18.5px; line-height: 1.28; margin: 6px 0 4px; letter-spacing: -.01em; }
.act-top .r { font-size: 13.5px; opacity: .92; font-weight: 600; }
.act-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.sdgs { display: flex; gap: 6px; flex-wrap: wrap; }
.sdg { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; color: #fff; padding: 4px 9px 4px 4px; border-radius: 7px; }
.sdg b { background: rgba(255, 255, 255, .25); border-radius: 5px; padding: 1px 5px; }
.act-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.act-stats div { background: var(--bg); border-radius: 10px; padding: 10px 12px; border: 1px solid var(--line); }
.act-stats b { font-size: 19px; display: block; letter-spacing: -.02em; }
.act-stats span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.act .pts li { font-size: 14px; }

/* ---- honours & skills ---- */
.hs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.awards { padding: 28px; }
.award { display: grid; grid-template-columns: 74px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.award:last-child { border-bottom: 0; }
.award .yr { font-family: var(--mono); font-size: 12.5px; font-weight: 800; color: var(--blue); background: var(--blue-soft); text-align: center; border-radius: 9px; padding: 6px 0; }
.award b { font-size: 15px; line-height: 1.35; display: block; }
.award .medal { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px; margin-bottom: 4px; }
.skills { padding: 28px; }
.sk-group { margin-bottom: 18px; }
.sk-group h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; display: flex; align-items: center; gap: 8px; }
.sk-group h4 i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; }
.lang { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lang div { background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 14px; }
.lang b { font-size: 20px; display: block; }
.lang span { font-size: 12px; color: #a9b6d6; font-weight: 600; }

/* ---- contact ---- */
.contact { padding: 0 0 80px; }
.cta { border-radius: 28px; padding: 54px; background: var(--ink); color: #fff; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; }
.cta::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(60, 140, 255, .55), transparent 65%); }
.cta::after { content: ""; position: absolute; width: 380px; height: 380px; left: 30%; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 200, 210, .4), transparent 65%); }
.cta h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.03em; line-height: 1.12; position: relative; }
.cta p { color: #b8c4e0; margin-top: 12px; position: relative; }
.cta .btns { display: flex; flex-direction: column; gap: 12px; position: relative; align-items: flex-start; }
.cta .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); }
.footer { padding: 26px 0 40px; color: var(--muted); font-size: 13.5px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---- project detail pages ---- */
.p-hero { padding: 120px 0 56px; position: relative; overflow: hidden; }
.crumb { font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.p-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -.035em; margin: 16px 0 14px; max-width: 900px; }
.p-hero .lead { font-size: 18px; color: var(--ink-2); max-width: 760px; }
.p-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.kpi-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi-band .stat b { font-size: 30px; }
.p-sec { padding: 56px 0; }
.p-sec h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.025em; margin-bottom: 8px; }
.p-sec .intro { color: var(--muted); max-width: 720px; margin-bottom: 26px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.chart-card { padding: 22px; }
.chart-card h3 { font-size: 16px; letter-spacing: -.01em; }
.chart-card .cap { font-size: 13px; color: var(--muted); margin: 2px 0 14px; }
.chart { width: 100%; }
.chart text { font-family: var(--font); }
.tip { position: fixed; pointer-events: none; z-index: 99; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; padding: 7px 10px; border-radius: 8px; opacity: 0; transition: opacity .12s; white-space: nowrap; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.pipeline { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; counter-reset: st; }
.pipe { position: relative; padding: 20px 18px 18px; background: #fff; border: 1px solid var(--line); margin-right: 14px; border-radius: 14px; }
.pipe:last-child { margin-right: 0; }
.pipe:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 14px; height: 2px; background: var(--blue-2); }
.pipe .n { counter-increment: st; font-family: var(--mono); font-size: 12px; font-weight: 800; color: #fff; background: var(--grad); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 10px; }
.pipe .n::before { content: counter(st); }
.pipe b { font-size: 14.5px; display: block; line-height: 1.3; }
.pipe span { font-size: 12.5px; color: var(--muted); display: block; margin-top: 4px; line-height: 1.45; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot { margin: 0; cursor: zoom-in; }
.shot img { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; background: #fff; }
.shot figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; font-weight: 600; }
.lightbox { position: fixed; inset: 0; background: rgba(6, 12, 30, .86); z-index: 100; display: none; place-items: center; padding: 30px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 90vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.embed { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #0b1736; aspect-ratio: 16 / 9; }
.embed img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(1.1); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.embed .launch { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; }
.embed .launch h3 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 6px; }
.embed .launch p { color: #d4ddf2; margin-bottom: 18px; font-size: 15px; }
.val-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.val-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.val-table td { padding: 9px 10px; border-bottom: 1px solid #f0f3f8; font-variant-numeric: tabular-nums; }
.val-table td.ok { color: #00a67e; font-weight: 800; }
.badge-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: #00875f; background: #dcfaef; padding: 4px 10px; border-radius: 999px; }
.role-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.role-box div { padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.role-box div.me { background: var(--grad); color: #fff; border: 0; }
.role-box b { display: block; font-size: 15px; }
.role-box span { font-size: 13px; opacity: .8; }
.hitl { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 14px; align-items: stretch; }
.hitl .col { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.node { padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.node b { display: block; font-size: 14.5px; }
.node span { color: var(--muted); font-size: 12.5px; }
.node.ok { border-left: 4px solid #00b386; }
.node.warn { border-left: 4px solid var(--amber); }
.node.bad { border-left: 4px solid var(--coral); }
.node.core { background: var(--ink); color: #fff; border: 0; text-align: center; padding: 22px; }
.node.core span { color: #a9b6d6; }
.limits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.limit { padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.limit .ti { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral); margin-bottom: 10px; }
.limit .ti svg { width: 20px; height: 20px; }
.limit b { display: block; font-size: 15px; }
.limit span { font-size: 13.5px; color: var(--muted); }
.next-proj { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.next-proj a { padding: 22px; display: block; color: var(--ink); }
.next-proj a:hover { text-decoration: none; border-color: var(--blue-2); }
.next-proj small { color: var(--muted); font-weight: 700; font-size: 12.5px; }
.next-proj b { display: block; font-size: 17px; margin-top: 4px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- responsive ---- */
@media (max-width: 980px) {
  .hero-grid, .edu-grid, .hs-grid, .cta, .proj.feature, .exp-body, .grid-2, .demo-grid { grid-template-columns: 1fr; }
  .proj.half { grid-column: span 12; }
  .proj.feature .proj-media { min-height: 300px; }
  .act-grid, .grid-3, .shots, .limits { grid-template-columns: 1fr 1fr; }
  .kpi-band { grid-template-columns: 1fr 1fr; }
  .pipeline { grid-auto-flow: row; }
  .pipe { margin: 0 0 12px; }
  .pipe:not(:last-child)::after { right: auto; left: 30px; top: auto; bottom: -12px; width: 2px; height: 12px; }
  .hitl { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 12px; right: 12px; flex-direction: column; background: #fff; padding: 10px; border-radius: 14px; box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
  .nav { background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .hero { padding-top: 110px; }
  section { padding: 64px 0; }
  .act-grid, .grid-3, .shots, .limits, .role-box, .icon-tiles, .next-proj { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 1fr 70px 34px; font-size: 13px; }
  .exp-side { text-align: left; }
  .cta { padding: 34px 26px; }
  .map-legend { position: static; margin-top: 12px; }
  .kpis { grid-template-columns: 1fr 1fr 1fr; }
  .gpa-row { justify-content: space-around; }
}

/* ===================== v3 additions ===================== */
.hero { padding: 118px 0 64px; min-height: min(100vh, 860px); display: flex; align-items: center; }
.hero > .wrap { width: 100%; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); }
.hero .lead { font-size: 18px; }
.edu-line { margin-top: 14px; font-size: 13.5px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.edu-line svg { width: 16px; height: 16px; color: var(--blue); }
.logo-strip { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.logo-strip small { width: 100%; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lg { height: 46px; padding: 0 16px; border-radius: 12px; display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s; }
.lg:hover { transform: translateY(-2px); }
.lg img { height: 18px; width: auto; }
.lg.dark { background: #0b1736; border-color: #0b1736; }
.lg.red { background: #d50f25; border-color: #d50f25; }
.lg.red img { height: 26px; }
.lg.tt img { height: 22px; }
.hero-card .stat b { font-size: 30px; }
.hero-card .jump { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.hero-card .jump a { border-radius: 12px; padding: 12px 12px 10px; color: #fff; font-weight: 800; font-size: 14px; display: flex; flex-direction: column; gap: 2px; transition: transform .2s; }
.hero-card .jump a:hover { text-decoration: none; transform: translateY(-2px); }
.hero-card .jump a small { font-weight: 600; font-size: 11.5px; opacity: .85; }

/* preview sections */
section.pv { padding: 48px 0; min-height: 0; }
.pv .sec-head { margin-bottom: 22px; align-items: center; }
.pv .sec-head p { max-width: 420px; font-size: 15px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14.5px; color: var(--blue); background: var(--blue-soft); padding: 10px 16px; border-radius: 12px; white-space: nowrap; }
.more:hover { text-decoration: none; background: var(--blue); color: #fff; }
.more svg { width: 16px; height: 16px; }
.sec-head .side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }

/* work cards */
.wk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wk { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.wk:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.wk-brand { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 22px; position: relative; overflow: hidden; }
.wk-brand::after { content: ""; position: absolute; right: -40px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.wk-brand img.main { height: 24px; width: auto; position: relative; z-index: 1; }
.wk-brand .pill { background: #fff; border-radius: 10px; padding: 7px 10px; display: inline-flex; position: relative; z-index: 1; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.wk-brand .pill img { height: 17px; width: auto; }
.wk-brand.bd { background: linear-gradient(120deg, #0b1736 0%, #1a3fa8 60%, #1664ff 100%); }
.wk-brand.rb { background: linear-gradient(120deg, #b8001a 0%, #e3102c 70%, #ff4560 100%); }
.wk-brand.rb img.main { height: 40px; }
.wk-brand.od { background: linear-gradient(120deg, #e0f8f9, #e8f0ff); }
.wk-brand.od img.main { height: 26px; }
.wk-body { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.wk-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.wk h3 { font-size: 18px; line-height: 1.25; letter-spacing: -.01em; }
.hook { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.wk-vis { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.wk .links { margin-top: 0; }
.vis-cap { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.metric.sm { margin-bottom: 8px; }
.metric.sm .metric-top { font-size: 12.5px; margin-bottom: 4px; }
.metric.sm .ba { height: 14px; border-radius: 6px; }
.metric.sm .ba .before, .metric.sm .ba .after { border-radius: 6px; }
.mdots { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.mdots i { width: 18px; height: 18px; border-radius: 50%; background: var(--grad); display: inline-block; transform: scale(0); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.mdots i.off { background: #fff; border: 2px dashed #a7b3cc; }
.mdots.in i, .in .mdots i { transform: scale(1); }
.mdots b { margin-left: 6px; font-size: 18px; color: var(--blue); letter-spacing: -.02em; }
.mdots span { font-size: 12px; color: var(--muted); font-weight: 600; line-height: 1.3; }
.rb-vis { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 10px; align-items: stretch; }
.rb-vis .bm th { font-size: 9px; letter-spacing: 0; padding: 0 1px 6px; }
.rb-vis .bm td { font-size: 11.5px; line-height: 1.2; }
.rb-vis .bm td.c i { width: 12px; height: 12px; }
.grid-2 > * { min-width: 0; }
.chart-card { overflow-x: auto; }
.d618 { border-radius: 12px; background: linear-gradient(160deg, #fe2c55, #ff7a45); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 10px 6px; }
.d618 b { font-size: 34px; line-height: 1; letter-spacing: -.03em; }
.d618 span { font-size: 11px; font-weight: 700; opacity: .92; line-height: 1.3; margin-top: 4px; }
.bm { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.bm th { font-size: 10.5px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; text-align: center; padding: 0 2px 6px; line-height: 1.2; }
.bm th:first-child { text-align: left; }
.bm td { padding: 5px 2px; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink-2); }
.bm td.c { text-align: center; }
.bm td.c i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: #fe2c55; transform: scale(0); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.bm td.c.g i { background: #0b1736; }
.in .bm td.c i { transform: scale(1); }
.bm tr:nth-child(2) i { transition-delay: .1s; } .bm tr:nth-child(3) i { transition-delay: .2s; } .bm tr:nth-child(4) i { transition-delay: .3s; } .bm tr:nth-child(5) i { transition-delay: .4s; }
.trio { display: flex; gap: 6px; flex-wrap: wrap; }
.trio span { font-size: 11.5px; font-weight: 700; padding: 4px 8px; border-radius: 7px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.stages { display: grid; grid-template-columns: 1fr 26px 1fr 26px 1fr; align-items: center; }
.stage { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 6px 10px; text-align: center; }
.stage .ic { width: 40px; height: 40px; border-radius: 12px; margin: 0 auto 6px; display: grid; place-items: center; color: #fff; }
.stage .ic svg { width: 21px; height: 21px; }
.stage b { font-size: 12px; display: block; line-height: 1.25; }
.wire { height: 2px; background: repeating-linear-gradient(90deg, #00c8d2 0 6px, transparent 6px 10px); background-size: 20px 2px; animation: wire 1s linear infinite; }
@keyframes wire { to { background-position: 20px 0; } }
.stage-note { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.stage-note span { background: var(--cyan-soft); color: #00838a; padding: 3px 8px; border-radius: 7px; }

/* project bento */
.pj-bento { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.pj { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.pj:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pj.ev { grid-row: span 2; }
.pj-media { position: relative; overflow: hidden; background: linear-gradient(135deg, #eaf2ff, #e3fbfb); }
.pj.ev .pj-media { aspect-ratio: 16 / 8.2; }
.pj.ev .pj-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s; }
.pj.ev:hover .pj-media img { transform: scale(1.03); }
.live-badge { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: #fff; padding: 6px 11px 6px 8px; border-radius: 9px; background: rgba(11, 23, 54, .82); backdrop-filter: blur(6px); }
.live-badge .dot-live { background: #2ee6c4; margin: 0; }
.pj-media .tag2 { position: absolute; right: 14px; bottom: 14px; font-size: 12px; font-weight: 800; color: var(--ink); padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .92); }
.pj-body { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pj-body .date { font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 700; }
.pj-body h3 { font-size: 19px; line-height: 1.22; letter-spacing: -.02em; }
.pj.ev .pj-body h3 { font-size: 22px; }
.pj .kpis b { font-size: 20px; }
.pj .proj-actions { padding-top: 0; }
.duo { display: grid; grid-template-columns: 1fr 96px; gap: 12px; padding: 16px 16px 0; align-items: end; }
.laptop { background: #0b1736; border-radius: 10px 10px 4px 4px; padding: 6px 6px 8px; box-shadow: 0 12px 26px rgba(11, 23, 54, .22); }
.laptop video { border-radius: 4px; width: 100%; aspect-ratio: 1280 / 682; object-fit: cover; background: #000; }
.phone { background: #0b1736; border-radius: 16px; padding: 5px; box-shadow: 0 12px 26px rgba(11, 23, 54, .22); }
.phone video { border-radius: 12px; width: 100%; aspect-ratio: 480 / 906; object-fit: cover; background: #000; }
.duo-cap { display: grid; grid-template-columns: 1fr 96px; gap: 12px; padding: 6px 16px 0; font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.mini-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.mini-flow span { font-size: 11.5px; font-weight: 700; padding: 4px 8px; border-radius: 7px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); }
.mini-flow span.hl { background: var(--coral-soft); color: #d0123c; border-color: transparent; }
.mini-flow em { font-style: normal; color: #a7b3cc; font-weight: 800; font-size: 12px; }
.pj.diab { flex-direction: row; align-items: stretch; }
.pj.diab .donut-box { width: 170px; flex: none; display: grid; place-items: center; background: linear-gradient(160deg, #fff0f3, #eef4ff); padding: 12px; }
.pj.diab .pj-body { padding: 18px 20px; }
.callout-num { display: flex; gap: 10px; align-items: baseline; }
.callout-num b { font-size: 26px; letter-spacing: -.02em; color: var(--coral); }
.callout-num span { font-size: 12.5px; color: var(--muted); font-weight: 600; line-height: 1.35; }

/* leadership */
.ld-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; align-items: stretch; }
.ld-grid .map-card { margin: 0; padding: 14px; display: flex; align-items: center; }
.ld-grid .map-legend { right: 16px; bottom: 14px; }
.ld-list { display: flex; flex-direction: column; gap: 14px; }
.ld { display: grid; grid-template-columns: 86px 1fr; overflow: hidden; padding: 0; transition: transform .25s, box-shadow .25s; flex: 1; }
.ld:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.ld .big { color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 10px 6px; }
.ld .big b { font-size: 28px; line-height: 1; letter-spacing: -.03em; }
.ld .big span { font-size: 10.5px; font-weight: 700; opacity: .92; margin-top: 4px; line-height: 1.25; }
.ld .tx { padding: 12px 16px; display: flex; flex-direction: column; gap: 5px; justify-content: center; }
.ld .when { font-family: var(--mono); font-size: 11.5px; font-weight: 700; color: var(--muted); }
.ld h3 { font-size: 15.5px; line-height: 1.25; letter-spacing: -.01em; }
.ld .r { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.ld .sdgs .sdg { font-size: 10.5px; padding: 2px 7px 2px 3px; }

/* detail page blocks */
.co-band { border-radius: 22px; padding: 26px 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: #fff; position: relative; overflow: hidden; margin-bottom: 22px; }
.co-band::after { content: ""; position: absolute; right: -70px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.co-band .l { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; position: relative; z-index: 1; }
.co-band .l img.main { height: 30px; width: auto; }
.co-band .pill { background: #fff; border-radius: 10px; padding: 8px 12px; display: inline-flex; }
.co-band .pill img { height: 20px; width: auto; }
.co-band h2 { font-size: 22px; letter-spacing: -.02em; margin: 0; }
.co-band .sub { font-size: 14px; opacity: .88; font-weight: 600; }
.co-band .r { text-align: right; position: relative; z-index: 1; }
.co-band .r .date-pill { background: rgba(255, 255, 255, .18); color: #fff; }
.co-band .links .ext { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28); }
.co-band.light { color: var(--ink); }
.co-band.light .r .date-pill { background: #fff; color: var(--blue); }
.co-band.light .links .ext { background: #fff; color: var(--ink-2); border-color: var(--line); }
.co-band.bd { background: linear-gradient(120deg, #0b1736 0%, #1a3fa8 60%, #1664ff 100%); }
.co-band.rb { background: linear-gradient(120deg, #b8001a 0%, #e3102c 70%, #ff4560 100%); }
.co-band.rb .l img.main { height: 52px; }
.co-band.od { background: linear-gradient(120deg, #dff8f9, #e8f0ff); }
.vgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.vcard { padding: 22px; }
.vcard h3 { font-size: 16px; letter-spacing: -.01em; }
.vcard .cap { font-size: 13px; color: var(--muted); margin: 2px 0 14px; }
.s4 { grid-column: span 4; } .s5 { grid-column: span 5; } .s6 { grid-column: span 6; } .s7 { grid-column: span 7; } .s8 { grid-column: span 8; } .s12 { grid-column: span 12; }
.hub svg, .loop svg, .dual svg { width: 100%; height: auto; }
.hub text, .loop text, .dual text, .wk-svg text { font-family: var(--font); }
.mk-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.mk-grid div { aspect-ratio: 1; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; transform: scale(.4); opacity: 0; transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .5s; }
.mk-grid div.off { background: #fff; color: var(--muted); border: 2px dashed #a7b3cc; }
.in .mk-grid div { transform: none; opacity: 1; }
.big-num { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.big-num div { flex: 1; min-width: 110px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.big-num b { font-size: 26px; display: block; letter-spacing: -.02em; color: var(--blue); line-height: 1.1; }
.big-num span { font-size: 12px; color: var(--muted); font-weight: 600; }
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lane { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.lane .ti { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.lane .ti svg { width: 22px; height: 22px; }
.lane h3 { font-size: 17px; }
.lane p { font-size: 13.5px; color: var(--muted); }
.vflow { display: flex; flex-direction: column; gap: 6px; }
.vflow span { font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); position: relative; }
.vflow span:not(:last-child)::after { content: "\2193"; position: absolute; right: 12px; color: #a7b3cc; }
.vflow span.hl { background: var(--coral-soft); border-color: transparent; color: #d0123c; }
.plat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plat div { border-radius: 10px; background: var(--bg); border: 1px solid var(--line); padding: 10px 8px; text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.plat div svg { width: 20px; height: 20px; margin: 0 auto 4px; color: var(--coral); }
.wk-svg svg { width: 100%; height: auto; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.week div { border-radius: 12px; padding: 10px 4px; text-align: center; background: var(--bg); border: 1px solid var(--line); font-size: 12px; font-weight: 800; color: var(--muted); }
.week div.on { background: linear-gradient(160deg, #fe2c55, #7b61ff); color: #fff; border: 0; }
.week div svg { width: 22px; height: 22px; margin: 6px auto 0; }
.cohort { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cohort i { width: 30px; height: 30px; border-radius: 50%; display: inline-block; }
.quote { border-radius: 14px; padding: 18px 20px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.45; }
.quote small { display: block; color: #a9b6d6; font-weight: 600; font-size: 12.5px; margin-top: 6px; }
.act-head { border-radius: 22px; padding: 24px 28px; color: #fff; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; position: relative; overflow: hidden; }
.act-head::after { content: ""; position: absolute; right: -60px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.act-head h2 { font-size: 22px; letter-spacing: -.02em; margin: 4px 0 2px; }
.act-head .when { font-family: var(--mono); font-size: 12.5px; font-weight: 700; opacity: .9; }
.act-head .r { font-size: 14px; font-weight: 600; opacity: .92; }
.act-head .sdgs { position: relative; z-index: 1; }
.act-head .sdg { border: 1px solid rgba(255, 255, 255, .4); }
.blk { padding: 46px 0; }
.blk + .blk { border-top: 1px solid var(--line); }
.live-wrap { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #0b1736; }
.live-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; background: #0b1736; color: #fff; font-size: 13px; font-weight: 700; }
.live-bar .l { display: flex; align-items: center; gap: 10px; }
.live-bar .l .dot-live { margin: 0; }
.live-bar .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.live-bar a { color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); padding: 6px 11px; border-radius: 9px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.live-bar a:hover { text-decoration: none; background: var(--blue); }
.live-bar a svg { width: 13px; height: 13px; }
.live-frame { position: relative; height: min(78vh, 760px); background: #f4f7fb; }
.live-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.live-frame .fallback { position: absolute; inset: 0; }
.live-frame .fallback img { width: 100%; height: 100%; object-fit: cover; object-position: top left; filter: brightness(.5); }
.live-frame .fallback .launch { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; padding: 20px; }
.live-frame .fallback h3 { font-size: 24px; margin-bottom: 6px; }
.live-frame .fallback p { color: #d4ddf2; margin-bottom: 16px; font-size: 14.5px; }
.live-frame.loaded .fallback { display: none; }
.p-sec .intro { margin-bottom: 20px; }

@media (max-width: 1080px) {
  .wk-grid { grid-template-columns: 1fr 1fr; }
  .ld-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .pj-bento { grid-template-columns: 1fr 1fr; }
  .pj.ev { grid-row: auto; grid-column: span 2; }
  .rail { display: grid !important; grid-auto-flow: column; grid-auto-columns: min(86%, 380px); grid-template-columns: none !important; grid-template-rows: none !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 4px 24px 14px; margin: 0 -24px; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { scroll-snap-align: start; grid-column: auto !important; grid-row: auto !important; }
  .swipe-hint { display: flex !important; }
  .pj.diab { flex-direction: column; }
  .pj.diab .donut-box { width: 100%; height: 170px; }
  .pj.diab .donut-box > div { width: 150px !important; }
  .vgrid > * { grid-column: span 12; }
  .lanes { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .wk-brand { height: 70px; }
  .wk-brand img.main { height: 20px; }
  .wk-brand.rb img.main { height: 32px; }
  .wk-brand .pill img { height: 14px; }
  .wk-body { padding: 14px 16px 16px; gap: 9px; }
  .wk .hook { display: none; }
  .wk h3 { font-size: 16px; }
  .wk-vis { padding: 11px; gap: 8px; }
  .metric.sm { margin-bottom: 4px; }
  .metric.sm .metric-top { font-size: 11.5px; white-space: nowrap; gap: 6px; }
  .metric.sm .metric-top .delta { display: none; }
  .wk .links { flex-wrap: nowrap; gap: 6px; }
  .wk .links .ext { font-size: 12px; padding: 5px 9px; }
  .pj-body { padding: 14px 16px !important; gap: 8px; }
}
@media (max-width: 760px) {
  .hero { padding: 96px 0 40px; }
  .hero h1 { font-size: 38px; margin: 14px 0 12px; }
  .hero .lead { font-size: 16px; }
  .hero-actions { margin: 20px 0 18px; }
  .hero-card { padding: 18px; }
  .hero-card .stat b { font-size: 22px; }
  .hero-card .stat { padding: 10px 12px; }
  .lg { height: 40px; padding: 0 12px; }
  .lg img { height: 15px; }
  .lg.red img { height: 22px; }
  .lg.tt img { height: 18px; }
  section.pv { padding: 44px 0; }
  .pv .sec-head { margin-bottom: 16px; gap: 10px; }
  .pv .sec-head h2 { font-size: 28px; }
  .pv .sec-head p { display: none; }
  .sec-head .side { align-items: flex-start; }
  .rail { grid-auto-columns: 86%; }
  .swipe-hint { display: flex !important; }
  .ld-list { gap: 10px; }
  .ld .tx { padding: 10px 12px; }
  .ld h3 { font-size: 14.5px; }
  .ld .r { display: none; }
  .ld .big b { font-size: 24px; }
  .ld-grid .map-card { padding: 8px; }
  .ld-grid .map-legend { display: none; }
  .co-band { padding: 20px; }
  .co-band .r { text-align: left; }
  .stages { grid-template-columns: 1fr 14px 1fr 14px 1fr; }
  .mk-grid { gap: 6px; }
  .week { gap: 4px; }
  .week div { font-size: 10.5px; padding: 8px 2px; }
  .live-frame { height: 70vh; }
  .blk { padding: 34px 0; }
}
.swipe-hint { display: none; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 2px; }
.swipe-hint svg { width: 14px; height: 14px; }
/* one-screen tuning */
.pj:not(.ev) .pj-body { padding: 14px 20px 16px; gap: 9px; }
.pj:not(.ev) .duo { max-width: 400px; width: 100%; margin: 0 auto; padding: 12px 14px 0; grid-template-columns: 1fr 84px; }
.pj:not(.ev) .duo-cap { max-width: 400px; width: 100%; margin: 0 auto; padding: 4px 14px 0; grid-template-columns: 1fr 84px; }
.pj.diab .donut-box { width: 150px; }
@media (max-width: 760px) {
  section.pv { padding: 30px 0; }
  .pv .sec-head h2 { font-size: 25px; }
  .pv .sec-head .more { padding: 8px 13px; font-size: 13.5px; }
}
.wk .links .ext { white-space: nowrap; }
.ld { flex: 1 0 auto; }
.ld .tx .sdgs { gap: 4px; }

/* ===== v3.1: evidence, photography, fills ===== */
.hero-card .jump { grid-template-columns: repeat(2, 1fr); }
/* home leadership */
.ld-grid .map-card { flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; }
.map-box { position: relative; }
.ld { grid-template-columns: 104px 1fr; }
.ld .thumb { position: relative; background: #f4f7fb; overflow: hidden; min-height: 108px; }
.ld .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s; }
.ld:hover .thumb img { transform: scale(1.05); }
.ld .thumb span { position: absolute; left: 6px; right: 6px; bottom: 6px; color: #fff; font-size: 10.5px; font-weight: 800; text-align: center; border-radius: 7px; padding: 4px 4px; line-height: 1.2; box-shadow: 0 4px 10px rgba(11, 23, 54, .2); }
.sdgs.short { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.sdgs.short .sdg { padding: 0; width: 22px; height: 22px; justify-content: center; border-radius: 6px; }
.sdgs.short .sdg b { background: none; color: #fff; padding: 0; font-size: 11px; }
.sdgs.short em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); margin-left: 4px; }
/* ray-ban timeline + campaign */
.tl { list-style: none; margin: 0; padding: 0 0 0 16px; position: relative; display: flex; flex-direction: column; gap: 8px; }
.tl::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(#7b61ff, #fe2c55); border-radius: 2px; }
.tl li { position: relative; display: flex; gap: 10px; align-items: baseline; font-size: 13px; }
.tl li::before { content: ""; position: absolute; left: -16px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid #7b61ff; }
.tl li.hl::before { background: #fe2c55; border-color: #fe2c55; }
.tl b { font-family: var(--mono); font-size: 12px; min-width: 74px; color: var(--ink); }
.tl span { color: var(--ink-2); font-weight: 600; }
.tl li.hl span { color: #d0123c; }
.kol { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
.kol .dots { display: grid; grid-template-columns: repeat(8, 22px); gap: 6px; }
.kol .dots i { width: 22px; height: 22px; border-radius: 50%; display: block; transform: scale(0); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.kol .dots i.m { background: #1664ff; }
.kol .dots i.f { background: #fe2c55; }
.in .kol .dots i { transform: none; }
.kol .dots i:nth-child(n) { transition-delay: calc(var(--d, 0) * 1s); }
.kol > div:last-child b { font-size: 34px; letter-spacing: -.03em; line-height: 1; display: block; color: var(--ink); }
.kol > div:last-child span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.spec div { border-radius: 12px; padding: 12px; background: #fff; border: 1px solid var(--line); }
.spec b { display: block; font-size: 22px; letter-spacing: -.02em; color: var(--blue); line-height: 1.1; }
.spec div:nth-child(2) b { color: #00a8b5; } .spec div:nth-child(3) b { color: var(--coral); } .spec div:nth-child(4) b { color: var(--violet); }
.spec span { font-size: 11.5px; color: var(--muted); font-weight: 600; line-height: 1.3; display: block; margin-top: 3px; }
/* evidence figures */
.evid { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #f4f7fb; display: flex; flex-direction: column; }
.evid img { width: 100%; height: auto; display: block; cursor: zoom-in; background: #fff; transition: opacity .2s; }
.evid img:hover { opacity: .92; }
.evid.tall img { max-height: 430px; object-fit: contain; }
.evid figcaption { padding: 9px 12px; font-size: 12px; color: var(--muted); font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line); background: #fff; }
.vtag { display: inline-flex; align-items: center; gap: 4px; color: #0a8f5a; background: #e6f8ef; font-weight: 800; font-size: 11px; padding: 3px 8px; border-radius: 999px; }
.vtag svg { width: 12px; height: 12px; }
.deliv { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: dv; }
.deliv li { counter-increment: dv; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.deliv li::before { content: counter(dv, decimal-leading-zero); grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--mono); font-weight: 800; font-size: 12px; }
.deliv b { font-size: 14px; }
.deliv span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.photo { margin: 0; border-radius: 14px; overflow: hidden; position: relative; }
.photo img { width: 100%; height: auto; display: block; cursor: zoom-in; }
.photo figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(11, 23, 54, .72); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 8px; }
.award { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: center; }
.award img { width: 100%; border-radius: 18px; box-shadow: var(--shadow-lg); cursor: zoom-in; display: block; }
.aw-tx h2 { font-size: 40px; letter-spacing: -.03em; margin: 6px 0 10px; background: linear-gradient(90deg, #ff7a45, #fe2c55); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aw-name { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.aw-org { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

@media (max-width: 1080px) {
}
@media (max-width: 980px) {
}
@media (max-width: 760px) {
  .ld { grid-template-columns: 84px 1fr; }
  .ld .thumb { min-height: 92px; }
  .ld .thumb span { font-size: 9.5px; }
  .spec { grid-template-columns: 1fr 1fr; }
  .kol .dots { grid-template-columns: repeat(8, 16px); gap: 5px; }
  .kol .dots i { width: 16px; height: 16px; }
  .award { grid-template-columns: 1fr; gap: 18px; }
  .award img { max-width: 240px; margin: 0 auto; }
  .aw-tx h2 { font-size: 32px; }
}

/* ===== v3.2 ===== */
/* hero order: name, lead, now, logos, actions */
.hero h1 { margin-top: 0; }
.hero .now { margin-top: 20px; }
.hero .logo-strip { margin-top: 22px; }
.hero .hero-actions { margin: 26px 0 18px; }
.pv .sec-head .side { justify-content: flex-end; }
/* home map: full map, legend as a row underneath (never over a label) */
.ld-grid .map-box svg { display: block; width: 100%; height: auto; }
.ld-grid .map-legend { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px 18px; background: none; border: 0; padding: 4px 0 2px; font-size: 12px; }
/* UCC teachers photo + UNV illustration */
.photo.wide img { max-height: 560px; object-fit: contain; background: #f4f7fb; }
.illus { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #f1f3fb; }
.illus img { width: 100%; height: auto; display: block; cursor: zoom-in; }
.illus figcaption { padding: 8px 12px; font-size: 12px; color: var(--muted); font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: #fff; border-top: 1px solid var(--line); }
.itag { color: #6a4fe0; background: #efebff; font-weight: 800; font-size: 11px; padding: 3px 8px; border-radius: 999px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.facts span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.facts b { color: var(--coral); font-weight: 800; }
#unv .vgrid > .s7 { display: flex; flex-direction: column; }
#unv .vgrid > .s7 .flow { margin-top: auto !important; padding-top: 14px; }
/* prints: uncropped photos laid like loose prints */
.prints { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.prints .pr { display: block; margin: 0; flex: 0 0 auto; width: var(--w); padding: 8px; background: #fffdfa; border-radius: 6px; box-shadow: 0 2px 4px rgba(11, 23, 54, .08), 0 18px 40px -14px rgba(11, 23, 54, .35); transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg)); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; position: relative; z-index: 1; }
.prints .pr img { display: block; width: 100%; height: auto; border-radius: 3px; }
.prints .pr:hover { transform: translate(var(--x, 0), calc(var(--y, 0px) - 6px)) rotate(0deg) scale(1.03); z-index: 5; box-shadow: 0 4px 8px rgba(11, 23, 54, .1), 0 30px 60px -18px rgba(11, 23, 54, .45); }
.prints.wall { gap: 0 2%; padding: 30px 0 10px; }
.prints.wall .pr { padding: 12px; margin-bottom: 26px; }
.prints.wall .pr img { cursor: zoom-in; }
.hb { display: grid; grid-template-columns: 1fr 210px; gap: 22px; align-items: center; }
.prints.mini { padding: 18px 4px; }
.prints.mini .pr { padding: 6px; margin: 0 -.6%; }
.prints.mini:hover { text-decoration: none; }
.ph-award { border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(170deg, #fff4ee, #ffe7ec); border: 1px solid var(--line); color: var(--ink); transition: transform .25s, box-shadow .25s; }
.ph-award:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ph-award img { width: 100%; height: 230px; object-fit: contain; background: #fff4ee; }
.ph-award div { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.ph-award .when { font-family: var(--mono); font-size: 10.5px; font-weight: 700; color: #e0452a; letter-spacing: .03em; }
.ph-award b { font-size: 20px; letter-spacing: -.02em; }
.ph-award small { font-size: 11.5px; color: var(--muted); font-weight: 600; line-height: 1.3; }
.p-hero .kicker { display: block; margin: 18px 0 -6px; }
@media (max-width: 980px) {
  .hb { grid-template-columns: 1fr; }
  .ph-award { flex-direction: row; height: 120px; }
  .ph-award img { width: 110px; height: 100%; flex: none; }
  .ph-award div { justify-content: center; }
}
@media (max-width: 760px) {
  .hero .now { margin-top: 14px; }
  .hero .logo-strip { margin-top: 16px; }
  .hero .hero-actions { margin: 20px 0 16px; }
  .ld-grid .map-legend { display: flex; font-size: 11px; gap: 4px 12px; }
  .prints.mini .pr:nth-child(1) { --w: 36% !important; }
  .prints.mini .pr:nth-child(2) { --w: 58% !important; }
  .prints.mini .pr:nth-child(3) { --w: 46% !important; }
  .prints.mini .pr:nth-child(4) { --w: 44% !important; }
  .prints.mini .pr { padding: 4px; margin: 0 -1% 8px; }
  .prints.mini { padding: 10px 0 0; }
  .ph-award { height: 96px; }
  .ph-award img { width: 84px; }
  .ph-award b { font-size: 17px; }
  .prints.wall .pr { --w: 92% !important; --x: 0 !important; --y: 0 !important; padding: 8px; margin-bottom: 18px; }
  .prints.wall .pr:nth-child(odd) { --r: -1.5deg !important; }
  .prints.wall .pr:nth-child(even) { --r: 1.5deg !important; }
}
.photo.wide { max-width: 900px; margin: 0 auto; }
/* ===== v3.3: no detail pages for work/leadership/hobby ===== */
.hero .logo-strip { margin-top: 26px; }
.hero .now { margin-top: 22px; }
.ld { cursor: default; }
.ld:hover { transform: none; }
.ld .thumb img.zoom { cursor: zoom-in; }
.hb { grid-template-columns: minmax(260px, 1fr) 2.1fr; gap: 36px; }
.hb-tx p { font-size: 17px; line-height: 1.75; color: var(--ink-2); margin: 0 0 18px; max-width: 34em; }
.hb .prints.mini .pr img { cursor: zoom-in; }
@media (max-width: 980px) { .hb { grid-template-columns: 1fr; gap: 14px; } .hb-tx p { font-size: 16px; margin-bottom: 12px; } }
@media (max-width: 760px) { .hb-tx p { font-size: 14.5px; line-height: 1.6; } .hb-tx .p-meta { display: none; } }
/* ===== v3.4: hobby gallery - justified rows, every photo shown whole ===== */
.hb-head { display: grid; grid-template-columns: auto minmax(0, 520px); justify-content: space-between; align-items: end; gap: 12px 48px; margin-bottom: 26px; }
.hb-head h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; line-height: 1.1; margin-top: 6px; }
.hb-head p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.gal { display: flex; flex-wrap: wrap; gap: 16px 14px; align-items: flex-start; }
.gal .br { flex: 0 0 100%; height: 0; }
.gal .bm { display: none; }
.gal .pr { flex: var(--a) 1 0; min-width: 0; margin: 0; padding: 6px; background: #fffdfa; border-radius: 4px; position: relative;
  box-shadow: 0 1px 3px rgba(11, 23, 54, .10), 0 16px 34px -16px rgba(11, 23, 54, .38);
  transform: rotate(var(--r)); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s; }
.gal .pr img { display: block; width: 100%; height: auto; border-radius: 2px; cursor: zoom-in; }
.gal .pr figcaption { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 18px 10px 7px; font-size: 11.5px; font-weight: 600; letter-spacing: .01em;
  color: #fff8f2; background: linear-gradient(transparent, rgba(8, 14, 34, .72)); border-radius: 0 0 2px 2px; opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; pointer-events: none; }
.gal .pr:hover { transform: rotate(0deg) translateY(-6px) scale(1.035); z-index: 4; box-shadow: 0 4px 8px rgba(11, 23, 54, .12), 0 30px 60px -20px rgba(11, 23, 54, .5); }
.gal .pr:hover figcaption { opacity: 1; transform: none; }
.gal.reveal .pr { opacity: 0; translate: 0 18px; transition: opacity .7s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 70ms), translate .7s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 70ms), transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s; }
.gal.reveal.in .pr { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .gal.reveal .pr { opacity: 1; translate: none; transition: none; } }
@media (max-width: 980px) { .hb-head { grid-template-columns: 1fr; gap: 8px; } .hb-head p { font-size: 15px; } .gal { gap: 12px 10px; } }
@media (max-width: 760px) {
  .hb-head { margin-bottom: 16px; }
  .hb-head h2 { font-size: 25px; }
  .hb-head p { font-size: 14px; line-height: 1.6; }
  .gal { gap: 9px 7px; }
  .gal .pr { order: var(--om); padding: 3px; --r: 0deg !important; box-shadow: 0 1px 2px rgba(11, 23, 54, .1), 0 8px 18px -10px rgba(11, 23, 54, .35); }
  .gal .bd { display: none; }
  .gal .bm { display: block; order: var(--om); }
  .gal .pr figcaption { display: none; }
}

/* ===================== v3.5: collage hero, illustrated work, full SDGs ===================== */
:root { --serif: var(--font); --cyan-d: #00a6b4; }

/* hero */
.h35 { padding: 104px 0 40px; min-height: min(100vh, 900px); }
.h35 .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 28px; }
.h35 h1 { font-size: clamp(40px, 4.6vw, 62px); margin: 0 0 18px; }
.h35 h1 .srf { display: block; font-family: var(--serif); font-weight: 850; font-style: normal; letter-spacing: -.035em; font-size: 1.06em; line-height: 1.02; margin-top: 8px; color: var(--ink); }
.h35 h1 .srf em { font-style: normal; position: relative; white-space: nowrap; }
.h35 h1 .srf em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .16em; background: linear-gradient(90deg, rgba(0, 200, 210, .45), rgba(22, 100, 255, .35)); border-radius: 99px; z-index: -1; }
.h35 .lead { max-width: 30em; }
.h35 .now { margin-top: 20px; }
.h35 .logo-strip { margin-top: 24px; }
.h35 .b2 { top: 260px; right: 120px; }

.cl { position: relative; height: 600px; container-type: inline-size; }
.cl > * { position: absolute; }
.cl-orb { width: 74%; left: 15%; top: 8%; z-index: 0; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ci { display: block; color: var(--ink); background: #fffdfa; z-index: 2; box-shadow: 0 2px 5px rgba(11, 23, 54, .08), 0 22px 44px -16px rgba(11, 23, 54, .38); transform: rotate(var(--r)); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s; opacity: 0; animation: drop .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(.15s + var(--i) * .11s); }
@keyframes drop { from { opacity: 0; transform: translateY(26px) rotate(calc(var(--r) * 2.2)) scale(.96); } to { opacity: 1; transform: rotate(var(--r)); } }
.ci:hover { text-decoration: none; transform: rotate(0deg) scale(1.04); z-index: 9; box-shadow: 0 4px 10px rgba(11, 23, 54, .1), 0 34px 60px -18px rgba(11, 23, 54, .5); }
.ci img { display: block; width: 100%; height: auto; }
.ci .cap { display: block; font-family: var(--font); font-style: normal; font-weight: 700; font-size: 17px; line-height: 1.15; letter-spacing: 0; padding: 8px 2px 0; }
.ci small { display: block; font-size: 9.5px; color: var(--muted); font-weight: 600; padding: 2px 2px 0; }
.ci.po { padding: 8px 8px 12px; border-radius: 4px; }
.ci.po img { border-radius: 2px; }
.ci.bf { left: 2%; top: 4%; width: 64%; border-radius: 10px; overflow: hidden; background: #fff; z-index: 3; }
.ci.bf .bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #eef2f9; border-bottom: 1px solid var(--line); }
.ci.bf .bar i { width: 8px; height: 8px; border-radius: 50%; background: #fe2c55; }
.ci.bf .bar i:nth-child(2) { background: #ffbd2e; } .ci.bf .bar i:nth-child(3) { background: #2ee6c4; }
.ci.bf .bar em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--muted); margin-left: 8px; background: #fff; border-radius: 6px; padding: 2px 10px; flex: 1; }
.ci.bf .cap { position: absolute; left: 12px; bottom: 10px; background: rgba(255, 253, 250, .94); padding: 5px 10px; border-radius: 6px; font-size: 16px; }
.ci.ph { right: 1%; top: 0; width: 25%; }
.ci.ph img { aspect-ratio: 480 / 700; object-fit: cover; object-position: top; }
.ci.rb { right: 0; top: 47%; width: 27%; z-index: 4; }
.ci.rb img { aspect-ratio: 4 / 4.3; object-fit: cover; object-position: 50% 18%; }
.ci.hm { left: 30%; top: 50%; width: 41%; padding: 8px 8px 10px; border-radius: 8px; z-index: 3; }
.ci.st { left: 0; top: 60%; width: 33%; z-index: 4; }
.ci.ce { left: 58%; top: 75%; width: 15%; padding: 5px 5px 8px; z-index: 5; }
.ci.ce .cap { font-size: 13px; }
.aaa { left: 3%; top: 41%; z-index: 6; display: flex; flex-direction: column; align-items: flex-start; padding: 14px 26px 16px 28px; font-weight: 900; font-size: 19px; letter-spacing: .06em; line-height: 1.05; color: var(--ink); pointer-events: none; }
.aaa span:nth-child(3) { color: var(--blue); } .aaa span:nth-child(4) { color: var(--coral); }
.aaa svg { position: absolute; inset: -6px -14px; width: calc(100% + 28px); height: calc(100% + 12px); overflow: visible; }
.aaa path { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 640; stroke-dashoffset: 640; animation: draw 1.6s 1.1s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.cl .w { z-index: 7; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; padding: 5px 11px; border-radius: 999px; white-space: nowrap; background: #fff; color: var(--ink-2); border: 1px solid var(--line); box-shadow: 0 6px 16px -8px rgba(11, 23, 54, .3); opacity: 0; animation: pop .6s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.cl .w1 { left: 36%; top: 1%; background: var(--blue); color: #fff; border: 0; animation-delay: 1.0s; }
.cl .w2 { left: 46%; top: 44%; animation-delay: 1.1s; }
.cl .w3 { right: 25%; top: 37%; font-family: var(--font); font-style: normal; font-weight: 700; font-size: 15px; padding: 2px 12px; background: #e0f8f9; color: #00737a; border: 0; animation-delay: 1.2s; }
.cl .w4 { left: 1%; top: 53%; background: #ffe8ed; color: #d0123c; border: 0; animation-delay: 1.3s; }
.cl .w5 { right: 3%; top: 90%; animation-delay: 1.4s; }
.cl .w6 { left: 74%; top: 42%; background: #0b1736; color: #fff; border: 0; animation-delay: 1.5s; }
.cl .w7 { left: 36%; top: 92%; background: #efebff; color: #6a4fe0; border: 0; animation-delay: 1.6s; }
.cl .w8 { left: 60%; top: 1%; animation-delay: 1.7s; }
.cl .w9 { left: 19%; top: 94%; font-family: var(--font); font-style: normal; font-weight: 700; font-size: 15px; padding: 2px 12px; animation-delay: 1.8s; }
.cl-foot { right: 0; bottom: -18px; font-size: 10.5px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

/* work illustrations */
.wk .hook em { font-style: normal; font-weight: 800; color: var(--coral); }
.ill-box, .rb-box, .od-box { padding: 12px; justify-content: flex-start; }
.ill { width: 100%; height: auto; display: block; overflow: visible; }
.ill text { font-family: var(--font); font-weight: 700; }
.ill .t-q { font-size: 10.5px; font-weight: 800; fill: #d0123c; }
.ill .t-w { font-size: 11px; font-weight: 800; fill: #fff; }
.ill .t-tw { font-size: 7.5px; font-weight: 800; fill: #fff; }
.ill .t-s { font-size: 10px; font-weight: 800; fill: var(--ink-2); }
.ill .t-xs { font-size: 8.5px; font-weight: 700; fill: var(--muted); }
.ill .t-tag { font-size: 8px; font-weight: 900; letter-spacing: .1em; fill: #fff; }
.ill .fl { fill: none; stroke: #8fa0bf; stroke-width: 1.6; stroke-dasharray: 4 4; animation: flow 1.4s linear infinite; }
.ill .fl.c { stroke: #fe2c55; }
.ill .fl.a { stroke: #00a8b5; stroke-width: 2; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.ill .mine { fill: #fff4f6; stroke: #fe2c55; stroke-width: 1.5; stroke-dasharray: 5 4; }
.ill .bars rect { transform-box: fill-box; transform-origin: bottom; transform: scaleY(.15); transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.in .ill .bars rect { transform: none; }
.ill .bars rect:nth-child(2) { transition-delay: .1s; } .ill .bars rect:nth-child(3) { transition-delay: .2s; } .ill .bars rect:nth-child(4) { transition-delay: .3s; } .ill .bars rect:nth-child(5) { transition-delay: .4s; }
.rb-v35 { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 10px; }
.rb-camp { margin: 0; position: relative; border-radius: 10px; overflow: hidden; background: #2a0b0e; }
.rb-camp img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; object-position: 50% 20%; display: block; cursor: zoom-in; }
.rb-camp figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 4px; font-size: 8.5px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
.rb-side { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rb-prod { width: 100%; height: 54px; object-fit: contain; background: #f6efe4; border-radius: 9px; }
.rb-do { display: flex; flex-direction: column; gap: 5px; }
.rbi { display: flex; gap: 7px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 5px 7px; }
.rbi svg { width: 26px; height: 26px; flex: none; }
.rbi span { font-size: 10px; line-height: 1.25; color: var(--muted); font-weight: 600; min-width: 0; }
.rbi b { display: block; font-size: 11px; color: var(--ink); font-weight: 800; }
.pn-pill { align-items: center; gap: 6px; padding: 5px 10px 5px 5px !important; }
.wk-brand .pn-pill img { height: 22px; border-radius: 6px; }
.pn-pill b { font-size: 12.5px; font-weight: 800; color: var(--ink); }
.pn { display: flex; gap: 10px; align-items: center; background: #fffbea; border: 1px solid #fde7a6; border-radius: 11px; padding: 8px 10px; }
.pn img { width: 34px; height: auto; flex: none; border-radius: 8px; }
.pn span { font-size: 11.5px; line-height: 1.35; color: var(--ink-2); font-weight: 600; }
.pn b { display: block; font-size: 12.5px; color: var(--ink); font-weight: 800; }
.od-box .stage-note { justify-content: center; }

/* full SDG labels */
.sdgs.full { gap: 4px; }
.sdgs.full .sdg { font-size: 10.5px; line-height: 1.2; padding: 3px 8px 3px 3px; gap: 5px; border-radius: 6px; }
.sdgs.full .sdg b { font-size: 9.5px; white-space: nowrap; padding: 1px 5px; }

/* leadership map fills its card */
.v35 .map-card { padding: 0; gap: 0; justify-content: stretch; }
.v35 .map-box { flex: 1; min-height: 300px; overflow: hidden; border-radius: inherit; background: linear-gradient(180deg, #f7faff, #fff); }
.v35 .map-box svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.v35 .map-box .map-m { display: none; }
.v35 .map-legend { position: absolute; left: 14px; right: auto; bottom: 12px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; }

@media (max-width: 1080px) {
  .h35 .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .cl { height: 0; padding-bottom: 76%; max-width: 760px; width: 100%; margin: 0 auto; }
  .v35 .map-box { min-height: 0; height: 280px; flex: none; }
}
@media (max-width: 760px) {
  .h35 { padding: 92px 0 30px; }
  .h35 h1 { font-size: 36px; margin-bottom: 12px; }
  .cl { padding-bottom: 104%; margin-top: 8px; }
  .ci .cap { font-size: 12.5px; padding-top: 5px; }
  .ci.bf { width: 70%; }
  .ci.bf .cap { font-size: 12px; left: 8px; bottom: 6px; padding: 3px 7px; }
  .ci.bf .bar { padding: 5px 7px; } .ci.bf .bar em { display: none; }
  .ci.ph { width: 27%; top: 3%; }
  .ci.po { padding: 5px 5px 7px; }
  .ci small { display: none; }
  .ci.rb { width: 30%; top: 50%; }
  .ci.hm { left: 30%; top: 47%; width: 42%; padding: 5px 5px 7px; }
  .ci.st { width: 36%; top: 62%; }
  .ci.ce { display: none; }
  .aaa { font-size: 13px; padding: 9px 16px 10px 18px; top: 39%; }
  .cl .w { font-size: 9.5px; padding: 3px 8px; }
  .cl .w3, .cl .w9 { font-size: 12px; padding: 1px 8px; }
  .cl .w2, .cl .w8 { display: none; }
  .cl .w6 { left: auto; right: 2%; top: 44%; }
  .cl .w1 { left: 30%; top: 0; }
  .cl-foot { display: none; }
  .v35 .map-box { height: 190px; }
  .v35 .map-box .map-d { display: none; }
  .v35 .map-box .map-m { display: block; }
  .v35 .map-legend { left: 8px; bottom: 6px; padding: 3px 8px; font-size: 10px !important; gap: 2px 10px; }
  .ld .tx .sdgs.full .sdg { font-size: 9.5px; padding: 2px 6px 2px 2px; }
  .rb-camp img { min-height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .ci, .cl .w { animation: none; opacity: 1; }
  .aaa path { animation: none; stroke-dashoffset: 0; }
  .cl-orb, .ill .fl { animation: none; }
}
/* v3.5 collage placement pass 2 */
.cl { height: 640px; }
.ci.bf { left: 0; top: 6%; width: 63%; }
.ci.ph { right: 1%; top: 1%; width: 25%; }
.ci.hm { left: 35%; top: 52%; width: 38%; }
.ci.rb { right: 0; top: 47%; width: 26%; }
.ci.st { left: 1%; top: 69%; width: 32%; }
.ci.ce { display: none; }
.aaa { left: 3%; top: 49%; font-size: 23px; padding: 16px 30px 18px 32px; }
.cl .w1 { left: 33%; top: 1%; }
.cl .w2 { left: 1%; top: 0; }
.cl .w8 { left: 56%; top: 1%; }
.cl .w3 { left: 41%; top: 46.5%; right: auto; }
.cl .w6 { left: 76%; top: 42%; }
.cl .w4 { left: 36%; top: 89%; }
.cl .w7 { left: 52%; top: 89%; }
.cl .w5 { right: 1%; top: 89%; }
.cl .w9 { left: 36%; top: 95%; }
.cl-foot { bottom: -26px; }
@media (max-width: 1080px) { .cl { height: 0; padding-bottom: 80%; } }
@media (max-width: 760px) {
  .cl { padding-bottom: 112%; }
  .ci.bf { width: 68%; top: 6%; }
  .ci.ph { width: 27%; top: 2%; }
  .ci.hm { left: 36%; top: 50%; width: 38%; }
  .ci.rb { width: 27%; top: 48%; }
  .ci.st { left: 0; top: 70%; width: 36%; }
  .aaa { font-size: 13.5px; top: 49%; left: 2%; padding: 9px 16px 10px 18px; }
  .cl .w1 { left: 30%; top: 0; }
  .cl .w2 { display: none; }
  .cl .w3 { left: 38%; top: 44%; }
  .cl .w6 { left: auto; right: 0; top: 41%; }
  .cl .w4 { left: 40%; top: 86%; } .cl .w7 { left: 60%; top: 86%; } .cl .w5 { right: 0; top: 92%; } .cl .w9 { left: 40%; top: 93%; }
}
.ill-box, .od-box { justify-content: center; }
.v35 .map-box svg { overflow: hidden; }
@media (max-width: 760px) {
  .rb-camp img { min-height: 0; height: 100%; }
  .rb-v35 { grid-template-columns: 40% minmax(0, 1fr); }
  .rb-prod { height: 40px; }
  .rbi { padding: 4px 6px; } .rbi svg { width: 22px; height: 22px; }
  .wk-brand .pn-pill b { display: none; }
  .pn { padding: 6px 8px; } .pn span { font-size: 10.5px; } .pn img { width: 28px; }
}
.v35 .map-box .map-t, .v35 .map-box .map-m { display: none; }
@media (max-width: 1080px) {
  .v35 .map-box { height: auto; aspect-ratio: 880 / 380; }
  .v35 .map-box .map-d { display: none; }
  .v35 .map-box .map-t { display: block; }
}
@media (max-width: 760px) {
  .v35 .map-box { aspect-ratio: 880 / 440; height: auto; }
  .v35 .map-box .map-t { display: none; }
  .v35 .map-box .map-m { display: block; }
}
@media (max-width: 380px) {
  .wk-brand { height: 58px; }
  .wk-body { padding: 12px 14px 14px; gap: 8px; }
  .wk-vis.ill-box, .wk-vis.rb-box, .wk-vis.od-box { padding: 9px; }
  .rb-prod { height: 34px; }
  .od-box .stage-note span { font-size: 10.5px; }
}
@media (max-width: 760px) {
  .cl { padding-bottom: 118%; }
  .cl .w6 { top: 46%; right: 0; }
  .cl .w3 { top: 42.5%; left: 36%; }
  .ci.rb { top: 51%; }
  .ci.st { top: 67%; }
  .cl .w4 { top: 84%; } .cl .w7 { top: 84%; } .cl .w9 { top: 91%; } .cl .w5 { top: 93%; }
  .rb-box .trio { flex-wrap: nowrap; }
  .rb-box .trio span { font-size: 10.5px; white-space: nowrap; }
}

/* v3.5 tablet collage fix */
@media (min-width: 761px) and (max-width: 1080px) {
  .ci.bf { width: 58%; }
  .aaa { top: 57%; left: 2%; font-size: 18px; padding: 12px 22px 14px 24px; }
  .ci.st { top: 73%; }
  .cl .w6 { left: 53%; right: auto; top: 96%; }
}


/* ===================== v3.6: evidence-board hero ===================== */
:root { --cyan-d: #00a6b4; }
.h36 .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; }
.xbw { container-type: inline-size; width: 100%; max-width: 540px; justify-self: end; }
.xb { position: relative; height: 108cqi; isolation: isolate; cursor: default; }
.xb::before { content: ""; position: absolute; inset: 4% 2%; z-index: -1; border-radius: 50%;
  background: radial-gradient(45% 40% at 32% 34%, rgba(22, 100, 255, .10), transparent 70%),
              radial-gradient(40% 38% at 72% 60%, rgba(0, 200, 210, .13), transparent 70%),
              radial-gradient(36% 30% at 38% 84%, rgba(254, 44, 85, .08), transparent 70%); }
/* word cloud */
.wl { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.w { position: absolute; font-size: calc(var(--s) * 1cqi); line-height: 1; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; color: var(--c); opacity: var(--o); transition: opacity .45s, color .45s, text-shadow .45s; animation: wIn 1.2s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i) * 18ms); }
.w.v { writing-mode: vertical-rl; transform: rotate(180deg); }
@keyframes wIn { from { opacity: 0; } }
.xb.on .w { opacity: calc(var(--o) * .45); }
.xb.on .w.hit { opacity: 1; text-shadow: 0 0 18px color-mix(in srgb, var(--c) 35%, transparent); }
/* loupe: a magnified, full-strength copy of the cloud seen through a lens */
.wl.hi { z-index: 1; opacity: 0; transform: scale(1.22); transform-origin: var(--mx, 50%) var(--my, 50%);
  -webkit-mask: radial-gradient(circle 60px at var(--mx, 50%) var(--my, 50%), #000 96%, transparent 100%);
          mask: radial-gradient(circle 60px at var(--mx, 50%) var(--my, 50%), #000 96%, transparent 100%); transition: opacity .3s; }
.wl.hi .w { opacity: 1; animation: none; }
.xb.look .wl.hi { opacity: 1; }
.lens { position: absolute; z-index: 30; left: var(--mx, 50%); top: var(--my, 50%); width: 146px; height: 146px; margin: -73px 0 0 -73px; border-radius: 50%; pointer-events: none; opacity: 0; transform: scale(.7); transition: opacity .25s, transform .35s cubic-bezier(.2, .8, .2, 1);
  border: 2px solid rgba(11, 23, 54, .55); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .55), inset 0 0 22px rgba(22, 100, 255, .25), 0 10px 30px rgba(11, 23, 54, .18); }
.lens::after { content: ""; position: absolute; width: 46px; height: 9px; border-radius: 6px; background: var(--ink); left: 116px; top: 128px; transform: rotate(45deg); transform-origin: left center; opacity: .8; }
.xb.look .lens { opacity: 1; transform: none; }
.xb.look.on .lens { opacity: 0; }
/* red thread */
.thr { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.thr path { fill: none; stroke: var(--coral); stroke-width: .35; stroke-dasharray: 1.2 1; opacity: .55; vector-effect: none; }
.xb.on .thr path { opacity: .9; }
/* stacked evidence */
.e { position: absolute; z-index: calc(5 + var(--n)); display: block; transform: rotate(var(--r)); transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .4s, filter .4s, box-shadow .5s; animation: eIn 1s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(.35s + var(--n) * .12s); }
.e:hover, .e:focus-visible { text-decoration: none; }
.e .in { display: block; overflow: hidden; }
.e img { display: block; width: 100%; height: auto; }
@keyframes eIn { from { opacity: 0; transform: translateY(-26px) rotate(calc(var(--r) * 2.4)) scale(1.06); } }
.e.bf { background: #fff; border-radius: 1.6cqi; box-shadow: 0 2cqi 5cqi -1.4cqi rgba(11, 23, 54, .35); }
.e.bf .in { border-radius: 1.6cqi; }
.e.bf .bar { display: flex; gap: .9cqi; padding: 1.3cqi 1.6cqi; background: #f1f4fa; }
.e.bf .bar i { width: 1.3cqi; height: 1.3cqi; border-radius: 50%; background: #fe5f57; } .e.bf .bar i:nth-child(2) { background: #febc2e; } .e.bf .bar i:nth-child(3) { background: #28c840; }
.e.ph, .e.pa, .e.po { background: #fff; padding: 1.4cqi 1.4cqi 4.6cqi; box-shadow: 0 2cqi 5cqi -1.6cqi rgba(11, 23, 54, .38); }
.e.ph .in { aspect-ratio: 4 / 5.6; } .e.ph img { height: 100%; object-fit: cover; object-position: 50% 30%; }
.e.pa .in { aspect-ratio: 1 / 1.05; } .e.pa img { height: 100%; object-fit: cover; object-position: 0 0; }
.e.po .in { aspect-ratio: 4 / 3; } .e.po img { height: 100%; object-fit: cover; }
.e.po.sm { padding-bottom: 3.6cqi; } .e.po.sm .in { aspect-ratio: 3 / 2; }
.e.cd { background: #fff; padding: 1cqi; border-radius: 1cqi; box-shadow: 0 2cqi 5cqi -1.6cqi rgba(0, 120, 140, .4); }
.e.cd .in { aspect-ratio: 16 / 9.4; border-radius: .6cqi; } .e.cd img { height: 100%; object-fit: cover; }
.e.sk { background: #fff; padding: 1.6cqi 2cqi; border-radius: 1.8cqi; box-shadow: 0 1.2cqi 3cqi -1cqi rgba(11, 23, 54, .35), 0 0 0 .5cqi #fff; }
.e.sk.rb { background: #d50f25; padding: 1.2cqi 1.8cqi; }
.e .tp { position: absolute; z-index: 2; left: 50%; top: -1.6cqi; width: 12cqi; height: 3.4cqi; margin-left: -6cqi; background: rgba(0, 200, 210, .32); transform: rotate(-4deg); backdrop-filter: blur(1px); }
.e.cd .tp { background: rgba(254, 44, 85, .26); transform: rotate(5deg); }
.e .pn { position: absolute; z-index: 2; left: 50%; top: -1cqi; width: 3.2cqi; height: 3.2cqi; margin-left: -1.6cqi; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8aa0, var(--coral) 55%, #b5122f); box-shadow: 0 .8cqi 1.2cqi rgba(11, 23, 54, .35); }
.e.pa .pn { background: radial-gradient(circle at 35% 30%, #8fb5ff, var(--blue) 55%, #0b3fb0); }
.xb.on .e { opacity: .5; filter: saturate(.55); }
.xb.on .e.act { opacity: 1; filter: none; z-index: 20; transform: rotate(0deg) scale(1.1) translateY(-1.5cqi); box-shadow: 0 4cqi 9cqi -2cqi rgba(22, 100, 255, .45); }
.xb .e.sk { opacity: 1 !important; filter: none !important; }
@media (max-width: 980px) {
  .h36 .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .xbw { justify-self: center; max-width: 560px; }
}
@media (hover: none) { .lens, .wl.hi { display: none; } }
@media (prefers-reduced-motion: reduce) { .w, .e { animation: none; } }
/* v3.6 tuning */
.xb.on .w { opacity: calc(var(--o) * .5); }
.xb.on .w.hit { opacity: .78; text-shadow: none; }
.wl.hi { z-index: 28; background: rgba(246, 248, 252, .94); }
.wl.hi .w { opacity: .9; }
.xb.on .wl.hi { opacity: 0 !important; }

.wl.hi{transform:none}
.wl.hi .w{opacity:.95;filter:saturate(1.3)}
.wl{overflow:hidden}
/* ===================== v3.7: interlocking svg cloud + travel stamp ===================== */
.x37 .wl svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.x37 .wt { font-family: Arial, "Liberation Sans", "Helvetica Neue", Helvetica, sans-serif; font-weight: 700; fill: var(--c); opacity: var(--o);
  transition: opacity .45s, fill .45s; animation: wIn 1.1s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i) * 9ms); }
.x37 .wt.f { opacity: var(--o); }
.xb.x37.on .wt { opacity: calc(var(--o) * .4); }
.xb.x37.on .wt.hit { opacity: .82; }
.x37 .wl.hi { background: none; transform: scale(1.35); -webkit-mask: radial-gradient(circle 64px at var(--mx, 50%) var(--my, 50%), #000 97%, transparent 100%);
  mask: radial-gradient(circle 64px at var(--mx, 50%) var(--my, 50%), #000 97%, transparent 100%); }
.x37 .wl.hi::before { content: ""; position: absolute; inset: -40%; background: rgba(247, 249, 253, .9); }
.x37 .wl.hi .wt { animation: none; opacity: calc(.35 + var(--o) * 2.2); }
.x37 .wl.hi .wt.f { opacity: calc(.18 + var(--o) * 2); }
.x37 .lens { width: 154px; height: 154px; margin: -77px 0 0 -77px; }
.x37 .lens::after { left: 122px; top: 134px; }
.x37 .stamp { position: absolute; z-index: 3; left: 66cqi; top: 33cqi; width: 22cqi; transform: rotate(-14deg); pointer-events: none; opacity: .5;
  fill: none; stroke: var(--violet); stroke-width: 2.2; animation: stIn 1s 1.6s cubic-bezier(.2, .8, .2, 1) backwards; }
.x37 .stamp .th { stroke-width: 1.3; }
.x37 .stamp text { fill: var(--violet); stroke: none; font-family: Arial, "Liberation Sans", sans-serif; font-weight: 800; }
@keyframes stIn { from { opacity: 0; transform: rotate(-30deg) scale(1.6); } }
.xb.x37.on .stamp { opacity: .2; }
.bd-hint { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin: 6px 4px 0 0; font-size: 12.5px; font-weight: 600; color: color-mix(in srgb, var(--ink) 55%, transparent); letter-spacing: .01em; }
.bd-hint svg { width: 15px; height: 15px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; }
.bd-hint .tc { display: none; }
@media (hover: none) { .bd-hint .hv { display: none; } .bd-hint .tc { display: inline; } }
@media (max-width: 980px) { .bd-hint { justify-content: center; margin-right: 0; } }
@media (prefers-reduced-motion: reduce) { .x37 .wt, .x37 .stamp { animation: none; } }
/* v3.7b: single Shanghai photo on the board, airier cloud */
.e.po.pt .in { aspect-ratio: 2 / 3; } .e.po.pt img { object-position: 50% 50%; }
.x37 .wt.f { opacity: calc(var(--o) * .9); }
/* v3.9: hero copy. Lines 1-2 share one type style and never wrap; the 4 logos stay on one row.
   Sizes shrink with the column width only when the column is narrower than the content. */
.h36 .hero-grid { width: 100%; }
.h36 .hero-grid > .reveal { container-type: inline-size; min-width: 0; }
.hero .hcopy { --fs: min(17px, calc(100cqi / 32.8)); --k: min(1px, calc(100cqi / 572)); }
.hero .lead.id, .hero .nw { display: block; font-size: var(--fs); font-weight: 650; line-height: 1.45; letter-spacing: 0; white-space: nowrap; max-width: none; color: var(--blue); }
.hero .lead.id { margin: 0; }
.hero .nw { margin: .35em 0 0; }
.hero .ix { margin: 1.7em 0 .6em; font-size: var(--fs); font-weight: 650; line-height: 1.4; color: var(--ink-2); white-space: nowrap; }
.hero .ix + .logo-strip { margin-top: 0; }
.hero .logo-strip { flex-wrap: nowrap; gap: calc(var(--k) * 10); }
.hero .logo-strip .lg { flex: none; height: calc(var(--k) * 46); padding: 0 calc(var(--k) * 16); border-radius: calc(var(--k) * 12); }
.hero .logo-strip .lg img { height: calc(var(--k) * 18); }
.hero .logo-strip .lg.tt img { height: calc(var(--k) * 22); }
.hero .logo-strip .lg.red img { height: calc(var(--k) * 26); }
@media (max-width: 640px) {
  .hero .nw .dk { display: none; }   /* phone: "AI Data Service & Operations Intern at TikTok" */
  .hero .hcopy { --fs: min(17px, calc(100cqi / 25)); }
}
/* v3.10: header brand = one gradient pill with the full name (full name, no monogram) */
.logo { gap: 0; }
.logo .logo-mark { width: auto; height: 36px; padding: 0 16px; border-radius: 11px; font-size: 15.5px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
@media (max-width: 640px) { .logo .logo-mark { height: 34px; padding: 0 14px; font-size: 15px; } }
/* v3.11: board interaction. Centre-zone pick, glowing lens, two-step click (lift + label, then open) */
.xb.look { cursor: none; }
.xb.look .e { cursor: none; }
.xb.look.on .lens { opacity: 1; transform: scale(.86); border-color: #00c8d2;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 0 0 7px rgba(0, 200, 210, .45), 0 0 34px 10px rgba(22, 100, 255, .38), inset 0 0 18px rgba(0, 200, 210, .35);
  animation: lensGlow 1.4s ease-in-out infinite; }
.xb.look.on .lens::after { background: linear-gradient(90deg, #1664ff, #00c8d2); opacity: 1; }
.lens::before { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); white-space: nowrap; padding: 5px 11px; border-radius: 999px;
  font: 700 12.5px/1 var(--font); color: #fff; background: linear-gradient(90deg, #1664ff, #00c8d2); box-shadow: 0 6px 16px -4px rgba(22, 100, 255, .55); }
.xb.look.on .lens::before { content: "Click to inspect"; }
.xb.look.lifted .lens::before { content: "Click again to open \2197"; background: var(--coral); box-shadow: 0 6px 16px -4px rgba(254, 44, 85, .55); }
@keyframes lensGlow { 50% { box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 0 0 10px rgba(0, 200, 210, .28), 0 0 46px 16px rgba(22, 100, 255, .45), inset 0 0 22px rgba(0, 200, 210, .45); } }
@media (prefers-reduced-motion: reduce) { .xb.look.on .lens { animation: none; } }
.xb .e.lift, .xb.on .e.act.lift { z-index: 26; opacity: 1 !important; filter: none !important; transform: rotate(0deg) scale(1.16) translateY(-3.2cqi);
  box-shadow: 0 6cqi 12cqi -2cqi rgba(22, 100, 255, .5), 0 0 0 .5cqi #fff; }
.xb .e.act { overflow: visible; }
.e::after { content: attr(aria-label); position: absolute; left: 50%; top: calc(100% + 1.6cqi); transform: translate(-50%, -6px) scale(.9); max-width: 46cqi; width: max-content;
  padding: 1.3cqi 2.2cqi; border-radius: 1.6cqi; background: var(--ink); color: #fff; font: 700 clamp(11px, 2.6cqi, 14px)/1.25 var(--font); text-align: center;
  box-shadow: 0 2cqi 5cqi -1cqi rgba(11, 23, 54, .45); opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s cubic-bezier(.2, .8, .2, 1); }
.e.lift::after { opacity: 1; transform: translate(-50%, 0) scale(.86); }
.e.al::after { left: 0; transform: translate(0, -6px) scale(.9); transform-origin: left top; }
.e.al.lift::after { transform: translate(0, 0) scale(.86); }
.e.ar::after { left: auto; right: 0; transform: translate(0, -6px) scale(.9); transform-origin: right top; }
.e.ar.lift::after { transform: translate(0, 0) scale(.86); }
.e.up::after { top: auto; bottom: calc(100% + 1.6cqi); transform-origin: center bottom; }
.e.up.al::after { transform-origin: left bottom; } .e.up.ar::after { transform-origin: right bottom; }
@media (hover: none) { .e.lift::after { content: attr(aria-label) " \00B7  tap again to open"; } }
/* v3.11: lightbox with caption, prev/next, backdrop close */
html.lb-lock { overflow: hidden; }
.lightbox { cursor: default; padding: 24px 84px; background: rgba(6, 12, 30, .9); backdrop-filter: blur(6px); }
.lightbox.open { display: grid; animation: lbIn .25s ease; }
@keyframes lbIn { from { opacity: 0; } }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(1200px, 100%); }
.lightbox .lb-fig img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 10px; cursor: default; }
.lb-fig figcaption { display: grid; justify-items: center; gap: 4px; max-width: 640px; text-align: center; color: #fff; }
.lb-fig figcaption b { font-size: 17px; font-weight: 800; }
.lb-fig figcaption span { font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.lb-fig figcaption span:empty, .lb-fig figcaption em:empty { display: none; }
.lb-fig figcaption em { font-style: normal; font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, .55); margin-top: 2px; }
.lb-btn { position: fixed; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; transition: background .2s, transform .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .28); transform: scale(1.06); }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lb-x { top: 18px; right: 18px; width: 46px; height: 46px; }
.lb-p { left: 18px; top: 50%; margin-top: -26px; } .lb-n { right: 18px; top: 50%; margin-top: -26px; }
.lightbox:not(.multi) .lb-p, .lightbox:not(.multi) .lb-n { display: none; }
@media (max-width: 760px) {
  .lightbox { padding: 64px 12px 84px; }
  .lb-p, .lb-n { top: auto; bottom: 16px; margin: 0; width: 48px; height: 48px; }
  .lb-p { left: calc(50% - 64px); } .lb-n { right: calc(50% - 64px); }
  .lightbox .lb-fig img { max-height: calc(100vh - 230px); }
  .lb-fig figcaption b { font-size: 15.5px; } .lb-fig figcaption span { font-size: 13.5px; }
}
/* v3.11: project pages, fixed prev/next pills on the screen edges */
.pnav { position: fixed; top: 50%; z-index: 40; display: flex; align-items: center; gap: 0; height: 56px; padding: 0 16px; margin-top: -28px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: 0 10px 30px -10px rgba(11, 23, 54, .3); backdrop-filter: blur(8px);
  color: var(--ink); font-weight: 800; font-size: 14.5px; white-space: nowrap; transition: box-shadow .25s, border-color .25s, transform .25s, opacity .3s; }
.pnav:hover { text-decoration: none; border-color: var(--blue-2, #4c8dff); box-shadow: 0 14px 34px -10px rgba(22, 100, 255, .45); }
.pnav svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pnav span { max-width: 0; overflow: hidden; opacity: 0; transition: max-width .4s cubic-bezier(.2, .8, .2, 1), opacity .25s, margin .4s; }
.pnav:hover span, .pnav:focus-visible span { max-width: 320px; opacity: 1; margin: 0 4px 0 10px; }
.pnav.nx:hover span, .pnav.nx:focus-visible span { margin: 0 10px 0 4px; }
.pnav.pv { left: 14px; } .pnav.nx { right: 14px; }
@media (max-width: 760px) {
  .pnav { top: auto; bottom: 14px; margin: 0; height: 46px; padding: 0 14px; font-size: 13px; }
  .pnav span { max-width: 32vw; opacity: 1; margin: 0 2px 0 6px; text-overflow: ellipsis; }
  .pnav.nx span { margin: 0 6px 0 2px; }
  .pnav.pv { left: 12px; } .pnav.nx { right: 12px; }
  body:has(.pnav) .footer { padding-bottom: 80px; }
}
/* v3.11: calmer layout. Fewer boxes, less small grey text */
.sec-head h2 { margin-top: 0; }
.ld .r { font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 500; margin: 0; }
.sdgs.lite { display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.sdgs.lite .sdg { width: 22px; height: 22px; padding: 0; justify-content: center; border-radius: 6px; font-size: 11px; font-weight: 800; color: #fff; cursor: help; }
.sdgs.lite em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink-2); margin-left: 4px; opacity: .7; }
.pj .hook { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 2px 0 4px; }
.pj .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p-sec .intro { color: var(--ink-2); }
.chart-card .cap { color: var(--ink-2); font-size: 13.5px; }
@media (max-width: 760px) { .ld .r { display: block; font-size: 13px; } }
.pj .kpis div { background: none; border: 0; padding: 0; border-left: 3px solid var(--line); padding-left: 12px; border-radius: 0; }
.pj .kpis span { color: var(--ink-2); font-size: 12.5px; }
@media (max-width: 1180px) and (min-width: 761px) { .pnav { height: 46px; padding: 0 11px; margin-top: -23px; } .pnav.pv { left: 8px; } .pnav.nx { right: 8px; } }
@media (max-width: 760px) {
  .pnav { width: 46px; padding: 0; justify-content: center; bottom: 16px; }
  .pnav span { display: none; }
}
/* v3.12: header brand = avatar + name + welcome line; speech bubble on first visit / hover */
.logo { position: relative; gap: 10px; }
.logo .lg-av { position: relative; flex: none; width: 38px; height: 38px; border-radius: 11px; overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 4px 14px rgba(22, 100, 255, .28); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.logo .lg-av img { display: block; width: 100%; height: 100%; }
.logo .lg-tx { display: flex; flex-direction: column; justify-content: center; line-height: 1.1; }
.logo .lg-tx b { font-size: 16px; font-weight: 800; letter-spacing: -.005em; color: var(--ink); white-space: nowrap; }
.logo .lg-tx small { font-size: 11.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; max-height: 16px; margin-top: 3px; overflow: hidden; transition: max-height .3s, margin .3s, opacity .25s; }
.nav.scrolled .logo .lg-tx small { max-height: 0; margin-top: 0; opacity: 0; }
.logo .lg-hi { position: absolute; left: 0; top: calc(100% + 12px); padding: 8px 13px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 26px rgba(15, 23, 42, .22); opacity: 0; transform: translateY(-6px) scale(.92); transform-origin: 18px 0; pointer-events: none; transition: opacity .25s, transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.logo .lg-hi::before { content: ""; position: absolute; left: 14px; top: -5px; width: 11px; height: 11px; background: inherit; border-radius: 2px; transform: rotate(45deg); }
.logo.hi .lg-hi { opacity: 1; transform: none; }
.logo.hi .lg-av { animation: lgWave .9s ease-in-out 1; }
@media (hover: hover) {
  .logo:hover .lg-hi, .logo:focus-visible .lg-hi { opacity: 1; transform: none; }
  .logo:hover .lg-av { transform: rotate(-6deg) scale(1.06); }
}
@keyframes lgWave { 0%, 100% { transform: none; } 25% { transform: rotate(-9deg) scale(1.06); } 55% { transform: rotate(7deg) scale(1.06); } 80% { transform: rotate(-3deg); } }
@media (max-width: 640px) {
  .logo { gap: 9px; }
  .logo .lg-av { width: 34px; height: 34px; border-radius: 10px; }
  .logo .lg-tx b { font-size: 15px; }
  .logo .lg-tx small { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .logo .lg-av, .logo .lg-hi { transition: none; animation: none !important; } }
