/* ───────── Tokens ───────── */
:root {
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --bg: #FAF8F4;
  --bg-tint: #F2EEE6;
  --surface: #FFFFFF;
  --ink: #15161B;
  --ink-2: #4A4D57;
  --ink-3: #7A7D88;
  --line: #E6E1D8;

  --violet: #6B4EFF;
  --coral: #FF6B57;
  --mint: #13B887;
  --sun: #FFBE2E;
  --violet-soft: #ECE8FF;
  --coral-soft: #FFE9E5;
  --mint-soft: #DDF6EC;
  --sun-soft: #FFF3D3;

  --accent: var(--violet);
  --accent-ink: #FFFFFF;
  --ok: #13A374;
  --bad: #E0453A;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(21, 22, 27, .04), 0 8px 24px rgba(21, 22, 27, .06);
  --shadow-lg: 0 2px 4px rgba(21, 22, 27, .05), 0 24px 48px rgba(21, 22, 27, .10);
  --maxw: 1120px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #11132A;
  --bg-tint: rgba(143, 123, 255, .06);
  --surface: #1B1E3A;
  --ink: #ECEEF3;
  --ink-2: #B3B7C3;
  --ink-3: #8A8F9C;
  --line: #2E3260;

  --violet: #8F7BFF;
  --coral: #FF8A7A;
  --mint: #3DD6A3;
  --sun: #FFCC55;
  --violet-soft: #221E3D;
  --coral-soft: #3A201D;
  --mint-soft: #14302A;
  --sun-soft: #352B13;

  --accent: #8F7BFF;
  --accent-ink: #0D0F14;
  --ok: #3DD6A3;
  --bad: #FF7A6E;

  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .35), 0 24px 48px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background-color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-3); }
.btn--small { padding: .5em 1em; font-size: .85rem; }
.btn--big { font-size: 1.05rem; padding: 1em 1.6em; }
.btn--danger { background: var(--bad); color: #fff; }
.spark { color: var(--sun); }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.link-btn { background: none; border: 0; color: var(--ink-3); cursor: pointer; padding: 0; font-size: .85rem; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " ↗"; }

/* ───────── Nav ───────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; user-select: none; -webkit-user-select: none; }
.logo__mark {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px;
  background: conic-gradient(from 210deg, var(--violet), var(--coral), var(--sun), var(--mint), var(--violet));
  color: #fff; font-size: .82rem; letter-spacing: .02em;
}
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 999px; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); background: var(--bg-tint); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__menu { display: none; }
.i-moon { display: none; }
[data-theme="dark"] .i-sun { display: none; }
[data-theme="dark"] .i-moon { display: block; }

/* ───────── Hero ───────── */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero__shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .9; }
.shape--violet { width: 120px; height: 120px; background: var(--violet-soft); top: 40px; right: 38%; border-radius: 34% 66% 58% 42%; }
.shape--coral { width: 54px; height: 54px; background: var(--coral); top: 120px; right: 6%; opacity: .85; }
.shape--mint { width: 90px; height: 90px; background: var(--mint-soft); bottom: 40px; left: 4%; border-radius: 28px; transform: rotate(18deg); }
.shape--sun { width: 26px; height: 26px; background: var(--sun); bottom: 120px; right: 46%; }
[data-theme="dark"] .shape { opacity: .55; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.35fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.hl { background: linear-gradient(transparent 62%, var(--sun-soft) 62%); padding: 0 .08em; }
[data-theme="dark"] .hl { background: none; color: var(--sun); }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 40em; margin-top: 20px; }
.lede--narrow { max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 560px; }
.stats li { border-left: 3px solid var(--violet); padding: 2px 0 2px 14px; }
.stats li:nth-child(2) { border-color: var(--coral); }
.stats li:nth-child(3) { border-color: var(--mint); }
.stats strong { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.stats span { font-size: .85rem; color: var(--ink-3); line-height: 1.35; display: block; }
.hero__card { position: relative; margin: 0; }
.hero__photo {
  border-radius: 28px; overflow: hidden; background: var(--violet-soft);
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); transform: rotate(2deg);
  border: 6px solid var(--surface);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__badge {
  position: absolute; left: -24px; bottom: 28px; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow); font-size: .85rem; transform: rotate(-2deg);
}
.badge-dot { width: 10px; height: 10px; border-radius: 50%; background: conic-gradient(var(--violet), var(--coral), var(--sun), var(--mint), var(--violet)); }

