/* ==========================================================================
   DR. ADRIANI COLEMAN — EXECUTIVE PORTFOLIO & SYSTEMS DOSSIER (v1.101.0)
   Restrained monochrome editorial architecture for multilateral & executive review.
   Zero static card grids, zero colored section walls, pure typographic hierarchy +
   interactive MacBook & Mobile hardware stages.
   ========================================================================== */

:root {
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --slate: #334155;
  --muted: #64748b;
  --paper: #ffffff;
  --surface: #f8fafc;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Manrope", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --width: 1360px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

main,
section,
.site-footer {
  max-width: 100%;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

p, figure, dl, dd, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}

a, button, input, select {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button:disabled {
  cursor: default;
  opacity: 0.4;
}

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

[hidden] {
  display: none !important;
}

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

.section-wrap {
  width: min(var(--width), calc(100% - clamp(32px, 6vw, 96px)));
  margin-inline: auto;
}

.section-space {
  padding-block: clamp(64px, 7vw, 104px);
  border-bottom: 1px solid var(--line);
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -90px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 600;
}

.skip-link:focus {
  top: 14px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.header-inner {
  width: min(1440px, calc(100% - clamp(32px, 5vw, 80px)));
  min-height: 70px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.identity {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
}

.wordmark span {
  color: var(--muted);
}

.header-caption {
  display: flex;
  flex-direction: column;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  border-left: 1px solid var(--line);
  padding-left: 14px;
}

.header-caption > span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 2px;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 26px);
  font-size: 13.5px;
  font-weight: 500;
}

.primary-navigation > a:not(.nav-download) {
  padding-block: 6px;
  position: relative;
  white-space: nowrap;
  color: var(--slate);
  transition: color 0.18s ease;
}

.primary-navigation > a:not(.nav-download):hover,
.primary-navigation > a[aria-current] {
  color: var(--ink);
}

.primary-navigation > a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--ink);
}

.nav-link-subtle {
  color: var(--muted) !important;
  font-size: 12.5px;
}

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.18s ease;
}

.nav-download:hover {
  opacity: 0.88;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle > span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s var(--ease);
}

.menu-toggle[aria-expanded="true"] > span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ==========================================================================
   SHARED EDITORIAL TYPOGRAPHY & CONTROLS
   ========================================================================== */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover {
  background: var(--ink-soft);
}

.button-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-outline:hover {
  border-color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.18s ease;
}

.text-link:hover {
  border-color: var(--ink);
}

.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label > span:first-child {
  color: var(--ink);
  font-weight: 700;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 48px);
}

h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.03em;
}

.section-heading > p {
  color: var(--slate);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 52ch;
}

/* ==========================================================================
   00 / EXECUTIVE HERO (OPEN, CARDLESS, EDITORIAL)
   ========================================================================== */

.hero {
  padding-block: clamp(32px, 4vw, 56px) clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  column-gap: clamp(40px, 6vw, 88px);
  row-gap: 32px;
  align-items: start;
}

