/* ============================================================
   MOHAMMAD YEHYA — PORTFOLIO · "DRAWING SET" BLUEPRINT THEME
   Ink-blue dark · hairline grid · drafting-orange annotations
   Type: Inter (display) · JetBrains Mono (annotations)
   ============================================================ */

:root {
  --ink: oklch(0.17 0.022 250);          /* page — deep blue-ink */
  --ink-2: oklch(0.205 0.024 250);       /* raised panel */
  --ink-3: oklch(0.24 0.026 250);        /* hover panel */
  --line: oklch(0.55 0.04 245 / 0.18);   /* hairline */
  --line-2: oklch(0.62 0.05 245 / 0.34); /* strong rule */
  --text: oklch(0.92 0.008 250);
  --muted: oklch(0.72 0.02 248);
  --faint: oklch(0.58 0.025 248);
  --accent: oklch(0.71 0.165 45);        /* drafting orange */
  --accent-soft: oklch(0.78 0.13 50);
  --accent-ink: oklch(0.2 0.04 45);
  --blue: oklch(0.74 0.07 240);          /* annotation blue */
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Inter", system-ui, sans-serif;
  --sheet-w: 1200px;
  --pad: clamp(20px, 4vw, 56px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 72px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 72px 100%,
    var(--ink);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--accent-ink); }

b, strong { color: var(--text); font-weight: 640; }
a { color: inherit; }

/* ---------- sheet frame ---------- */
.sheet {
  max-width: var(--sheet-w);
  margin: 0 auto;
  border-left: 1px solid var(--line-2);
  border-right: 1px solid var(--line-2);
  background: color-mix(in oklab, var(--ink) 72%, transparent);
  position: relative;
}

/* ---------- annotation primitives ---------- */
.anno {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.anno::after { content: ""; height: 1px; background: var(--line-2); flex: 1; min-width: 40px; }
.anno .ix { color: var(--accent); }

.crosshair { position: relative; }
.crosshair::before, .crosshair::after {
  content: "+";
  position: absolute;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--line-2);
  line-height: 1;
}
.crosshair::before { left: -7px; top: -8px; }
.crosshair::after { right: -7px; top: -8px; }

/* section shell */
.sec { border-top: 1px solid var(--line-2); padding: clamp(56px, 8vw, 104px) var(--pad); position: relative; }
.sec__head { margin-bottom: clamp(32px, 5vw, 56px); }
.sec__title {
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 680;
  font-stretch: 115%;
  letter-spacing: -0.015em;
  line-height: 1.04;
  margin-top: 18px;
  text-wrap: balance;
}
.sec__intro { color: var(--muted); max-width: 620px; margin-top: 14px; text-wrap: pretty; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line-2);
  background: color-mix(in oklab, var(--ink) 88%, transparent);
  backdrop-filter: blur(10px);
}
.nav__in {
  max-width: var(--sheet-w); margin: 0 auto;
  display: flex; align-items: stretch; justify-content: space-between;
  border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2);
}
.nav__brand {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em;
  text-decoration: none; display: flex; align-items: center; gap: 10px;
  padding: 16px var(--pad); border-right: 1px solid var(--line);
}
.nav__brand .tick { color: var(--accent); }
.nav__links { display: flex; list-style: none; align-items: center; }
.nav__links a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; padding: 20px 16px; display: block;
}
.nav__links a:hover { color: var(--text); background: var(--ink-2); }
.nav__cta { display: flex; align-items: stretch; }
.nav__cta .btn { border: none; border-left: 1px solid var(--line); border-radius: 0; }

