:root {
  --ink: #0c151f;
  --ink-raised: #111e2a;
  --ink-soft: #1a2b38;
  --paper: #eef1eb;
  --paper-deep: #dfe7e2;
  --paper-line: #bcc9c5;
  --acid: #d7f276;
  --acid-dark: #53701e;
  --cyan: #66e3d2;
  --blue: #86a9d9;
  --orange: #efa06d;
  --muted: #83949a;
  --muted-light: #b0bec0;
  --white: #fbfff8;
  --display: "Bricolage Grotesque", "Arial", sans-serif;
  --body: "DM Sans", "Arial", sans-serif;
  --mono: "Space Mono", "Courier New", monospace;
  --gutter: clamp(1.25rem, 4vw, 5.5rem);
  --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::selection,
body *::selection { background: var(--acid); color: var(--ink); }

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

button, a { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }

.contact-section a:focus-visible,
.contact-section button:focus-visible { outline-color: var(--ink); }

.site-shell { overflow-x: clip; }

.site-header {
  align-items: center;
  background: rgba(12, 21, 31, 0.94);
  border-bottom: 1px solid rgba(238, 241, 235, 0.13);
  display: flex;
  height: 74px;
  justify-content: space-between;
  padding: 0 var(--gutter);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand { align-items: center; display: inline-flex; gap: 0.75rem; }

.brand-mark {
  align-items: center;
  border: 1px solid var(--acid);
  color: var(--acid);
  display: inline-flex;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
  height: 28px;
  justify-content: center;
  letter-spacing: -0.08em;
  width: 28px;
}

.brand-name { font-family: var(--display); font-size: 0.87rem; font-weight: 500; letter-spacing: -0.02em; }

.desktop-nav { align-items: center; display: flex; gap: clamp(1rem, 2.5vw, 2.8rem); }

.desktop-nav a,
.mobile-nav a {
  color: var(--muted-light);
  font-size: 0.75rem;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active { color: var(--acid); }

.desktop-nav a.is-active { color: var(--cyan); }

.desktop-nav .nav-contact { color: var(--paper); }

.desktop-nav .nav-contact span,
.mobile-nav a span { color: var(--acid); font-size: 1.1em; margin-left: 0.35rem; }

.menu-toggle,
.mobile-nav { display: none; }

.hero {
  background: var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(430px, 0.94fr);
  min-height: min(810px, calc(100vh - 74px));
}

.hero-copy {
  align-self: center;
  max-width: 800px;
  padding: clamp(4rem, 9vw, 8rem) var(--gutter) clamp(4rem, 7vw, 7rem);
}

.hero-status,
.mono,
.work-index,
.panel-label,
.proof-label {
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-status {
  align-items: center;
  color: var(--muted-light);
  display: flex;
  font-size: 0.68rem;
  gap: 0.6rem;
  margin: 0 0 2rem;
}

.status-dot { background: var(--acid); border-radius: 50%; box-shadow: 0 0 0 5px rgba(215, 242, 118, 0.1); height: 7px; width: 7px; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; }

h1 {
  color: var(--white);
  font-size: clamp(3.25rem, 6.3vw, 6.7rem);
  letter-spacing: -0.075em;
  line-height: 0.94;
  margin-bottom: 2.3rem;
  max-width: 10.5ch;
}

h1 em { color: var(--acid); font-style: normal; }

.hero-lede { color: #b8c0b8; font-size: clamp(1rem, 1.2vw, 1.18rem); line-height: 1.55; margin-bottom: 2.4rem; max-width: 53ch; }

.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1.8rem; }

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  gap: 0.8rem;
  justify-content: center;
  letter-spacing: -0.02em;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button span { font-size: 1.15em; }
.button-primary { background: var(--acid); color: var(--ink); }
.button-primary:hover { background: var(--white); }
.button-acid { background: var(--acid); color: var(--ink); margin-top: 1.6rem; }
.button-acid:hover { background: var(--white); }

.text-link { color: var(--paper); font-size: 0.8rem; }
.text-link span { color: var(--acid); margin-left: 0.45rem; }
.text-link:hover { color: var(--acid); }

.hero-footnote { border-top: 1px solid rgba(242, 240, 232, 0.15); color: var(--muted); display: flex; font-size: 0.68rem; justify-content: space-between; margin-top: clamp(3.5rem, 7vw, 6rem); max-width: 620px; padding-top: 0.85rem; }
.hero-footnote .mono { color: var(--acid); font-size: 0.59rem; }

.hero-visual { align-items: center; background: var(--ink-raised); display: flex; min-height: 620px; padding: clamp(2rem, 5vw, 5rem) var(--gutter) clamp(3rem, 7vw, 6rem) 0; position: relative; }

.hero-visual::after { border: 1px solid rgba(102, 227, 210, 0.18); border-radius: 50%; content: ""; height: clamp(15rem, 31vw, 31rem); pointer-events: none; position: absolute; right: -10%; top: 16%; width: clamp(15rem, 31vw, 31rem); }

.instrument-board {
  background: #162630;
  border: 1px solid rgba(102, 227, 210, 0.28);
  border-radius: 14px;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.3);
  min-height: min(620px, 73vw);
  overflow: hidden;
  padding: 1.2rem 1.2rem 1rem;
  position: relative;
  transform: perspective(900px) rotateY(calc(-3deg + var(--pointer-x, 0deg))) rotateX(calc(1deg + var(--pointer-y, 0deg)));
  transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}

.instrument-board:hover { transform: perspective(900px) rotateY(-1deg) rotateX(0deg) translateY(-4px); }

.board-topline { border-bottom: 1px solid rgba(102, 227, 210, 0.25); color: var(--paper); display: flex; font-family: var(--mono); font-size: 0.58rem; justify-content: space-between; letter-spacing: 0.05em; padding-bottom: 0.8rem; }
.board-topline .mono { color: var(--acid); font-size: 0.54rem; }
.signal-map { display: block; height: auto; margin: 1.25rem auto 0; max-height: 470px; width: 100%; }
.map-rule { fill: none; opacity: 0.25; stroke: #f2f0e8; stroke-width: 1; }
.map-spine { fill: none; opacity: 0.32; stroke: #f2f0e8; stroke-dasharray: 2 8; stroke-width: 1; }
.map-route { fill: none; stroke-linecap: square; stroke-linejoin: bevel; stroke-width: 3; }
.map-route-one { stroke: var(--acid); }
.map-route-two { stroke: var(--blue); }
.map-route-three { stroke: var(--orange); }
.map-route-output { stroke: var(--acid); stroke-width: 4; }
.map-node { fill: #162630; stroke: var(--acid); stroke-width: 3; }
.map-node-muted { stroke: #aab2a9; }
.map-output { fill: var(--acid); opacity: 0.25; }
.map-output-core { fill: var(--acid); }
.map-labels { fill: var(--paper); font-family: var(--mono); font-size: 12px; letter-spacing: 1.6px; }
.map-labels text:nth-child(4), .map-labels text:nth-child(5) { fill: var(--acid); }
.map-ticks { fill: none; opacity: 0.5; stroke: var(--paper); stroke-width: 1; }
.board-readout { border-top: 1px solid rgba(242, 240, 232, 0.2); color: var(--muted-light); display: flex; font-size: 0.65rem; justify-content: space-between; padding-top: 0.85rem; }
.board-readout span { align-items: center; display: inline-flex; gap: 0.45rem; }
.readout-line { background: var(--blue); display: block; height: 2px; width: 18px; }
.readout-line-acid { background: var(--acid); }
.board-corner { bottom: 1.05rem; color: var(--muted); font-size: 0.5rem; position: absolute; right: 1.2rem; }

.paper-section { background: var(--paper); color: var(--ink); padding: clamp(5rem, 9vw, 9.5rem) var(--gutter); }
.section-heading { margin-bottom: clamp(3rem, 6vw, 5.8rem); max-width: 1250px; }
.section-heading h2 { font-size: clamp(2.5rem, 5.3vw, 5.4rem); letter-spacing: -0.075em; line-height: 0.95; margin-bottom: 1.5rem; max-width: 10ch; }
.section-heading p { color: #626b62; font-size: 1rem; line-height: 1.55; max-width: 36ch; }
.split-heading { align-items: end; display: flex; gap: 4rem; justify-content: space-between; }
.split-heading p { margin-bottom: 0.3rem; }

.bridge-layout { align-items: start; display: grid; gap: clamp(3rem, 8vw, 10rem); grid-template-columns: minmax(0, 0.75fr) minmax(450px, 1.25fr); }
.bridge-copy { max-width: 470px; }
.large-copy { font-family: var(--display); font-size: clamp(1.65rem, 2.5vw, 2.6rem); letter-spacing: -0.06em; line-height: 1.04; margin-bottom: 2rem; }
.bridge-copy > p:not(.large-copy) { color: #626b62; font-size: 1rem; line-height: 1.65; max-width: 42ch; }
.underlined-link { border-bottom: 1px solid var(--ink); display: inline-block; font-family: var(--display); font-size: 0.85rem; font-weight: 600; margin-top: 2rem; padding-bottom: 0.45rem; }
.underlined-link span { color: var(--acid-dark); margin-left: 0.45rem; }
.underlined-link:hover { border-bottom-color: var(--acid-dark); color: var(--acid-dark); }

.bridge-rail { border-bottom: 1px solid var(--paper-line); border-top: 1px solid var(--paper-line); padding: 1.3rem 0 0.4rem; position: relative; }
.rail-line { height: 1px; left: 0; opacity: 0.7; position: absolute; top: 0; transform: translateY(-1px); width: 38%; }
.rail-line-acid { background: var(--acid-dark); }
.rail-line-blue { background: var(--blue); left: 38%; width: 31%; }
.rail-line-orange { background: var(--orange); left: 69%; width: 31%; }
.rail-row { align-items: center; border-bottom: 1px solid var(--paper-line); display: grid; gap: 1rem; grid-template-columns: 1.1fr 1.4fr 2rem; min-height: 76px; }
.rail-row:last-of-type { border-bottom: 0; }
.rail-label { font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.045em; }
.rail-desc { color: #566258; font-size: 0.75rem; }
.rail-signal { color: #566258; font-size: 0.6rem; justify-self: end; }
.rail-output { align-items: center; color: var(--ink); display: flex; font-family: var(--display); font-size: 1.05rem; font-weight: 600; gap: 0.65rem; justify-content: flex-end; padding: 1.35rem 0 0.9rem; }
.rail-output .mono { color: var(--acid-dark); font-size: 0.58rem; margin-left: auto; }
.output-pulse { background: var(--acid-dark); border-radius: 50%; height: 8px; width: 8px; }

.bridge-footnote { border-bottom: 1px solid var(--paper-line); border-top: 1px solid var(--paper-line); color: #536158; display: grid; font-family: var(--mono); font-size: 0.58rem; grid-template-columns: 1.15fr repeat(3, 1fr); margin-top: clamp(4rem, 7vw, 7rem); padding: 1rem 0; text-transform: uppercase; }
.bridge-footnote span:not(:first-child) { color: #4b5f62; }

.ink-section { background: var(--ink); color: var(--paper); padding: clamp(5rem, 9vw, 9.5rem) var(--gutter); }
.section-heading-light h2 { color: var(--white); }
.section-heading-light p { color: var(--muted-light); }
.experience-section { padding-bottom: clamp(4rem, 7vw, 7rem); }
.experience-list { border-top: 1px solid rgba(242, 240, 232, 0.25); }
.experience-row { align-items: start; border-bottom: 1px solid rgba(242, 240, 232, 0.18); display: grid; gap: 1rem; grid-template-columns: minmax(100px, 0.58fr) minmax(200px, 0.95fr) minmax(260px, 1.6fr) 105px; padding: 1.6rem 0; transition: background 180ms ease, transform 180ms ease; }
.experience-row:hover { background: rgba(242, 240, 232, 0.04); transform: translateX(0.9rem); }
.experience-row.is-current { border-bottom-color: rgba(215, 242, 118, 0.43); }
.role-year { color: var(--muted); font-size: 0.62rem; padding-top: 0.25rem; }
.role-main h3 { font-size: 1.25rem; letter-spacing: -0.04em; margin-bottom: 0.1rem; }
.role-main p { color: var(--muted-light); font-size: 0.77rem; margin: 0; }
.role-detail { color: #acb5ad; font-size: 0.8rem; line-height: 1.55; max-width: 44ch; }
.role-signal { align-items: center; color: var(--acid); display: flex; font-family: var(--mono); font-size: 0.56rem; gap: 0.45rem; justify-self: end; padding-top: 0.25rem; text-transform: uppercase; }
.signal-bar { background: var(--acid); display: inline-block; height: 3px; position: relative; width: 27px; }
.signal-bar i { background: var(--ink); display: block; height: 3px; position: absolute; right: 0; width: 5px; }
.signal-bar-muted { background: var(--muted); }
.experience-tail { align-items: center; color: var(--muted); display: flex; font-size: 0.7rem; justify-content: space-between; padding-top: 1.25rem; }
.experience-tail a { color: var(--acid); }
.experience-tail a:hover { color: var(--white); }

.work-section { padding-bottom: clamp(5rem, 10vw, 10rem); }
.work-grid { display: grid; gap: 0.85rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work-item { background: #e5e9e2; border: 1px solid var(--paper-line); border-radius: 14px; min-height: 340px; overflow: hidden; padding: clamp(1.4rem, 3vw, 2.5rem); position: relative; transition: background 220ms ease, color 220ms ease, transform 220ms ease; }
.work-item:hover { transform: translateY(-3px); }
.work-item:hover { background: var(--ink); color: var(--paper); }
.work-item:hover p { color: var(--muted-light); }
.work-item:hover .work-index { color: var(--acid); }
.work-item:hover .work-tags span { border-color: rgba(215, 242, 118, 0.55); color: var(--acid); }
.work-item:hover .work-wire span, .work-item:hover .work-wire b { background: var(--acid); }
.work-item:hover .work-wire { border-color: rgba(215, 242, 118, 0.5); }
.work-item.work-featured { background: var(--acid); color: var(--ink); grid-row: span 2; min-height: 681px; }
.work-item.work-featured:hover { background: var(--white); }
.work-item.work-featured:hover .work-index { color: var(--acid-dark); }
.work-item.work-wide { min-height: 335px; }
.work-index { color: #58645a; font-size: 0.56rem; margin-bottom: 3rem; }
.work-item h3 { font-size: clamp(1.75rem, 3.1vw, 3.3rem); letter-spacing: -0.065em; line-height: 0.98; margin-bottom: 1.1rem; max-width: 11ch; }
.work-item p { color: #626b62; font-size: 0.9rem; line-height: 1.55; max-width: 37ch; }
.work-item.work-featured p { color: #384619; }
.work-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 2.1rem; }
.work-tags span { border: 1px solid #b8baac; color: #626b62; font-family: var(--mono); font-size: 0.55rem; padding: 0.35rem 0.48rem; text-transform: uppercase; }
.work-item.work-featured .work-tags span { border-color: #84973d; color: #384619; }
.work-wire { align-items: end; border-bottom: 1px solid #b2b8ae; bottom: 2.5rem; display: flex; gap: 4px; height: 76px; justify-content: flex-end; position: absolute; right: 2.5rem; width: 35%; }
.work-wire span { background: var(--ink); display: block; height: 28%; width: 5px; }
.work-wire span:nth-child(2) { height: 52%; }.work-wire span:nth-child(3) { height: 36%; }.work-wire span:nth-child(4) { height: 78%; }
.work-wire b { background: var(--ink); display: block; height: 6px; position: absolute; right: -4px; top: 10px; width: 6px; }
.work-wire-wide { bottom: 3.2rem; height: 130px; right: 2.5rem; width: 48%; }
.work-wire-wide span:nth-child(1) { height: 20%; }.work-wire-wide span:nth-child(2) { height: 62%; }.work-wire-wide span:nth-child(3) { height: 41%; }.work-wire-wide span:nth-child(4) { height: 87%; }
.work-wire-dots { align-items: center; border: 0; bottom: 2.8rem; gap: 0.55rem; height: 70px; justify-content: center; }
.work-wire-dots span { border: 1px solid var(--ink); background: transparent; border-radius: 50%; height: 11px; width: 11px; }
.work-wire-dots span:nth-child(2), .work-wire-dots span:nth-child(4) { background: var(--orange); border-color: var(--orange); }
.work-constellation { bottom: 2.5rem; height: 108px; position: absolute; right: 3rem; width: 170px; }
.work-constellation::before, .work-constellation::after { border-top: 1px solid var(--acid-dark); content: ""; left: 3%; position: absolute; top: 50%; transform: rotate(19deg); width: 95%; }
.work-constellation::after { transform: rotate(-29deg); }
.work-constellation i, .work-constellation b { background: var(--acid-dark); border-radius: 50%; display: block; height: 7px; position: absolute; width: 7px; z-index: 1; }
.work-constellation i:nth-child(1) { left: 2%; top: 43%; }.work-constellation i:nth-child(2) { left: 20%; top: 16%; }.work-constellation i:nth-child(3) { left: 33%; top: 75%; }.work-constellation i:nth-child(4) { left: 51%; top: 27%; }.work-constellation i:nth-child(5) { left: 75%; top: 62%; }.work-constellation i:nth-child(6) { right: 0; top: 7%; }
.work-constellation b { background: var(--orange); height: 12px; right: 36%; top: 39%; width: 12px; }

.services-section { padding-bottom: clamp(5rem, 9vw, 9rem); }
.services-heading { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr); gap: 4rem; }
.services-heading h2 { max-width: 12ch; }
.services-heading p { align-self: end; margin-bottom: 0.35rem; }
.service-console { border: 1px solid rgba(102, 227, 210, 0.32); border-radius: 14px; overflow: hidden; }
.service-tabs { border-bottom: 1px solid rgba(242, 240, 232, 0.27); display: flex; }
.service-tab { background: transparent; border: 0; border-right: 1px solid rgba(242, 240, 232, 0.2); color: var(--muted-light); cursor: pointer; font-family: var(--body); font-size: 0.77rem; padding: 1.05rem 1.25rem; transition: background 180ms ease, color 180ms ease; }
.service-tab:hover { color: var(--white); }
.service-tab.is-active { background: var(--acid); color: var(--ink); }
.service-panel { display: grid; gap: 3rem; grid-template-columns: 1.2fr 0.8fr; min-height: 345px; padding: clamp(1.6rem, 4vw, 4.2rem); }
.panel-label { color: var(--acid); font-size: 0.59rem; margin-bottom: 1.5rem; }
.service-panel h3 { color: var(--white); font-size: clamp(2rem, 4vw, 4.2rem); letter-spacing: -0.075em; line-height: 0.95; margin-bottom: 1.5rem; max-width: 10ch; }
.service-panel p:not(.panel-label):not(.service-panel-list p) { color: var(--muted-light); font-size: 0.9rem; line-height: 1.6; max-width: 48ch; }
.service-panel-list { border-left: 1px solid rgba(242, 240, 232, 0.25); padding-left: clamp(1.3rem, 3vw, 3rem); }
.service-panel-list p { color: var(--muted); font-family: var(--mono); font-size: 0.59rem; text-transform: uppercase; }
.service-panel-list ul { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.service-panel-list li { border-bottom: 1px solid rgba(242, 240, 232, 0.16); color: var(--paper); font-size: 0.83rem; padding: 0.85rem 0; }
.service-panel-list li::before { color: var(--acid); content: "+"; font-family: var(--mono); margin-right: 0.65rem; }

.proof-section { padding-bottom: clamp(4.5rem, 8vw, 8rem); }
.proof-grid { border-top: 1px solid var(--paper-line); display: grid; grid-template-columns: 1fr 1.15fr 1fr; }
.proof-block { border-right: 1px solid var(--paper-line); min-height: 270px; padding: 1.6rem 2rem 1.6rem 0; }
.proof-block + .proof-block { padding-left: 2rem; }
.proof-block:last-child { border-right: 0; }
.proof-label { color: #58645a; font-size: 0.58rem; margin-bottom: 2.8rem; }
.proof-block h3 { font-size: clamp(1.3rem, 2.1vw, 2.1rem); letter-spacing: -0.06em; line-height: 1.02; max-width: 13ch; }
.proof-block p:not(.proof-label) { color: #626b62; font-size: 0.82rem; line-height: 1.55; max-width: 34ch; }
.proof-block p span { color: var(--acid-dark); font-family: var(--mono); font-size: 0.65rem; }
.proof-block-pull { background: var(--acid); margin-bottom: -4.3rem; padding-bottom: 3.4rem; padding-right: 2rem; position: relative; }
.proof-block-pull .proof-label { color: #536124; }
.proof-block-pull p:not(.proof-label) { color: #536124; }
.credential-strip { border-bottom: 1px solid var(--paper-line); border-top: 1px solid var(--paper-line); display: flex; flex-wrap: wrap; gap: 0; margin-top: 5.2rem; padding: 0.9rem 0; }
.credential-strip span { color: #58645a; font-family: var(--mono); font-size: 0.58rem; padding: 0 1.5rem; text-transform: uppercase; }
.credential-strip span:first-child { padding-left: 0; }

.contact-section { background: var(--acid); color: var(--ink); padding: clamp(5rem, 11vw, 12rem) var(--gutter) clamp(4rem, 7vw, 7rem); position: relative; }
.contact-rule { align-items: center; display: flex; gap: 8px; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.contact-rule span { background: var(--ink); display: block; height: 4px; width: 31px; }.contact-rule span:nth-child(2) { opacity: 0.6; width: 48px; }.contact-rule span:nth-child(3) { opacity: 0.3; width: 72px; }.contact-rule b { background: var(--orange); border-radius: 50%; height: 12px; margin-left: 4px; width: 12px; }
.contact-section h2 { font-size: clamp(3.5rem, 8.8vw, 10.8rem); letter-spacing: -0.1em; line-height: 0.83; margin-bottom: 2.2rem; max-width: 8ch; }
.contact-section > p { color: #536124; font-size: clamp(1rem, 1.3vw, 1.22rem); line-height: 1.55; max-width: 49ch; }
.contact-email { border-bottom: 2px solid var(--ink); display: inline-block; font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.9rem); font-weight: 600; letter-spacing: -0.05em; margin-top: 2.6rem; padding-bottom: 0.6rem; }
.contact-email span { font-size: 0.75em; margin-left: 0.35rem; }
.contact-email:hover { border-bottom-color: var(--orange); color: #536124; }
.contact-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; margin-top: clamp(5rem, 9vw, 9rem); }
.contact-links a { border-bottom: 1px solid rgba(18, 23, 21, 0.35); font-family: var(--mono); font-size: 0.63rem; padding-bottom: 0.32rem; text-transform: uppercase; }
.contact-links a:hover { border-color: var(--ink); }

.site-footer { align-items: center; background: var(--ink); color: var(--muted); display: flex; font-size: 0.68rem; justify-content: space-between; padding: 1.5rem var(--gutter); }
.site-footer .mono { color: var(--acid); font-size: 0.55rem; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--acid); }

@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(370px, 0.82fr); }
  .hero-visual { padding-left: 0; }
  .experience-row { grid-template-columns: minmax(90px, 0.55fr) minmax(190px, 0.9fr) minmax(220px, 1.5fr) 90px; }
  .work-item.work-featured { min-height: 650px; }
}

@media (max-width: 820px) {
  .site-header { height: 68px; }
  .desktop-nav { display: none; }
  .menu-toggle { align-items: center; background: transparent; border: 0; color: var(--paper); cursor: pointer; display: inline-flex; font-family: var(--mono); font-size: 0.57rem; gap: 0.65rem; padding: 0.4rem 0; text-transform: uppercase; }
  .menu-lines { display: flex; flex-direction: column; gap: 4px; }
  .menu-lines i { background: var(--acid); display: block; height: 1px; transition: transform 180ms ease; width: 18px; }
  .menu-toggle[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(2.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines i:last-child { transform: translateY(-2.5px) rotate(-45deg); }
  .mobile-nav { background: var(--ink); border-bottom: 1px solid rgba(242, 240, 232, 0.2); display: grid; gap: 1.2rem; left: 0; opacity: 0; overflow: hidden; padding: 1.6rem var(--gutter); pointer-events: none; position: absolute; right: 0; top: 68px; transform: translateY(-8px); transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms; visibility: hidden; }
  .mobile-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); transition-delay: 0s; visibility: visible; }
  .mobile-nav a { font-family: var(--display); font-size: 1.2rem; }
  .hero { display: block; min-height: auto; }
  .hero-copy { padding-bottom: 5rem; padding-top: 5.5rem; }
  .hero-visual { min-height: auto; padding: 0 var(--gutter) 4.5rem; }
  .instrument-board { min-height: auto; transform: none; }
  .instrument-board:hover { transform: translateY(-2px); }
  .signal-map { max-height: none; }
  .split-heading, .services-heading { align-items: start; display: block; }
  .split-heading p, .services-heading p { margin-top: 1.8rem; }
  .bridge-layout { display: block; }
  .bridge-footnote { gap: 0.8rem; grid-template-columns: 1fr 1fr; line-height: 1.4; }
  .bridge-copy { margin-bottom: 4rem; max-width: 580px; }
  .experience-row { grid-template-columns: 1fr auto; padding: 1.4rem 0; }
  .role-main { grid-column: 1; grid-row: 1; }
  .role-year { grid-column: 1; grid-row: 2; }
  .role-detail { grid-column: 1 / -1; grid-row: 3; max-width: 60ch; }
  .role-signal { grid-column: 2; grid-row: 1 / span 2; }
  .experience-tail { align-items: start; flex-direction: column; gap: 1rem; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item.work-featured { grid-row: auto; min-height: 430px; padding-bottom: 8.5rem; }
  .work-item, .work-item.work-wide { min-height: 340px; padding-bottom: 8.5rem; }
  .service-panel { grid-template-columns: 1fr; }
  .service-panel-list { border-left: 0; border-top: 1px solid rgba(242, 240, 232, 0.25); padding-left: 0; padding-top: 1.5rem; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-block, .proof-block + .proof-block { border-bottom: 1px solid var(--paper-line); border-right: 0; min-height: 0; padding: 1.6rem 0 2.5rem; }
  .proof-block-pull { margin-bottom: 0; padding-bottom: 2.5rem; }
  .credential-strip { margin-top: 2rem; }
  .credential-strip span { padding: 0.4rem 1rem 0.4rem 0; }
}

@media (max-width: 520px) {
  .brand-name { font-size: 0.76rem; }
  h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .hero-lede { font-size: 0.98rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.35rem; }
  .hero-footnote { align-items: start; flex-direction: column; gap: 0.5rem; }
  .board-readout { align-items: start; flex-direction: column; gap: 0.6rem; }
  .rail-row { gap: 0.5rem; grid-template-columns: 1.1fr 1fr 1.8rem; min-height: 82px; }
  .rail-desc { font-size: 0.67rem; }
  .rail-label { font-size: 1rem; }
  .service-tabs { overflow-x: auto; }
  .service-tab { flex: 0 0 auto; font-size: 0.7rem; padding: 0.9rem 0.85rem; }
  .contact-section h2 { font-size: clamp(3.5rem, 16vw, 6rem); }
  .contact-email { font-size: 1.05rem; }
  .site-footer { align-items: start; flex-direction: column; gap: 0.8rem; }
}

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