.hero-topline {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.hero-location {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-credentials-line {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.name-period {
  color: var(--muted);
}

.hero-discipline {
  margin-top: 14px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-summary {
  margin-top: 10px;
  max-width: 54ch;
  color: var(--slate);
  font-size: 16.5px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 28px;
}

.hero-contact {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate);
  padding-inline: 4px;
}

.hero-contact:hover {
  color: var(--ink);
}

/* Borderless Horizontal Metrics Row */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-metrics > div {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.hero-metrics > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero-metrics dt {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-metrics dd {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-metrics strong {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

#experience-marker {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-metrics span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.4;
}

.hero-portrait {
  justify-self: end;
  width: 100%;
  max-width: 348px;
}

.portrait-frame {
  padding: 10px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px -24px rgba(15, 23, 42, 0.14);
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 356 / 448;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
}

.portrait-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 4px 0;
  font-size: 12px;
  color: var(--muted);
}

.portrait-caption span:first-child {
  font-weight: 600;
  color: var(--ink);
}

/* ==========================================================================
   01 / EXECUTIVE PROFILE (BORDERLESS HAIRLINE COLUMNS)
   ========================================================================== */

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.about-prose p {
  color: var(--slate);
  font-size: 15.5px;
  line-height: 1.72;
}

.about-prose .lead {
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.about-prose p + p {
  margin-top: 14px;
}

.pillars-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.pillars-row > div {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.pillars-row > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.pillars-row span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
}

.pillars-row h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.pillars-row p {
  color: var(--slate);
  font-size: 13.8px;
  line-height: 1.6;
}

/* ==========================================================================
   02 / PRODUCTION SYSTEMS SHOWROOM & EDITORIAL LEDGER (NO STATIC CARDS)
   ========================================================================== */

.portfolio-showcase__header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  margin-bottom: 32px;
}

.sec-head__desc {
  margin-top: 12px;
  color: var(--slate);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 56ch;
}

.portfolio-showcase__project-intro {
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.portfolio-showcase__project-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.portfolio-showcase__project-position strong {
  color: var(--ink);
}

.portfolio-showcase__industry {
  color: var(--ink);
}

.portfolio-showcase__project-title {
  font-size: clamp(24px, 2.4vw, 32px);
}

.portfolio-showcase__project-outcome {
  margin-top: 6px;
  color: var(--slate);
  font-size: 14.5px;
  line-height: 1.6;
}

.portfolio-showcase__project-role {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink);
}

.portfolio-showcase__project-role strong {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
}

/* Clean Segmented Tab Bar */
.portfolio-showcase__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-block: 1px solid var(--line);
  margin-bottom: 36px;
}

.portfolio-showcase__tab {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  padding: 13px 12px;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.portfolio-showcase__tab:hover {
  color: var(--ink);
}

.portfolio-showcase__tab.is-active {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--ink);
}

.portfolio-showcase__tab-index {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
}

.portfolio-showcase__stage {
  display: grid;
  gap: 24px;
}

.portfolio-showcase__composition {
  display: grid;
  grid-template-columns: minmax(170px, 0.85fr) minmax(0, 860px) minmax(170px, 0.85fr);
  gap: clamp(16px, 2.2vw, 32px);
  align-items: center;
}

/* Borderless Typographic Side Callouts */
.portfolio-showcase__rail {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.portfolio-showcase__rail--left {
  text-align: right;
  align-items: flex-end;
}

.portfolio-showcase__rail--right {
  text-align: left;
  align-items: flex-start;
}

.portfolio-showcase__note {
  max-width: 210px;
}

.portfolio-showcase__rail--left .portfolio-showcase__note {
  border-right: 1.5px solid var(--line-strong);
  padding-right: 14px;
}

.portfolio-showcase__rail--right .portfolio-showcase__note {
  border-left: 1.5px solid var(--line-strong);
  padding-left: 14px;
}

.portfolio-showcase__note-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.portfolio-showcase__rail--left .portfolio-showcase__note-head {
  justify-content: flex-end;
}

.portfolio-showcase__note-index {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}

.portfolio-showcase__note-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.portfolio-showcase__note-text {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.42;
  color: var(--ink);
}

/* CSS MacBook Pro Hardware Stage */
.portfolio-showcase__macbook-wrap {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
}

.portfolio-showcase__macbook {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 24px 42px rgba(15, 23, 42, 0.14));
}

.portfolio-showcase__lid {
  position: relative;
  background: linear-gradient(180deg, #d5d8dd 0%, #c8ccd1 45%, #aeb4bb 100%);
  border-radius: 12px 12px 6px 6px;
  padding: clamp(8px, 1.1vw, 12px);
  padding-top: calc(clamp(8px, 1.1vw, 12px) + 4px);
}

.portfolio-showcase__lid::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a1d21;
}

.portfolio-showcase__bezel {
  background: #14181d;
  border-radius: 4px;
  padding: clamp(4px, 0.7vw, 7px);
  overflow: hidden;
}

.portfolio-showcase__screen-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0b0f14;
  border-radius: 2px;
  overflow: hidden;
}

.portfolio-showcase__menubar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 20px;
  padding: 0 10px;
  background: #1e293b;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  user-select: none;
}

.portfolio-showcase__menubar-left,
.portfolio-showcase__menubar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portfolio-showcase__menubar-item.is-bold {
  font-weight: 700;
  color: #fff;
}

.portfolio-showcase__screen-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0f14;
}

.portfolio-showcase__screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}

.portfolio-showcase__screen.is-visible {
  opacity: 1;
  z-index: 1;
}