/* buttons — square, drafting-style */
.btn {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border: 1px solid var(--line-2); color: var(--text);
  background: transparent; cursor: pointer; transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn:hover { background: var(--ink-3); }
.btn--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.btn--accent:hover { background: var(--accent-soft); }
.btn--lg { padding: 16px 28px; }

.nav__burger { display: none; background: none; border: none; border-left: 1px solid var(--line); color: var(--text); padding: 0 18px; cursor: pointer; }

.mobile-menu {
  display: none; flex-direction: column; position: fixed; inset: 57px 0 auto 0; z-index: 49;
  background: var(--ink); border-bottom: 1px solid var(--line-2);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; color: var(--text); padding: 16px var(--pad);
  border-top: 1px solid var(--line); display: flex; gap: 16px;
}
.mobile-menu a .n { color: var(--accent); }

/* ---------- hero ---------- */
.hero { padding: 0 0 clamp(48px, 7vw, 88px); }

/* title block — like an engineering drawing header */
.tblock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line-2);
}
.tblock__cell {
  padding: 14px var(--pad) 12px;
  border-right: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.tblock__cell:last-child { border-right: none; }
.tblock__cell .k { color: var(--faint); display: block; margin-bottom: 3px; }
.tblock__cell .v { color: var(--text); font-size: 12.5px; }
.tblock__cell .v.ok { color: var(--accent); }

.hero__main { padding: clamp(40px, 6vw, 80px) var(--pad) 0; }
.hero__name {
  font-size: clamp(54px, 10.5vw, 138px);
  font-weight: 750;
  font-stretch: 122%;
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.hero__name .row { display: flex; align-items: baseline; gap: 0.35em; flex-wrap: wrap; }
.hero__name .ref {
  font-family: var(--mono); font-size: clamp(11px, 1.2vw, 14px); font-weight: 400;
  letter-spacing: 0.14em; color: var(--blue); font-stretch: 100%; white-space: nowrap;
}
.hero__name .accent { color: var(--accent); }

.hero__lede {
  max-width: 640px; margin-top: 30px; font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted); text-wrap: pretty;
}
.hero__lede b { color: var(--text); }

.hero__actions { display: flex; gap: 0; margin-top: 38px; flex-wrap: wrap; }
.hero__actions .btn + .btn { border-left: none; }

/* dimension line — the 400→50K annotation */
.dim { margin: clamp(44px, 6vw, 72px) var(--pad) 0; }
.dim__line { display: flex; align-items: center; gap: 0; position: relative; height: 30px; }
.dim__tick { width: 1px; height: 100%; background: var(--line-2); position: relative; }
.dim__bar { flex: 1; height: 1px; background: var(--line-2); position: relative; }
.dim__bar::before, .dim__bar::after {
  content: ""; position: absolute; top: -3.5px; border: 4px solid transparent;
}
.dim__bar::before { left: 0; border-right-color: var(--blue); border-left: none; }
.dim__bar::after { right: 0; border-left-color: var(--blue); border-right: none; }
.dim__label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--ink); padding: 0 18px;
  font-family: var(--mono); font-size: clamp(12px, 1.4vw, 14px); letter-spacing: 0.1em; color: var(--text);
  white-space: nowrap;
}
.dim__label .hl { color: var(--accent); font-weight: 600; }
.dim__ends { display: flex; justify-content: space-between; margin-top: 8px; }
.dim__ends span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.dim__link {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
}
.dim__link:hover { text-decoration: underline; }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); border-left: none; border-right: none; margin-top: clamp(48px, 6vw, 72px); }
.stat { padding: 26px var(--pad); border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat__num { font-size: clamp(30px, 3.6vw, 46px); font-weight: 720; font-stretch: 115%; letter-spacing: -0.02em; line-height: 1; }
.stat__num .u { color: var(--accent); }
.stat__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-top: 10px; }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 4vw, 64px); }
.about__body { max-width: 680px; }
.about__body p { color: var(--muted); margin-bottom: 18px; text-wrap: pretty; }
.about__now { border: 1px solid var(--line-2); background: var(--ink-2); padding: 24px 26px; align-self: start; }
.about__now h4 {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); display: flex; justify-content: space-between; margin-bottom: 16px; font-weight: 500;
}
.about__now h4 span { color: var(--faint); }
.about__now ul { list-style: none; }
.about__now li { padding: 10px 0 10px 22px; border-top: 1px dashed var(--line); position: relative; font-size: 15px; color: var(--muted); }
.about__now li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* ---------- experience ---------- */
.xp { display: flex; flex-direction: column; }
.xp__item {
  display: grid; grid-template-columns: 52px 1fr; gap: 20px;
  padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--line);
}
.xp__item:first-of-type { border-top: none; padding-top: 0; }
.xp__logo {
  width: 44px; height: 44px; border: 1px solid var(--line-2); background: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--accent);
  letter-spacing: 0.05em; flex: none;
}
.xp__body { display: flex; flex-direction: column; gap: 14px; }
.xp__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.xp__when { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--faint); white-space: nowrap; display: flex; align-items: center; gap: 10px; padding-top: 4px; }
.badge-now {
  display: inline-block; font-size: 9px; letter-spacing: 0.12em; padding: 2px 7px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
}
.xp__role { font-size: clamp(16px, 1.8vw, 20px); font-weight: 600; letter-spacing: -0.01em; }
.xp__co { font-family: var(--mono); font-size: 12.5px; color: var(--blue); margin-top: 4px; letter-spacing: 0.04em; }
.xp__co .meta { color: var(--faint); }
.xp__list { list-style: none; }
.xp__list li { padding: 7px 0 7px 20px; position: relative; color: var(--muted); font-size: 15px; text-wrap: pretty; }
.xp__list li::before { content: "▸"; position: absolute; left: 0; top: 8px; color: var(--accent); font-size: 10px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em;
  border: 1px solid var(--line-2); color: var(--muted); padding: 4px 10px; background: var(--ink-2);
}

