/* rizqifauzan.com
   Type: Schibsted Grotesk (text) and Martian Mono (code only).
   Colour: green means passed or available, red failed, amber blocked. Nothing else is green. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("fonts/martian-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: #f3f5f1;
  --raised: #ffffff;
  --ink: #14201b;
  --ink-2: #4f5d56;
  --ink-3: #7a8781;
  --line: #d6ddd7;
  --line-2: #bcc7c0;
  --pass: #11804d;
  --pass-2: #0b6b3f;
  --pass-wash: #dcefe3;
  --pass-soft: #5aa97f;
  --fail: #b13a27;
  --fail-wash: #f8e2dd;
  --block: #8a5a0e;
  --block-wash: #f5ead2;
  --skip: #8a958f;
  --btn: #14201b;
  --btn-ink: #f3f5f1;
  --btn-hover: #2a3a33;

  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --page: 75rem;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --r: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1513;
    --raised: #161e1b;
    --ink: #e2e9e5;
    --ink-2: #a3b0a9;
    --ink-3: #6f7c76;
    --line: #25302b;
    --line-2: #36443d;
    --pass: #4cd596;
    --pass-2: #7be3b1;
    --pass-wash: #133426;
    --pass-soft: #3e8e66;
    --fail: #f2826d;
    --fail-wash: #3b1d18;
    --block: #e3b055;
    --block-wash: #352910;
    --skip: #7f8c85;
    --btn: #e2e9e5;
    --btn-ink: #0f1513;
    --btn-hover: #c4cfc9;
  }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--line-2);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: text-decoration-color .15s;
}
a:hover { text-decoration-color: currentColor; }

:focus-visible {
  outline: 2px solid var(--pass);
  outline-offset: 3px;
  border-radius: 4px;
}

.nowrap { white-space: nowrap; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: .75rem;
  top: -3.5rem;
  z-index: 50;
  padding: .6rem 1rem;
  border-radius: 8px;
  background: var(--btn);
  color: var(--btn-ink);
  font-weight: 650;
  text-decoration: none;
}
.skip:focus { top: .75rem; }

.wrap {
  width: 100%;
  max-width: calc(var(--page) + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .55rem 1.15rem;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: 650 .9375rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { border-color: var(--ink); }
.btn-primary {
  background: var(--btn);
  border-color: var(--btn);
  color: var(--btn-ink);
}
.btn-primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn-lg { min-height: 3.25rem; padding-inline: 1.4rem; font-size: 1.0625rem; }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 3.75rem;
}
.brand {
  font-weight: 760;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
  font-size: .9375rem;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
}
.nav-links a:hover { color: var(--ink); }
.avail {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .8rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
}
.dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--pass);
  box-shadow: 0 0 0 3px var(--pass-wash);
}

@media (max-width: 52rem) {
  .nav-links { display: none; }
  .avail { margin-left: auto; }
}
@media (max-width: 30rem) {
  .nav-in { gap: 1rem; }
  .brand-mid { display: none; }
}
@media (max-width: 23rem) {
  .avail { font-size: .8125rem; padding: .25rem .6rem; }
}

/* ---------- Hero: a feature file that runs ---------- */

.hero {
  --step: clamp(1.375rem, .95rem + 1.95vw, 2.5rem);
  --kws: clamp(.75rem, .62rem + .4vw, 1.0625rem);
  --num: calc(var(--kws) * 2.2);
  --st: calc(var(--step) * 1.3);
  --kwc: calc(var(--kws) * 6.3);
  --cols: var(--num) var(--st) var(--kwc) minmax(0, 1fr);
  padding-block: clamp(2.75rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6rem);
  overflow-x: clip;
}

.feature { counter-reset: ln; }

