/* sheenayadav.com · one stylesheet for every page (redesign, 3 Oct 2026).
   One dark theme, one lime accent, dark glass cards. Look copied from Nitin's reference, reel Dd9nhiOyrZU
   (plan: _site/reference-2026-10-03-reel-Dd9nhiOyrZU/PLAN.txt). Our own code, nothing bought.
   Order: fonts, tokens, base, background, top bar, buttons, first screen, tool strip, blocks, experience,
   green screen, skills, projects, numbers, about, contact, footer, hover pill, legal pages, phones, print. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0A0B0A;
  --lime: #C6F35E;
  --lime-hover: #D3F781;
  --ink: #0A0B0A;
  --text: #F5F5F2;
  --grey: #C4C7C0;
  --glass: rgba(16, 18, 16, .62);
  --glass-solid: rgba(22, 24, 22, .82);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --r: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --bar: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scroll-padding-top: calc(var(--bar) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -0.008em;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.mono {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: lowercase;
}

.wrap {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

main { position: relative; display: block; }

/* ---- Background: the shader canvas, its still fallback, a faint dot grid ----------- */

.bg-canvas {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  pointer-events: none;
}
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 62% 58%, rgba(198, 243, 94, .13), transparent 70%),
    radial-gradient(40% 35% at 80% 30%, rgba(80, 210, 190, .07), transparent 70%);
}
.has-gl .bg-glow { display: none; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 85%);
}

/* ---- Glass ------------------------------------------------------------------------- */

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---- Top bar ----------------------------------------------------------------------- */

.bar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  height: var(--bar);
  background: rgba(10, 11, 10, .5);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.bar.is-scrolled { border-bottom-color: var(--line); background: rgba(10, 11, 10, .72); }
.bar-in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav { flex: 1; display: flex; justify-content: center; }
.nav ul { display: flex; gap: 30px; }
.nav a { color: #D6D8D2; font-size: 16px; font-weight: 500; transition: color .2s ease; }
.nav a:hover { color: var(--text); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: #D6D8D2;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.status-dot, .dot-lime {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 243, 94, .18);
  flex: none;
}

/* ---- Buttons ----------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-hover); }
.btn-glass { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: var(--text); }
.btn-glass:hover { background: rgba(255, 255, 255, .1); }
.btn-dark { background: var(--ink); color: var(--text); }
.btn-dark:hover { background: #1F221F; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 16px; }
.icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---- Headings ---------------------------------------------------------------------- */

.h1, .h2 { font-weight: 600; text-wrap: balance; }
.h1 {
  margin-top: 22px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.024em;
}
.h2 {
  margin-top: 18px;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.07;
  letter-spacing: -0.022em;
  max-width: 17ch;
}
.h1 em, .h2 em, .green-quote em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -0.01em;
  line-height: 1;
}
.h3 { font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -0.018em; }
.h3 .at { color: var(--grey); font-weight: 400; }

/* Heading words sharpen with the scroll (Nitin, 3 Oct 2026). site.js sets --p from 0 to 1 as the heading
   rises to the reading line; each word takes 40% of that, one after another. Scroll back and they soften. */
.js .blur .w {
  --t: clamp(0, calc((var(--p, 1) - var(--k) * var(--gap, 0)) / .4), 1);
  display: inline-block;
  opacity: calc(.14 + .86 * var(--t));
  filter: blur(calc((1 - var(--t)) * 6px));
  transform: translateY(calc((1 - var(--t)) * .2em));
}
.js .blur.is-in .w { opacity: 1; filter: none; transform: none; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--grey);
}

/* ---- First screen ------------------------------------------------------------------ */

.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--bar) + 56px) 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  gap: 56px;
  align-items: center;
}
.tag {
  display: inline-flex;
  padding: 6px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--grey);
}
.lede { margin-top: 24px; max-width: 32ch; color: var(--grey); font-size: 24px; line-height: 1.4; font-weight: 500; letter-spacing: -0.008em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-links { margin-top: 22px; color: var(--grey); }
.hero-links a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(242, 242, 238, .3); text-underline-offset: 3px; }
.hero-links a:hover { text-decoration-color: var(--lime); }

.hero-card-wrap { perspective: 1000px; }
.hero-card {
  padding: 22px;
  border-radius: 20px;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}