/* ---------- work / figures ---------- */
.work { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.fig { border: 1px solid var(--line-2); background: var(--ink-2); }
.fig__bar {
  display: flex; align-items: center; gap: 18px; padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.fig__no { color: var(--accent); font-weight: 600; }
.fig__bar .lead-line { flex: 1; height: 1px; background: var(--line); }
.fig__bar .where { color: var(--faint); }
.fig__body { display: grid; grid-template-columns: 1.5fr 1fr; }
.fig__main { padding: 28px 28px 30px; border-right: 1px solid var(--line); }
.fig__name { font-size: clamp(21px, 2.4vw, 28px); font-weight: 680; font-stretch: 112%; letter-spacing: -0.01em; margin-bottom: 12px; }
.fig__desc { color: var(--muted); font-size: 15.5px; text-wrap: pretty; }
.fig__feats { list-style: none; margin-top: 18px; }
.fig__feats li { padding: 8px 0 8px 24px; position: relative; color: var(--muted); font-size: 14.5px; border-top: 1px dashed var(--line); }
.fig__feats li::before { content: "+"; position: absolute; left: 2px; color: var(--accent); font-family: var(--mono); }
.fig__side { padding: 24px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.spec { width: 100%; border-collapse: collapse; }
.spec tr { border-bottom: 1px dashed var(--line); }
.spec tr:last-child { border-bottom: none; }
.spec td { padding: 9px 0; vertical-align: baseline; }
.spec .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); padding-right: 18px; white-space: nowrap; }
.spec .v { font-family: var(--mono); font-size: 13.5px; color: var(--text); text-align: right; }
.spec .v.hl { color: var(--accent); font-weight: 600; }

/* ---------- skills ---------- */
.skills { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); }
.skillcard { padding: 26px 28px 30px; border: 1px solid var(--line); background: var(--ink-2); display: flex; flex-direction: column; gap: 16px; }
.skillcard__row { display: flex; gap: 16px; align-items: baseline; }
.skillcard__cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; min-width: 100px; }
.skillcard__list { font-size: 14.5px; color: var(--muted); }
.skillcard h4 {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text); display: flex; justify-content: space-between; margin-bottom: 18px;
}
.skillcard h4 .i { color: var(--accent); }
.skillcard__tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- education ---------- */
.educard { border: 1px solid var(--line-2); background: var(--ink-2); padding: 26px 28px; max-width: 520px; }
.educard__when { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--faint); margin-bottom: 10px; }
.educard h3 { font-size: 21px; font-weight: 680; font-stretch: 112%; }
.educard p { color: var(--muted); font-family: var(--mono); font-size: 13px; margin-top: 6px; }