.ln {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: var(--cols);
  align-items: baseline;
  column-gap: .75rem;
}
.ln::before {
  counter-increment: ln;
  content: counter(ln);
  content: counter(ln) / "";
  grid-column: 1;
  font-family: var(--mono);
  font-size: var(--kws);
  font-stretch: 87.5%;
  line-height: 1;
  color: var(--ink-3);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ln > .status { grid-column: 2; justify-self: center; }
.ln > .kw {
  grid-column: 3;
  justify-self: end;
  font-family: var(--mono);
  font-size: var(--kws);
  font-weight: 500;
  font-stretch: 87.5%;
  line-height: 1;
  color: var(--ink-2);
  white-space: nowrap;
}
.ln > .txt { grid-column: 4; }

.name {
  font-size: clamp(2.75rem, 1.15rem + 5.6vw, 5.5rem);
  font-weight: 820;
  line-height: .98;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.ln-feature { margin-bottom: .9rem; }

.ln-desc .txt {
  font-size: clamp(1.125rem, 1rem + .55vw, 1.5rem);
  line-height: 1.35;
  color: var(--ink-2);
}
.ln-blank { height: clamp(1.75rem, 3.6vw, 2.5rem); align-items: center; }

.ln-scenario { margin-bottom: .45rem; }
.ln-scenario .txt {
  font-size: clamp(1.125rem, .95rem + .75vw, 1.625rem);
  font-weight: 700;
  line-height: 1.3;
}

.step {
  font-size: var(--step);
  font-weight: 640;
  line-height: 1.18;
  letter-spacing: -.014em;
  padding-block: .2em;
  margin-block: .14em;
}
.step .txt { text-wrap: pretty; }

/* The passed-row wash, like a Cucumber HTML report */
.step::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(var(--num) + .75rem);
  right: 0;
  border-radius: 10px;
  background: var(--pass-wash);
  clip-path: inset(0 0 0 0 round 10px);
  transition: opacity .3s ease, clip-path .5s cubic-bezier(.2, .7, .2, 1);
}

.status { line-height: 1; }
.status svg {
  display: inline-block;
  width: .86em;
  height: .86em;
  vertical-align: -.1em;
  overflow: visible;
}
.status .ring { fill: none; stroke: var(--ink-3); stroke-width: 1.6; opacity: 0; }
.status .arc {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  opacity: 0;
  transform-origin: 10px 10px;
}
.status .dot { fill: var(--pass); }
.status .tick {
  fill: none;
  stroke: var(--raised);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14;
  stroke-dashoffset: 0;
}

/* Pending and running states exist only while the run animates */
.will-run .step:not([data-state="passed"])::after {
  opacity: 0;
  clip-path: inset(0 100% 0 0 round 10px);
}
.will-run .step:not([data-state="passed"]) .dot,
.will-run .step:not([data-state="passed"]) .tick { opacity: 0; }
.will-run .step:not([data-state="passed"]) .ring { opacity: 1; }
.will-run .step:not([data-state="passed"]) .txt { color: var(--ink-2); }
.will-run .step[data-state="running"] .ring { opacity: .45; }
.will-run .step[data-state="running"] .arc { opacity: 1; animation: spin .7s linear infinite; }
.will-run .step[data-state="passed"] .tick { animation: draw .3s ease-out both; }
.will-run .step .txt { transition: color .3s ease; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { from { stroke-dashoffset: 14; } }

/* Run summary, aligned under the steps */
.run {
  display: grid;
  grid-template-columns: var(--cols);
  column-gap: .75rem;
  margin-top: 1.25rem;
}
.run > * { grid-column: 2 / -1; }
.run-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.run-bar > span {
  display: block;
  height: 100%;
  width: calc(var(--p, 1) * 100%);
  border-radius: inherit;
  background: var(--pass);
  transition: width .4s cubic-bezier(.2, .7, .2, 1);
}
.run-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.5rem;
  margin-top: .9rem;
  font-family: var(--mono);
  font-size: var(--kws);
  font-stretch: 87.5%;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.run-meta .ok { color: var(--pass); font-weight: 600; }
.run-again {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-left: auto;
  min-height: 2.25rem;
  padding: .3rem .8rem;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.run-again:hover { color: var(--ink); border-color: var(--ink); }
.run-again svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-foot {
  display: grid;
  grid-template-columns: var(--cols);
  column-gap: .75rem;
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}
.hero-foot > * { grid-column: 4; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.where {
  margin-top: 1.1rem;
  max-width: 52ch;
  color: var(--ink-2);
}

/* Phones: keywords run inline with the text, line numbers go away */
@media (max-width: 40rem) {
  .ln, .run, .hero-foot { display: block; }
  .ln::before { display: none; }
  .ln > .kw { display: inline; justify-self: start; margin-right: .55em; }
  .ln > .txt { display: inline; }
  .ln-feature > .kw { display: block; margin-bottom: .6rem; }
  .ln-feature > .txt { display: block; }
  .ln-blank { height: 1.25rem; }
  .step { padding-left: 1.45em; padding-right: .4em; }
  .step > .status { position: absolute; left: .3em; top: .36em; }
  .step::after { left: 0; right: 0; }
  .ln-desc .txt { display: block; }
  .run-again { margin-left: 0; }
}

/* ---------- Sections ---------- */

.section {
  border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.section-grid {
  display: grid;
  gap: 1.75rem;
}
.section-head h2 {
  font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.5rem);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.section-head p {
  margin-top: .8rem;
  max-width: 34ch;
  color: var(--ink-2);
  text-wrap: pretty;
}

@media (min-width: 60rem) {
  .section-grid {
    grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr);
    gap: 4rem;
  }
  .section-head {
    position: sticky;
    top: 5.75rem;
    align-self: start;
  }
}

/* ---------- Coverage dumbbells ---------- */

.cov-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(10.5rem, 14rem) minmax(0, 1fr) 7.5rem;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
  border-radius: 2px;
}
.cov-row[tabindex]:focus-visible { outline-offset: 2px; }
.cov-head {
  padding-block: 0 .6rem;
  font-size: .8125rem;
  color: var(--ink-2);
  border-bottom-color: var(--line-2);
}
.cov-axis { position: relative; height: 1.2em; }
.cov-axis i {
  position: absolute;
  left: calc(var(--x) * 1%);
  transform: translateX(calc(var(--x) * -1%));
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.cov-val-h { text-align: right; }
.cov-what strong { display: block; font-weight: 650; line-height: 1.3; }
.cov-what small { display: block; margin-top: .1rem; color: var(--ink-2); font-size: .875rem; }

.cov-plot {
  position: relative;
  height: 1.75rem;
  background:
    linear-gradient(to right, var(--line) 0 1px, transparent 1px) 0 0 / 25% 100% repeat-x;
  border-right: 1px solid var(--line);
}
.cov-line {
  position: absolute;
  top: 50%;
  left: calc(var(--from) * 1%);
  width: calc((var(--to) - var(--from)) * 1%);
  height: 2px;
  margin-top: -1px;
  border-radius: 1px;
  background: var(--pass-soft);
}
.cov-from, .cov-to {
  position: absolute;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px var(--paper);
}
.cov-from {
  left: calc(var(--from) * 1%);
  width: 11px;
  height: 11px;
  border: 2px solid var(--pass-soft);
  background: var(--paper);
}
.cov-to {
  left: calc(var(--to) * 1%);
  width: 13px;
  height: 13px;
  background: var(--pass);
}
.cov-val {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .35rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cov-val svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tip {
  position: absolute;
  z-index: 2;
  bottom: calc(100% + .35rem);
  left: calc(var(--to) * 1%);
  transform: translateX(calc(var(--to) * -1%));
  padding: .35rem .6rem;
  border-radius: 6px;
  background: var(--btn);
  color: var(--btn-ink);
  font-size: .8125rem;
  font-weight: 550;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
}
.cov-row:hover .tip,
.cov-row:focus-visible .tip { opacity: 1; }

.cov-note {
  margin-top: 1.5rem;
  max-width: 62ch;
  color: var(--ink-2);
}

@media (max-width: 40rem) {
  .cov-head { display: none; }
  .cov-row { grid-template-columns: minmax(0, 1fr) auto; gap: .75rem 1rem; }
  .cov-plot { grid-column: 1 / -1; grid-row: 2; }
}

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

.job {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 1.9rem;
  border-top: 1px solid var(--line);
}
.job:first-child { padding-top: 0; border-top: 0; }
.job-when {
  padding-top: .3rem;
  color: var(--ink-2);
  font-size: .9375rem;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.job h3 {
  font-size: 1.375rem;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -.012em;
}
.job-role { margin-top: .2rem; font-weight: 600; }
.job-what { color: var(--ink-2); font-size: .9375rem; }
.job-points {
  display: grid;
  gap: .45rem;
  max-width: 66ch;
  margin-top: .9rem;
  padding-left: 1.1rem;
  list-style: disc;
}
.job-points li::marker { color: var(--ink-3); }

@media (max-width: 40rem) {
  .job { grid-template-columns: 1fr; gap: .3rem; }
  .job-when { padding-top: 0; }
}

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

.projects { display: grid; gap: clamp(3.25rem, 6vw, 4.5rem); }

.proj { display: grid; gap: 1.4rem; align-content: start; }
.proj-wide { gap: 1.75rem; }
@media (min-width: 75rem) {
  .proj-wide {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}
.proj-pair { display: grid; gap: clamp(3.25rem, 6vw, 4rem) 2.5rem; }
@media (min-width: 48rem) {
  .proj-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.proj-text > * + * { margin-top: .75rem; }
.proj h3, .proj-sm h3 {
  font-size: 1.5rem;
  font-weight: 760;
  line-height: 1.15;
  letter-spacing: -.016em;
}
.proj-status + h3 { margin-top: .45rem; }
.proj-status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink-2);
  font-size: .875rem;
  font-weight: 600;
}
.st {
  flex: none;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
}
.st-live { background: var(--pass); box-shadow: 0 0 0 3px var(--pass-wash); }
.st-open { border: 1.5px solid var(--ink-2); }
.st-dev { border: 1.5px solid var(--ink-2); background: linear-gradient(90deg, var(--ink-2) 50%, transparent 50%); }
.proj-points {
  display: grid;
  gap: .4rem;
  padding-left: 1.1rem;
  list-style: disc;
}
.proj-points li::marker { color: var(--ink-3); }
.proj-stack { color: var(--ink-2); font-size: .9375rem; }
.proj-links a { font-weight: 650; text-decoration-color: var(--pass); }

.proj-minor {
  display: grid;
  gap: 2.25rem 2.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 48rem) {
  .proj-minor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.proj-sm > * + * { margin-top: .6rem; }
.proj-sm h3 { font-size: 1.25rem; }
.proj-sm .proj-status + h3 { margin-top: .45rem; }

/* ---------- Product vignettes ---------- */

.vig {
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--raised);
  color: var(--ink);
  font-size: .8125rem;
  line-height: 1.4;
  overflow: hidden;
}
.vig svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vig-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: .95rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.vig-crumb { color: var(--ink-2); min-width: 0; }
.vig-crumb i { margin-inline: .35rem; font-style: normal; color: var(--ink-3); }
.vig-crumb b { color: var(--ink); font-weight: 650; }
.vig-meta { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* TMS run board */
.seg { display: flex; gap: 2px; height: 8px; }
.seg i { min-width: 3px; border-radius: 2px; }
.seg i:first-child { border-radius: 4px 2px 2px 4px; }
.seg i:last-child { border-radius: 2px 4px 4px 2px; }
.s-pass { background: var(--pass); }
.s-fail { background: var(--fail); }
.s-block { background: var(--block); }
.s-skip { background: var(--skip); }
.s-todo { background: var(--line); }
.seg-key {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  margin-top: .65rem;
  color: var(--ink-2);
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
}
.seg-key li { display: inline-flex; align-items: center; gap: .35rem; }
.seg-key i { width: 8px; height: 8px; border-radius: 2px; }

.tc { width: 100%; margin-top: .9rem; }
.tc td {
  padding: .55rem .4rem;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}
.tc td:first-child { padding-left: .55rem; }
.tc .id {
  font-family: var(--mono);
  font-size: .6875rem;
  font-stretch: 87.5%;
  color: var(--ink-2);
  white-space: nowrap;
}
.tc .t { width: 100%; }
.tc .t small { display: block; color: var(--ink-2); font-size: .6875rem; }
.tc .t small.bug { color: var(--fail); font-family: var(--mono); font-stretch: 87.5%; }
.tc .r { text-align: right; }
.tc tr.cur td { background: color-mix(in srgb, var(--pass-wash) 55%, transparent); }
.tc tr.cur td:first-child { box-shadow: inset 2px 0 0 var(--ink); }

.res {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .18rem .55rem .18rem .45rem;
  border-radius: 999px;
  font-size: .71875rem;
  font-weight: 650;
  white-space: nowrap;
}
.res svg { width: .75rem; height: .75rem; stroke-width: 1.9; }
.res-pass { background: var(--pass-wash); color: var(--pass-2); }
.res-fail { background: var(--fail-wash); color: var(--fail); }
.res-block { background: var(--block-wash); color: var(--block); }
.res-todo { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); }

.keys {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1rem;
  margin-top: .95rem;
  color: var(--ink-2);
  font-size: .75rem;
}
.keys > span { display: inline-flex; align-items: center; }
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  margin-right: .3rem;
  padding-inline: .3rem;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .625rem;
  font-stretch: 87.5%;
}

/* MCP conversation */
.vig-mcp .prompt,
.vig-mcp .calls {
  font-family: var(--mono);
  font-size: .71875rem;
  font-stretch: 87.5%;
  line-height: 1.6;
}
.caret { margin-right: .55rem; color: var(--pass); font-weight: 700; }
.calls { display: grid; gap: .5rem; margin-top: 1rem; }
.calls li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  padding: .45rem .6rem;
  border-radius: 8px;
  background: var(--paper);
}
.calls .fn { font-weight: 600; }
.calls .arg { overflow: hidden; color: var(--ink-2); text-overflow: ellipsis; white-space: nowrap; }
.calls svg { width: .8rem; height: .8rem; color: var(--pass); stroke-width: 2; }
.vig-mcp .result {
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  font-weight: 650;
}

/* Device farm */
.phones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem .5rem;
}
.ph {
  display: grid;
  justify-items: center;
  gap: .25rem;
  color: var(--ink-2);
  font-size: .6875rem;
}
.ph-body {
  display: grid;
  width: 2.15rem;
  height: 3.7rem;
  margin-bottom: .2rem;
  padding: .24rem .17rem;
  border: 1.5px solid var(--ink-3);
  border-radius: .5rem;
}
.ph-scr { position: relative; border-radius: .25rem; background: var(--paper); overflow: hidden; }
.ph.is-run .ph-body { border-color: var(--ink); }
.ph.is-run .ph-scr { background: var(--pass-wash); }
.ph.is-run .ph-scr::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 34%;
  bottom: 22%;
  height: 3px;
  border-radius: 2px;
  background: var(--pass);
}
.ph.is-off .ph-body { border-style: dashed; opacity: .55; }
.ph b {
  font-family: var(--mono);
  font-size: .625rem;
  font-weight: 600;
  font-stretch: 87.5%;
  color: var(--ink);
}
.ph em { font-style: normal; line-height: 1; }

.cmd {
  margin-top: 1.1rem;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: .6875rem;
  font-stretch: 87.5%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cmd span { margin-right: .5rem; color: var(--ink-3); }
.flow {
  display: grid;
  gap: .35rem;
  margin-top: .7rem;
  font-family: var(--mono);
  font-size: .6875rem;
  font-stretch: 87.5%;
  color: var(--ink-2);
}
.flow li { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.flow svg { flex: none; width: .8rem; height: .8rem; stroke-width: 2; }
.flow .done svg { color: var(--pass); }
.flow .now { color: var(--ink); }
.flow .now .r { stroke: var(--line-2); }

/* ---------- Mentoring ---------- */

.lede {
  max-width: 40ch;
  font-size: clamp(1.1875rem, 1rem + .6vw, 1.5rem);
  font-weight: 560;
  line-height: 1.4;
  letter-spacing: -.008em;
  text-wrap: pretty;
}
.facts {
  display: grid;
  gap: 1.75rem 2rem;
  margin-top: 2.25rem;
}
@media (min-width: 48rem) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.facts > div { padding-top: .9rem; border-top: 2px solid var(--ink); }
.facts dt { font-weight: 720; line-height: 1.3; }
.facts dd { margin-top: .4rem; color: var(--ink-2); }
.mentor-more { margin-top: 2.25rem; color: var(--ink-2); }

/* ---------- Toolbox ---------- */

.tools > div {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 1.05rem;
  border-top: 1px solid var(--line);
}
.tools > div:first-child { padding-top: 0; border-top: 0; }
.tools dt { font-weight: 650; }
.tools dd { max-width: 60ch; }

@media (max-width: 40rem) {
  .tools > div { grid-template-columns: 1fr; gap: .2rem; }
}

/* ---------- Education ---------- */

.edu + .edu { margin-top: 1.9rem; padding-top: 1.9rem; border-top: 1px solid var(--line); }
.edu h3 { font-size: 1.25rem; font-weight: 740; line-height: 1.25; letter-spacing: -.01em; }
.edu p { max-width: 62ch; margin-top: .3rem; color: var(--ink-2); }
.edu .edu-what { color: var(--ink); }

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

.contact {
  border-top: 1px solid var(--line);
  padding-block: clamp(4rem, 10vw, 8rem);
}
.contact-in { display: grid; gap: 1.25rem; }
@media (min-width: 60rem) {
  .contact-in {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    column-gap: 4rem;
    align-items: end;
  }
}
.contact h2 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 1.35rem + 4.6vw, 5.25rem);
  font-weight: 820;
  line-height: 1;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.contact-intro {
  max-width: 44ch;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 2.25rem;
}
.copy-status { color: var(--pass); font-weight: 600; font-size: .9375rem; }
.contact-links { display: flex; gap: 1.5rem; margin-top: 1.5rem; font-weight: 600; }
.contact-where { margin-top: .6rem; color: var(--ink-2); }

/* Intro call picker */
.call {
  display: grid; gap: 1rem; margin-top: 2rem; padding: clamp(1.1rem, 3vw, 1.75rem);
  background: var(--raised); border: 1px solid var(--line); border-radius: 14px;
}
.call[hidden] { display: none; }
.call-days, .call-slots { display: flex; flex-wrap: wrap; gap: .5rem; }
.call-slots:empty { display: none; }
.call-pick { margin: 0; font-family: var(--mono); font-size: .8125rem; color: var(--ink-2); }
.call-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.call-actions .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
@media print { .call { display: none !important; } }

/* Hiring ticket */
.ticket {
  display: grid;
  gap: .9rem;
  margin-top: 2.25rem;
  padding: 1.4rem;
  background: var(--raised);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
}
.ticket[hidden] { display: none; }
.ticket-title { font-size: 1.25rem; font-weight: 740; letter-spacing: -.01em; }
.ticket-title .kw { margin-right: .5rem; font-family: var(--mono); font-size: .75rem; color: var(--pass); }
.ticket-hint { color: var(--ink-2); font-size: .9375rem; }
.ticket-grid { display: grid; gap: .9rem; }
@media (min-width: 36rem) { .ticket-grid { grid-template-columns: 1fr 1fr; } }
.ticket label { display: grid; gap: .3rem; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.ticket input, .ticket select {
  min-height: 2.75rem;
  padding: .5rem .75rem;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 8px;
}
.ticket input:focus-visible, .ticket select:focus-visible { outline: 2px solid var(--pass); outline-offset: 1px; }
.ticket-preview {
  margin: 0;
  padding: .9rem 1rem;
  overflow-x: auto;
  white-space: pre-wrap;
  font-family: var(--mono);
  font-size: .75rem;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--paper);
  border-left: 3px solid var(--pass);
  border-radius: 6px;
}
.ticket .btn { justify-self: start; }

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

.foot {
  border-top: 1px solid var(--line);
  padding-block: 1.75rem;
  color: var(--ink-2);
  font-size: .875rem;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1.5rem;
}

/* ---------- 404 ---------- */

.lost { padding-block: clamp(3rem, 10vw, 7rem); }
.lost .undef .dot { fill: var(--block); }
.lost .undef::after { background: var(--block-wash); }
.lost .run-meta .warn { color: var(--block); font-weight: 600; }
.lost .hero-foot { margin-top: 2.5rem; }

/* ---------- Hire dock ---------- */

.dock {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0 var(--pad) max(.75rem, env(safe-area-inset-bottom));
  pointer-events: none;
  transform: translateY(150%);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.dock.on { transform: none; }
.dock-in {
  position: relative;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .5rem .5rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--raised);
  box-shadow: 0 8px 30px rgb(0 0 0 / .16);
  overflow: hidden;
}
.dock-in::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--pass);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.dock-msg { display: flex; align-items: center; gap: .55rem; margin: 0; font-size: .9375rem; white-space: nowrap; }
.dock-sub { color: var(--ink-2); }
.dock .btn { min-height: 2.5rem; border-radius: 999px; }
.dock-x {
  width: 2rem; height: 2rem; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-3); font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.dock-x:hover { color: var(--ink); }
@media (max-width: 40rem) {
  .dock-sub, .dock-ticket { display: none; }
  .dock-in { gap: .5rem; }
}
@media print { .dock { display: none !important; } }

/* ---------- Stack fit check ---------- */

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; }
.chip {
  min-height: 2.5rem; padding: 0 .9rem; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--raised); color: var(--ink); font: inherit; font-size: .9375rem; cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--pass-wash); border-color: var(--pass); color: var(--pass-2); font-weight: 600; }