.hero-card.is-tilting { transition: transform .12s linear; }
.hc-head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; }
.hc-photo img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; }
.hc-name { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.hc-title { color: var(--grey); font-size: 17px; line-height: 1.35; }
.hc-now { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--text); font-size: 15px; }
.hc-flow {
  margin: 18px 0;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, .28);
}
.hc-flow svg { width: 100%; height: auto; }
.flow-wires path { fill: none; stroke: rgba(255, 255, 255, .24); stroke-width: 1.3; }
.flow-boxes rect { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .2); stroke-width: 1; }
.flow-boxes text { fill: var(--text); font-family: var(--mono); font-size: 13px; }
.flow-tags text { fill: var(--lime); font-family: var(--mono); font-size: 11px; }
.flow-boxes .flow-end { fill: var(--lime); stroke: none; }
.flow-boxes .flow-end-t { fill: var(--ink); }
.hc-list-h { margin-bottom: 4px; color: var(--grey); font-size: 14px; }
.hc-list li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.hc-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.hc-list li:first-child .hc-dot { background: var(--lime); }
.hc-role { font-size: 17px; line-height: 1.3; font-weight: 500; }
.hc-at { display: block; color: var(--grey); font-size: 15px; font-weight: 400; }
.hc-date { color: var(--grey); font-size: 14px; white-space: nowrap; }

/* ---- Tool strip -------------------------------------------------------------------- */

.tools { padding: 24px 0 120px; }
.tools-line { text-align: center; color: var(--grey); }
.tool-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 28px auto 0;
}
.tool { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tool-tile {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  color: var(--grey);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  transition: background .45s ease, border-color .45s ease, color .45s ease, box-shadow .45s ease;
}
.tool-name { color: var(--grey); font-size: 16px; font-weight: 500; text-align: center; transition: color .45s ease; }
.tool.is-lit .tool-tile {
  border-color: rgba(198, 243, 94, .6);
  background: rgba(198, 243, 94, .12);
  color: var(--lime);
  box-shadow: 0 0 28px rgba(198, 243, 94, .22);
}
.tool.is-lit .tool-name { color: var(--text); }

/* ---- Blocks ------------------------------------------------------------------------ */

.block { padding: 140px 0; }
.block-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  column-gap: 56px;
  align-items: end;
}
.block-head .pill { grid-column: 1; justify-self: start; }
.block-head .h2 { grid-column: 1; }
.block-sub { grid-column: 2; color: var(--grey); font-size: 23px; line-height: 1.4; font-weight: 500; letter-spacing: -0.008em; max-width: 34ch; padding-bottom: 8px; }

.c-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.c-chips li {
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(10, 11, 10, .45);
  color: #D6D8D2;
  font-size: 14px;
}
.c-h { color: var(--grey); font-size: 14px; }

/* ---- Experience -------------------------------------------------------------------- */

.rows { display: grid; gap: 104px; margin-top: 88px; }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.row-flip .row-text { order: 2; }
.row-n { color: var(--lime); }
.row-text .h3 { margin-top: 10px; }
.row-text .h3-second { margin-top: 22px; }
.row-meta { margin-top: 8px; color: var(--grey); }
.row-line { margin-top: 16px; max-width: 46ch; color: var(--grey); }
.row-note { margin-top: 10px; font-size: 17px; font-weight: 500; }

.more { margin-top: 18px; }
.more summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: border-color .2s ease;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; color: var(--lime); font-size: 15px; line-height: 1; transition: transform .25s var(--ease); }
.more[open] summary::after { transform: rotate(45deg); }
.more summary:hover { border-color: rgba(198, 243, 94, .5); }
.more-lead { margin-top: 14px; color: var(--text); font-size: 19px; }
.bullets { margin-top: 14px; padding-left: 1.1em; list-style: disc; color: var(--grey); font-size: 19px; line-height: 1.55; }
.bullets li + li { margin-top: 8px; }
.bullets li::marker { color: var(--lime); }

.row-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 270px;
  padding: 30px;
}