/* ---------- testimonials / field notes ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.quote { border: 1px dashed var(--line-2); padding: 28px; position: relative; }
.quote__no { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); text-transform: uppercase; }
.quote__text { color: var(--muted); font-size: 15.5px; margin: 14px 0 20px; text-wrap: pretty; }
.quote__by { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.quote__by b { display: block; }
.quote__by i { color: var(--faint); font-style: normal; font-size: 13px; }
.quote__hint { position: absolute; top: 28px; right: 28px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

/* ---------- contact ---------- */
.cx { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 3.5vw, 48px); }
.cx__paths { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 28px; border: 1px solid var(--line-2); }
.cx__path { text-decoration: none; padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); transition: background 0.15s; }
.cx__path:last-child { border-right: none; }
.cx__path:hover { background: var(--ink-3); }
.cx__path-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.cx__path-v { font-weight: 640; font-stretch: 110%; font-size: 17px; }
.cx__path-a { font-family: var(--mono); font-size: 12px; color: var(--blue); margin-top: 4px; }
.cx__path--accent .cx__path-a { color: var(--accent); }

.lead { display: flex; flex-direction: column; gap: 16px; }
.lead__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field__k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.field__k i { font-style: normal; color: var(--faint); opacity: 0.7; }
.field__i {
  background: var(--ink-2); border: 1px solid var(--line-2); color: var(--text);
  font-family: var(--sans); font-size: 15px; padding: 13px 14px; outline: none; border-radius: 0;
  transition: border-color 0.15s;
}
.field__i:focus { border-color: var(--accent); }
.field__i::placeholder { color: var(--faint); }
select.field__i { appearance: none; }
textarea.field__i { resize: vertical; }
.lead__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.lead__note { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.cx__note { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 16px; letter-spacing: 0.06em; }
.cx__audit-cta {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none;
  padding: 20px 24px; margin-bottom: 0;
  border: 1px solid var(--accent); border-bottom: none;
  background: color-mix(in oklab, var(--accent) 10%, var(--ink-2));
  transition: background 0.15s;
}
.cx__audit-cta:hover { background: color-mix(in oklab, var(--accent) 16%, var(--ink-2)); }
.cx__audit-cta .cx__path-v { font-size: 16px; }

.cx__side { display: flex; flex-direction: column; gap: 14px; align-self: start; }
.cx__avail { display: flex; gap: 14px; align-items: center; border: 1px solid var(--accent); padding: 18px 20px; background: color-mix(in oklab, var(--accent) 8%, var(--ink-2)); }
.cx__dot { width: 9px; height: 9px; background: var(--accent); flex: none; animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.cx__avail b { display: block; font-stretch: 110%; }
.cx__avail span { color: var(--muted); font-size: 13.5px; }
.clink { border: 1px solid var(--line-2); background: var(--ink-2); padding: 16px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 2px; transition: background 0.15s; }
.clink:hover { background: var(--ink-3); }
.clink__k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.clink__v { font-family: var(--mono); font-size: 14px; color: var(--text); }
.clink__arrow { font-family: var(--mono); font-size: 11.5px; color: var(--accent); margin-top: 4px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-2); margin-top: 80px; }
.footer__in {
  max-width: var(--sheet-w); margin: 0 auto;
  padding: 40px var(--pad);
  display: flex; justify-content: space-between; align-items: center;
}
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__initial {
  font-family: var(--mono); font-size: 28px; font-weight: 600;
  color: var(--accent); line-height: 1;
}
.footer__name { display: block; font-size: 15px; color: var(--text); font-weight: 500; }
.footer__loc { display: block; font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.08em; margin-top: 3px; }
.footer__links { display: flex; gap: 28px; }
.footer__links a { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 13px; color: var(--muted); text-decoration: none; letter-spacing: 0.04em; transition: color 0.15s; }
.footer__links a:hover { color: var(--accent); }
.footer__links svg { flex: none; }
.footer__copy {
  max-width: var(--sheet-w); margin: 0 auto;
  padding: 16px var(--pad) 24px;
  font-family: var(--mono); font-size: 11px; color: var(--faint);
  border-top: 1px solid var(--line); letter-spacing: 0.06em;
}

/* ---------- hero icp / proof ---------- */
.hero__icp {
  max-width: 640px; margin-top: 24px; font-size: 15.5px; color: var(--muted); text-wrap: pretty;
}
.hero__proof {
  margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--faint); text-transform: uppercase;
}