.portfolio-showcase__screen-frame[data-data-label]::after {
  content: attr(data-data-label);
  display: block;
  width: 100%;
  padding: 4px 10px;
  background: #0f172a;
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.portfolio-showcase__base {
  position: relative;
  height: clamp(10px, 1.3vw, 14px);
  margin-top: -1px;
  background: linear-gradient(180deg, #c5cad0 0%, #b8bdc4 48%, #9aa1aa 100%);
  border-radius: 0 0 14px 14px;
}

.portfolio-showcase__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(100%, 760px);
  margin-inline: auto;
  padding-top: 4px;
}

.portfolio-showcase__nav {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-showcase__nav:hover {
  border-color: var(--ink);
}

.portfolio-showcase__control-center {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
}

.portfolio-showcase__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.portfolio-showcase__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: width 0.2s var(--ease), background 0.2s ease;
}

.portfolio-showcase__dot.is-active {
  width: 18px;
  border-radius: 999px;
  background: var(--ink);
}

.portfolio-showcase__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portfolio-showcase__caption {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.portfolio-showcase__counter {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

/* Borderless System Writeup Below MacBook */
.showroom-writeup {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  padding-top: 28px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.showroom-writeup__eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.showroom-writeup__copy h3 {
  font-size: 24px;
}

.showroom-writeup__brief {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.68;
}

.showroom-writeup__emis {
  margin-top: 8px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.65;
}

.showroom-writeup__aside ul {
  display: grid;
  counter-reset: ps-cap;
}

.showroom-writeup__aside li {
  counter-increment: ps-cap;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

.showroom-writeup__aside li:last-child {
  border-bottom: 0;
}

.showroom-writeup__aside li::before {
  content: counter(ps-cap, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

/* ==========================================================================
   CLEAN BORDERLESS EDITORIAL LEDGER (REPLACES STATIC PROJECT CARDS)
   ========================================================================== */

.ledger-block {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.ledger-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.ledger-header h3 {
  font-size: 22px;
  margin-top: 4px;
}

.ledger-subnote {
  margin-top: 6px;
  max-width: 58ch;
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.55;
}

.project-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.filter-button {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.18s ease, background 0.18s ease;
}

.filter-button:hover {
  color: var(--ink);
}

.filter-button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.result-count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ledger-columns {
  display: grid;
  grid-template-columns: 44px minmax(220px, 1.3fr) 150px minmax(220px, 1.4fr) 190px 110px;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-ledger {
  display: flex;
  flex-direction: column;
}

.ledger-row {
  border-bottom: 1px solid var(--line);
}

.ledger-row__button {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: 44px minmax(220px, 1.3fr) 150px minmax(220px, 1.4fr) 190px 110px;
  gap: 20px;
  padding: 20px 0;
  align-items: baseline;
  transition: background 0.15s ease;
}

.ledger-row__button:hover {
  background: var(--surface);
}

.ledger-col-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.ledger-col-main .project-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.ledger-col-main .project-description {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.55;
}

.ledger-col-sector {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--slate);
}

.ledger-col-caps {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
}

.ledger-col-role {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.45;
}

.ledger-role-partner {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
}

.ledger-col-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}

/* ==========================================================================
   03 / FIELD & MOBILE APPLICATIONS
   ========================================================================== */

.screen-gallery {
  overflow: visible;
}

.screen-gallery__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  margin-bottom: 32px;
}

.screen-gallery__brief {
  padding: 22px 26px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.screen-gallery__brief-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.screen-gallery__brief-top b {
  color: var(--ink);
}

.screen-gallery__brief h3 {
  font-size: 24px;
}

.screen-gallery__brief-copy {
  margin-top: 6px;
  color: var(--slate);
  font-size: 14.5px;
  line-height: 1.6;
}

.screen-gallery__brief-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.screen-gallery__brief-tags li::before {
  content: "· ";
}

.screen-gallery__brief-tags li:first-child::before {
  content: "";
}

.screen-gallery__controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 18px;
}

.screen-gallery__nav {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.screen-gallery__nav:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.screen-gallery__scroller {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 22px;
  overflow: visible;
  padding: 8px 0 12px;
}

.screen-gallery__item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.25s var(--ease);
}

.screen-gallery__item:hover,
.screen-gallery__item.is-active {
  transform: translateY(-4px);
}

.screen-gallery__label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 4px;
}

.sg-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
}

.screen-gallery__item.is-active .sg-num {
  color: var(--ink);
}

.screen-gallery__label span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.screen-gallery__label strong {
  font-size: 13.5px;
  color: var(--ink);
}

.screen-gallery__label small {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

.screen-gallery__phone {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 30px;
  background: #1e293b;
  padding: 7px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  overflow: hidden;
  box-shadow: 0 16px 32px -18px rgba(15, 23, 42, 0.22);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.screen-gallery__item.is-active .screen-gallery__phone,
.screen-gallery__item:hover .screen-gallery__phone {
  border-color: var(--ink);
  box-shadow: 0 22px 42px -18px rgba(15, 23, 42, 0.32);
}

.screen-gallery__screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 23px;
  background: #f8fafc;
}

/* ==========================================================================
   04 / PRACTICE & TECHNICAL ARCHITECTURE (CLEAN HAIRLINE MATRIX, NO DARK WALL)
   ========================================================================== */

.skills-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  counter-reset: practice;
}

.skill-group {
  counter-increment: practice;
}

.skill-group::before {
  content: "0" counter(practice);
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.skill-group h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.skill-tag {
  font-size: 14px;
  color: var(--slate);
}

.skill-tag::after {
  content: " ·";
  color: var(--line-strong);
  margin-left: 14px;
}

.skill-tag:last-child::after {
  content: "";
}

.architecture-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.architecture-matrix > div {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.architecture-matrix span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.architecture-matrix h4 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.architecture-matrix p {
  font-size: 13.8px;
  color: var(--slate);
  line-height: 1.6;
}

/* ==========================================================================
   05 / PROFESSIONAL EXPERIENCE
   ========================================================================== */

.experience-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 6vw, 80px);
}

.experience-heading {
  align-self: start;
  position: sticky;
  top: 104px;
}

.experience-heading > p {
  color: var(--slate);
  max-width: 34ch;
  margin-top: 14px;
}

.experience-heading .text-link {
  margin-top: 18px;
}

.timeline-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 20px;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  padding-top: 4px;
}

.timeline-item h3 {
  font-size: 19px;
  line-height: 1.3;
}

.timeline-org {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  margin-top: 3px;
}

.timeline-description {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.65;
  margin-top: 8px;
}

.timeline-item details {
  margin-top: 8px;
}

.timeline-item summary {
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  color: var(--ink);
}

.timeline-item ul {
  padding-left: 18px;
  margin-top: 6px;
  color: var(--slate);
  font-size: 13.8px;
}

.timeline-item li {
  list-style: disc;
}

.timeline-item li + li {
  margin-top: 5px;
}

.collaboration-label {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.collaboration-item {
  margin-top: 10px;
  border-left: 2px solid var(--ink);
  padding-left: 16px;
}

.collaboration-item h3 {
  font-size: 17px;
}

.collaboration-item p {
  font-size: 13.8px;
  color: var(--slate);
  margin-top: 3px;
}

.collaboration-role {
  font-weight: 600;
  color: var(--ink) !important;
}

/* ==========================================================================
   06 / ACADEMIC CREDENTIALS & FELLOWSHIPS
   ========================================================================== */

.credentials-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 6vw, 80px);
}

.credentials-intro {
  font-size: 15.5px;
  color: var(--slate);
  margin-top: 14px;
  max-width: 34ch;
}

.education-list {
  display: flex;
  flex-direction: column;
}

.education-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 20px;
}

.education-date {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  padding-top: 4px;
}

.education-item h3 {
  font-size: 18.5px;
  line-height: 1.35;
}

.education-institution {
  font-size: 14px;
  color: var(--slate);
  margin-top: 3px;
}

.credential-extras {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  align-items: start;
}

.credential-extra summary {
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 700;
  padding-bottom: 12px;
  color: var(--ink);
}

.credential-count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 8px;
}

