/* =========================================================
   cobblers.dev — site styles (v4)
   Light editorial theme · brand: Ink (black) + Lime stitches
   No external fonts: system stack (Inter is used if installed)
   ========================================================= */

:root {
  /* brand tokens (from the cobblers.dev brand kit) */
  --paper: #F7F8FA;
  --white: #FFFFFF;
  --snow: #EFF2F5;
  --ink: #111827;
  --night: #0E1116;
  --graphite: #2B3445;
  --slate: #545D6E;      /* AA on --snow */
  --steel: #C9CED6;
  --line: #DFE3E9;
  --lime: #B8F240;
  --lime-soft: #EAF8C9;
  --lime-line: #D3EE9A;
  --moss: #4D7C0F;       /* lime-family colour that passes AA as text on light */
  --error: #B42318;

  /* platform colours (only used behind white glyphs) */
  --yt: #E00030;
  --li: #0A66C2;
  --fb: #1877F2;
  --ig: radial-gradient(circle at 30% 107%, #FDCB52 0%, #FD5949 45%, #D6249F 62%, #285AEB 92%);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px -12px rgba(17, 24, 39, .12);
  --shadow-lg: 0 30px 60px -30px rgba(14, 17, 22, .45);
  --container: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; line-height: 1.1; letter-spacing: -0.025em; margin: 0; font-weight: 700; overflow-wrap: break-word; hyphens: auto; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
blockquote { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -0.2em; }

/* ---------- focus & skip link ---------- */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--lime);
  border-radius: 6px;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--night); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- the stitch (brand seam) ---------- */
.stitch {
  height: 6px; max-width: var(--container); margin: 0 auto;
  background: repeating-linear-gradient(90deg, var(--lime) 0 22px, transparent 22px 32px);
  background-clip: content-box;
  padding: 0 var(--gutter);
}
.prompt { font-family: var(--font-mono); font-weight: 700; letter-spacing: -0.05em; color: var(--moss); }

/* ---------- buttons ---------- */
.btn {
  --btn-pad-y: 14px; --btn-pad-x: 22px;
  position: relative; display: inline-flex; align-items: center; gap: .5em;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px; border: 1.5px solid transparent; white-space: nowrap;
  font: 600 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn-sm { --btn-pad-y: 10px; --btn-pad-x: 18px; font-size: .9375rem; }
.btn .prompt { color: var(--lime); }
.btn-primary { background: var(--night); color: var(--white); }
.btn-primary::after {           /* lime stitch that runs under the button on hover */
  content: ""; position: absolute; left: 22px; right: 22px; bottom: -9px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 10px, transparent 10px 15px);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.btn-primary:hover { background: var(--graphite); }
.btn-primary:hover::after, .btn-primary:focus-visible::after { transform: scaleX(1); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--lime); border-color: var(--lime); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 250, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { width: 160px; height: auto; }

/* reading progress: a lime stitch that grows with the page (CSS scroll-timeline, no JS) */
.progress {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--lime) 0 12px, transparent 12px 18px);
  transform: scaleX(0); transform-origin: left;
}
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
}
@keyframes grow { to { transform: scaleX(1); } }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; list-style: none; }
.nav-list a {
  display: block; padding: 8px 12px; border-radius: 8px;
  text-decoration: none; font-weight: 500; font-size: .9688rem; color: var(--graphite);
  background-image: repeating-linear-gradient(90deg, var(--lime) 0 6px, transparent 6px 9px);
  background-size: 0 3px; background-repeat: no-repeat; background-position: 12px calc(100% - 4px);
  transition: background-size .3s var(--ease), color .2s;
}
.nav-list a:hover, .nav-list a[aria-current="true"] { color: var(--ink); background-size: calc(100% - 24px) 3px; }
.nav-tools { display: flex; align-items: center; gap: 14px; }

.lang-select select {
  appearance: none; -webkit-appearance: none;
  font: 600 .875rem/1 var(--font-mono); color: var(--ink);
  padding: 9px 30px 9px 12px; border: 1.5px solid var(--line); border-radius: 999px; background-color: var(--white);
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer;
}
.lang-select select:hover { border-color: var(--ink); }
.nav-toggle { display: none; }

.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime .prompt { color: var(--ink); }
.btn-lime:hover { background: #CDF77A; }
.site-footer .btn-lime { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  padding: clamp(28px, 4.5vw, 56px) 0 clamp(36px, 5vw, 64px);
}
.hero::before {               /* soft lime glow + fading dot grid */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 320px at 82% 18%, rgba(184, 242, 64, .22), transparent 70%),
    radial-gradient(circle, rgba(17, 24, 39, .09) 1px, transparent 1.4px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }

/* announcement: a real link, not a status lamp */
.announce {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: .9063rem; font-weight: 600; text-decoration: none; box-shadow: var(--shadow);
  transition: border-color .2s var(--ease);
}
.announce:hover { border-color: var(--ink); }
.announce-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--yt); color: var(--white); }
.announce-icon .ico { width: 16px; height: 16px; }
.announce-go { width: 15px; height: 15px; color: var(--moss); transition: transform .2s var(--ease); }
.announce:hover .announce-go { transform: translate(2px, -2px); }

.byline { margin: 0 0 18px; color: var(--graphite); font-size: 1rem; }
.byline strong { color: var(--ink); }
.hero-title { font-size: clamp(2.6rem, 6.2vw, 4.6rem); letter-spacing: -0.045em; line-height: 1.02; margin-bottom: 24px; }
.hero-title .dot { color: var(--moss); }
.seam { position: relative; display: inline-block; isolation: isolate; }
.seam::after {
  content: ""; position: absolute; left: 2px; right: 0; bottom: -2px; height: .12em;
  background: repeating-linear-gradient(90deg, var(--lime) 0 .42em, transparent .42em .6em);
  transform-origin: left; animation: sew 1.2s .3s var(--ease) both; z-index: -1;
}
@keyframes sew { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--graphite); max-width: 31em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* social icon buttons */
.social-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.soc {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  color: var(--ink); background: var(--white); border: 1px solid var(--line);
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s;
}
.soc .ico { width: 20px; height: 20px; }
.soc:hover { transform: translateY(-2px); color: var(--white); border-color: transparent; background: var(--night); }
.soc-yt:hover { background: var(--yt); }
.soc-ig:hover { background: var(--ig); }
.soc-fb:hover { background: var(--fb); }
.soc-li:hover { background: var(--li); }