/* ---------- aws audit ---------- */
.audit__body { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.audit__lede { color: var(--muted); font-size: 16px; line-height: 1.7; text-wrap: pretty; }

.audit__cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-2); margin-bottom: clamp(20px, 3vw, 32px);
}
.audit__card { padding: 28px; border-right: 1px solid var(--line); background: var(--ink-2); }
.audit__card:last-child { border-right: none; }
.audit__card-title {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px; font-weight: 500;
}
.audit__card p { color: var(--muted); font-size: 14.5px; text-wrap: pretty; }

.audit__callout {
  border: 1px solid var(--accent);
  background: color-mix(in oklab, var(--accent) 8%, var(--ink-2));
  padding: 22px 28px; margin-bottom: clamp(32px, 5vw, 52px);
  font-size: 16px; font-weight: 500; line-height: 1.6; color: var(--text);
}

.audit__steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-2); margin-bottom: clamp(32px, 5vw, 52px);
}
.audit__step { padding: 28px; border-right: 1px solid var(--line); }
.audit__step:last-child { border-right: none; }
.audit__step-n {
  font-family: var(--mono); font-size: 28px; font-weight: 600; color: var(--accent);
  line-height: 1; margin-bottom: 16px;
}
.audit__step-title {
  font-size: 16px; font-weight: 600; margin-bottom: 10px;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.audit__step-time {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); font-weight: 400;
}
.audit__step p { color: var(--muted); font-size: 14.5px; text-wrap: pretty; }

.audit__findings { display: flex; flex-direction: column; margin-bottom: clamp(28px, 4vw, 44px); }
.audit__findings-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 16px;
}
.audit__finding {
  display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: baseline;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.audit__finding:last-child { border-bottom: 1px solid var(--line); }
.audit__finding-save {
  font-family: var(--mono); font-size: 20px; font-weight: 600;
  color: var(--accent); white-space: nowrap;
}
.audit__finding-save span { font-size: 12px; font-weight: 400; color: var(--faint); }
.audit__finding-detail { color: var(--muted); font-size: 14.5px; }

.audit__cta { margin-top: clamp(24px, 3vw, 36px); }
.audit__finding--total { border-top: 2px solid var(--line-2); margin-top: 4px; }
.audit__finding-total-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .tblock { grid-template-columns: 1fr 1fr; }
  .tblock__cell:nth-child(2n) { border-right: none; }
  .tblock__cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about__grid, .fig__body, .quotes, .cx { grid-template-columns: 1fr; }
  .audit__cards, .audit__steps { grid-template-columns: 1fr; }
  .audit__card { border-right: none; border-bottom: 1px solid var(--line); }
  .audit__card:last-child { border-bottom: none; }
  .audit__step { border-right: none; border-bottom: 1px solid var(--line); }
  .audit__step:last-child { border-bottom: none; }
  .fig__main { border-right: none; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .xp__item { grid-template-columns: 1fr; gap: 10px; }
  .skills { grid-template-columns: 1fr; }
  .skillcard { border-right: none; }
  .skillcard:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .skillcard:last-child { border-bottom: none; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__cta .btn--cv { display: none; }
}
@media (max-width: 640px) {
  .lead__row, .cx__paths { grid-template-columns: 1fr; }
  .audit__finding { grid-template-columns: 1fr; gap: 4px; }
  .cx__path { border-right: none; border-bottom: 1px solid var(--line); }
  .cx__path:last-child { border-bottom: none; }
  .footer__in { grid-template-columns: 1fr; }
  .footer__cell { border-right: none; border-bottom: 1px solid var(--line); justify-content: flex-start; }
  .footer__cell:last-child { border-bottom: none; justify-content: flex-start; }
  .hero__actions .btn { flex: 1; justify-content: center; }
}
