/* Akshay Garje portfolio. Plain CSS, no build step. */

:root {
  --bg: #f4f1e9;
  --surface: #fbf9f4;
  --ink: #15171c;
  --body: #343a44;
  --muted: #626975;
  --line: #d9d4c7;
  --accent: #c2410c;
  --accent-fill: #e2551d;
  --accent-soft: #f6dfd2;
  --on-accent: #ffffff;
  --display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --inv-bg: #15171c;
  --inv-ink: #f4f1e9;
  --inv-muted: #a6abb4;
  --inv-line: #353841;
  --inv-accent: #ff8a57;
}

:root[data-theme="dark"] {
  --bg: #101114;
  --surface: #17191e;
  --ink: #f1eee6;
  --body: #c9ccd2;
  --muted: #9198a3;
  --line: #2b2e36;
  --accent: #ff8a57;
  --accent-fill: #ff7a45;
  --accent-soft: #3a2218;
  --on-accent: #17110d;
  --inv-bg: #f1eee6;
  --inv-ink: #15171c;
  --inv-muted: #5a606b;
  --inv-line: #d0cabc;
  --inv-accent: #c2410c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
strong, b { color: var(--ink); font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }

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

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; text-decoration: none;
}
.skip:focus { left: 8px; }

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

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 60px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark {
  display: grid; place-items: center; width: 30px; height: 30px;
  background: var(--ink); color: var(--bg);
  font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.02em;
}
.brand-name { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }

.nav-links {
  display: flex; gap: 4px; margin-left: auto;
  overflow-x: auto; scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  padding: 6px 10px; font-size: 14px; color: var(--muted);
  text-decoration: none; white-space: nowrap; border-radius: 4px;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { box-shadow: inset 0 -2px 0 var(--accent-fill); border-radius: 0; }

.nav-cta {
  flex: none; padding: 8px 14px; font-size: 14px; font-weight: 600; text-decoration: none;
  background: var(--accent-fill); color: var(--on-accent); border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }

.theme-btn {
  flex: none; font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); background: transparent; border: 1px solid var(--line);
  padding: 8px 12px; cursor: pointer; border-radius: 2px;
  transition: border-color 0.15s;
}
.theme-btn:hover { border-color: var(--ink); }

/* ---------- Hero ---------- */

.hero { padding: 84px 0 0; }

.eyebrow {
  font: 500 13px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow span { color: var(--accent); margin: 0 6px; }

h1 {
  margin: 22px 0 0 -0.04em;
  font-family: var(--display); font-weight: 800; font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  font-size: clamp(76px, 15.5vw, 208px);
  line-height: 0.84; letter-spacing: -0.035em; text-transform: uppercase;
  color: var(--ink);
}

.headline {
  margin-top: 40px; max-width: 21em;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(24px, 3.1vw, 38px); line-height: 1.18; letter-spacing: -0.02em;
  color: var(--ink); text-wrap: balance;
}
.intro { margin-top: 22px; max-width: 44em; font-size: 18px; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-block; padding: 13px 22px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  color: var(--ink); border: 1px solid var(--ink); border-radius: 2px;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent); }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.ghost { border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.btn.ghost:hover { background: transparent; color: var(--accent); }

.status { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 15px; color: var(--muted); }
.status i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #2f9e5b; box-shadow: 0 0 0 4px color-mix(in srgb, #2f9e5b 22%, transparent); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 72px; border-top: 2px solid var(--ink);
}
.stats > div { padding: 22px 24px 30px 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats dt {
  font-family: var(--display); font-weight: 700; font-stretch: 85%;
  font-variation-settings: "wdth" 85;
  font-size: clamp(32px, 4.2vw, 54px); line-height: 1; letter-spacing: -0.03em;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.stats dd { margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--muted); max-width: 17em; }

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

section { padding: 96px 0; border-top: 1px solid var(--line); }

.sec { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 40px; }
.sec-body { min-width: 0; }

.sec-label {
  position: sticky; top: 92px; align-self: start;
  font: 500 13px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink);
}
.sec-label span { display: block; color: var(--accent); margin-bottom: 4px; }