/* hero art: dark card with the needle mark + a tiny terminal */
.hero-art { margin: 0; position: relative; }
.hero-card {
  position: relative; border-radius: 28px; background-color: var(--night); color: #E6EAF0;
  background-image:
    radial-gradient(420px 260px at 50% 0%, rgba(184, 242, 64, .14), transparent 70%),
    linear-gradient(rgba(242, 244, 247, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 244, 247, .05) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px; background-position: 0 0, -1px -1px, -1px -1px;
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 44px) clamp(22px, 3.4vw, 36px) clamp(22px, 3vw, 30px);
}
.hero-card::before { content: ""; position: absolute; inset: 14px; border-radius: 18px; border: 2px dashed rgba(184, 242, 64, .5); pointer-events: none; }
.hero-mark { width: 54%; margin: 4px auto 24px; }
.term {
  position: relative; font: 500 .875rem/1.8 var(--font-mono);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px; padding: 14px 16px;
}
.term p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-prompt { color: var(--lime); font-weight: 700; }
.t-key { color: var(--lime); display: inline-block; min-width: 8ch; opacity: .85; }
.t-ok { color: var(--lime); }
.caret { display: inline-block; width: .55em; height: 1.05em; margin-left: .3em; vertical-align: -0.18em; background: var(--lime); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.definition { margin-top: 16px; font-size: .9063rem; color: var(--slate); padding-left: 4px; }
.def-word { font-family: var(--font-mono); font-weight: 700; color: var(--ink); }
.def-pos { font-style: italic; margin-right: .25em; }

/* stats: one quiet row */
.stats { margin: clamp(40px, 6vw, 60px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats > div { padding: 20px 20px 0 0; }
.stats dt { font: 800 clamp(1.9rem, 3.2vw, 2.6rem)/1 var(--font-sans); letter-spacing: -0.04em; }
.stats dt::after { content: ""; display: block; width: 30px; height: 3px; margin-top: 10px; background: repeating-linear-gradient(90deg, var(--lime) 0 8px, transparent 8px 11px); }
.stats dd { margin: 10px 0 0; font-size: .9063rem; color: var(--slate); line-height: 1.35; }

/* ---------- skills ticker ---------- */
.ticker { display: flex; align-items: stretch; background: var(--night); color: #E6EAF0; overflow: hidden; }
.ticker-label {
  flex: none; display: flex; align-items: center; gap: .5em; margin: 0; padding: 16px 22px 16px var(--gutter);
  background: var(--lime); color: var(--ink); font-weight: 700; font-size: .9375rem; position: relative; z-index: 1;
}
.ticker-label .prompt { color: var(--ink); }
.ticker-viewport {
  flex: 1; overflow: hidden; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font-size: .9688rem; white-space: nowrap; }
.ticker-track span::after { content: ""; width: 14px; height: 3px; background: var(--lime); border-radius: 2px; }
.ticker:hover .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker-toggle {
  flex: none; display: grid; place-items: center; width: 52px; border: 0; border-left: 1px solid rgba(255, 255, 255, .12);
  background: var(--night); color: var(--lime); cursor: pointer;
}
.ticker-toggle:hover { background: var(--graphite); }
.ticker-toggle:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; box-shadow: none; border-radius: 0; }
.ticker-toggle-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.ticker.is-paused .ticker-toggle-icon { width: 0; height: 0; border: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid currentColor; margin-left: 3px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: clamp(28px, 4.5vw, 48px); }
.section-head-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px 64px; align-items: end; }
.section-head-split .lead { margin: 0; }
.section h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 16em; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.25rem); color: var(--graphite); }
.sub-title { font-size: 1.375rem; letter-spacing: -0.02em; margin: clamp(48px, 7vw, 72px) 0 20px; }

/* ---------- learn: the path is a stitched seam ---------- */
.path { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 4px; }
.path::before {               /* the thread */
  content: ""; position: absolute; left: 24px; right: 24px; top: 27px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 16px, transparent 16px 24px);
}
.path-step { position: relative; }
.path-node {
  position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--night); color: var(--lime); font: 800 1.125rem/1 var(--font-mono);
  box-shadow: 0 0 0 6px var(--paper);
}
.path-level { display: inline-block; margin: 18px 0 10px; padding: 4px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 600; background: var(--lime-soft); color: var(--ink); border: 1px solid var(--lime-line); }
.path-step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.path-step p { margin: 0; color: var(--slate); }
.path-note { margin: 28px 0 0; font-size: .9375rem; color: var(--graphite); }

