@font-face {
  font-family: 'Portfolio Serif';
  src: url('/assets/serif.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Portfolio Serif';
  src: url('/assets/serif-italic.woff') format('woff');
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('/assets/roboto-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('/assets/roboto-medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('/assets/roboto-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #122f36;
  --navy: #092e3b;
  --navy-deep: #092731;
  --cream: #f6f2e9;
  --paper: #fffcf6;
  --coral: #eda18a;
  --gold: #e5be88;
  --teal: #21636a;
  --teal-soft: #d9e8e2;
  --text: #3d5356;
  --rule: #d9d9ce;
  --heading: 'Portfolio Serif', Georgia, serif;
  --sans: 'Roboto', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.58 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol { margin: 0; }
h1, h2 { font-family: var(--heading); font-weight: 400; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; }
button, select, input[type='checkbox'], input[type='range'], summary { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #bc593f; outline-offset: 4px; }
.masthead :focus-visible, .project-header :focus-visible, .site-footer :focus-visible { outline-color: #f5bd88; }
::selection { color: var(--navy-deep); background: #f5c9af; }
[hidden] { display: none !important; }
.shell { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 5;
  left: 16px;
  top: 14px;
  transform: translateY(-150%);
  background: var(--paper);
  padding: 10px 14px;
  color: var(--ink);
  border-radius: 6px;
}
.skip:focus { transform: none; }
.masthead, .project-header {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  isolation: isolate;
}
.masthead-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 44%;
  background:
    linear-gradient(90deg, var(--navy) 0%, #092e3be8 18%, #092e3b72 46%, #092e3b08 78%),
    linear-gradient(0deg, #092e3b80, transparent 35%, transparent 72%, #082a366d 100%),
    url('/assets/atlantic.webp') 64% 56% / cover no-repeat;
}
.site-header { position: relative; z-index: 1; }
.nav-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid #f6f2e934;
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand-mark {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e5be8880;
  border-radius: 50%;
  font: 400 21px/1 var(--heading);
  letter-spacing: -.15em;
  padding-right: 4px;
}
.brand-mark span { color: var(--coral); }
.nav-layout nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.nav-layout nav a, .nav-linkedin { font-size: 14px; color: #f4f0e7; }
.nav-layout nav a { padding-block: 11px; }
.nav-layout nav a:hover, .nav-linkedin:hover { color: #ffd0b7; }
.nav-linkedin {
  justify-self: end;
  border: 1px solid #f5e5d165;
  padding: 8px 13px;
  border-radius: 5px;
}
.nav-linkedin span { margin-left: 5px; }
.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  padding: 43px 0 54px;
}
.hero-copy { max-width: 760px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f3c89d;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
}
.eyebrow > span { display: inline-block; width: 26px; height: 1px; background: var(--gold); }
.hero h1 {
  font-size: clamp(62px, 7.5vw, 106px);
  line-height: 1.1;
  letter-spacing: -.07em;
  margin: 9px 0 12px;
}
.hero h1 em { color: #f3bc9f; padding-right: .08em; }
.hero-copy > p:not(.eyebrow) {
  color: #eef0eb;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  max-width: 565px;
}
.hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 22px; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  transition: background .16s ease, color .16s ease;
}
.button-coral { background: var(--coral); color: #1e2828; }
.button-coral:hover { background: #f6bc9f; }
.button-primary { background: var(--navy); color: white; }
.button-primary:hover { background: #205661; }
.button-secondary { border-color: #bfcac1; color: var(--teal); background: transparent; }
.button-secondary:hover { background: #e6eee6; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration: underline; }
.hero-secondary { color: #f4efe7; padding-block: 8px; }
.section { padding-block: 76px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2, .experience-intro h2, .site-footer h2 {
  font-size: clamp(39px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.055em;
}
.section-heading > p { color: var(--text); max-width: 405px; padding-bottom: 3px; }
.work-grid, .writing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.work-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #dcdcd2;
  border-radius: 12px;
  background: var(--paper);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.work-card:hover { transform: translateY(-3px); border-color: #a8bdb6; box-shadow: 0 14px 26px #12323712; }
.card-visual {
  display: grid;
  place-items: center;
  min-height: 199px;
  padding: 19px 22px;
  border-bottom: 1px solid #142f3012;
}
.visual-delivery { background: linear-gradient(138deg, #bfd9d4, #dae9e1 72%, #edf0de); }
.visual-routing { background: linear-gradient(140deg, #efd2bc, #f2e3d2 76%); }
.visual-launch { background: linear-gradient(142deg, #103b47, #29616a); }
.mini-panel {
  width: 100%;
  max-width: 284px;
  min-height: 148px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fffdf7;
  color: #244045;
  box-shadow: 0 10px 26px #0b2e3825;
  font: 400 10px/1.3 var(--sans);
}
.mini-header { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding-bottom: 9px; border-bottom: 1px solid #dfe6df; }
.mini-header strong { color: #122f36; font-size: 11px; }
.mini-header > span { color: #516966; }
.mini-chart { display: grid; gap: 6px; margin-top: 8px; }
.mini-chart > div { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 6px; }
.mini-chart > div > div { display: grid; gap: 2px; }
.mini-chart i, .mini-chart b { width: var(--bar); height: 4px; display: block; border-radius: 2px; }
.mini-chart i, .mini-key > span:first-child i { background: #28717a; }
.mini-chart b, .mini-key > span:nth-child(2) i { background: #e6a084; }
.mini-key { display: flex; gap: 8px; margin-top: 8px; color: #456361; font-size: 9px; }
.mini-key i { width: 6px; height: 6px; border-radius: 1px; display: inline-block; }
.mini-steps { display: flex; align-items: center; gap: 5px; margin-top: 11px; color: #466261; }
.mini-steps b { padding: 5px 7px; border: 1px solid #e0d8ca; border-radius: 4px; font-weight: 500; background: #f8f4ed; }
.mini-route { display: flex; align-items: center; gap: 6px; margin-top: 9px; padding: 7px 8px; background: #e4eee6; border-radius: 4px; }
.mini-route > span:last-child { margin-left: auto; color: #456361; }
.mini-dot { width: 6px; height: 6px; border-radius: 50%; background: #31805e; }
.mini-header .mini-hold { background: #f4d9c6; color: #673f27; border-radius: 3px; padding: 2px 5px; font-size: 8px; font-weight: 700; }
.mini-check { display: grid; grid-template-columns: 16px 1fr auto; gap: 7px; align-items: center; margin-top: 7px; }
.mini-check b { color: #506a64; font-weight: 500; }
.mini-check-ok, .mini-check-open { text-align: center; padding: 1px 0; border-radius: 3px; background: #e1ece4; color: #2c6b57; }
.mini-check-open { background: #fae7d7; color: #944b39; }
.work-copy { display: flex; flex: 1; flex-direction: column; padding: 21px 23px 23px; }
.category { color: #34676a; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.work-copy h3 {
  margin-top: 6px;
  font: 400 clamp(24px, 2.4vw, 32px)/1.15 var(--heading);
  letter-spacing: -.045em;
}
.work-copy > p:not(.category) { margin: 8px 0 18px; color: var(--text); font-size: 14px; }
.card-action { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--teal); font-size: 14px; font-weight: 700; margin-top: auto; }
.card-action > span { font-size: 19px; }
.data-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 30px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}
.data-strip h3 { font-size: 16px; }
.data-strip p { color: var(--text); font-size: 14px; }
.data-links { display: flex; gap: 20px; flex-shrink: 0; }
.experience-section { background: #e6eee6; border-block: 1px solid #d7e1d8; }
.experience-layout { display: grid; grid-template-columns: .93fr 1.25fr; gap: clamp(42px, 8vw, 106px); padding-block: 72px; }
.experience-intro h2 { font-size: clamp(35px, 4.1vw, 54px); }
.portrait { width: 76px; height: 76px; object-fit: cover; border-radius: 50%; margin-bottom: 18px; }
.experience-intro > p { color: var(--text); margin-top: 14px; max-width: 380px; }
.career { border-top: 1px solid #c4d4cb; align-self: center; }
.career-item { display: grid; grid-template-columns: minmax(118px, .6fr) 1.4fr; gap: 16px; padding: 19px 0; border-bottom: 1px solid #c4d4cb; }
.career-org { color: var(--teal); font-weight: 700; font-size: 13px; }
.career-item h3 { font-size: 15px; }
.career-item p { color: var(--text); font-size: 14px; margin-top: 3px; }
.writing-heading { align-items: center; }
.writing-card { border-radius: 10px; overflow: hidden; border: 1px solid #dcdcd2; background: var(--paper); }
.writing-card a { display: flex; flex-direction: column; height: 100%; }
.writing-card a:focus-visible { outline-offset: -4px; }
.writing-card img { width: 100%; height: auto; aspect-ratio: 2.08; object-fit: cover; }
.writing-copy { flex: 1; padding: 17px 42px 18px 19px; position: relative; }
.writing-copy h3 { font: 400 clamp(19px, 2.1vw, 26px)/1.25 var(--heading); letter-spacing: -.035em; margin-top: 5px; }
.writing-copy > span { position: absolute; top: 18px; right: 17px; color: var(--teal); }
.writing-card a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.site-footer { background: var(--navy-deep); color: var(--cream); padding-block: 42px; }
.footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 16px 25px; }
.site-footer h2 { font-size: clamp(32px, 4vw, 50px); }
.site-footer p { margin-top: 7px; color: #cbd9d8; font-size: 14px; }

.project-intro { padding: 31px 0 43px; }
.breadcrumb { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #d6e5e1; text-underline-offset: 4px; }
.breadcrumb:hover { text-decoration: underline; }
.project-intro .eyebrow { margin-top: 30px; }
.project-intro h1 {
  color: #fbf4e9;
  font-size: clamp(46px, 7vw, 83px);
  letter-spacing: -.065em;
  line-height: 1.1;
  margin: 8px 0 13px;
}
.project-intro > p:last-child { max-width: 680px; color: #e4ece9; font-size: 17px; }
.project-main { padding-top: 37px; padding-bottom: 58px; }
.project-lead { margin-bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.project-lead h2, .project-notes h2 { font-size: clamp(29px, 4vw, 44px); line-height: 1.12; letter-spacing: -.045em; }
.project-lead p { color: var(--text); font-size: 14px; margin-top: 5px; }
.data-label { color: #255658; background: #e3ede4; border-radius: 4px; font-weight: 700; font-size: 12px; padding: 4px 9px; white-space: nowrap; }
.demo-layout { display: grid; grid-template-columns: minmax(245px, .83fr) minmax(0, 1.87fr); gap: 17px; align-items: start; }
.panel {
  background: var(--paper);
  border: 1px solid #d9ded5;
  border-radius: 10px;
  padding: clamp(16px, 2.25vw, 27px);
  min-width: 0;
}
.panel h3 { font-size: 18px; line-height: 1.32; }
.panel form { display: grid; gap: 13px; margin-top: 15px; }
.field { display: grid; gap: 4px; }
.field > label, .field-title { font-weight: 700; font-size: 13px; }
.field-hint, .hint { color: var(--text); font-size: 13px; }
.field input:not([type='range']), .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: 40px;
  border: 1px solid #bac9bf;
  border-radius: 5px;
  padding: 7px 9px;
  color: #183a3b;
  background: #fffefa;
  font-size: 14px;
}
.field textarea { min-height: 77px; resize: vertical; cursor: text; }
.field input[type='range'] { width: 100%; min-height: 24px; accent-color: var(--teal); }
.field output { font-weight: 700; color: var(--teal); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.check-label { display: flex; align-items: start; gap: 8px; color: var(--ink); font-size: 14px; cursor: pointer; }
.check-label input { accent-color: var(--teal); flex: 0 0 auto; width: 17px; height: 17px; margin: 3px 0 0; }
.control-list { display: grid; gap: 11px; padding-top: 10px; border-top: 1px solid var(--rule); }
.control-divider { border: 0; border-top: 1px solid var(--rule); width: 100%; margin: 1px 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.form-actions .button { width: auto; }
.demo-error { color: #8e3f33; margin-bottom: 12px; }
.results-top { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 17px; }
.results-top > div > p { color: var(--text); font-size: 13px; margin-top: 4px; }
.status {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 5px;
  color: #225847;
  background: #dceee2;
  display: inline-block;
}
.status-warn { color: #77442a; background: #f5dfca; }
.status-info { color: #24575f; background: #dce9e9; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 18px; }
.metric { display: grid; gap: 3px; padding: 11px 13px; border: 1px solid #dce6dc; border-radius: 7px; background: #f0f4ed; min-width: 0; }
.metric strong { color: var(--ink); font-size: clamp(19px, 3.1vw, 28px); line-height: 1.08; font-weight: 700; overflow-wrap: anywhere; }
.metric span { color: #425f5e; font-size: 12px; line-height: 1.3; }
.metric.alert { background: #faebde; border-color: #efd8c8; }
.chart-legend { display: flex; gap: 14px; margin-bottom: 11px; color: var(--text); font-size: 12px; }
.chart-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 3px; }
.chart-legend span:first-child i { background: #2e7880; }
.chart-legend span:nth-child(2) i { background: #dc9379; }
.team-chart { display: grid; gap: 11px; margin-bottom: 15px; }
.team-row { display: grid; grid-template-columns: minmax(90px, .7fr) minmax(50px, 1.55fr) minmax(56px, .42fr); align-items: center; gap: 9px; }
.team-row .team-name { font-size: 13px; font-weight: 700; }
.team-row .team-values { color: #375759; font-size: 12px; text-align: right; white-space: nowrap; }
.team-bars { display: grid; gap: 3px; background: #f4f4ec; padding: 3px 0; border-radius: 4px; }
.team-bars > span { display: block; width: var(--bar); border-radius: 3px; height: 6px; }
.team-bars .demand { background: #2e7880; }
.team-bars .capacity { background: #dc9379; }
.result-note { background: #f2f3ea; border-radius: 6px; padding: 10px 13px; color: var(--text); font-size: 13px; }
.result-note + .result-note { margin-top: 7px; }
.table-scroll { overflow-x: auto; margin-top: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 13px; text-align: left; }
th, td { padding: 8px 7px; border-bottom: 1px solid #e3e7df; vertical-align: top; }
th { color: #416066; font-weight: 700; }
td:first-child { padding-left: 0; }
th:first-child { padding-left: 0; }
td:last-child, th:last-child { padding-right: 0; }
.routing-trace { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 16px; }
.routing-trace li { display: grid; grid-template-columns: 25px 1fr; gap: 9px; align-items: start; }
.routing-trace li > span { color: var(--teal); background: #e4ede5; border-radius: 50%; text-align: center; width: 23px; height: 23px; line-height: 23px; font-size: 12px; font-weight: 700; }
.routing-trace strong { font-size: 13px; }
.routing-trace p { color: var(--text); font-size: 13px; }
.receipt { margin-bottom: 13px; }
.result-subheading { margin-top: 15px; font-size: 14px; font-weight: 700; }
.project-notes { display: grid; grid-template-columns: 1.06fr 1fr; gap: clamp(25px, 5vw, 58px); margin-top: 39px; border-top: 1px solid var(--rule); padding-top: 28px; }
.project-notes > div > p { margin-top: 11px; color: var(--text); }
.project-notes .text-link { margin-top: 12px; margin-right: 15px; }
.project-notes h3 { font-size: 16px; margin: 0 0 8px; }
.project-notes details + details { margin-top: 8px; }
details {
  color: var(--text);
  font-size: 14px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 10px 12px;
}
details summary { color: var(--teal); font-weight: 700; }
details p { margin-top: 7px; }
details ul { margin: 7px 0 2px; padding-left: 19px; }
details a { text-decoration: underline; text-underline-offset: 3px; }
.project-footer { margin-top: 31px; border-top: 1px solid var(--rule); padding-top: 14px; display: flex; justify-content: space-between; gap: 12px; }
.form-upload { margin-top: 3px; overflow-wrap: anywhere; }
.form-upload input { display: block; width: 100%; font-size: 12px; margin: 8px 0 4px; }
.form-upload input::file-selector-button { color: var(--teal); background: #eef3eb; border: 1px solid #bdcbbf; border-radius: 4px; padding: 5px 7px; margin-right: 5px; cursor: pointer; }
.gate-title { font-weight: 700; }
.gate-title small { display: block; font-weight: 400; color: var(--text); margin-top: 2px; }
.gate-status { white-space: nowrap; }
.import-error { margin-top: 4px; color: #8e3f33; font-size: 13px; }
.project-side-note { margin-top: 12px; }
.decision-actions { margin-top: 14px; }

@media (max-width: 1000px) {
  .shell { width: min(1200px, calc(100% - 72px)); }
  .card-visual { padding-inline: 15px; }
  .work-copy { padding-inline: 17px; }
}
@media (max-width: 780px) {
  .shell { width: min(1200px, calc(100% - 44px)); }
  .nav-layout { min-height: 66px; }
  .brand { gap: 7px; }
  .brand-mark { width: 35px; height: 35px; font-size: 18px; }
  .nav-layout nav { gap: 17px; }
  .hero { padding-block: 39px 46px; }
  .hero h1 { font-size: clamp(57px, 9vw, 83px); }
  .hero-copy > p:not(.eyebrow) { max-width: 490px; }
  .section { padding-block: 52px; }
  .work-grid, .writing-grid { gap: 12px; }
  .card-visual { min-height: 160px; padding: 12px 9px; }
  .mini-panel { min-height: 132px; padding: 8px 9px; }
  .mini-chart > div { grid-template-columns: 68px 1fr; font-size: 9px; }
  .mini-steps b { padding-inline: 4px; }
  .work-copy { padding: 15px 12px; }
  .experience-layout { gap: 28px; padding-block: 50px; }
  .career-item { grid-template-columns: minmax(100px, .6fr) 1.4fr; gap: 9px; }
  .demo-layout { grid-template-columns: minmax(206px, .8fr) minmax(0, 1.2fr); gap: 12px; }
  .panel { padding: 15px; }
  .metric { padding-inline: 8px; }
}
@media (max-width: 620px) {
  .nav-layout { grid-template-columns: 1fr auto; padding-top: 10px; min-height: 0; }
  .nav-layout nav { grid-row: 2; grid-column: 1/-1; gap: 26px; margin-top: 3px; }
  .nav-layout nav a { padding-block: 8px; }
  .nav-linkedin { grid-row: 1; grid-column: 2; padding: 5px 9px; }
  .hero { padding-block: 36px 39px; }
  .hero h1 { margin-top: 11px; font-size: clamp(46px, 11.5vw, 69px); line-height: 1.06; }
  .hero-copy > p:not(.eyebrow) { max-width: 345px; }
  .masthead-art {
    inset: 0;
    background:
      linear-gradient(90deg, #092e3bf5 0%, #092e3bdc 54%, #092e3b7f 100%),
      linear-gradient(0deg, #092e3bc4 0%, transparent 75%),
      url('/assets/atlantic-small.webp') 65% 48% / cover no-repeat;
  }
  .section-heading, .data-strip { align-items: start; flex-direction: column; gap: 9px; }
  .section-heading { margin-bottom: 19px; }
  .writing-heading { flex-direction: row; align-items: center; }
  .work-grid, .writing-grid { grid-template-columns: 1fr; gap: 15px; }
  .card-visual { min-height: 172px; padding-inline: 18px; }
  .mini-panel { min-height: 138px; padding: 11px 13px; }
  .mini-chart > div { grid-template-columns: 80px 1fr; }
  .work-copy { padding: 17px 18px; }
  .work-copy h3 { font-size: 27px; }
  .work-copy > p:not(.category) { margin-bottom: 11px; }
  .experience-layout, .project-notes, .demo-layout { grid-template-columns: 1fr; }
  .writing-card img { aspect-ratio: 2.45; }
  .writing-copy h3 { font-size: 23px; }
  .footer-layout { flex-wrap: wrap; }
  .project-intro { padding: 22px 0 29px; }
  .project-intro .eyebrow { margin-top: 21px; }
  .project-main { padding-top: 23px; }
  .project-lead { flex-wrap: wrap; align-items: start; gap: 8px; }
  .demo-layout { gap: 13px; }
  .metric strong { font-size: 23px; }
  .project-notes { gap: 22px; margin-top: 28px; }
  .panel { padding: 16px; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 32px); }
  .hero h1 { font-size: 43px; }
  .hero-links { gap: 14px; }
  .team-row { grid-template-columns: 82px 1fr 62px; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.agent-panel { margin-top: 32px; }
.agent-panel h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.18; letter-spacing: -.04em; }
.agent-panel h2 + p { margin-top: 7px; }
.agent-panel textarea { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.agent-panel #agent-results { margin-top: 17px; }
.agent-panel .form-actions .text-link { min-height: 44px; padding-inline: 8px; }
.agent-panel td:first-child { max-width: 400px; }

.arrow-out { position: relative; display: inline-block; width: 12px; height: 12px; flex: none; vertical-align: -.1em; }
.arrow-out::before { content: ''; position: absolute; width: 7px; height: 7px; border-top: 1.4px solid currentColor; border-right: 1.4px solid currentColor; top: 1px; right: 1px; }
.arrow-out::after { content: ''; position: absolute; width: 11px; height: 1.4px; background: currentColor; top: 6px; right: 0; transform: rotate(-45deg); }
.writing-copy > .arrow-out { top: 21px; }
.site-footer .build-credit { color: #9fb7b7; font-size: 12px; }

#route-queue { font-size: clamp(16px, 2.3vw, 23px); overflow-wrap: normal; }

.career-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: 0;
  padding-block: 22px;
  border-bottom: 1px solid var(--rule);
}
.career-highlights > div { display: grid; grid-template-rows: auto 1fr; gap: 4px; min-width: 0; padding-inline: 22px; }
.career-highlights > div:first-child { padding-left: 0; }
.career-highlights > div + div { border-left: 1px solid var(--rule); }
.career-highlights dt { color: var(--teal); font-weight: 700; font-size: 12px; }
.career-highlights dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; margin: 0; }
.career-highlights dd strong { color: var(--ink); font: 400 clamp(22px, 3vw, 34px)/1.05 var(--heading); letter-spacing: -.045em; }
.career-highlights dd span { color: var(--text); font-size: 13px; line-height: 1.4; }
.selected-work { padding-top: 35px; }
.featured-case {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(265px, .75fr);
  align-items: center;
  gap: clamp(24px, 5vw, 74px);
  padding: clamp(24px, 3vw, 39px);
  background: #e7eee6;
  border: 1px solid #cbdcd2;
  border-radius: 11px;
}
.featured-copy h2 {
  font-size: clamp(31px, 4vw, 51px);
  line-height: 1.08;
  letter-spacing: -.048em;
  margin-top: 8px;
}
.featured-copy > p:not(.category) { color: var(--text); max-width: 590px; margin-top: 10px; }
.featured-copy .text-link { margin-top: 13px; min-height: 32px; }
.progression-list { list-style: none; padding: 0; display: grid; gap: 9px; }
.progression-list li {
  display: grid;
  gap: 2px;
  padding: 8px 12px;
  border: 1px solid #d0dfd5;
  border-left: 3px solid #4c837b;
  border-radius: 5px;
  background: #fafbf5;
  min-width: 0;
}
.progression-list li:nth-child(2) { border-left-color: #bd8568; }
.progression-list li:nth-child(3) { border-left-color: #2c686f; }
.progression-list strong { font-size: 14px; color: var(--ink); }
.progression-list li > span { font-size: 13px; color: var(--text); line-height: 1.35; }
.demo-heading { margin-top: 54px; }
.working-tools { display: grid; gap: 11px; padding-top: 16px; border-top: 1px solid #c4d4cb; margin: 22px 0 0; }
.working-tools dt { color: var(--teal); font-weight: 700; font-size: 13px; }
.working-tools dd { color: var(--text); font-size: 14px; margin: 2px 0 0; }
.career { align-self: start; }
.case-intro h1 { font-size: clamp(43px, 6.3vw, 80px); }
.case-intro > p:last-child { max-width: 750px; }
.case-main { padding-block: 48px 55px; }
.case-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, .86fr); align-items: start; gap: clamp(26px, 6vw, 86px); }
.case-story { display: grid; gap: 23px; max-width: 705px; }
.case-story > section + section { border-top: 1px solid var(--rule); padding-top: 23px; }
.case-story h2, .case-related h2 { font-size: clamp(27px, 3.3vw, 43px); line-height: 1.12; letter-spacing: -.038em; }
.case-story p, .case-related p { color: var(--text); margin-top: 9px; }
.case-sidebar { display: grid; gap: 13px; }
.case-facts { padding: 18px 20px; border: 1px solid #d5ddd3; border-radius: 9px; background: var(--paper); }
.case-facts h2 { font: 700 15px/1.3 var(--sans); }
.case-facts p, .case-facts ul { color: var(--text); font-size: 14px; margin: 8px 0 0; }
.case-facts ul { padding-left: 17px; }
.case-facts li + li { margin-top: 3px; }
.case-facts .progression-list { margin-top: 11px; }
.case-related {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid #cbdcd2;
  background: #e7eee6;
  border-radius: 9px;
  padding: 22px 24px;
  margin-top: 31px;
}
.case-related h2 { font-size: clamp(25px, 3vw, 36px); }
.case-related p { font-size: 14px; }
@media (max-width: 780px) {
  .career-highlights > div { padding-inline: 13px; }
  .featured-case { gap: 19px; }
  .case-layout { gap: 21px; }
}
@media (max-width: 620px) {
  .career-highlights { padding-block: 16px; }
  .career-highlights > div { padding-inline: 8px; }
  .career-highlights > div:last-child { padding-right: 0; }
  .career-highlights dt { font-size: 11px; line-height: 1.22; }
  .career-highlights dd { flex-direction: column; gap: 3px; }
  .career-highlights dd strong { font-size: clamp(17px, 4.9vw, 24px); }
  .career-highlights dd span { font-size: 11px; line-height: 1.32; }
  .hero-links { gap: 10px 16px; }
  .selected-work { padding-top: 22px; }
  .featured-case, .case-layout { grid-template-columns: 1fr; }
  .featured-case { padding: 18px; }
  .demo-heading { margin-top: 37px; }
  .case-main { padding-block: 29px 38px; }
  .case-related { flex-wrap: wrap; padding: 17px; gap: 12px; }
}

.incident-panel { margin-bottom: 25px; }
.incident-panel .project-lead { margin-bottom: 16px; }
.incident-panel .category { margin: 0 0 5px; }
.incident-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.incident-grid > div { padding: 14px 16px; border: 1px solid #dce5db; border-radius: 6px; background: #f0f4ed; }
.incident-grid > div:nth-child(2) { border-color: #efded0; background: #fbede1; }
.incident-grid h3 { font-size: 13px; }
.incident-grid blockquote { margin: 6px 0 0; color: var(--ink); font-size: 15px; line-height: 1.45; }
.incident-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 18px; margin: 14px 0; }
.incident-details dt { color: var(--teal); font-size: 12px; font-weight: 700; }
.incident-details dd { margin: 2px 0 0; color: var(--text); font-size: 14px; }
.decision-note { border-left: 3px solid #68968d; background: #eaf0e7; padding: 10px 12px; border-radius: 0 6px 6px 0; color: var(--text); font-size: 14px; }
.decision-title { color: var(--ink); font-weight: 700; }
.decision-title + p { margin-top: 3px; }
.launch-evidence { margin-top: 18px; }
.launch-evidence h2 { font: 400 clamp(24px, 3vw, 35px)/1.14 var(--heading); letter-spacing: -.04em; }
.launch-evidence .text-link { margin-top: 12px; }
.ticket-select { display: block; width: 100%; max-width: 450px; margin: 3px 0; padding: 6px; background: var(--paper); color: var(--ink); border: 1px solid #bac9bf; border-radius: 5px; }
.launch-evidence .field-title { display: block; margin-top: 8px; }
#route-ticket { font-size: clamp(13px, 1.65vw, 18px); overflow-wrap: anywhere; }
.plan-comparison caption { text-align: left; color: var(--ink); font-weight: 700; padding-top: 4px; }
.plan-comparison tr[aria-current='true'] { background: #eaf0e7; }
.plan-comparison tbody td:not(:first-child) { white-space: nowrap; }
@media (max-width: 620px) {
  .incident-grid, .incident-details { grid-template-columns: 1fr; gap: 8px; }
  .incident-panel .project-lead .status { margin-top: 2px; }
  .launch-evidence .results-top { flex-wrap: wrap; }
}