.fit-report {
  margin: 0 0 1.25rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--raised); font-family: var(--mono); font-size: .8125rem; line-height: 1.7;
  white-space: pre-wrap; min-height: 6rem;
}
.fit-note { margin: 1rem 0 0; color: var(--ink-2); font-size: .9375rem; }
@media print { #fit { display: none !important; } }

/* ---------- Command palette ---------- */

.kbtn {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-left: auto; padding: .3rem .4rem .3rem .8rem;
  font: inherit; font-size: .875rem; color: var(--ink-2);
  background: transparent; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer;
}
.kbtn:hover { color: var(--ink); border-color: var(--ink); }
.kbtn[hidden] { display: none; }
.kbtn + .avail { margin-left: 0; }
kbd {
  font-family: var(--mono); font-size: .6875rem; padding: .15rem .45rem;
  background: var(--raised); border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2);
}
.nav-links { margin-left: auto; }
.kbtn { margin-left: 0; }
@media (max-width: 52rem) { .kbtn { margin-left: auto; } .kbtn kbd { display: none; } }
@media (max-width: 30rem) { .kbtn span { display: none; } .kbtn { padding: .3rem .7rem; } .kbtn::before { content: "⌕"; } }

.pal {
  width: min(34rem, calc(100vw - 2rem)); margin: 12vh auto auto; padding: 0;
  color: var(--ink); background: var(--raised);
  border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: 0 24px 60px rgb(0 0 0 / .28);
}
.pal::backdrop { background: rgb(10 16 13 / .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.pal-in { margin: 0; }
.pal-top { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.pal-top .kw { font-family: var(--mono); color: var(--pass); }
.pal-top input { flex: 1; min-width: 0; font: inherit; font-size: 1.0625rem; color: inherit; background: none; border: 0; outline: 0; }
.pal ul { list-style: none; margin: 0; padding: .4rem; max-height: 50vh; overflow-y: auto; }
.pal li { padding: .65rem .8rem; border-radius: 8px; cursor: pointer; }
.pal li[aria-selected="true"] { background: var(--pass-wash); color: var(--pass-2); font-weight: 600; }
.pal .pal-none { color: var(--ink-3); cursor: default; }
.pal-foot { margin: 0; padding: .6rem 1rem; font-size: .8125rem; color: var(--ink-3); border-top: 1px solid var(--line); }
@media print { .kbtn, .pal { display: none !important; } }

/* ---------- Motion and print ---------- */

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

@media print {
  .nav, .skip, .run-again, .vig, .contact-actions .btn[data-copy], .ticket, .foot a { display: none !important; }
  :root { --paper: #fff; --raised: #fff; --ink: #000; --ink-2: #333; --line: #ccc; }
  body { font-size: 10.5pt; }
  .hero { padding-block: 0 1.5rem; }
  .section, .contact { padding-block: 1.25rem; }
  .section-head { position: static; }
  .job, .proj, .proj-sm { break-inside: avoid; }
  a { text-decoration: none; }
  .step::after { display: none; }
}

/* ---------- Bug hunt ---------- */
.hunt { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .hunt { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.shop, .tracker { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; }
.shop-h, .tracker-h { margin: 0 0 .5rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.tracker-h { display: flex; justify-content: space-between; }
.tracker-h b { color: var(--ink); }
.srow {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%;
  padding: .75rem .5rem; border: 0; border-bottom: 1px solid var(--line); background: none;
  color: var(--ink); font: inherit; text-align: left; cursor: pointer; border-radius: 6px;
}
.srow:last-child { border-bottom: 0; }
.srow:hover { background: var(--paper); }
.srow small { display: block; color: var(--ink-3); font-size: .8125rem; }
.srow b { font-family: var(--mono); font-weight: 500; white-space: nowrap; }
.srow.hit { background: var(--fail-wash); box-shadow: inset 3px 0 0 var(--fail); }
.srow.miss { background: var(--pass-wash); box-shadow: inset 3px 0 0 var(--pass); }
.tracker-list { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; gap: .5rem; }
.tracker-list li { font-size: .9375rem; }
.tracker-list li.empty { color: var(--ink-3); }
.tracker-list code { font-family: var(--mono); font-size: .75rem; color: var(--fail); font-weight: 600; }
.tracker-msg { margin: 0 0 1rem; color: var(--ink-2); font-size: .9375rem; }
@media print { #bughunt { display: none !important; } }

/* ---------- 30-second skim ---------- */
.skim { width: min(36rem, calc(100% - 2rem)); padding: 0; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--raised); color: var(--ink); box-shadow: 0 24px 60px rgb(10 16 13 / .3); }
.skim::backdrop { background: rgb(10 16 13 / .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.skim-in { padding: 1.5rem; display: grid; gap: 1.25rem; }
.skim-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.skim-head h2 { font-size: 1.5rem; line-height: 1.2; margin: .25rem 0 .4rem; }
.skim-kicker { display: flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .75rem; color: var(--pass); }
.skim-sub { color: var(--ink-2); font-size: .9375rem; }
.skim-x { font: inherit; font-size: 1.5rem; line-height: 1; background: none; border: 0; color: var(--ink-3); cursor: pointer; padding: .25rem .5rem; }
.skim-x:hover { color: var(--ink); }
.skim-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 0; }
.skim-stats div { padding: .85rem; border: 1px solid var(--line); border-radius: 10px; background: var(--pass-wash); }
.skim-stats dt { font-family: var(--mono); font-weight: 700; font-size: 1.125rem; color: var(--pass-2); }
.skim-stats dd { margin: .25rem 0 0; font-size: .8125rem; color: var(--ink-2); }
.skim-list { display: grid; gap: .5rem; font-size: .9375rem; }
.skim-cta { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.skim-more { margin-left: auto; font-size: .875rem; color: var(--ink-2); }
@media (max-width: 30rem) { .skim-stats { grid-template-columns: 1fr; } .skim-more { margin-left: 0; } }
@media print {
  body > *:not(.skim) { display: none !important; }
  .skim { display: block !important; position: static; width: 100%; border: 0; box-shadow: none; color: #000; background: #fff; }
  .skim-x, .skim-cta .btn, .skim-more { display: none !important; }
  .skim-cta::after { content: "sipena.id@gmail.com · linkedin.com/in/rizqifauzan · rizqifauzan.com"; font-size: .875rem; }
}

/* ---------- Regression cost calculator ---------- */

.save { display: grid; gap: 1rem; margin: 0 0 1.25rem; }
@media (min-width: 48rem) { .save { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.save-in, .save-out { padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--raised); }
.save-in { display: grid; gap: 1.1rem; }
.save-in label { display: grid; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.save-in output { float: right; font-family: var(--mono); color: var(--ink); }
.save-in input[type="range"] { width: 100%; min-height: 2rem; accent-color: var(--pass); }
.save-out { display: grid; align-content: center; gap: .5rem; }
.save-big { margin: 0; color: var(--ink-2); }
.save-big b { display: block; font-family: var(--mono); font-size: clamp(2.5rem, 8vw, 3.5rem); line-height: 1.1; color: var(--pass-2); font-weight: 600; }
.save-sub { margin: 0; font-family: var(--mono); font-size: .8125rem; line-height: 1.7; color: var(--ink-2); }
@media print { #savings { display: none !important; } }

/* First 90 days pipeline */
.pipe { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.pstage { border: 1px solid var(--line); border-radius: var(--r); background: var(--raised); transition: border-color .3s; }
.pstage.done { border-color: var(--pass-soft); }
.pbtn { display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 3rem; padding: .6rem 1rem; background: none; border: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.pst { flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid var(--skip); transition: background .3s, border-color .3s; }
.pstage.done .pst { background: var(--pass); border-color: var(--pass); }
.pwhen { font-size: .8125rem; color: var(--ink-2); min-width: 5.5rem; }
.pname { font-family: var(--mono); font-weight: 600; font-size: .9375rem; }
.pdesc { display: none; margin: 0; padding: 0 1rem 1rem 2.85rem; color: var(--ink-2); line-height: 1.6; font-size: .9375rem; }
.pstage.open .pdesc { display: block; }
.pipe-sum { margin: 0 0 1.25rem; font-family: var(--mono); font-size: .8125rem; color: var(--ink-2); }
.pipe-sum .ok { color: var(--pass-2); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .pstage, .pst { transition: none; } }
@media print { #plan { display: none !important; } }