.ways { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.way { padding: 26px 26px 26px 0; display: flex; flex-direction: column; gap: 8px; }
.way + .way { padding-left: 26px; border-left: 1px solid var(--line); }
.way-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); margin-bottom: 6px; }
.way-icon .ico { width: 22px; height: 22px; }
.way-accent .way-icon { background: var(--night); border-color: var(--night); color: var(--lime); }
.way h4 { margin: 0; font-size: 1.1875rem; letter-spacing: -0.015em; }
.way p { margin: 0; color: var(--slate); }
.way .way-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.way > .link-arrow { margin-top: auto; padding-top: 6px; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--ink); text-decoration: none; background-image: linear-gradient(var(--lime), var(--lime)); background-size: 100% 3px; background-position: 0 100%; background-repeat: no-repeat; width: fit-content; }
.link-arrow .ico { width: 15px; height: 15px; color: var(--moss); transition: transform .2s var(--ease); }
.link-arrow:hover .ico { transform: translate(2px, -2px); }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 0; font-weight: 600; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); font: 600 1.125rem/1 var(--font-mono); color: var(--moss); transition: transform .25s var(--ease), background .2s;
}
.faq summary:hover::after { background: var(--lime-soft); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--graphite); max-width: 60ch; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-body h2 { margin-bottom: 20px; }
.portrait { margin: 0; position: sticky; top: 110px; }
.portrait picture { display: block; position: relative; border-radius: 24px; overflow: hidden; background: var(--snow); box-shadow: var(--shadow-lg); }
.portrait picture::after { content: ""; position: absolute; inset: 12px; border-radius: 16px; border: 2px dashed rgba(184, 242, 64, .9); pointer-events: none; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.portrait-badge {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .45em; white-space: nowrap;
  padding: 10px 16px; border-radius: 999px; background: var(--night); color: var(--white);
  font-weight: 600; font-size: .875rem; box-shadow: var(--shadow);
}
.portrait-badge .ico { width: 16px; height: 16px; color: var(--lime); }
.about-body .lead { font-size: clamp(1.1875rem, 1.9vw, 1.4375rem); line-height: 1.45; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.motto { position: relative; margin: 22px 0 30px; padding: 4px 0 4px 22px; border-left: 4px solid var(--lime); }
.motto p { margin: 0; font-weight: 600; font-size: 1.125rem; font-style: italic; }

.timeline { list-style: none; position: relative; display: grid; gap: 2px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; border-left: 2px dashed var(--lime-line); }
.timeline li { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; padding: 11px 0; }
.timeline li > :not(.tl-icon) { grid-column: 2; }
.tl-icon { grid-row: 1 / span 3; position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.tl-icon .ico { width: 20px; height: 20px; }
.tl-prompt { font: 800 .9375rem/1 var(--font-mono); color: var(--lime); letter-spacing: -0.05em; }
.is-now .tl-icon { background: var(--night); border-color: var(--night); }
.tl-when { margin: 0 0 2px; font-size: .8125rem; font-weight: 600; color: var(--moss); }
.timeline h3 { font-size: 1.125rem; letter-spacing: -0.015em; }
.tl-desc { margin: 4px 0 0; color: var(--slate); font-size: .9688rem; }

.certs { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.certs-title { font-size: 1rem; margin-bottom: 12px; }
.certs ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.certs li { display: inline-flex; align-items: center; gap: .4em; padding: 8px 13px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: .9375rem; }
.certs li .ico { width: 15px; height: 15px; color: var(--moss); }
.certs .certs-more { font-weight: 500; color: var(--slate); background: transparent; border-style: dashed; }

/* ---------- expertise: a calm list, nothing pretends to be clickable ---------- */
.skills { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 6vw, 72px); }
.skills li { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.skills li > :not(.skill-icon) { grid-column: 2; }
.skill-icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--lime-soft); color: var(--ink); }
.skill-icon .ico { width: 22px; height: 22px; }
.skills h3 { font-size: 1.1875rem; margin: 2px 0 6px; }
.skills p { margin: 0; color: var(--slate); }

.toolbox { margin: 0; border-top: 1px solid var(--line); }
.toolbox > div { display: grid; grid-template-columns: 15em 1fr; gap: 12px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.toolbox dt { display: flex; align-items: center; gap: .55em; font-weight: 700; font-size: .9688rem; }
.toolbox dt .ico { width: 18px; height: 18px; color: var(--moss); }
.toolbox dd { margin: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .875rem; line-height: 1; padding: 8px 11px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); }
.toolbox-ai .chips li { background: var(--lime-soft); border-color: var(--lime-line); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-intro h2 { margin-bottom: 18px; }
.direct { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.direct a {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9688rem;
  transition: border-color .2s;
}
.direct a:hover { border-color: var(--ink); }
.direct .ico { width: 18px; height: 18px; color: var(--moss); }
.privacy-note { font-size: .9063rem; color: var(--slate); margin-top: 26px; padding-left: 16px; border-left: 3px solid var(--lime); }
.privacy-note a { color: var(--moss); font-weight: 600; text-underline-offset: 3px; }

.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3.6vw, 36px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 18px; }
.field label { display: flex; align-items: center; gap: .35em; font-weight: 600; font-size: .9375rem; margin-bottom: 8px; }
.field label .ico { width: 17px; height: 17px; }
.req { color: var(--moss); }
.opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.5 var(--font-sans); color: var(--ink);
  padding: 13px 14px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--lime-soft); }
.field input[type="file"] { padding: 10px; border-style: dashed; font-size: .9375rem; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--night); color: var(--white);
  font: 600 .875rem/1 var(--font-sans); cursor: pointer;
}
.field-hint { margin: 6px 0 0; font-size: .8438rem; color: var(--slate); }
.field [aria-invalid="true"] { border-color: var(--error); background: #FFF6F5; }
.field-error { margin: 6px 0 0; font-size: .875rem; color: var(--error); font-weight: 500; }
.field-error:empty { display: none; }
.field-error:not(:empty)::before { content: "⚠ "; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.form-hint { font-size: .8125rem; color: var(--slate); margin: 0; }
.form-status { margin: 18px 0 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--lime-soft); border: 1px solid #C9E88A; color: var(--ink); }
.form-status.is-error { padding: 14px 16px; border-radius: var(--radius-sm); background: #FFF1F0; border: 1px solid #F5C2BD; color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer (dark) ---------- */
.site-footer { position: relative; background: var(--night); color: #C3CAD5; padding: 0 0 26px; }
.site-footer::before { content: ""; display: block; height: 6px; background: repeating-linear-gradient(90deg, var(--lime) 0 22px, transparent 22px 32px); }
.site-footer a { color: #E6EAF0; }
.site-footer :focus-visible { outline-color: var(--lime); box-shadow: none; }
.footer-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(40px, 6vw, 64px) 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-cta-title { margin: 0 0 6px; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--white); }
.footer-cta-text { margin: 0; color: #9AA3B2; }
.footer-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.footer-mail { font-weight: 600; text-decoration: none; background-image: linear-gradient(var(--lime), var(--lime)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s var(--ease); }
.footer-mail:hover { background-size: 100% 2px; }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 44px 0 36px; }
.footer-brand img { width: 168px; margin-bottom: 12px; }
.footer-brand p { margin: 0; color: #9AA3B2; font-size: .9375rem; }
.social-dark { margin-top: 20px; }
.social-dark .soc { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #E6EAF0; }
.footer-h { margin: 0 0 14px; font-weight: 700; color: var(--white); font-size: .9688rem; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: #AEB6C3; font-size: .9375rem; transition: color .2s; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  padding-top: 22px; border-top: 1px dashed rgba(255, 255, 255, .14); font-size: .875rem; color: #8B95A7;
}
.footer-bottom p { margin: 0; }
.footer-note { display: inline-flex; align-items: center; gap: .4em; }
.footer-note .ico { width: 15px; height: 15px; color: var(--lime); }
.to-top { text-decoration: none; font-weight: 600; }
.to-top:hover { color: var(--lime); }

/* ---------- legal pages ---------- */
.legal { padding: clamp(48px, 8vw, 96px) 0 var(--section-y); }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.375rem; margin: 2.2em 0 .6em; }
.legal h3 { font-size: 1.0625rem; margin: 1.6em 0 .4em; }
.legal p, .legal li { color: var(--graphite); }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal .todo { background: #FFF8D6; border: 1.5px dashed #D9B500; border-radius: 6px; padding: 1px 6px; font-family: var(--font-mono); font-size: .875em; color: #5C4A00; }
.legal .notice { padding: 16px 18px; border-left: 4px solid var(--lime); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 24px 0; }
.legal .lang-split { margin-top: 64px; padding-top: 32px; border-top: 6px solid transparent; border-image: repeating-linear-gradient(90deg, var(--lime) 0 22px, transparent 22px 32px) 6; }
.back-link { display: inline-block; margin-bottom: 32px; color: var(--moss); font-weight: 600; text-underline-offset: 3px; }


/* =========================================================
   v5 — mentoring site: hero with photo, start paths, offers,
   lead magnet, subpages (about, uses, prompts)
   ========================================================= */
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.btn-lg { --btn-pad-y: 17px; --btn-pad-x: 28px; font-size: 1.0625rem; }

/* hero */
.hero-title { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -0.04em; max-width: 13em; margin-bottom: 0; }
.seam-line {
  width: min(320px, 60%); height: 6px; margin: 22px 0 22px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 22px, transparent 22px 32px);
  transform-origin: left; animation: sew 1.2s .25s var(--ease) both;
}
.hero-actions { align-items: center; gap: 14px 22px; }
.hero-note { margin: 0; display: inline-flex; align-items: center; gap: .45em; font-size: .9375rem; color: var(--slate); }
.hero-note .ico { color: var(--moss); }
.hero-photo { margin: 0; position: relative; justify-self: end; width: 100%; max-width: 440px; }
.hero-photo picture { display: block; position: relative; border-radius: 28px; overflow: hidden; background: var(--snow); box-shadow: var(--shadow-lg); }
.hero-photo picture::after { content: ""; position: absolute; inset: 12px; border-radius: 18px; border: 2px dashed rgba(184, 242, 64, .9); pointer-events: none; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-tag {
  position: absolute; left: -22px; bottom: 34px; padding: 10px 16px; border-radius: 12px;
  background: var(--night); color: #E6EAF0; font: 600 .875rem/1 var(--font-mono); box-shadow: var(--shadow);
}
.hero-tag .t-prompt { color: var(--lime); }

/* start here: three paths */
.paths { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path-card {
  display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; position: relative;
}
.path-card::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 12px, transparent 12px 18px);
}
.path-card-ai { background: var(--night); border-color: var(--night); color: #E6EAF0; }
.path-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--lime-soft); color: var(--ink); margin-bottom: 4px; }
.path-icon .ico { width: 24px; height: 24px; }
.path-card-ai .path-icon { background: var(--lime); }
.path-card h3 { font-size: 1.375rem; }
.path-for { margin: 0; color: var(--slate); font-size: .9375rem; }
.path-card-ai .path-for { color: #9AA3B2; }
.path-list { list-style: none; display: grid; gap: 9px; margin: 6px 0 10px; }
.path-list li { position: relative; padding-left: 26px; font-size: .9688rem; }
.path-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 3px; background: var(--lime); border-radius: 2px; }
.path-card > .link-arrow, .path-links { margin-top: auto; }
.path-links { display: grid; gap: 10px; }
.path-card-ai .link-arrow { color: var(--white); }
.path-card-ai .link-arrow .ico { color: var(--lime); }
.link-quiet { color: inherit; font-size: .9063rem; text-underline-offset: 3px; text-decoration-color: rgba(184, 242, 64, .7); }
.path-card-ai .link-quiet { color: #C3CAD5; }
.link-quiet:hover { text-decoration-thickness: 2px; }

/* lead magnet */
.magnet {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px;
  padding: clamp(26px, 4vw, 40px); border-radius: 24px; background: var(--lime-soft); border: 1.5px dashed #A9D45A;
}
.magnet-copy { max-width: 40em; }
.magnet-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 10px; }
.magnet-copy p { margin: 0; color: var(--graphite); }
.magnet-kicker { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--moss) !important; }
.magnet-action { display: grid; justify-items: start; gap: 8px; }
.magnet .btn-lime { background: var(--night); color: var(--white); }
.magnet .btn-lime .prompt { color: var(--lime); }
.magnet .btn-lime:hover { background: var(--graphite); }
.magnet-note { margin: 0; font-size: .875rem; color: var(--slate); }

/* offers */
.offers { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.offer { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.offer-main { background: var(--white); border: 2px solid var(--ink); box-shadow: var(--shadow); }
.offer-later { border-style: dashed; background: transparent; }
.offer-step { margin: 0; font-size: .8125rem; font-weight: 700; color: var(--moss); }
.offer h3 { font-size: 1.5rem; }
.offer-price { margin: 0; font-size: 1.125rem; font-weight: 700; }
.offer-later .offer-price { color: var(--slate); font-weight: 600; }
.offer p { margin: 0; }
.offer > p:not(.offer-step):not(.offer-price) { color: var(--slate); }
.offer-list { list-style: none; display: grid; gap: 8px; margin: 6px 0 14px; }
.offer-list li { display: flex; gap: .55em; font-size: .9688rem; }
.offer-list li::before { content: "✓"; color: var(--moss); font-weight: 800; }
.offer .btn { margin-top: auto; align-self: flex-start; }

.book { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); margin-top: clamp(40px, 6vw, 64px); scroll-margin-top: 96px; }
.book-title { font-size: 1.75rem; margin-bottom: 12px; }
.book-intro > p { color: var(--graphite); }
.book-email a { color: var(--moss); font-weight: 700; text-underline-offset: 3px; }

/* proof slots (rendered only with real content) */
.stories, .quotes, .lab-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.story, .quote { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.story-metric { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.quote-by { margin: 12px 0 0; font-weight: 700; font-size: .9375rem; }
.lab-item a { display: grid; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); text-decoration: none; transition: border-color .2s; }
.lab-item a:hover { border-color: var(--ink); }
.lab-meta { font-size: .8438rem; color: var(--slate); display: flex; gap: .6em; }
.lab-title { font-weight: 700; font-size: 1.0625rem; }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-grid h2 { margin-bottom: 14px; }
.faq { max-width: none; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--white); margin-bottom: 10px; padding: 0 20px; transition: border-color .2s; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq details[open] { border-color: var(--ink); }
.faq summary { padding: 18px 0; }
.faq details p { margin: 0 0 18px; }

/* about (short) */
.about-short { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-short-mark { aspect-ratio: 1; border-radius: 28px; background: var(--night); display: grid; place-items: center; padding: 22%; position: relative; }
.about-short-mark::after { content: ""; position: absolute; inset: 10px; border-radius: 20px; border: 2px dashed rgba(184, 242, 64, .5); }
.about-short h2 { margin-bottom: 14px; }
.about-short .lead { max-width: 44em; }

/* subpages */
.page-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 72px); }
.page-hero-plain { padding-bottom: clamp(24px, 4vw, 40px); }
.page-title { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 18px; max-width: 16em; }
.page-lead { max-width: 40em; }
.page-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.two-col h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.skills-compact { grid-template-columns: 1fr; }
.skills-compact li { padding: 16px 0; }
.chips-gap { margin-top: 8px; }

/* certifications: typeset issuer marks (official badge images replace them when present) */
.certs-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.cert-mark, .cert img { grid-row: 1 / span 2; }
.cert-mark {
  display: grid; place-items: center; min-width: 74px; height: 64px; padding: 0 10px; border-radius: 14px;
  font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.01em; color: var(--white); line-height: 1;
}
.cert-mark sup { font-size: .55em; font-weight: 600; }
.cert-istqb { background: #1F3A68; }
.cert-ireb { background: #0B6E8A; }
.cert-tricentis { background: #1A2B4C; font-size: .9375rem; }
.cert-aws { background: #232F3E; color: #FF9900; font-size: 1.375rem; text-transform: lowercase; }
.cert-ms { background: #FFFFFF; color: #3C3C3C; border: 1px solid var(--line); font-size: .9375rem; }
.cert-isc2 { background: #00843D; }
.cert-name { font-weight: 700; align-self: end; }
.cert-field { font-size: .875rem; color: var(--slate); align-self: start; }

/* uses */
.uses { display: grid; gap: 14px; padding-bottom: clamp(24px, 4vw, 48px); }
.uses-group { display: grid; grid-template-columns: 17em 1fr; gap: 16px 32px; padding: 24px 0; border-top: 1px solid var(--line); }
.uses-head h2 { display: flex; align-items: center; gap: .5em; font-size: 1.1875rem; margin-bottom: 6px; }
.uses-head h2 .ico { color: var(--moss); }
.uses-head p { margin: 0; color: var(--slate); font-size: .9375rem; }
.tools { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.tool { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.tool-sym {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
  font: 800 1rem/1 var(--font-mono); letter-spacing: -0.02em; background: var(--g, var(--night)); color: var(--gc, var(--lime));
}
.tool-name { font-size: .875rem; font-weight: 600; line-height: 1.25; }
.uses-ai { --g: var(--lime); --gc: var(--ink); }
.uses-tm { --g: #E8EEF9; --gc: #1F3A68; }
.uses-auto { --g: var(--night); --gc: var(--lime); }
.uses-api { --g: #FFF1E3; --gc: #9A4A00; }
.uses-ops { --g: #E6F2FB; --gc: #0B5C8A; }
.uses-obs { --g: #F3ECFB; --gc: #5B2A86; }
.uses-code { --g: #EEF1F4; --gc: var(--ink); }
.uses-note { margin: 10px 0 0; font-size: .875rem; color: var(--slate); }

/* prompts */
.prompt-rules { list-style: none; display: grid; gap: 8px; margin-top: 18px; }
.prompt-rules li { display: flex; gap: .6em; align-items: flex-start; color: var(--graphite); }
.prompt-rules .ico { color: var(--moss); margin-top: .15em; }
.prompts { display: grid; gap: 8px; padding-bottom: 24px; }
.prompt-group { padding-top: 28px; border-top: 1px solid var(--line); }
.prompt-group h2 { font-size: 1.5rem; margin-bottom: 16px; }
.prompt-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.prompt-card { border: 1px solid var(--line); border-radius: 18px; background: var(--white); overflow: hidden; scroll-margin-top: 96px; }
.prompt-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px dashed var(--line); }
.prompt-num { font: 700 .8125rem/1 var(--font-mono); color: var(--moss); }
.prompt-head h3 { font-size: 1.0625rem; flex: 1; }
.copy-btn {
  display: inline-flex; align-items: center; gap: .4em; padding: 7px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper); font: 600 .8438rem/1 var(--font-sans); color: var(--ink);
  transition: border-color .2s, background-color .2s;
}
.copy-btn .ico { width: 15px; height: 15px; }
.copy-btn:hover { border-color: var(--ink); }
.copy-btn.is-done { background: var(--lime); border-color: var(--lime); }
.prompt-text { margin: 0; padding: 16px; white-space: pre-wrap; overflow-wrap: anywhere; font: 500 .875rem/1.6 var(--font-mono); color: var(--graphite); background: var(--white); }

/* footer v5 */
.footer-grid { padding: 48px 0 36px; }
.footer-langs a[aria-current="true"] { color: var(--lime); }
.footer-mail { display: inline-flex; align-items: center; gap: .45em; }
.footer-mail .ico { width: 16px; height: 16px; color: var(--lime); }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a { color: #AEB6C3; text-decoration: none; }
.footer-legal a:hover { color: var(--lime); }
.site-footer .footer-col a { color: #AEB6C3; }
.site-footer .footer-col a:hover { color: var(--lime); }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
    transition: transform .25s var(--ease), background-color .2s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgba(17, 24, 39, .25);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-list a { font-size: 1.125rem; padding: 12px 4px; background-position: 4px calc(100% - 6px); }
  .nav-list a:hover { background-size: 60px 3px; }
  .nav-tools { justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }

  .hero-grid, .about-grid, .contact-grid, .section-head-split { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .portrait { position: relative; top: auto; max-width: 420px; margin-bottom: 18px; }

  /* the path turns vertical: the thread runs down the left */
  .path { grid-template-columns: 1fr; gap: 0; }
  .path::before { left: 23px; right: auto; top: 24px; bottom: 24px; width: 4px; height: auto;
    background: repeating-linear-gradient(180deg, var(--lime) 0 14px, transparent 14px 22px); }
  .path-step { display: grid; grid-template-columns: 50px 1fr; column-gap: 18px; padding-bottom: 26px; }
  .path-step > :not(.path-node) { grid-column: 2; }
  .path-node { grid-row: 1 / span 3; }
  .path-level { margin-top: 12px; width: fit-content; }

  .ways { grid-template-columns: 1fr; }
  .way, .way + .way { padding: 22px 0; border-left: 0; }
  .way + .way { border-top: 1px solid var(--line); }
  .skills { grid-template-columns: 1fr; }
  .toolbox > div { grid-template-columns: 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand img { width: 136px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .term { font-size: .8125rem; }
  .stats > div:nth-child(n + 3) { border-top: 1px dashed var(--line); margin-top: 18px; }
  .ticker-label { padding: 14px 14px 14px var(--gutter); font-size: .875rem; }
  .field-row { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; justify-content: center; }
  .footer-cta-actions { width: 100%; }
  .footer-cta-actions .btn { flex: 1 1 auto; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track, .caret { animation: none !important; }
  .ticker-toggle { display: none; }
}

/* v5 responsive (kept after the base rules on purpose) */
@media (max-width: 1080px) {
  .hero-tag { left: -8px; }
}
@media (max-width: 920px) {
  .hero-photo { justify-self: start; max-width: 380px; }
  .paths, .offers, .stories, .quotes, .lab-list { grid-template-columns: 1fr; }
  .book, .faq-grid, .two-col { grid-template-columns: 1fr; }
  .about-short { grid-template-columns: 140px 1fr; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .uses-group { grid-template-columns: 1fr; }
  .prompt-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-photo { max-width: none; }
  .hero-tag { left: 12px; bottom: 22px; }
  .about-short { grid-template-columns: 1fr; }
  .about-short-mark { width: 120px; }
  .certs-grid { grid-template-columns: 1fr; }
  .magnet-action, .magnet-action .btn { width: 100%; justify-content: center; }
  .page-cta .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .seam-line { animation: none; }
}

/* =========================================================
   v6 — language menu, about card, FAQ filter, emblems, motion
   ========================================================= */
/* language menu */
.lang-menu { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font: 700 .875rem/1 var(--font-sans);
  transition: border-color .2s, box-shadow .25s var(--ease);
}
.lang-btn .ico { width: 17px; height: 17px; color: var(--moss); }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--ink); box-shadow: 0 0 0 4px var(--lime-soft); }
.lang-chev { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.lang-btn[aria-expanded="true"] .lang-chev { transform: translateY(1px) rotate(225deg); }
.lang-list {
  list-style: none; position: absolute; right: 0; top: calc(100% + 10px); min-width: 200px; padding: 6px; z-index: 60;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(14, 17, 22, .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.97); transform-origin: top right;
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.lang-menu.is-open .lang-list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lang-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; transition: background-color .15s; }
.lang-list a:hover, .lang-list a:focus-visible { background: var(--paper); }
.lang-code { display: inline-grid; place-items: center; min-width: 34px; height: 24px; border-radius: 6px; background: var(--snow); font: 700 .75rem/1 var(--font-mono); }
.lang-list a[aria-current="true"] { font-weight: 700; }
.lang-list a[aria-current="true"] .lang-code { background: var(--lime); }
.lang-list a[aria-current="true"]::after { content: "✓"; margin-left: auto; color: var(--moss); font-weight: 800; }

/* about card (home) */
.about-short { grid-template-columns: 300px 1fr; }
.about-card { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--night); box-shadow: var(--shadow-lg); }
.about-card-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.about-card::after { content: ""; position: absolute; inset: 12px; border-radius: 18px; border: 2px dashed rgba(184, 242, 64, .85); pointer-events: none; }
.about-card-mark { position: absolute; z-index: 1; right: 18px; top: 18px; width: 64px; padding: 12px; border-radius: 14px; background: var(--night); box-shadow: var(--shadow); }
.about-card-tag { position: absolute; z-index: 1; left: 22px; bottom: 22px; padding: 8px 12px; border-radius: 10px; background: var(--lime); color: var(--ink); font: 700 .8125rem/1 var(--font-mono); }
.about-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 24px; }
.about-facts li { padding: 12px 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); color: var(--slate); font-size: .9375rem; }
.about-facts strong { display: block; font-size: 1.5rem; color: var(--ink); letter-spacing: -0.03em; }

/* FAQ filter */
.faq-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip-btn { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font: 600 .9063rem/1 var(--font-sans); color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, transform .15s; }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn:active { transform: scale(.97); }
.chip-btn[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: var(--white); }
.faq details[hidden] { display: none; }
.faq details { transition: border-color .2s, box-shadow .25s var(--ease); }
.faq details:hover { box-shadow: var(--shadow); }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* certification emblems (original drawings, not issuer logos) */
.certs-grid { grid-template-columns: repeat(4, 1fr); }
.cert { grid-template-columns: 1fr; grid-template-rows: auto; justify-items: start; row-gap: 8px; padding: 20px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.cert-mark { min-width: 0; height: auto; padding: 0; background: none; grid-row: auto; }
.emblem { width: 58px; height: 66px; filter: drop-shadow(0 8px 14px rgba(14, 17, 22, .18)); transition: transform .4s var(--ease); }
.cert:hover .emblem { transform: rotate(-6deg) scale(1.05); }
.cert-name { line-height: 1.3; }
.pubs { list-style: none; display: grid; gap: 10px; margin-bottom: 8px; }
.pubs li { padding: 12px 14px; border-left: 3px solid var(--lime); background: var(--white); border-radius: 0 12px 12px 0; font-size: .9375rem; }
.pubs span { display: block; margin-top: 4px; font-size: .8125rem; color: var(--slate); font-weight: 600; }

/* prompts navigation */
.prompt-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 8px; }
.prompt-nav a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-weight: 600; font-size: .875rem; transition: border-color .2s, background-color .2s; }
.prompt-nav a:hover { border-color: var(--ink); background: var(--lime-soft); }
.prompt-nav span { font: 700 .75rem/1 var(--font-mono); color: var(--moss); }
.prompt-group { scroll-margin-top: 96px; }

/* motion: hero entrance + scroll reveals (pure CSS, respects reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .hero-photo { animation: photo-in 1s .15s var(--ease) both; }
  .hero-tag { animation: rise .7s .7s var(--ease) both; }
  @supports (animation-timeline: view()) {
    .path-card, .offer, .cert, .faq details, .about-card, .about-facts li, .tool, .prompt-card, .stats > div, .magnet {
      animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
    }
  }
  .path-card, .offer, .tool { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s; }
  .path-card:hover, .offer:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -26px rgba(14, 17, 22, .4); }
  .tool:hover { transform: translateY(-3px); border-color: var(--ink); }
  .cert:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .btn-primary:hover .prompt { animation: blink 1s steps(1) infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes photo-in { from { opacity: 0; transform: translateY(24px) rotate(2deg) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 920px) {
  .about-short { grid-template-columns: 1fr; }
  .about-card { max-width: 320px; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .lang-list { right: auto; left: 0; transform-origin: top left; }
}
@media (max-width: 600px) {
  .certs-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   v7 — motion & UI polish (Emil Kowalski principles)
   ========================================================= */
:root { --ease-out: cubic-bezier(.23, 1, .32, 1); --ease-in-out: cubic-bezier(.77, 0, .175, 1); }

/* buttons: press feedback, arrow slide, shine sweep */
.btn { overflow: hidden; isolation: isolate; transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 250ms var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn-primary { box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 10px 24px -12px rgba(14,17,22,.6); }
.btn-arrow { width: 16px; height: 16px; color: var(--lime); transition: transform 200ms var(--ease-out); }
.btn-shine::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(184,242,64,.35) 50%, transparent 70%);
  transform: translateX(-120%);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { box-shadow: 0 0 0 4px var(--lime-soft), 0 16px 30px -14px rgba(14,17,22,.7); }
  .btn:hover .btn-arrow { transform: translate(3px, -3px); }
  .btn-shine:hover::before { transform: translateX(120%); transition: transform 700ms var(--ease-out); }
}
@media (prefers-reduced-motion: no-preference) {
  .btn-shine::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -2; pointer-events: none;
    box-shadow: 0 0 0 0 rgba(184,242,64,.55); animation: pulse-ring 2.8s 1.6s var(--ease-out) infinite; }
}
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(184,242,64,.55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(184,242,64,0); } }
.nav-cta { margin-left: 4px; }

/* hero */
.hero-actions { gap: 16px 26px; }
.hero-about {
  position: absolute; right: 18px; top: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px;
  border-radius: 999px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); text-decoration: none; font-weight: 700; font-size: .875rem;
  box-shadow: var(--shadow); transition: transform 200ms var(--ease-out), background-color .2s;
}
.hero-about .ico { width: 14px; height: 14px; color: var(--moss); transition: transform 200ms var(--ease-out); }
@media (hover: hover) { .hero-about:hover { background: var(--lime); } .hero-about:hover .ico { transform: translate(2px, -2px); } }
.stats dt { font-variant-numeric: tabular-nums; }

/* start cards: free first */
.path-sub { margin: 8px 0 0; font-size: .8125rem; font-weight: 700; color: var(--moss); }
.path-card-ai .path-sub { color: var(--lime); }
.res-links { list-style: none; display: grid; gap: 6px; margin: 4px 0 14px; }
.res-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 600; font-size: .9375rem; transition: transform 200ms var(--ease-out), border-color .2s, background-color .2s; }
.res-link .ico { width: 17px; height: 17px; color: var(--moss); flex: none; }
.path-card-ai .res-link { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #E6EAF0; }
.path-card-ai .res-link .ico { color: var(--lime); }
@media (hover: hover) { .res-link:hover { transform: translateX(4px); border-color: var(--ink); } .path-card-ai .res-link:hover { border-color: var(--lime); } }
.soon { margin-left: auto; padding: 3px 8px; border-radius: 999px; font-size: .6875rem; font-weight: 700; background: var(--snow); color: var(--slate); }
.path-card-ai .soon { background: rgba(255,255,255,.1); color: #C3CAD5; }
.path-card .link-quiet { margin-top: auto; }

/* resources hub */
.res-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.res-card { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out), border-color .2s; }
a.res-card { border: 2px solid var(--ink); }
.res-card h3 { font-size: 1.0625rem; }
.res-card p { margin: 0; color: var(--slate); font-size: .9063rem; }
.res-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--lime-soft); }
a.res-card .res-icon { background: var(--lime); }
.res-icon .ico { width: 21px; height: 21px; }
.res-tag { position: absolute; top: 18px; right: 18px; padding: 4px 8px; border-radius: 6px; background: var(--night); color: var(--lime); font: 700 .75rem/1 var(--font-mono); }
.res-go { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .875rem; }
a.res-card .res-go::after { content: " ↗"; color: var(--moss); }
.res-card.is-soon { background: transparent; border-style: dashed; }
.res-card.is-soon .res-go { color: var(--slate); font-weight: 600; }
@media (hover: hover) { a.res-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(14,17,22,.45); } }

/* mentoring: compact two-column panel */
.book { margin-top: 0; padding: clamp(22px, 3.5vw, 36px); border-radius: 28px; background: var(--night); color: #E6EAF0; grid-template-columns: .9fr 1.1fr; align-items: start; position: relative; overflow: hidden; }
.book::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px 260px at 0% 0%, rgba(184,242,64,.16), transparent 70%); }
.book > * { position: relative; }
.book .book-title { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.book-intro > p { color: #B6BFCC; }
.kicker { display: inline-block; margin: 0 0 10px; padding: 4px 10px; border-radius: 999px; background: rgba(184,242,64,.15); color: var(--lime) !important; font-size: .8125rem; font-weight: 700; }
.book .offer-list li { color: #E6EAF0; }
.book .offer-list li::before { color: var(--lime); }
.book .offer-price { color: var(--white); font-size: 1rem; }
.book .book-email a { color: var(--lime); }
.book .contact-form { background: var(--white); color: var(--ink); padding: 22px; border-radius: 20px; }
.book .field { margin-bottom: 12px; }
.book .field input, .book .field select, .book .field textarea { padding: 10px 12px; }
.book .field textarea { min-height: 96px; }
.book .privacy-note { margin: 4px 0 10px; font-size: .8125rem; }

/* FAQ: tighter, two columns of questions */
.faq-grid { grid-template-columns: .55fr 1.45fr; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.faq-filter { grid-column: 1 / -1; margin-bottom: 4px; }
.faq details { margin: 0; padding: 0 16px; border-radius: 14px; }
.faq summary { padding: 13px 0; font-size: .9688rem; gap: 12px; }
.faq summary::after { width: 26px; height: 26px; font-size: 1rem; }
.faq details p { margin: 0 0 14px; font-size: .9375rem; }

/* certifications: tile with emblem stage */
.cert { padding: 0; overflow: hidden; background: var(--white); border-radius: 20px; row-gap: 4px; }
.cert-mark {
  width: 100%; display: flex; justify-content: center; padding: 22px 0 18px; margin-bottom: 8px;
  background: radial-gradient(120px 80px at 50% 40%, rgba(184,242,64,.22), transparent 70%), var(--night);
  background-image: radial-gradient(120px 80px at 50% 40%, rgba(184,242,64,.22), transparent 70%), linear-gradient(rgba(242,244,247,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(242,244,247,.05) 1px, transparent 1px);
  background-size: auto, 16px 16px, 16px 16px; background-color: var(--night);
}
.emblem { width: 70px; height: 80px; }
.cert-name, .cert-field { padding: 0 18px; }
.cert-field { padding-bottom: 18px; }

/* uses: livelier tiles */
.tool { grid-template-columns: auto 1fr; align-items: center; gap: 10px; padding: 10px 12px; }
.tool-sym { width: 38px; height: 38px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); transition: transform 300ms var(--ease-out); }
@media (hover: hover) { .tool:hover .tool-sym { transform: rotate(-8deg) scale(1.08); } }

/* about: pillars */
.pillars { display: grid; gap: 14px; margin-top: 16px; }
.pillar { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.pillar > :not(.skill-icon) { grid-column: 2; }
.pillar .skill-icon { grid-row: 1 / span 2; }
.pillar h3 { font-size: 1.125rem; margin: 2px 0 8px; }
.pillar ul { list-style: none; display: grid; gap: 6px; }
.pillar li { position: relative; padding-left: 18px; color: var(--slate); font-size: .9375rem; }
.pillar li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 3px; background: var(--lime); border-radius: 2px; }

/* stagger the hero once */
@media (prefers-reduced-motion: no-preference) {
  .paths .path-card:nth-child(2) { animation-delay: 60ms; }
  .res-grid li { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 50%; }
}
@supports not (animation-timeline: view()) { .res-grid li { animation: none; } }

@media (max-width: 1080px) { .res-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 920px) {
  .nav-cta { align-self: flex-start; }
  .book, .faq-grid { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .res-grid { grid-template-columns: 1fr; } }

/* about page: smaller portrait */
.page-hero .about-grid { grid-template-columns: 300px 1fr; }
.page-hero .portrait { max-width: 300px; }
.page-hero .portrait img { aspect-ratio: 1 / 1; }
@media (max-width: 920px) { .page-hero .about-grid { grid-template-columns: 1fr; } .page-hero .portrait { max-width: 220px; } }
.nav-list a { white-space: nowrap; padding: 8px 10px; }
.site-nav { gap: 18px; }
@media (max-width: 1120px) and (min-width: 921px) { .nav-list a { font-size: .9063rem; padding: 8px 7px; } .nav-cta .prompt { display: none; } }

/* =========================================================
   v8 — page transitions, carousel, flip cards, repos, footer row
   ========================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 180ms var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in 320ms var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* header nav: underline that slides between items */
.nav-list { position: relative; }
.nav-list a { position: relative; }
.nav-list a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 3px; border-radius: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out); }
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }
.nav-list a { background-image: none !important; }

/* hero topic chips */
.topic-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.topic-chips a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font: 700 .875rem/1 var(--font-mono); text-decoration: none; transition: transform 160ms var(--ease-out), background-color .2s, border-color .2s; }
.topic-chips a:hover { background: var(--lime); border-color: var(--lime); transform: translateY(-2px); }
.topic-chips a:active { transform: scale(.96); }
@media (prefers-reduced-motion: no-preference) {
  .topic-chips li { animation: rise .6s var(--ease-out) both; }
  .topic-chips li:nth-child(2) { animation-delay: .05s; } .topic-chips li:nth-child(3) { animation-delay: .1s; }
  .topic-chips li:nth-child(4) { animation-delay: .14s; } .topic-chips li:nth-child(5) { animation-delay: .18s; }
}

/* paths carousel */
.carousel { position: relative; }
.carousel-tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: 20px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.ctab { position: relative; z-index: 1; padding: 10px 16px; border: 0; border-radius: 999px; background: none; font: 600 .9375rem/1 var(--font-sans); color: var(--graphite); cursor: pointer; transition: color 200ms ease; }
.ctab[aria-selected="true"] { color: var(--white); }
.ctab:active { transform: scale(.97); }
.ctab-ind { position: absolute; z-index: 0; top: 5px; left: 0; height: calc(100% - 10px); width: 0; border-radius: 999px; background: var(--night); transition: transform 300ms var(--ease-in-out), width 300ms var(--ease-in-out); }
.slides { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(520px, 86%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); transition: transform 300ms var(--ease-out), opacity 300ms ease, box-shadow 300ms var(--ease-out); opacity: .55; transform: scale(.97); }
.slide.is-active { opacity: 1; transform: none; box-shadow: 0 26px 50px -30px rgba(14,17,22,.45); }
.slide-dark { background: var(--night); border-color: var(--night); color: #E6EAF0; }
.slide-dark .path-icon { background: var(--lime); }
.slide-head { display: flex; justify-content: space-between; align-items: center; }
.slide-n { font: 800 2.4rem/1 var(--font-mono); color: var(--line); letter-spacing: -0.05em; }
.slide-dark .slide-n { color: rgba(255,255,255,.12); }
.slide h3 { font-size: 1.5rem; }
.slide-dark .path-for { color: #9AA3B2; }
.steps { list-style: none; display: grid; gap: 8px; margin: 6px 0 8px; }
.steps li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--paper); font-weight: 600; font-size: .9688rem; }
.slide-dark .steps li { background: rgba(255,255,255,.06); }
.step-n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--ink); font: 800 .8125rem/1 var(--font-mono); }
.slide-links { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; align-items: center; }
.slide-dark .link-arrow { color: var(--white); }
.slide-dark .link-quiet { color: #C3CAD5; }
.carousel-nav { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.cbtn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; transition: transform 160ms var(--ease-out), background-color .2s, border-color .2s; }
.cbtn[data-dir="-1"] .ico { transform: rotate(180deg); }
.cbtn:hover { background: var(--lime); border-color: var(--lime); }
.cbtn:active { transform: scale(.94); }
.cbar { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.cbar span { display: block; height: 100%; width: 20%; background: var(--night); border-radius: 2px; transition: transform 300ms var(--ease-in-out); }

/* flip cards */
.res-grid { grid-template-columns: repeat(4, 1fr); }
.flip { position: relative; perspective: 1000px; min-height: 210px; }
.flip-inner { position: relative; width: 100%; height: 100%; min-height: 210px; padding: 0; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; transition: transform 600ms var(--ease-in-out); text-align: left; font: inherit; color: inherit; }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-front { background: var(--night); color: var(--white); box-shadow: 0 18px 34px -24px rgba(14,17,22,.7); }
.flip-front .res-icon { background: var(--lime); }
.flip-title { font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em; line-height: 1.25; }
.flip-hint { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: #9AA3B2; }
.flip-hint .ico { width: 14px; height: 14px; color: var(--lime); }
.flip-back { transform: rotateY(180deg); background: var(--lime-soft); border: 1.5px dashed #A9D45A; padding-bottom: 64px; }
.flip-text { color: var(--graphite); font-size: .9375rem; }
.flip:not(.is-live) .flip-front { background: var(--graphite); }
.flip .res-tag { background: var(--lime); color: var(--ink); }
.flip-action { position: absolute; left: 20px; bottom: 18px; opacity: 0; pointer-events: none; transition: opacity 200ms ease 200ms; }
.flip.is-flipped .flip-action { opacity: 1; pointer-events: auto; }
.soon-pill { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--white); font-weight: 700; font-size: .8125rem; color: var(--slate); }
@media (hover: hover) { .flip:not(.is-flipped) .flip-inner:hover { transform: rotateY(-8deg) translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .flip-inner { transition: none; } }

/* GitHub repos */
.gh-ico { width: 1em; height: 1em; vertical-align: -0.12em; }
.repos { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.repo { display: grid; gap: 8px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); font-family: var(--font-sans); transition: transform 250ms var(--ease-out), border-color .2s; }
.repo:hover { transform: translateY(-3px); border-color: var(--ink); }
.repo-top { display: flex; align-items: center; gap: 8px; }
.repo-top .ico { width: 18px; height: 18px; }
.repo-name { font: 700 .875rem/1.3 var(--font-mono); color: var(--moss); word-break: break-all; }
.repo-desc { color: var(--slate); font-size: .9063rem; }
.repo-meta { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--slate); font-weight: 600; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #E3B341; }

/* mentoring topics as chips */
.ment-topics { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.ment-topics li { padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(184,242,64,.4); background: rgba(255,255,255,.05); color: #E6EAF0; font-size: .875rem; font-weight: 600; }

/* FAQ: bigger, livelier filter */
.chip-btn { padding: 12px 20px; font-size: 1rem; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.chip-btn:active { transform: scale(.96); }
.faq details { transition: border-color .2s, box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
.faq details:not([hidden]) { animation: rise .35s var(--ease-out) both; }
.faq details[open] { background: var(--night); border-color: var(--night); color: #E6EAF0; }
.faq details[open] summary::after { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.faq details[open] p { color: #C3CAD5; }

/* footer: one compact row */
.site-footer { padding-bottom: 20px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 26px var(--gutter) 22px; }
.footer-logo img { width: 140px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: #C3CAD5; text-decoration: none; font-weight: 600; font-size: .9375rem; position: relative; }
.footer-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease-out); }
.footer-links a:hover { color: var(--white); }
.footer-links a:hover::after { transform: scaleX(1); }
.site-footer .social-row { margin: 0; }
.site-footer .footer-bottom { padding-top: 16px; margin-top: 0; }

@media (max-width: 1080px) { .res-grid { grid-template-columns: repeat(2, 1fr); } .repos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .res-grid, .repos { grid-template-columns: 1fr; } .carousel-tabs { border-radius: 18px; } .footer-row { flex-direction: column; align-items: flex-start; } }
.brand, .footer-logo { flex: none; }
.brand img { width: 150px; min-width: 150px; }
.footer-logo img { width: 140px; min-width: 140px; height: auto; display: block; }
@media (max-width: 1180px) and (min-width: 921px) { .nav-list a { font-size: .875rem; padding: 8px 6px; } .site-nav { gap: 12px; } }

/* =========================================================
   v9 — hero terminal, meet block, prompt search, pillars
   ========================================================= */
.hero-term { position: relative; justify-self: end; width: 100%; max-width: 470px; border-radius: 22px; background: var(--night); color: #E6EAF0; box-shadow: var(--shadow-lg); overflow: visible; }
.hero-term::before { content: ""; position: absolute; inset: 10px; top: 46px; border-radius: 14px; border: 2px dashed rgba(184,242,64,.35); pointer-events: none; }
.ht-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.08); font: 600 .8125rem/1 var(--font-mono); color: #8B95A7; }
.ht-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3A4252; }
.ht-bar i:first-child { background: var(--lime); }
.ht-bar span { margin-left: 8px; }
.ht-body { padding: 22px 24px 26px; font: 500 .9375rem/1.9 var(--font-mono); }
.ht-l { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ht-p { color: var(--lime); font-weight: 700; }
.ht-ok { color: var(--lime); font-weight: 800; }
.ht-l:nth-child(even) { color: #B6BFCC; padding-left: 1.6em; }
.ht-badge { position: absolute; padding: 8px 12px; border-radius: 999px; font: 800 .8125rem/1 var(--font-mono); box-shadow: var(--shadow); }
.ht-badge.b1 { top: -14px; right: 26px; background: var(--lime); color: var(--ink); }
.ht-badge.b2 { bottom: 40px; left: -18px; background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.ht-badge.b3 { bottom: -14px; right: 60px; background: var(--white); color: var(--ink); border: 1px solid var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .ht-l { opacity: 0; animation: type-in .45s var(--ease-out) forwards; }
  .ht-l.l1 { animation-delay: .5s; } .ht-l.l2 { animation-delay: 1.1s; } .ht-l.l3 { animation-delay: 1.7s; }
  .ht-l.l4 { animation-delay: 2.3s; } .ht-l.l5 { animation-delay: 2.9s; } .ht-l.l6 { animation-delay: 3.5s; }
  .ht-badge { animation: float 6s ease-in-out infinite; } .ht-badge.b2 { animation-delay: -2s; } .ht-badge.b3 { animation-delay: -4s; }
}
@keyframes type-in { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* meet the mentor */
.meet { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(22px, 3vw, 32px); border-radius: 28px; background: var(--white); border: 1px solid var(--line); }
.meet-photo { margin: 0; position: relative; }
.meet-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; }
.meet-photo::after { content: ""; position: absolute; inset: 8px; border-radius: 16px; border: 2px dashed rgba(184,242,64,.9); pointer-events: none; }
.meet-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.meet-body .lead { margin-bottom: 14px; max-width: 46em; }

/* carousel: pointer feel */
.slides { cursor: grab; }
.slides.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.carousel-tabs { max-width: 100%; }

/* flip cards: nicer faces */
.flip-front { background: linear-gradient(160deg, #1A2130 0%, var(--night) 60%); }
.flip-front::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; border: 2px dashed rgba(184,242,64,.25); }
.flip-back { background: linear-gradient(160deg, var(--lime-soft), #F6FCE9); }

/* mentoring chips: more of them, a bit smaller */
.ment-topics li { font-size: .8438rem; padding: 7px 11px; transition: transform 160ms var(--ease-out), background-color .2s; }
.ment-topics li:nth-child(n+6) { border-color: rgba(184,242,64,.7); }
@media (hover: hover) { .ment-topics li:hover { transform: translateY(-2px); background: rgba(184,242,64,.15); } }

/* prompts: search + filter */
.prompt-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 14px; }
.prompt-search { flex: 1 1 360px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.prompt-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--lime-soft); }
.prompt-search .ico { color: var(--moss); }
.prompt-search input { flex: 1; border: 0; outline: 0; padding: 14px 0; font: 500 1rem/1.2 var(--font-sans); background: transparent; }
.prompt-count { margin: 0; font-weight: 700; color: var(--slate); }
.prompt-nav a.is-active { background: var(--night); border-color: var(--night); color: var(--white); }
.prompt-nav a.is-active span { color: var(--lime); }
.prompt-card[hidden], .prompt-group[hidden] { display: none; }
mark.hl { background: var(--lime); color: inherit; border-radius: 3px; padding: 0 2px; }

/* about: pillars as accordions */
.pillars-lead { color: var(--slate); margin: 4px 0 14px; }
.pillars-tabs .pillar { display: block; padding: 0; overflow: hidden; }
.pillars-tabs summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; font-weight: 800; font-size: 1.0625rem; }
.pillars-tabs summary::-webkit-details-marker { display: none; }
.pillars-tabs summary::after { content: "+"; margin-left: auto; font: 700 1.125rem/1 var(--font-mono); color: var(--moss); transition: transform 200ms var(--ease-out); }
.pillars-tabs .pillar[open] { border-color: var(--ink); }
.pillars-tabs .pillar[open] summary::after { transform: rotate(45deg); }
.pillars-tabs .pillar ul { padding: 0 18px 16px 76px; }
@supports (interpolate-size: allow-keywords) {
  .pillars-tabs .pillar::details-content { height: 0; overflow: clip; transition: height .3s var(--ease-out), content-visibility .3s allow-discrete; }
  .pillars-tabs .pillar[open]::details-content { height: auto; }
}

@media (max-width: 920px) {
  .hero-term { justify-self: start; }
  .ht-badge.b2 { left: -6px; }
  .meet { grid-template-columns: 140px 1fr; }
}
@media (max-width: 600px) { .meet { grid-template-columns: 1fr; } .meet-photo { max-width: 160px; } .ht-body { font-size: .8125rem; padding: 18px; } }
.carousel-tabs { border-radius: 22px; }
.ctab-ind { top: 0; }
.tool-logo { background: var(--white) !important; border: 1px solid var(--line); box-shadow: none; }
.tool-logo img { width: 22px; height: 22px; }

/* v10: stats live in the meet-the-mentor block, not the hero */
.meet-body .stats { margin: 6px 0 18px; border-top: 1px solid var(--line); }
.meet-body .stats > div { padding: 14px 14px 0 0; }
.meet-body .stats dt { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.meet-body .stats dd { font-size: .8438rem; }
@media (max-width: 1100px) { .meet-body .stats { grid-template-columns: repeat(2, 1fr); } }

/* v10: header fits 921–1100px in every language (UK labels are the longest) */
@media (max-width: 1100px) and (min-width: 921px) {
  .header-inner { gap: 14px; }
  .brand img { width: 144px; height: auto; }
  .site-nav { gap: 10px; }
  .nav-list a { font-size: .8438rem; padding: 8px 5px; }
  .nav-tools { gap: 8px; }
  .nav-cta { padding-inline: 14px; }
}
@media (max-width: 1000px) and (min-width: 921px) {
  .brand img { width: 116px; }
  .header-inner { gap: 10px; }
  .site-nav { gap: 6px; }
  .nav-list a { font-size: .8125rem; padding: 8px 4px; }
  .nav-cta { padding-inline: 12px; }
  .nav-list .nav-gh { display: none; } /* 921–1000px only: the GitHub section is still on the page, and the burger menu below 921px lists it */
}