h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.03em;
  color: var(--ink); max-width: 18em; text-wrap: balance;
}
.lede { margin-top: 16px; max-width: 42em; color: var(--muted); }

.sub-head {
  margin: 64px 0 20px;
  font: 500 13px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}

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

.about-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; margin-top: 36px; }
.prose p + p { margin-top: 18px; }

.strengths { border-top: 2px solid var(--ink); align-self: start; }
.strengths li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--muted); }
.strengths b { display: block; font-family: var(--display); font-size: 17px; letter-spacing: -0.01em; }

/* ---------- Impact ---------- */

.metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: 40px; background: var(--line); border: 1px solid var(--line);
}
.metric { background: var(--surface); padding: 26px 24px 28px; }
.metric-num {
  font-family: var(--display); font-weight: 700; font-stretch: 85%;
  font-variation-settings: "wdth" 85;
  font-size: clamp(32px, 3.6vw, 46px); line-height: 1; letter-spacing: -0.03em;
  color: var(--ink); white-space: nowrap;
}
.metric-label { margin-top: 8px; font: 500 12.5px/1.45 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.metric p { margin-top: 16px; font-size: 15px; line-height: 1.55; }

.ba { margin-top: 22px; display: grid; gap: 14px; }
.ba-row { display: grid; grid-template-columns: 52px 1fr; column-gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.ba-row i { display: block; height: 12px; width: var(--w); min-width: 4px; background: var(--line); }
.ba-row b { grid-column: 2; margin-top: 4px; font: 500 13px/1.3 var(--mono); color: var(--muted); }
.ba-row.after i { background: var(--accent-fill); }
.ba-row.after b { color: var(--ink); }

.highlights { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; border-top: 2px solid var(--ink); }
.highlights li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.highlights b { display: block; font-family: var(--display); font-size: 18px; letter-spacing: -0.01em; }
.highlights span { display: block; margin-top: 4px; font-size: 15.5px; line-height: 1.55; }

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

.job { margin-top: 44px; padding-top: 24px; border-top: 2px solid var(--ink); }
.job-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.job-head h3 { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: var(--ink); line-height: 1.2; }
.job-org { margin-top: 2px; color: var(--muted); }
.job-dates { font: 500 13px/1.5 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.timeline { margin-top: 26px; }
.timeline > li { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.tl-when { font: 500 13px/1.7 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.tl-what h4 { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); line-height: 1.3; }

.tl-what ul, .job-points { margin-top: 10px; display: grid; gap: 8px; }
.tl-what ul li, .job-points li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.55; }
.tl-what ul li::before, .job-points li::before {
  content: ""; position: absolute; left: 0; top: 0.68em; width: 7px; height: 1.5px; background: var(--muted);
}
.job-points { margin-top: 18px; }
.job-foot { margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--muted); }

.edu { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; padding: 18px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.edu b { display: block; font-family: var(--display); font-size: 19px; letter-spacing: -0.01em; }
.edu span { color: var(--muted); font-size: 15.5px; }

/* ---------- Work ---------- */

.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.project {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); padding: 26px 26px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.project:hover { border-color: var(--ink); transform: translateY(-2px); }
.project.feature { grid-column: 1 / -1; border-top: 3px solid var(--accent-fill); }
.project-meta { font: 500 12.5px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.project-meta span { color: var(--accent); margin-left: 10px; }
.project h3 { margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.project.feature h3 { font-size: clamp(26px, 3vw, 34px); }
.project p { margin-top: 12px; font-size: 16px; line-height: 1.6; max-width: 46em; }
.project .tags { margin-top: auto; padding-top: 20px; }

.project-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; border-top: 1px solid var(--line); }
.project-facts > div { padding: 14px 16px 2px 0; }
.project-facts > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.project-facts dt { font: 500 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.project-facts dd { margin-top: 2px; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font: 400 12.5px/1.3 var(--mono); padding: 5px 9px; border: 1px solid var(--line); color: var(--muted); border-radius: 2px; }
.tags li.core { background: var(--accent-soft); border-color: transparent; color: var(--ink); }

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

.skills { margin-top: 36px; border-top: 2px solid var(--ink); }
.skill-group { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.skill-group h3 { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); line-height: 1.35; }
.legend { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.swatch { display: inline-block; width: 14px; height: 14px; background: var(--accent-soft); border-radius: 2px; }

/* ---------- Activity ---------- */

.panel { margin-top: 32px; background: var(--surface); border: 1px solid var(--line); padding: 26px; }
.panel h3 { font: 500 13px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.chart { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 100%; gap: 14px; height: 250px; margin-top: 22px; }
.col { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; min-width: 0; height: 100%; }
.col b { font: 500 14px/1 var(--mono); color: var(--ink); text-align: center; margin-bottom: 8px; }
.stack { display: flex; flex-direction: column; gap: 2px; height: calc((100% - 56px) * var(--h)); transform-origin: bottom; }
.stack i { display: block; flex: var(--n) 0 0; min-height: 2px; }
.col span { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); font: 400 12.5px/1 var(--mono); color: var(--muted); text-align: center; }

.table-scroll { overflow-x: auto; margin-top: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 540px; }
th { text-align: left; font: 500 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--ink); }
td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
td:first-child { color: var(--ink); font-weight: 500; }
td:first-child, td:nth-child(3) { white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.num { text-align: right; font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
th.num { font-size: 12px; }

.key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.key li { display: flex; align-items: center; gap: 8px; }
.key i { width: 12px; height: 12px; }
.panel-sub { margin-top: 6px; font-size: 15px; color: var(--muted); }
.split { display: flex; gap: 3px; height: 40px; margin-top: 20px; }
.split i { display: block; flex: var(--n) 0 0; min-width: 6px; }
.s1 { background: var(--accent-fill); }
.s2 { background: var(--ink); }
.s3 { background: var(--line); }
.s4 { background: var(--muted); }
.split-legend { margin-top: 18px; }
.split-legend li { display: grid; grid-template-columns: 14px minmax(0, 1fr) minmax(0, 2fr) 60px; column-gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.split-legend i { width: 12px; height: 12px; align-self: center; }
.split-legend b { font-weight: 600; }
.split-legend span { color: var(--muted); }
.split-legend strong { font: 500 15px/1.4 var(--mono); text-align: right; white-space: nowrap; }

td.share { color: var(--ink); font-weight: 500; }

.note { margin-top: 20px; font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 52em; }

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

.contact { background: var(--inv-bg); color: var(--inv-muted); border-top: 0; padding: 112px 0; }
.contact .sec-label { color: var(--inv-ink); }
.contact .sec-label span { color: var(--inv-accent); }
.contact h2 { color: var(--inv-ink); font-size: clamp(44px, 7vw, 92px); letter-spacing: -0.04em; }
.contact .lede { color: var(--inv-muted); font-size: 19px; }

.mail-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 40px; }
.mail {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  font-size: clamp(24px, 4.4vw, 54px); color: var(--inv-ink); overflow-wrap: anywhere;
  text-decoration: underline; text-decoration-color: var(--accent-fill); text-decoration-thickness: 3px; text-underline-offset: 8px;
  transition: color 0.15s;
}
.mail:hover { color: var(--inv-accent); }
.copy-btn {
  font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--inv-ink); background: transparent; border: 1px solid var(--inv-line);
  padding: 9px 12px; cursor: pointer; border-radius: 2px; transition: border-color 0.15s;
}
.copy-btn:hover { border-color: var(--inv-ink); }

.contact .cta { margin-top: 36px; }
.contact .btn { color: var(--inv-ink); border-color: var(--inv-ink); padding: 15px 26px; font-size: 16px; }
.contact .btn:hover { background: var(--inv-ink); color: var(--inv-bg); }
.contact .btn.primary { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent); }
.contact .btn.primary:hover { background: var(--inv-ink); border-color: var(--inv-ink); color: var(--inv-bg); }
.contact :focus-visible { outline-color: var(--inv-accent); }

.hire-head { margin-top: 60px; font: 500 13px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--inv-accent); }
.services { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; margin-top: 14px; border-top: 1px solid var(--inv-line); }
.services li { padding: 16px 0; border-bottom: 1px solid var(--inv-line); }
.services b { display: block; font-family: var(--display); font-size: 18px; letter-spacing: -0.01em; color: var(--inv-ink); }
.services span { display: block; margin-top: 4px; font-size: 15.5px; line-height: 1.55; }
.services + .contact-facts { margin-top: 24px; border-top: 0; }
.contact-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--inv-line); }
.contact-facts > div { padding: 18px 20px 0 0; }
.contact-facts > div + div { padding-left: 20px; border-left: 1px solid var(--inv-line); }
.contact-facts dt { font: 500 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--inv-accent); }
.contact-facts dd { margin-top: 4px; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--inv-ink); line-height: 1.3; }