.credential-extra ul {
  font-size: 13.5px;
  color: var(--slate);
  padding-left: 16px;
}

.credential-extra li {
  list-style: disc;
  margin-bottom: 8px;
}

/* ==========================================================================
   07 / SPEAKING & ENGAGEMENT ARCHIVE
   ========================================================================== */

.archive-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(130px, 0.55fr) minmax(190px, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
}

.archive-controls label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.archive-controls input,
.archive-controls select {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
}

.archive-reset {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 600;
}

.archive-results-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 20px 0 10px;
}

.archive-results-line > span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.engagement-year-label {
  font-size: 18px;
  border-top: 1.5px solid var(--ink);
  padding-top: 14px;
  margin-top: 24px;
}

.engagement-year-label:first-child {
  margin-top: 0;
}

.engagement-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 170px;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.engagement-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  padding-top: 2px;
}

.engagement-title {
  font-size: 16px;
  line-height: 1.4;
}

.engagement-org {
  font-size: 13.5px;
  color: var(--slate);
  margin-top: 2px;
}

.engagement-type {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  text-align: right;
  padding-top: 2px;
}

.archive-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.archive-footer > div {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.archive-footer p {
  font-size: 12.5px;
  color: var(--muted);
}

.archive-footer a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
}

.archive-collapse {
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
}