/* ───────── Sections ───────── */
.section { padding: 96px 0; }
.section--tint { background: var(--bg-tint); }
.kicker { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 10px; font-weight: 500; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section__links { display: flex; gap: 18px; }
.subhead { font-size: .8rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 36px 0 16px; font-weight: 500; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.about h2 em { font-style: normal; color: var(--accent); }
.about__body p { color: var(--ink-2); font-size: 1.08rem; }
.about__body strong { color: var(--ink); }

/* Timeline */
.timeline { margin-top: 32px; display: grid; gap: 16px; }
.tl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; position: relative; overflow: hidden; }
.tl::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.tl--violet { --c: var(--violet); } .tl--coral { --c: var(--coral); } .tl--mint { --c: var(--mint); } .tl--sun { --c: var(--sun); }
.tl__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.tl__meta { color: var(--ink-3); font-size: .9rem; margin: 0; }
.tl ul { margin-top: 12px; display: grid; gap: 6px; }
.tl ul li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: .97rem; }
.tl ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--c); transform: rotate(45deg); }

.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.skill-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.skill-group h3 { font-size: .95rem; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .85rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--bg-tint); color: var(--ink-2); }
.skill-group:nth-child(1) .chips li { background: var(--violet-soft); }
.skill-group:nth-child(2) .chips li { background: var(--coral-soft); }
.skill-group:nth-child(3) .chips li { background: var(--mint-soft); }
.skill-group:nth-child(4) .chips li { background: var(--sun-soft); }
.chips--small li { font-size: .78rem; padding: 3px 10px; }
.certs { margin-top: 32px; }
.certs h3 { font-size: .95rem; margin-bottom: 10px; }
.certs li { color: var(--ink-2); padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }

/* Projects */
.spotlight {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 40px;
  box-shadow: var(--shadow); margin-bottom: 24px; position: relative; overflow: hidden;
}
.spotlight::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -120px; border-radius: 50%; background: var(--violet-soft); z-index: 0; }
.spotlight > * { position: relative; z-index: 1; }
.spotlight h3 { font-size: 2rem; font-weight: 800; }
.spotlight__sub { color: var(--ink-3); font-weight: 600; margin: 4px 0 14px; }
.spotlight p { color: var(--ink-2); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.tag--violet { background: var(--violet-soft); color: var(--violet); }
.checks { display: grid; gap: 8px; margin: 18px 0; }
.checks li { position: relative; padding-left: 28px; font-size: .95rem; color: var(--ink-2); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--mint-soft); color: var(--mint); font-weight: 800; font-size: .75rem; display: grid; place-items: center; margin-top: 3px; }
.spotlight__media { position: relative; padding: 10px 40px 40px 0; }
.shot { border-radius: 14px; box-shadow: var(--shadow-lg); }
.shot--web { width: 100%; }
.shot--phone { position: absolute; width: 30%; right: 0; bottom: 0; border-radius: 22px; }