/* 01: the lines arrive in order, the way the reel's chat card fills */
.c-now { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; align-items: baseline; }
.c-now-l { color: var(--grey); font-size: 14px; }
.c-now-v { font-size: 19px; font-weight: 500; }
.c-now-pill {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(198, 243, 94, .5);
  border-radius: 999px;
  color: var(--lime);
}
/* Every chart below runs on --p, the card's scroll progress (site.js): 0 as it enters, 1 at the reading line. */
.c-now > * { --d: 0; --t: clamp(0, calc((var(--p, 1) - var(--d)) / .3), 1); opacity: var(--t); transform: translateY(calc((1 - var(--t)) * 8px)); }
.c-now > :nth-child(3), .c-now > :nth-child(4) { --d: .2; }
.c-now > :nth-child(5), .c-now > :nth-child(6) { --d: .4; }
.c-now > :nth-child(7) { --d: .7; }

/* 02: eight equal columns fill left to right, 2016 to 2023 (ticks, not data) */
.c-cols { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; height: 120px; }
.c-cols span {
  border-radius: 6px;
  background: linear-gradient(to top, rgba(198, 243, 94, .6), rgba(198, 243, 94, .1));
  transform-origin: 50% 100%;
  transform: scaleY(clamp(0, calc((var(--p, 1) - var(--i) * .06) / .45), 1));
}
.c-years { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-top: -8px; color: var(--grey); font-size: 13px; text-align: center; }

/* 03: two pairs of bars, an index of 100 before and the result after */
.c-bars { display: grid; gap: 24px; }
.c-bar-row { display: grid; gap: 8px; }
.c-bar-l { color: var(--grey); font-size: 15px; }
.c-bar-l b { margin-left: 6px; color: var(--lime); font-weight: 500; }
.c-bar {
  position: relative;
  display: block;
  width: calc(var(--w) * 100%);
  height: 26px;
  border-radius: 7px;
  transform-origin: 0 50%;
  transform: scaleX(clamp(0, calc((var(--p, 1) - var(--d, 0)) / .45), 1));
}
.c-bar i {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
  opacity: clamp(0, calc((var(--p, 1) - .72) / .2), 1);
}
.c-bar-base { background: rgba(255, 255, 255, .1); }
.c-bar-base i { color: #C9CCC5; }
.c-bar-up { --d: .25; background: var(--lime); }
.c-bar-up i { color: var(--ink); }

/* 04: eight 3D blocks rise, light in turn, the last stays lit (names, no numbers) */
.c-blocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 14px; align-items: end; padding-top: 10px; }
.c-blocks span { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.c-blocks b {
  position: relative;
  display: block;
  width: calc(100% - 7px);
  height: 64px;
  margin-right: 7px;
  border-radius: 3px;
  background: linear-gradient(rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  transform-origin: 50% 100%;
  transform: scaleY(clamp(0, calc((var(--p, 1) - var(--i) * .04) / .3), 1));
}
.c-blocks b::before {
  content: "";
  position: absolute;
  left: 0;
  top: -7px;
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, .2);
  transform: skewX(-45deg);
  transform-origin: 0 100%;
}
.c-blocks b::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  width: 7px;
  height: 100%;
  background: rgba(255, 255, 255, .07);
  transform: skewY(-45deg);
  transform-origin: 0 0;
}
.c-blocks em { color: var(--grey); font-family: var(--mono); font-size: 13.5px; font-style: normal; text-align: center; line-height: 1.25; }
.c-blocks span:last-child b { background: linear-gradient(var(--lime), rgba(198, 243, 94, .55)); }
/* The light walks the eight blocks with the scroll (--x is how far it is from this block), the last stays lit. */
@supports (background: color-mix(in srgb, red 50%, blue)) {
  .c-blocks b,
  .c-blocks span:last-child b {
    --x: calc((var(--p, 1) - .4) / .55 * 8 - var(--i) - .5);
    --lit: clamp(0, calc(1 - max(var(--x), -1 * var(--x)) * 1.6), 1);
    background: linear-gradient(color-mix(in srgb, var(--lime) calc(var(--lit) * 100%), rgba(255, 255, 255, .13)),
      color-mix(in srgb, rgba(198, 243, 94, .55) calc(var(--lit) * 100%), rgba(255, 255, 255, .04)));
  }
  .c-blocks span:last-child b { --lit: clamp(0, calc((var(--x) + .5) * 1.6), 1); }
}