footer { padding: 26px 0 36px; font: 400 13px/1.6 var(--mono); color: var(--muted); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.foot a { margin-left: 16px; }
.foot a:first-child { margin-left: 0; }
.foot a:hover { color: var(--ink); }

.quickbar { display: none; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .chart .stack { transform: scaleY(0); transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .chart.in .stack { transform: scaleY(1); }
  .js .chart .col:nth-child(2) .stack { transition-delay: 0.05s; }
  .js .chart .col:nth-child(3) .stack { transition-delay: 0.1s; }
  .js .chart .col:nth-child(4) .stack { transition-delay: 0.15s; }
  .js .chart .col:nth-child(5) .stack { transition-delay: 0.2s; }
  .js .chart .col:nth-child(6) .stack { transition-delay: 0.25s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Wide screens: name beside the pitch, so the contact buttons sit above the fold ---------- */

@media (min-width: 1000px) {
  .hero { padding-top: 60px; }
  .hero-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 64px; align-items: start; margin-top: 26px; }
  .hero-grid h1 { margin-top: 0; }
  .hero-copy .headline { margin-top: 4px; font-size: clamp(24px, 2.5vw, 34px); }
  .hero-copy .intro { margin-top: 18px; font-size: 17px; }
  .hero-copy .cta { margin-top: 26px; }
  .stats { margin-top: 56px; }
}

/* ---------- Smaller screens ---------- */

@media (max-width: 960px) {
  .sec { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sec-label { position: static; display: flex; gap: 10px; }
  .sec-label span { margin: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .skill-group { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav-inner { gap: 12px; }
  .brand-name { display: none; }
  .nav-links { margin-left: 0; flex: 1; min-width: 0; }
  .hero { padding-top: 52px; }
  .headline { margin-top: 28px; }
  .intro { font-size: 16.5px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 52px; }
  .stats > div { padding: 18px 14px 22px 0; }
  .stats > div + div { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  section { padding: 64px 0; }
  .metrics, .projects, .highlights { grid-template-columns: 1fr; }
  .timeline > li { grid-template-columns: 1fr; gap: 4px; }
  .project-facts { grid-template-columns: 1fr; }
  .project-facts > div { padding: 12px 0; }
  .project-facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .project { padding: 22px 20px; }
  .panel { padding: 20px 16px; }
  .chart { gap: 8px; height: 210px; }
  .nav-cta { display: none; }
  .contact { padding: 72px 0; }
  .contact .cta .btn { flex: 1 1 100%; text-align: center; }
  .services { grid-template-columns: 1fr; }
  .hire-head { margin-top: 44px; }
  .contact-facts { grid-template-columns: 1fr; margin-top: 40px; }
  .contact-facts > div { padding: 14px 0; }
  .contact-facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--inv-line); }
  body { padding-bottom: 62px; }
  .quickbar {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--bg); border-top: 1px solid var(--line);
  }
  .quickbar a { padding: 16px 8px calc(16px + env(safe-area-inset-bottom)); text-align: center; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; border-left: 1px solid var(--line); }
  .quickbar a.q-primary { background: var(--accent-fill); color: var(--on-accent); border-left: 0; }
  .split-legend li { grid-template-columns: 14px minmax(0, 1fr) auto; row-gap: 2px; }
  .split-legend span { grid-column: 2 / -1; grid-row: 2; }
  .col b { font-size: 12.5px; }
}