.empty-state,
.loading-copy {
  padding: 24px 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ==========================================================================
   08 / CONTACT (CLEAN, UNDERSTATED EXECUTIVE CLOSE)
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-lead {
  margin-top: 12px;
  font-size: 15.5px;
  color: var(--slate);
  line-height: 1.68;
  max-width: 48ch;
}

.contact-email {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: block;
}

.contact-phone {
  font-size: 15px;
  color: var(--slate);
  display: block;
  margin-top: 6px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.contact-portal-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.contact-portal-note a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER & CASE STUDY DIALOG
   ========================================================================== */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 78px;
  padding-block: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-brand p {
  font-size: 12.5px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12.5px;
  color: var(--slate);
}

.footer-links a:hover {
  color: var(--ink);
}

.dialog-open {
  overflow: hidden;
}

.project-dialog {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0;
  width: min(840px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
}

.project-dialog::backdrop {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
}

.dialog-inner {
  padding: clamp(24px, 4vw, 40px);
  position: relative;
}

.dialog-close {
  position: sticky;
  top: 14px;
  margin-top: -12px;
  margin-right: -12px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  z-index: 5;
  font-size: 22px;
  line-height: 1;
}

.dialog-close:hover {
  border-color: var(--ink);
}

.project-dialog h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-top: 6px;
}

.dialog-summary {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--slate);
  margin: 12px 0 20px;
}

.dialog-preview {
  margin: 18px 0 22px;
  background: var(--surface);
  padding: 12px;
  border: 1px solid var(--line);
}

.dialog-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 936 / 624;
  object-fit: contain;
}

.dialog-preview figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

.dialog-section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 18px;
}

.dialog-section h3 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.dialog-section p,
.dialog-section ul {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.65;
}

.dialog-section ul {
  padding-left: 18px;
}

.dialog-section li {
  list-style: disc;
}

.dialog-section li + li {
  margin-top: 5px;
}

.dialog-role {
  color: var(--ink) !important;
  font-weight: 600;
}

.project-link,
.dialog-permalink {
  margin-top: 18px;
  margin-right: 20px;
}