/* 05: one bar falls from 100 to 25 */
.c-cut { display: grid; gap: 10px; }
.c-cut-bar, .c-cut-now { position: relative; display: block; height: 26px; }
.c-cut-bar { border-radius: 7px; background: rgba(255, 255, 255, .1); }
.c-cut-now::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 7px;
  background: var(--lime);
  transform-origin: 0 50%;
  transform: scaleX(calc(1 - .75 * clamp(0, calc((var(--p, 1) - .1) / .6), 1)));
}
.c-cut i { position: absolute; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 12px; font-style: normal; }
.c-cut-bar i { right: 9px; color: #C9CCC5; }
.c-cut-now i { left: calc(25% + 10px); color: var(--text); opacity: clamp(0, calc((var(--p, 1) - .75) / .2), 1); }
.c-cut-l { font-size: 18px; color: var(--grey); }
.c-cut-l b { margin-right: 6px; color: var(--lime); font-size: 30px; font-weight: 500; letter-spacing: -0.03em; }

/* ---- Green screen (pinned) --------------------------------------------------------- */

.green { position: relative; padding: 40px 0; }
.green-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 64vh;
  min-height: 64svh;
  padding: 72px 32px;
  border-radius: 24px;
  background: var(--lime);
  color: var(--ink);
  text-align: center;
}
.green-label { position: absolute; left: 0; right: 0; top: 26px; }
.green-quote p {
  max-width: 21ch;
  margin: 0 auto;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 600;
  text-wrap: balance;
}
.green-core {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.green-src { position: absolute; left: 0; right: 0; bottom: 24px; font-size: 15px; }
.green-src a { text-decoration: underline; text-decoration-color: rgba(10, 11, 10, .35); text-underline-offset: 3px; }
.green-src a:hover { text-decoration-color: var(--ink); }

.js .green { height: 255vh; height: 255svh; padding: 0; }
.js .green-stage {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: 100vh;
  height: 100svh;
}
.js .green-wrap { width: min(100% - 48px, 1240px); }
.js .green-panel {
  height: 64vh;
  height: 64svh;
  min-height: 0;
  clip-path: inset(var(--ct, 0) var(--cr, 0) var(--cb, 0) var(--cl, 0) round var(--cr2, 24px));
}
.green-quote .gw { transition: none; }

.traveller {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: none;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 18px;
  background: var(--lime);
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  pointer-events: none;
}
.traveller.is-on { display: grid; }

/* ---- Skills ------------------------------------------------------------------------ */

.js .exp { padding-bottom: 80px; }
.js .skills { margin-top: -35vh; margin-top: -35svh; position: relative; z-index: 1; }
.skills-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "hub head" "hub groups";
  grid-template-rows: auto 1fr;
  gap: 36px 56px;
  align-items: start;
}
.skills-head { grid-area: head; display: block; }
.skills-head .block-sub { margin-top: 18px; padding: 0; }
.hub { grid-area: hub; padding: 24px; }
.hub-stage { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1 / 1; margin: 0 auto; }
.hub-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-wires .wire { stroke: rgba(255, 255, 255, .13); stroke-width: 1.2; fill: none; }
.hub-wires .pulse {
  stroke: var(--lime);
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 14 186;
  stroke-dashoffset: 14;
  opacity: .55;
  animation: wire-pulse 2s linear infinite;
  animation-delay: calc(var(--k) * -0.29s);
}
.hub-wires .pulse.is-lit { opacity: 1; stroke-width: 2.6; }
@keyframes wire-pulse { from { stroke-dashoffset: 14; } to { stroke-dashoffset: -100; } }
/* Reduce Motion: the pulses hold still (they ran on forever, audit 3 Oct 2026). */
@media (prefers-reduced-motion: reduce) { .hub-wires .pulse { animation: none; } }
.hub-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--lime);
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 44px rgba(198, 243, 94, .3);
}
.hub-core.is-wait { visibility: hidden; }
/* Without site.js the tile sits on top and the groups list under it; centred, it covered "crm" on phones. */
html:not(.js) .hub-core { top: 0; transform: translateX(-50%); }
.hub-nodes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 96px; }
.js .hub-nodes { display: block; padding: 0; }
.js .hub-nodes li { position: absolute; transform: translate(-50%, -50%); }
.node {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(14, 16, 14, .82);
  color: var(--grey);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.node b { color: var(--text); font-weight: 600; transition: color .3s ease; }
.node[aria-pressed="true"] { border-color: var(--lime); color: var(--lime); box-shadow: 0 0 22px rgba(198, 243, 94, .22); }
.node[aria-pressed="true"] b { color: var(--lime); }
.node:hover { border-color: rgba(198, 243, 94, .6); }
.groups { grid-area: groups; padding: 30px; }
.group + .group { margin-top: 28px; }
.js .group { display: none; margin: 0; }
.js .group.is-on { display: block; animation: group-in .45s var(--ease) both; }
@keyframes group-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.group .count { margin-left: 8px; color: var(--lime); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  font-size: 16.5px;
  font-weight: 500;
}

/* ---- Projects ---------------------------------------------------------------------- */

.proj-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 72px;
}
.proj { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px; }
.proj-a { grid-row: span 2; }
.proj-k { color: var(--grey); font-size: 14px; }
.proj-line { color: var(--grey); }
.proj-line b, .proj-facts b { color: var(--text); font-weight: 600; }
.ring-wrap { position: relative; width: 190px; height: 190px; margin-top: 18px; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: rgba(255, 255, 255, .07); }
.ring-fg {
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-dasharray: 282.74;
  stroke-dashoffset: calc(282.74px - 260.12px * clamp(0, calc(var(--p, 1) / .8), 1));
}
/* Flex, not grid: in a grid the number and the % sign were two items, and the % dropped below the ring. */
.ring-n {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.ring-l { color: var(--text); font-size: 19px; font-weight: 500; }
.proj-facts { display: grid; gap: 6px; color: var(--grey); font-size: 19px; margin-top: auto; }
.scatter { width: 100%; height: auto; margin: 8px 0 4px; }
.scatter-dots circle { fill: rgba(255, 255, 255, .32); opacity: clamp(0, calc(var(--p, 1) / .3), 1); }
.scatter-fit { stroke: var(--lime); stroke-width: 2; stroke-linecap: round; fill: none; stroke-dasharray: 300; stroke-dashoffset: calc(300px - 300px * clamp(0, calc((var(--p, 1) - .25) / .6), 1)); }
.c-span { display: flex; align-items: center; gap: 12px; color: var(--grey); font-size: 14px; margin-top: 4px; }
.c-span i { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--lime), rgba(198, 243, 94, .15)); transform-origin: 0 50%; transform: scaleX(clamp(0, calc((var(--p, 1) - .1) / .6), 1)); }
.proj-link { margin-top: auto; }
.proj-link a { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); font-size: 17px; font-weight: 500; }
.proj-link a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Border glow that follows the pointer (Magic UI Magic Card idea; two CSS variables) */
@media (hover: hover) and (pointer: fine) {
  .glow::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(200px circle at var(--gx, -300px) var(--gy, -300px), rgba(198, 243, 94, .95), transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
  }
  .glow:hover::before { opacity: 1; }
}