.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.project { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; position: relative; }
.project:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.project__cover { aspect-ratio: 16 / 9; display: grid; place-items: center; background: linear-gradient(135deg, var(--c1), var(--c2)); position: relative; overflow: hidden; }
.project__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project__icon { font-size: 2.6rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,.15)); }
.project[data-palette="0"] { --c1: #7C5CFF; --c2: #00D4FF; }
.project[data-palette="1"] { --c1: #FF6B9D; --c2: #FFB86B; }
.project[data-palette="2"] { --c1: #00E5A0; --c2: #00A3FF; }
.project[data-palette="3"] { --c1: #FFD166; --c2: #FF5E62; }
.project[data-palette="4"] { --c1: #8E2DE2; --c2: #FF6B9D; }
.project[data-palette="5"] { --c1: #11998E; --c2: #38EF7D; }
.project__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.project__sub { color: var(--ink-3); font-weight: 600; font-size: .88rem; margin: 0; }
.project__body > p:not(.project__sub) { color: var(--ink-2); font-size: .95rem; }
.project__body .chips { margin-top: auto; padding-top: 8px; }
.project__more { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; }
.project__more img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; cursor: zoom-in; }
.project__link { font-weight: 700; font-size: .9rem; text-decoration: none; }

/* Case study */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 32px 0; counter-reset: s; }
.pipeline li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; position: relative; }
.pipeline li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); color: var(--ink-3); background: var(--bg-tint); z-index: 1; font-weight: 700; }
.pipeline__n { font-family: var(--mono); font-size: .75rem; color: var(--accent); }
.pipeline span:last-child { color: var(--ink-3); font-size: .88rem; line-height: 1.4; }

.dash { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.dash__top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.dash__title { font-weight: 800; margin: 0; font-size: 1.1rem; }
.dash__note { font-size: .82rem; color: var(--ink-3); margin: 2px 0 0; }
.seg { display: inline-flex; background: var(--bg-tint); border-radius: 999px; padding: 4px; }
.seg__btn { border: 0; background: transparent; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .85rem; cursor: pointer; color: var(--ink-2); }
.seg__btn.is-on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.tile { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.tile__label { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.tile__value { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.tile__delta { font-size: .8rem; font-weight: 700; }
.tile__delta.good { color: var(--ok); } .tile__delta.bad { color: var(--bad); } .tile__delta.flat { color: var(--ink-3); }
.charts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.chart-card { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.chart-card figcaption { font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { fill: var(--ink-3); font-size: 11px; font-family: var(--font); }
.chart .grid line { stroke: var(--line); }
.chart .target { stroke: var(--bad); stroke-dasharray: 5 4; stroke-width: 1.5; }
.chart .target-label { fill: var(--bad); font-weight: 700; }
.chart .bar { fill: var(--violet); opacity: .85; }
.chart .bar.is-peak { fill: var(--coral); opacity: 1; }
.chart .bar-label { fill: var(--ink-2); font-weight: 700; font-size: 10px; }
.chart .series { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.chart .end-label { font-weight: 700; font-size: 11px; }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart-tip { position: fixed; z-index: 70; pointer-events: none; background: var(--ink); color: var(--bg); font-size: .8rem; padding: 8px 10px; border-radius: 8px; line-height: 1.45; box-shadow: var(--shadow-lg); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--ink-2); margin-top: 6px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--c); margin-right: 6px; vertical-align: -1px; }
.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.insights li { background: var(--bg-tint); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .9rem; color: var(--ink-2); }
.insights strong { color: var(--ink); display: block; }

/* Writing */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature, .post { position: relative; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.feature:hover, .post:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--bg-tint); }
.feature > :not(img) { padding: 0 20px; }
.feature__pub { font-size: .78rem; color: var(--ink-3); font-weight: 600; padding-top: 12px !important; }
.feature strong { font-size: 1.02rem; line-height: 1.35; }
.feature__note { font-size: .88rem; color: var(--ink-2); padding-bottom: 18px !important; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { padding: 0 0 16px; }
.post img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--bg-tint); }
.post > :not(img) { margin: 0 18px; }
.post__src { align-self: flex-start; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-top: 14px !important; background: var(--coral-soft); color: var(--coral); }
.post__src--kompasiana { background: var(--mint-soft); color: var(--mint); }
.post strong { line-height: 1.35; font-size: .98rem; }
.post__date { font-size: .8rem; color: var(--ink-3); }

/* Contact */
.contact { text-align: center; background: radial-gradient(ellipse at 50% 120%, var(--violet-soft), transparent 60%); }
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.contact__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 12px 0 28px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.socials a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; background: var(--surface); }
.socials a:hover { color: var(--ink); border-color: var(--ink-3); }
.footer { border-top: 1px solid var(--line); padding: 24px 0; font-size: .85rem; color: var(--ink-3); }
.footer__inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer p { margin: 0; }

/* ───────── Chat ───────── */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 8px;
  padding: 12px 18px 12px 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--bg); font-weight: 700; box-shadow: var(--shadow-lg);
  transition: transform .2s;
}
.chat-fab:hover { transform: translateY(-2px) scale(1.02); }
.chat-fab__spark { color: var(--sun); font-size: 1.1rem; animation: twinkle 2.4s infinite; }
@keyframes twinkle { 50% { transform: rotate(90deg) scale(1.2); } }
.chat {
  position: fixed; right: 22px; bottom: 22px; z-index: 61; width: min(400px, calc(100vw - 24px));
  height: min(600px, calc(100vh - 40px)); display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden;
  animation: pop .2s ease-out;
}
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat__head .icon-btn { margin-left: auto; width: 34px; height: 34px; }
.chat__avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: conic-gradient(from 200deg, var(--violet), var(--coral), var(--sun), var(--violet)); font-size: 1.1rem; }
.chat__title { margin: 0; font-weight: 800; }
.chat__sub { margin: 0; font-size: .78rem; color: var(--ink-3); }
.chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.5; white-space: pre-wrap; }
.msg--bot { background: var(--bg-tint); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--me { background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg--typing { color: var(--ink-3); }
.msg--typing span { animation: blink 1.2s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .2s; } .msg--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }
.chat__chips { display: flex; gap: 6px; padding: 0 16px 10px; flex-wrap: wrap; }
.chat__chips button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 11px; font-size: .78rem; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.chat__chips button:hover { border-color: var(--accent); color: var(--accent); }
.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat__form input { flex: 1; min-width: 0; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 10px 14px; font: inherit; font-size: .92rem; }
.chat__form input:focus { outline: none; border-color: var(--accent); }

/* ───────── Toast & admin ───────── */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: .9rem; font-weight: 600; z-index: 90; box-shadow: var(--shadow-lg); }
.admin-only { display: none; }
body.is-admin .admin-only { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-bar { position: fixed; left: 16px; bottom: 16px; z-index: 65; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-size: .85rem; }
.admin-tools { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; z-index: 3; }
.admin-tools button { width: 32px; height: 32px; border-radius: 10px; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: .85rem; }
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(10, 12, 18, .55); display: grid; place-items: center; padding: 16px; }
.modal__box { background: var(--surface); color: var(--ink); width: min(620px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; border-radius: 20px; padding: 24px; box-shadow: var(--shadow-lg); }
.modal__box h3 { margin-bottom: 16px; }
.field { display: grid; gap: 4px; margin-bottom: 12px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select { font: inherit; font-size: .95rem; font-weight: 400; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.field textarea { min-height: 80px; resize: vertical; }
.photo-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.photo-strip figure { margin: 0; position: relative; }
.photo-strip img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.photo-strip button { position: absolute; top: 2px; right: 2px; border: 0; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: .75rem; padding: 2px 6px; }
.modal__actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 85; display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; border-radius: 12px; }

/* ───────── Reveal ───────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ───────── Responsive ───────── */
@media (max-width: 980px) {
  .hero__grid, .about, .spotlight { grid-template-columns: 1fr; }
  .hero__card { max-width: 360px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .charts, .insights { grid-template-columns: 1fr; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipeline li:nth-child(2)::after { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px; }
  .nav__menu { display: inline-grid; }
  .nav__actions { margin-left: auto; }
  .logo__name { display: none; }
  .hero { padding: 40px 0 64px; }
  .stats { grid-template-columns: 1fr; gap: 10px; }
  .section { padding: 72px 0; }
  .spotlight { padding: 24px; }
  .spotlight__media { padding-right: 24px; }
  .features, .posts, .skills-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline li::after { display: none; }
  .hero__badge { left: 8px; }
  .chat-fab__label { display: none; }
  .chat-fab { padding: 14px; }
}

/* ── Journey 2026 (sliding film strip) ── */
.journey { overflow: hidden; }
.journey__lead { color: var(--ink-2); max-width: 56ch; margin: 10px 0 0; }
.jr { position: relative; padding: 6px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.jr__track { display: flex; gap: 16px; width: max-content; animation: jr-slide 90s linear infinite; }
.jr:hover .jr__track, .jr:focus-within .jr__track { animation-play-state: paused; }
@keyframes jr-slide { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
.jr__item { position: relative; height: 300px; aspect-ratio: var(--ar); flex: none; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--violet), var(--coral));
  box-shadow: 0 8px 24px rgb(0 0 0 / .10); transition: transform .3s ease, box-shadow .3s ease; }
.jr__item:nth-child(odd) { transform: translateY(8px); }
.jr__item:hover, .jr__item:focus-visible { transform: translateY(-4px) scale(1.02); box-shadow: 0 14px 34px rgb(0 0 0 / .18); }
.jr__item:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.jr__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jr__cap { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; text-align: left; color: #fff; font-size: .82rem; line-height: 1.35;
  background: linear-gradient(transparent, rgb(0 0 0 / .72)); }
.jr__cap b { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-bottom: 2px; }
.jr__play { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: rgb(255 255 255 / .92); box-shadow: 0 6px 18px rgb(0 0 0 / .25); }
.jr__play::after { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 11px 0 11px 17px;
  border-color: transparent transparent transparent var(--violet); }
.jr__item--vid:not(:has(img)) .jr__play { background: #fff; }
@media (max-width: 720px) { .jr__item { height: 240px; } .jr__track { animation-duration: 70s; } }
@media (prefers-reduced-motion: reduce) {
  .jr { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .jr__track { animation: none; padding: 0 20px; }
  .jr__item[aria-hidden="true"] { display: none; }
}
.jr-box { border: 0; padding: 0; background: transparent; max-width: min(92vw, 980px); max-height: 92vh; overflow: visible; }
.jr-box::backdrop { background: rgb(10 10 16 / .82); backdrop-filter: blur(4px); }
.jr-box__media img, .jr-box__media iframe { display: block; max-width: min(92vw, 980px); max-height: 80vh; border-radius: var(--radius); border: 0; margin: 0 auto; }
.jr-box__media iframe { width: min(92vw, 420px); height: min(80vh, 746px); background: #000; }
.jr-box__cap { color: #fff; text-align: center; margin: 12px 0 0; font-size: .95rem; }
.jr-box__cap b { color: var(--sun, #FFC94D); margin-right: 6px; }
.jr-box__close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: #111; font-size: 1.5rem; line-height: 1; box-shadow: 0 4px 14px rgb(0 0 0 / .3); z-index: 1; }
.jr__poster { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; padding: 18px;
  background: radial-gradient(120% 80% at 0% 0%, rgb(255 255 255 / .22), transparent 60%), linear-gradient(160deg, var(--g)); color: #fff; text-align: left; }
.jr__poster i { font-style: normal; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: rgb(0 0 0 / .22); padding: 5px 10px; border-radius: 999px; align-self: flex-start; }
.jr__poster em { font-style: normal; font-weight: 800; font-size: 1.35rem; line-height: 1.15; max-width: 9ch; }
.jr__item--vid .jr__poster ~ .jr__cap { display: none; }
.jr__poster ~ .jr__play { top: auto; left: 18px; bottom: 18px; margin: 0; }
.jr-box.is-wide .jr-box__media iframe { width: min(92vw, 960px); height: min(52vw, 540px); }
.vidcard { position: relative; display: block; width: 100%; max-width: 440px; margin-top: 20px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #0B1020; box-shadow: var(--shadow-lg, 0 10px 30px rgb(0 0 0 / .12)); transition: transform .25s; }
.vidcard:hover { transform: translateY(-3px); }
.vidcard img { display: block; width: 100%; height: auto; }
.vidcard__label { position: absolute; left: 12px; bottom: 12px; background: rgb(255 255 255 / .92); color: #111; font-weight: 700; font-size: .8rem; padding: 6px 12px; border-radius: 999px; }
.project__body > .tag { align-self: flex-start; }

/* ── Dark mode: richer, colorful night background ── */
[data-theme="dark"] body {
  background:
    radial-gradient(900px 600px at 8% 4%, rgba(143, 123, 255, .28), transparent 60%),
    radial-gradient(800px 520px at 96% 18%, rgba(255, 138, 122, .16), transparent 60%),
    radial-gradient(900px 700px at 80% 62%, rgba(61, 214, 163, .12), transparent 60%),
    radial-gradient(800px 600px at 10% 88%, rgba(255, 204, 85, .10), transparent 60%),
    linear-gradient(180deg, #14163A 0%, #11132A 40%, #0F1830 100%);
  background-attachment: fixed;
}
[data-theme="dark"] body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
[data-theme="dark"] .project, [data-theme="dark"] .spotlight, [data-theme="dark"] .panel, [data-theme="dark"] .card {
  background: linear-gradient(160deg, rgba(143, 123, 255, .10), rgba(27, 30, 58, .9) 40%);
  border-color: rgba(143, 123, 255, .22);
  backdrop-filter: blur(6px);
}
[data-theme="dark"] .project:hover { box-shadow: 0 20px 50px rgba(143, 123, 255, .22); }
[data-theme="dark"] .nav.is-scrolled { background: rgba(17, 19, 42, .78); }
[data-theme="dark"] h1 .grad, [data-theme="dark"] .kicker { text-shadow: 0 0 24px rgba(143, 123, 255, .45); }

/* ── Dark mode: neon gradients ── */
[data-theme="dark"] { --neon: linear-gradient(100deg, #8F7BFF 0%, #FF6FD8 45%, #FFB86B 75%, #3DD6A3 100%); }
[data-theme="dark"] h2 {
  background: linear-gradient(100deg, #FFFFFF 0%, #CFC6FF 45%, #FF9ED8 80%, #FFC98A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="dark"] .kicker { color: #7CF5CF; text-shadow: 0 0 18px rgba(61, 214, 163, .55); }
[data-theme="dark"] .section--tint {
  background:
    radial-gradient(700px 380px at 15% 10%, rgba(255, 111, 216, .12), transparent 70%),
    radial-gradient(700px 380px at 90% 90%, rgba(61, 214, 163, .10), transparent 70%),
    rgba(143, 123, 255, .05);
  border-block: 1px solid rgba(143, 123, 255, .18);
}
[data-theme="dark"] .project, [data-theme="dark"] .spotlight, [data-theme="dark"] .panel, [data-theme="dark"] .card,
[data-theme="dark"] .dash, [data-theme="dark"] .step, [data-theme="dark"] .kpi {
  border: 1px solid transparent;
  background:
    linear-gradient(160deg, #22264A, #1A1D3A 55%, #1B2440) padding-box,
    linear-gradient(135deg, rgba(143, 123, 255, .75), rgba(255, 111, 216, .45) 40%, rgba(61, 214, 163, .5)) border-box;
}
[data-theme="dark"] .project:hover, [data-theme="dark"] .spotlight:hover {
  box-shadow: 0 0 0 1px rgba(255, 111, 216, .35), 0 18px 60px rgba(143, 123, 255, .35), 0 0 80px rgba(255, 111, 216, .15);
}
[data-theme="dark"] .btn--ink, [data-theme="dark"] .btn--accent, [data-theme="dark"] .btn--primary {
  background: linear-gradient(100deg, #8F7BFF, #FF6FD8); color: #fff; border-color: transparent;
  box-shadow: 0 0 24px rgba(255, 111, 216, .45), 0 0 48px rgba(143, 123, 255, .3);
}
[data-theme="dark"] .jr__item { box-shadow: 0 0 0 1px rgba(143, 123, 255, .35), 0 10px 30px rgba(0, 0, 0, .35), 0 0 30px rgba(143, 123, 255, .18); }
[data-theme="dark"] .jr__item:hover { box-shadow: 0 0 0 2px #FF6FD8, 0 0 40px rgba(255, 111, 216, .45); }
[data-theme="dark"] .chips li { background: rgba(143, 123, 255, .14); color: #DCD4FF; border-color: rgba(143, 123, 255, .3); }
[data-theme="dark"] .nav { border-bottom: 1px solid rgba(143, 123, 255, .2); }
[data-theme="dark"] .nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--neon); opacity: .6; }
[data-theme="dark"] .hl {
  background: linear-gradient(100deg, #FFC94D, #FF6FD8 55%, #8F7BFF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 111, 216, .35));
}
[data-theme="dark"] .chat-fab { background: linear-gradient(100deg, #8F7BFF, #FF6FD8); color: #fff; box-shadow: 0 0 26px rgba(255, 111, 216, .5); }
[data-theme="dark"] .hero__photo { box-shadow: 0 0 0 2px rgba(255, 111, 216, .55), 0 0 60px rgba(143, 123, 255, .45), 0 30px 80px rgba(0, 0, 0, .5); }

/* ── Experience: editorial timeline ── */
.xp__lead { color: var(--ink-2); max-width: 60ch; margin: 10px 0 0; }
.xp { list-style: none; margin: 40px 0 0; padding: 0; position: relative; }
.xp::before { content: ""; position: absolute; left: 180px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--violet), var(--coral), var(--mint), var(--sun)); opacity: .45; border-radius: 2px; }
.xp__item { display: grid; grid-template-columns: 180px 1fr; gap: 0; position: relative; padding-bottom: 44px; }
.xp__item:last-child { padding-bottom: 0; }
.xp__item::before { content: ""; position: absolute; left: 174px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent); }
.xp__when { padding-right: 28px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.xp__year { font-family: var(--mono, ui-monospace, monospace); font-weight: 700; font-size: .95rem; color: var(--ink); }
.xp__now { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, transparent); padding: 3px 9px; border-radius: 999px; }
.xp__dur { font-size: .8rem; color: var(--ink-3); }
.xp__body { padding-left: 36px; max-width: 720px; }
.xp__org { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: .9rem; font-weight: 600; color: var(--ink-3); }
.xp__logo { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: .68rem; font-weight: 800;
  color: #fff; background: var(--c); flex: none; }
.xp__logo--g { background: conic-gradient(#4285F4 0 25%, #34A853 0 50%, #FBBC05 0 75%, #EA4335 0); font-size: .85rem; }
.xp__body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.xp__story { color: var(--ink-2); margin: 0; }
.xp__stats { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.xp__stats li { font-size: .86rem; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.xp__stats b { color: var(--c); font-size: 1rem; margin-right: 4px; }
.xp__more { margin-top: 14px; }
.xp__more summary { cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--ink); list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.xp__more summary::-webkit-details-marker { display: none; }
.xp__more summary::after { content: "+"; font-size: 1.1rem; color: var(--c); }
.xp__more[open] summary::after { content: "–"; }
.xp__more ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-2); font-size: .95rem; display: grid; gap: 6px; }
.xp__link { display: inline-block; margin-top: 14px; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--c); }
.toolbox { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.toolbox h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.toolbox p { margin: 0; color: var(--ink); line-height: 1.8; }
.certs-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.certs-list li { font-size: .92rem; color: var(--ink-2); }
.certs-list b { color: var(--ink); margin-right: 4px; }
.certs-list span { color: var(--ink-3); font-size: .82rem; margin-left: 4px; }
@media (max-width: 760px) {
  .xp::before { left: 6px; }
  .xp__item { grid-template-columns: 1fr; padding-left: 30px; }
  .xp__item::before { left: 0; }
  .xp__when { text-align: left; align-items: flex-start; flex-direction: row; padding: 0 0 6px; }
  .xp__body { padding-left: 0; }
  .toolbox { grid-template-columns: 1fr; gap: 24px; }
}
.xp__stats li b:last-child:not(:first-child) { margin: 0 0 0 4px; }

/* ── Hover on every card ── */
.project, .spotlight, .feature, .post, .tile, .chart-card, .pipeline li, .xp__stats li, .stats li,
.vidcard, .dash, .socials a, .certs-list li, .xp__body {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.spotlight:hover, .tile:hover, .chart-card:hover, .pipeline li:hover, .xp__stats li:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--violet) 18%, transparent);
  border-color: color-mix(in srgb, var(--violet) 45%, var(--line));
}
.spotlight:hover { transform: translateY(-2px); }
.xp__stats li:hover { border-color: var(--c); box-shadow: 0 10px 24px color-mix(in srgb, var(--c) 22%, transparent); }
.stats li:hover { transform: translateX(4px); }
.socials a:hover { transform: translateY(-2px); }
.xp__item:hover::before { background: var(--c); box-shadow: 0 0 0 7px color-mix(in srgb, var(--c) 25%, transparent); }
.xp__item::before { transition: background .25s, box-shadow .25s; }
.xp__body:hover { transform: translateX(4px); }
[data-theme="dark"] .tile:hover, [data-theme="dark"] .chart-card:hover, [data-theme="dark"] .pipeline li:hover,
[data-theme="dark"] .feature:hover, [data-theme="dark"] .post:hover, [data-theme="dark"] .vidcard:hover {
  border-color: rgba(255, 111, 216, .55);
  box-shadow: 0 0 0 1px rgba(255, 111, 216, .3), 0 16px 44px rgba(143, 123, 255, .3), 0 0 50px rgba(255, 111, 216, .14);
}
@media (prefers-reduced-motion: reduce) {
  .project:hover, .spotlight:hover, .feature:hover, .post:hover, .tile:hover, .chart-card:hover, .pipeline li:hover,
  .xp__stats li:hover, .stats li:hover, .xp__body:hover, .vidcard:hover { transform: none; }
}
.xp__logo { width: 34px; height: 34px; border-radius: 9px; background: #fff; border: 1px solid var(--line); overflow: hidden; padding: 0; }
.xp__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.xp__logo--wide { width: 60px; padding: 3px 5px; }
/* Awards & certifications */
.honors { margin-top: 56px; }
.honors__title { font-size: 1.35rem; margin-bottom: 18px; }
.honors__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 16px; }
.honor { position: relative; border-radius: var(--radius); padding: 22px 20px 18px; background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.honor::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--violet), var(--coral), var(--sun)); }
.honor:hover { transform: translateY(-4px); box-shadow: 0 16px 36px color-mix(in srgb, var(--violet) 20%, transparent); border-color: color-mix(in srgb, var(--violet) 45%, var(--line)); }
.honor__icon { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.honor__kind { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; }
.honor h4 { margin: 0 0 6px; font-size: 1.05rem; line-height: 1.3; }
.honor p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.honor .honor__by { margin-top: 12px; font-size: .8rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.honor--award { background: linear-gradient(150deg, #FFF3C4, #FFE0EC 60%, #E8E2FF); border-color: transparent; }
.honor--award h4 { font-size: 1.3rem; }
.honor--award .honor__kind { color: #8A5A00; }
.honor--award p { color: #4A4D57; } .honor--award .honor__by, .honor--award h4 { color: #15161B; }
[data-theme="dark"] .honor--award { background: linear-gradient(150deg, rgba(255, 204, 85, .28), rgba(255, 111, 216, .22) 55%, rgba(143, 123, 255, .3)); box-shadow: 0 0 40px rgba(255, 204, 85, .15); }
[data-theme="dark"] .honor--award .honor__kind { color: #FFD777; }
[data-theme="dark"] .honor--award p, [data-theme="dark"] .honor--award h4, [data-theme="dark"] .honor--award .honor__by { color: #fff; }
[data-theme="dark"] .honor:hover { box-shadow: 0 0 0 1px rgba(255, 111, 216, .35), 0 16px 44px rgba(143, 123, 255, .3); }
.toolbox { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .honors__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .honors__grid { grid-template-columns: 1fr; } }
/* Find me on */
.findme { margin: 28px auto 18px; }
.findme__label { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.findme__row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.findme__btn { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 16px; text-decoration: none; color: #fff; text-align: left;
  font-weight: 800; font-size: .95rem; line-height: 1.2; transition: transform .25s, box-shadow .25s; }
.findme__btn svg { width: 26px; height: 26px; flex: none; }
.findme__btn small { display: block; font-weight: 500; font-size: .78rem; opacity: .85; }
.findme__btn--ig { background: linear-gradient(45deg, #F9A825, #E1306C 45%, #833AB4); }
.findme__btn--tt { background: #111; box-shadow: inset 2px 0 0 #25F4EE, inset -2px 0 0 #FE2C55; }
.findme__btn--li { background: #0A66C2; }
.findme__btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgb(0 0 0 / .18); }
.findme__btn--tt:hover { box-shadow: inset 2px 0 0 #25F4EE, inset -2px 0 0 #FE2C55, 0 14px 30px rgb(0 0 0 / .25); }
[data-theme="dark"] .findme__btn--ig:hover { box-shadow: 0 0 30px rgba(225, 48, 108, .55); }
[data-theme="dark"] .findme__btn--tt { box-shadow: inset 2px 0 0 #25F4EE, inset -2px 0 0 #FE2C55, 0 0 0 1px rgba(255,255,255,.15); }
[data-theme="dark"] .findme__btn--li:hover { box-shadow: 0 0 30px rgba(10, 102, 194, .6); }
.posts__more { margin: -6px 0 16px; font-size: .9rem; font-weight: 700; } .posts__more a { text-decoration: none; }

/* ── De-templating pass ── */
.now { margin: 26px 0 0; max-width: 560px; font-size: .95rem; color: var(--ink-2); line-height: 1.6; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 14px; }
.now__label { display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-right: 6px; }
.spotlight::after { display: none; }
.checks li { padding-left: 20px; }
.checks li::before { content: ""; width: 10px; height: 2px; border-radius: 2px; background: var(--accent); top: .8em; margin: 0; }
.insights__title { font-weight: 700; font-size: .95rem; margin: 22px 0 0; }
.insights { grid-template-columns: 1fr; gap: 0; margin-top: 8px; }
.insights li { background: none; border-radius: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.insights li:last-child { border-bottom: 0; }
.insights strong { display: inline; margin-right: 4px; }
.insights li:hover { transform: none; box-shadow: none; }
.contact { padding: 72px 0 80px; }
.contact h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
.honor { padding-top: 24px; }
.project__body { display: flex; flex-direction: column; flex: 1; }
.project__body > .chips { margin-top: auto; padding-top: 12px; }
.honor__logos { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.honor__logos img { height: 28px; width: auto; background: #fff; border-radius: 6px; padding: 3px 6px; box-shadow: 0 0 0 1px var(--line); }
.jr__item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.jr__item--vid .jr__play { width: 40px; height: 40px; margin: 0; top: 12px; left: auto; right: 12px; opacity: .92; }
.jr__item--vid .jr__play::after { left: 15px; top: 11px; border-width: 9px 0 9px 13px; }
.jr__item--vid:hover .jr__play { transform: scale(1.1); }