.dialog-done {
  margin-top: 22px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1140px) {
  .portfolio-showcase__composition {
    grid-template-columns: 1fr;
  }

  .portfolio-showcase__rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: left;
    align-items: stretch;
  }

  .portfolio-showcase__rail--left .portfolio-showcase__note,
  .portfolio-showcase__rail--right .portfolio-showcase__note {
    border: 0;
    border-top: 1px solid var(--line);
    padding: 10px 0 0;
    max-width: none;
  }

  .portfolio-showcase__rail--left .portfolio-showcase__note-head {
    justify-content: flex-start;
  }

  .ledger-columns {
    display: none;
  }

  .ledger-row__button {
    grid-template-columns: 36px 1fr auto;
    gap: 10px 16px;
  }

  .ledger-col-sector,
  .ledger-col-caps,
  .ledger-col-role {
    grid-column: 2 / -1;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: flex;
  }

  .primary-navigation {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 16px 24px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .primary-navigation.is-open {
    display: flex;
  }

  .hero-inner,
  .about-content,
  .section-heading,
  .portfolio-showcase__header-grid,
  .showroom-writeup,
  .screen-gallery__head,
  .experience-layout,
  .credentials-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-portrait {
    justify-self: start;
  }

  .experience-heading {
    position: static;
  }

  .hero-metrics,
  .pillars-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics > div:nth-child(odd),
  .pillars-row > div:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .skills-list,
  .architecture-matrix,
  .credential-extras {
    grid-template-columns: 1fr;
  }

  .screen-gallery__scroller {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .archive-controls {
    grid-template-columns: 1fr 1fr;
  }

  .search-field {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 72px;
  }

  .section-wrap {
    width: calc(100% - 36px);
  }

  .section-space {
    padding-block: 52px;
  }

  .header-inner {
    width: calc(100% - 28px);
    min-height: 64px;
    gap: 12px;
  }

  .header-caption {
    font-size: 13px;
    padding-left: 10px;
  }

  .header-caption > span,
  .hero-location,
  .section-label > span:last-child:not(:first-child),
  .archive-results-line > span,
  .portfolio-showcase__rail {
    display: none;
  }

  .primary-navigation {
    padding: 8px 16px 20px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 24px 40px -28px rgba(15, 23, 42, 0.35);
  }

  .primary-navigation > a:not(.nav-download) {
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav-download,
  .nav-link-subtle {
    margin-top: 8px;
    justify-content: center;
    min-height: 48px;
    border-radius: 12px;
  }

  .hero {
    padding-block: 28px 40px;
  }

  .hero-inner {
    gap: 22px;
  }

  .hero-credentials-line {
    font-size: 11.5px;
    line-height: 1.5;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .hero-discipline {
    font-size: 17px;
  }

  .hero-summary {
    font-size: 15.5px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .button,
  .hero-contact {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    border-radius: 12px;
  }

  .hero-contact {
    border: 1px solid var(--line);
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
    margin-top: 28px;
  }

  .hero-metrics > div {
    border: 0;
    padding: 0;
  }

  .hero-metrics > div:nth-child(odd) {
    padding-right: 14px;
    border-right: 1px solid var(--line);
  }

  .hero-portrait {
    justify-self: center;
    max-width: 250px;
    order: -1;
  }

  .portrait-frame {
    border-radius: 28px;
    padding: 8px;
  }

  .portrait-frame img {
    border-radius: 22px;
  }

  .portrait-caption {
    text-align: center;
    align-items: center;
  }

  h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .section-heading,
  .about-content,
  .portfolio-showcase__header-grid,
  .showroom-writeup,
  .screen-gallery__head,
  .experience-layout,
  .credentials-layout,
  .contact-grid,
  .pillars-row,
  .skills-list,
  .architecture-matrix,
  .credential-extras,
  .archive-controls {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pillars-row > div,
  .architecture-matrix > div {
    border: 0;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--line);
  }

  .portfolio-showcase__project-intro,
  .screen-gallery__brief {
    padding: 18px;
    border-radius: 18px;
  }

  .portfolio-showcase__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -18px;
    padding-inline: 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: 0;
  }

  .portfolio-showcase__tabs::-webkit-scrollbar {
    display: none;
  }

  .portfolio-showcase__tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 14px 16px;
    font-size: 14px;
  }

  .portfolio-showcase__controls {
    gap: 10px;
  }

  .portfolio-showcase__nav,
  .screen-gallery__nav {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .portfolio-showcase__caption {
    font-size: 13px;
    text-align: center;
  }

  .showroom-writeup {
    gap: 22px;
  }

  .ledger-header {
    align-items: flex-start;
  }

  .ledger-row__button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 0;
  }

  .ledger-col-num {
    font-size: 11px;
  }

  .ledger-col-main .project-title {
    font-size: 20px;
  }

  .ledger-col-sector,
  .ledger-col-caps {
    display: block;
  }

  .ledger-col-role {
    display: flex;
  }

  .ledger-col-sector::before,
  .ledger-col-caps::before {
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .ledger-col-sector::before {
    content: "Sector";
  }

  .ledger-col-caps::before {
    content: "Capabilities";
  }

  .ledger-col-cta {
    margin-top: 4px;
    text-align: left;
  }

  .screen-gallery__scroller {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    padding: 6px 2px 18px;
    scrollbar-width: none;
  }

  .screen-gallery__scroller::-webkit-scrollbar {
    display: none;
  }

  .screen-gallery__item {
    flex: 0 0 58%;
    width: 58%;
    scroll-snap-align: center;
  }

  .screen-gallery__item:hover,
  .screen-gallery__item.is-active {
    transform: none;
  }

  .screen-gallery__phone {
    border-radius: 28px;
  }

  .screen-gallery__screen {
    border-radius: 22px;
  }

  .timeline-item,
  .education-item,
  .engagement-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .engagement-type {
    text-align: left;
    padding-top: 6px;
  }

  .archive-controls input,
  .archive-controls select {
    height: 48px;
    font-size: 16px;
    border-radius: 12px;
  }

  .archive-reset,
  .archive-footer .button {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
  }

  .contact-email {
    font-size: 22px;
    overflow-wrap: anywhere;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-actions .button {
    width: 100%;
    border-radius: 12px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .project-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 18px;
  }

  .dialog-inner {
    padding: 22px 18px 28px;
  }

  .project-dialog h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