/* ---- Numbers ----------------------------------------------------------------------- */

.num-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.num { display: flex; flex-direction: column; gap: 14px; padding: 30px; }
.num-n {
  font-size: clamp(66px, 7vw, 104px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.num-l { font-size: 21px; font-weight: 500; }
.num-c { margin-top: auto; padding-top: 6px; color: var(--grey); font-size: 17px; }
.num-blocks { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.num-blocks i { height: 22px; border-radius: 5px; background: var(--lime); }
.num-dots { display: flex; gap: 10px; height: 22px; align-items: center; }
.num-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--lime); }
.num-bar { display: flex; gap: 4px; height: 22px; align-items: center; }
.num-bar i { flex: var(--f); height: 14px; border-radius: 4px; background: var(--lime); transform-origin: 0 50%; }
.num-bar i:nth-child(even) { background: rgba(198, 243, 94, .5); }
.num-blocks i, .num-dots i, .num-bar i { --t: clamp(0, calc((var(--p, 1) - var(--i) * .06) / .3), 1); opacity: calc(.12 + .88 * var(--t)); }
.num-blocks i, .num-dots i { transform: scale(calc(.6 + .4 * var(--t))); }
.num-bar i { transform: scaleX(calc(.2 + .8 * var(--t))); }

/* ---- About ------------------------------------------------------------------------- */

.about-head { display: block; }
.about-intro { margin-top: 24px; max-width: 52ch; color: var(--grey); font-size: 24px; line-height: 1.4; font-weight: 500; letter-spacing: -0.008em; }
.years {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  margin-top: 64px;
  padding: 34px;
}
.years-control { display: none; }
.js .years-control { display: block; }
.years-label { color: var(--grey); }
.years-big { margin-top: 6px; font-family: var(--sans); font-size: clamp(60px, 7vw, 100px); font-weight: 500; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.years-range {
  --p: 100%;
  width: 100%;
  height: 32px;
  margin: 26px 0 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.years-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--lime) var(--p), rgba(255, 255, 255, .14) var(--p)); }
.years-range::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--lime) var(--p), rgba(255, 255, 255, .14) var(--p)); }
.years-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(198, 243, 94, .18);
}
.years-range::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(198, 243, 94, .18); }
.years-range:focus-visible { outline: 2px solid var(--lime); outline-offset: 6px; }
.years-ends { display: flex; justify-content: space-between; margin-top: 8px; color: var(--grey); font-size: 14px; }
.years-card { min-height: 220px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, .28); }
.years-card-h { display: none; color: var(--grey); }
.js .years-card-h { display: block; margin-bottom: 8px; }
.years-out li, .spells li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.years-out li { animation: group-in .35s var(--ease) both; }
.years-out b, .spells b { font-size: 19px; font-weight: 600; }
.years-out span, .spells span { color: var(--grey); font-family: var(--mono); font-size: 15px; }
.js .spells { display: none; }

.about-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.col { padding: 28px; }
.col-k { display: flex; align-items: center; gap: 8px; color: var(--grey); font-size: 14px; }
.col-t { margin-top: 12px; font-size: 24px; font-weight: 600; letter-spacing: -0.015em; }
.col-p { margin-top: 10px; color: var(--grey); font-size: 19px; }
.col-now { border-color: rgba(198, 243, 94, .42); }

.about-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr); gap: 48px; margin-top: 88px; }
.am .h3 { font-size: 24px; margin-bottom: 16px; }
.plain li + li { margin-top: 16px; }
.am-t { font-size: 19px; line-height: 1.4; font-weight: 500; }
.am-t a { text-decoration: underline; text-decoration-color: rgba(198, 243, 94, .5); text-underline-offset: 3px; }
.am-t a:hover { text-decoration-color: var(--lime); }
.am-m { margin-top: 4px; color: var(--grey); font-size: 15px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  font-size: 19px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; color: var(--lime); font-size: 18px; line-height: 1.2; transition: transform .25s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding-bottom: 16px; color: var(--grey); font-size: 19px; }
.qa a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Contact ----------------------------------------------------------------------- */

.contact { padding-top: 40px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 36px;
  overflow: hidden;
}
.contact-mark {
  position: absolute;
  right: -18px;
  top: -52px;
  color: rgba(255, 255, 255, .04);
  font-size: 280px;
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1;
  pointer-events: none;
}
.contact-name { position: relative; font-size: 34px; font-weight: 600; letter-spacing: -0.03em; }
.contact-title { position: relative; color: var(--grey); font-size: 19px; }
.contact-place { position: relative; margin-top: 14px; color: var(--grey); }
.contact-lime {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 36px;
  border-radius: var(--r);
  background: var(--lime);
  color: var(--ink);
}
.contact-h { margin: 0; color: var(--ink); max-width: 12ch; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- Footer ------------------------------------------------------------------------ */

.foot { padding: 48px 0 56px; border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.foot-line { color: var(--grey); font-size: 15px; }
.legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal a { color: var(--grey); font-size: 16px; }
.legal a:hover, .legal a[aria-current="page"] { color: var(--text); }
.credit { display: inline-flex; align-items: center; gap: 8px; color: var(--grey); font-size: 16px; }
.credit:hover { color: var(--text); }
.credit-mark { width: 20px; height: 20px; border-radius: 4px; }

/* ---- Hover pill: a casual line beside the pointer (mouse only) ---------------------- */

.hint { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; }
.hint-pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 2px 17px 17px 17px;
  background: var(--lime);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s ease;
}
.hint.is-on .hint-pill { opacity: 1; }
.hint.is-flip .hint-pill { border-radius: 17px 2px 17px 17px; }

/* ---- Legal pages and 404 ----------------------------------------------------------- */

.doc {
  max-width: calc(65ch + 48px);
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.doc-home { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.doc h1 {
  margin-top: 56px;
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.032em;
}
.doc .updated { margin-top: 10px; color: var(--grey); font-family: var(--mono); font-size: 14px; }
.doc h2 { margin-top: 40px; font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }
.doc p, .doc main ul { margin-top: 12px; color: #D2D4CE; }
.doc main ul { padding-left: 1.15em; list-style: disc; }
.doc main ul li + li { margin-top: 6px; }
.doc main ul li::marker { color: var(--lime); }
.doc main a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(198, 243, 94, .6); text-underline-offset: 3px; }
.doc-foot { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---- Laptops under 1200 px: the eight marketplace blocks go to two rows ------------- */

@media (max-width: 1199px) {
  .c-blocks { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 22px; }
  .c-blocks b { height: 64px; }
}

/* ---- Laptops under 1024 px and tablets --------------------------------------------- */

@media (max-width: 1023px) {
  .nav ul { gap: 20px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-card-wrap { max-width: 520px; }
  .row { gap: 40px; }
  /* One column: the hub comes first, so the travelling tile lands in it without crossing the heading. */
  .skills-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hub" "head" "groups"; grid-template-rows: auto; }
  .hub { max-width: 560px; width: 100%; justify-self: center; }
  .about-more { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .am-qa { grid-column: 1 / -1; }
}

/* ---- Phones ------------------------------------------------------------------------ */

@media (max-width: 767px) {
  body { font-size: 18px; }
  .wrap, .bar-in, .js .green-wrap { width: min(100% - 40px, 1240px); }
  .glass { background: var(--glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav, .status, .brand-name { display: none; }
  .bar-in { justify-content: space-between; }

  .hero { min-height: 0; padding: calc(var(--bar) + 40px) 0 32px; }
  .h1 { font-size: clamp(40px, 11vw, 50px); }
  .lede { font-size: 21px; }
  .ctas { flex-wrap: nowrap; }
  .ctas .btn { flex: 1 1 0; min-width: 0; padding: 0 14px; }
  .hero-card { padding: 18px; }
  .hc-head { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; }
  .hc-photo img { width: 80px; height: 80px; }

  .tools { padding: 40px 0 80px; }
  .tool-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 10px; }
  .tool-tile { width: 56px; height: 56px; border-radius: 14px; font-size: 14px; }

  .block { padding: 96px 0; }
  .block-head { grid-template-columns: minmax(0, 1fr); }
  .block-sub { grid-column: 1; margin-top: 16px; padding: 0; font-size: 20px; }
  .h2 { font-size: clamp(34px, 9vw, 42px); }
  .rows { gap: 72px; margin-top: 56px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .row-flip .row-text { order: 0; }
  .row-card { min-height: 0; padding: 22px; }
  .c-blocks { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 22px; }
  .c-blocks b { height: 64px; }

  .js .green-panel { height: 72vh; height: 72svh; }
  .green-panel { padding: 64px 20px; }
  .green-quote p { font-size: clamp(28px, 7.6vw, 34px); }

  .skills-grid { gap: 28px; }
  .hub { padding: 14px; }
  .node { padding: 6px 10px; font-size: 13px; gap: 5px; }
  .groups { padding: 22px; }

  .proj-grid { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .proj-a { grid-row: auto; }
  .proj { padding: 24px; }
  .ring-wrap { width: 160px; height: 160px; }
  .ring-n { font-size: 40px; }

  .num-grid { grid-template-columns: minmax(0, 1fr); margin-top: 44px; }
  .num { padding: 24px; }

  .about-intro { font-size: 21px; }
  .years { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 22px; margin-top: 44px; }
  .about-cols { grid-template-columns: minmax(0, 1fr); }
  .about-more { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 64px; }

  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-card { min-height: 240px; padding: 26px; }
  .contact-mark { font-size: 200px; top: -36px; }
  .contact-lime { padding: 26px; }
  .contact-btns .btn { height: 46px; padding: 0 18px; font-size: 16px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}

/* ---- Print: every block, plain ----------------------------------------------------- */

@media print {
  .bg-canvas, .bg-glow, .bar, .skip, .traveller, .hint { display: none !important; }
  body::before { display: none; }
  .js .green { height: auto; }
  .js .green-stage { position: static; height: auto; }
  .js .green-panel { clip-path: none; height: auto; }
  .js .group { display: block; }
  .js .spells { display: block; }
}
