@font-face {
  font-family: "Archivo Narrow";
  src: url("fonts/archivo-narrow.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.ttf") format("truetype");
  font-display: swap;
}
:root {
  --ink: #112e32;
  --muted: #496267;
  --paper: #f5f3e9;
  --white: #fffef7;
  --rail: #97aba2;
  --teal: #12685e;
  --orange: #ffa454;
  --copper: #a23c1d;
  --heading: "Archivo Narrow","Arial Narrow",Arial,sans-serif;
  --body: "DM Sans",Arial,sans-serif;
  --gutter: clamp(20px,5vw,84px);
  font: 100%/1.52 var(--body);
  color: var(--ink);
  background: var(--paper);
  scroll-padding-top: 16px;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure, fieldset { margin: 0; }
img { display: block; width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
button, summary, .shift-options label { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a, button, label, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #00777f; outline-offset: 4px; }
.hero :focus-visible, footer :focus-visible, .decision :focus-visible { outline-color: #ffbd74; }
.sr,.skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 12px; z-index: 20; background: var(--paper); padding: 10px 16px; }
.wrap { width: min(100%,1540px); margin-inline: auto; padding-inline: var(--gutter); }
h1,h2,h3,.wordmark { font-family: var(--heading); }
h1,h2,h3 { font-weight: 650; }
h2 { font-size: clamp(3.4rem,6.3vw,6.15rem); line-height: .93; letter-spacing: -.045em; }
h3 { font-size: clamp(1.45rem,2.25vw,2.25rem); line-height: 1.03; letter-spacing: -.035em; }
.mast { background: var(--paper); border-bottom: 1px solid #b2bbb0; }
.mast-inner,.identity,.mast nav,.button,.foot,.nav-resume { display: flex; align-items: center; }
.mast-inner { justify-content: space-between; gap: 20px; min-height: 74px; }
.identity { gap: clamp(16px,2.3vw,38px); }
.wordmark { width: fit-content; white-space: nowrap; line-height: 1.05; font-size: clamp(1.85rem,2.6vw,2.65rem); font-weight: 700; letter-spacing: -.03em; word-spacing: .035em; }
.wordmark span { color: var(--copper); }
.profession { color: #4a5a54; padding-left: clamp(16px,2.3vw,38px); border-left: 1px solid #adb8a9; font-size: .92rem; }
.mast nav { gap: clamp(16px,2.6vw,40px); font-size: .94rem; }
.mast nav a { display: inline-flex; min-height: 44px; align-items: center; white-space: nowrap; }
.mast nav a:not(.nav-resume):hover,.foot a:hover { text-decoration: underline; text-underline-offset: .24em; }
.mast nav .nav-resume,.button { justify-content: center; gap: .62em; min-height: 43px; width: fit-content; padding: 9px 18px; border: 1px solid currentColor; border-radius: 3px; font-weight: 700; }
.mast nav .nav-resume { min-height: 38px; padding: 6px 13px; background: var(--ink); color: var(--white); border-color: var(--ink); }
.button small,.nav-resume small { font: .66rem/1.2 ui-monospace,Consolas,monospace; color: inherit; }
.mast nav .nav-resume:hover { background: #245453; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: #111f23; }
.cover-photo { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.cover-photo img { position: absolute; inset: calc(-1 * var(--depth)) 0 auto; width: 100%; height: calc(100% + 2 * var(--depth)); object-fit: cover; object-position: 65% 52%; transform: translateY(calc(var(--drift,0) * var(--depth))); }
.hero { --depth: clamp(16px,2vw,33px); }
.cover-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(11,25,30,.92) 0%,rgba(11,25,30,.84) 23%,rgba(11,25,30,.57) 37%,rgba(11,25,30,.07) 56%,transparent 70%); }
.cover-wrap { display: grid; align-items: center; min-height: clamp(480px,40.8vw,700px); padding-block: clamp(42px,4.1vw,76px); }
.cover-copy { width: min(46%,615px); }
.cover-copy h1 { font-size: clamp(5.15rem,8.2vw,9.3rem); font-weight: 620; line-height: .86; letter-spacing: -.055em; }
.cover-copy h1 span { display: block; white-space: nowrap; }
.cover-copy h1 span+span { color: var(--orange); margin-top: .025em; }
.cover-copy p { max-width: 34ch; margin: clamp(18px,1.9vw,30px) 0 22px; font-size: clamp(1.02rem,1.25vw,1.23rem); line-height: 1.5; color: #faf2df; }
.cover-button,.decision-button { color: #172d2d; border-color: var(--orange); background: var(--orange); }
.cover-button:hover,.decision-button:hover { background: #ffbc7a; border-color: #ffbc7a; }
.study { padding-block: clamp(48px,5.5vw,88px) clamp(50px,5.8vw,92px); }
.study-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); align-items: end; gap: clamp(26px,5vw,85px); margin-bottom: clamp(25px,3vw,46px); }
.study-intro > div { padding-bottom: 4px; max-width: 48ch; }
.study-intro p { font-size: clamp(1.03rem,1.35vw,1.3rem); line-height: 1.45; }
.study-intro .source-note { font-size: .875rem; color: var(--muted); margin-top: 12px; }
.workbench { display: grid; grid-template-columns: minmax(0,.68fr) minmax(0,1.32fr); border: 1px solid var(--rail); border-top: 3px solid var(--ink); }
.controls { background: #e2ece5; border-right: 1px solid var(--rail); padding: clamp(22px,2.5vw,42px); }
.controls > p { max-width: 34ch; color: #365456; margin-top: 10px; }
.shift-picker { border: 0; padding: 0; min-width: 0; margin: 20px 0 0; }
.shift-picker legend { padding: 0; margin-bottom: 7px; color: var(--ink); font-weight: 700; font-size: .9rem; }
.shift-options { display: flex; width: fit-content; max-width: 100%; align-items: center; padding: 3px; gap: 3px; border: 1px solid #8aa79d; border-radius: 4px; background: #f9faf0; }
.shift-options input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.shift-options label { display: inline-grid; place-items: center; min-height: 39px; padding: 6px clamp(11px,1.15vw,19px); border-radius: 2px; color: var(--ink); font-weight: 650; white-space: nowrap; }
.shift-options label:hover { background: #e1ebe1; }
.shift-options input:checked+label { color: var(--white); background: var(--ink); }
.shift-options input:focus-visible+label { outline: 3px solid #00777f; outline-offset: 1px; }
.readout { margin-top: 24px; padding-top: 18px; border-top: 1px solid #94ada2; }
.shift-window { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 9px; font-size: .95rem; font-weight: 700; }
.shift-window span { font-weight: normal; color: var(--muted); font-size: .83rem; }
.metric { display: flex; align-items: center; gap: 14px; margin: 16px 0; }
.metric strong { font: 650 clamp(4.4rem,6.3vw,6.5rem)/.85 var(--heading); color: var(--copper); letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.metric span { font: 650 clamp(1.11rem,1.65vw,1.6rem)/1.1 var(--heading); }
#shift-note { max-width: 38ch; font-size: .95rem; color: #345356; }
.roster { padding: clamp(20px,2.45vw,42px); background: var(--white); min-width: 0; }
.roster-head { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; }
.roster-head p { color: var(--muted); font-size: .83rem; }
.legend { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin: 18px 0 12px; color: #385453; font-size: .8rem; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.bar-key::before,.over-key::before { content: ""; width: 15px; height: 8px; background: var(--teal); }
.over-key::before,.track b { background: repeating-linear-gradient(135deg,#b64c28 0 3px,#ffb476 3px 5px); }
.cap-key::before { content: ""; width: 1px; height: 13px; border-left: 2px solid var(--ink); }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
th,td { padding: 8px 4px; text-align: right; border-bottom: 1px solid #d8dfd5; }
thead th { padding-top: 5px; border-bottom-color: #97aba3; color: var(--muted); font-weight: normal; font-size: .83rem; }
th:first-child { text-align: left; padding-left: 0; }
.roster th:first-child { width: 3.4rem; }
.roster th:nth-child(2) { width: 3.2rem; }
.roster th:nth-last-child(2) { width: 4.3rem; }
.roster th:last-child { width: 2.7rem; }
td:last-child,th:last-child { padding-right: 0; }
tbody th { font-weight: 700; white-space: nowrap; }
tbody td,tbody th { font-size: .91rem; }
.graph-col { padding-inline: clamp(6px,1.3vw,22px); }
.track { position: relative; height: 14px; background: #e9eee6; }
.track i,.track b,.track s { position: absolute; display: block; }
.track i { inset: 2px auto 2px 0; width: calc(var(--served) * 3.125%); background: var(--teal); }
.track b { inset: 2px auto 2px calc(var(--served) * 3.125%); width: calc((var(--orders) - var(--served)) * 3.125%); }
.track s { top: -2px; bottom: -2px; left: calc(var(--cap) * 3.125%); width: 2px; background: var(--ink); }
.overload .over { color: var(--copper); font-weight: 700; }
.model-notes { margin-top: 12px; }
.model-notes summary { width: fit-content; min-height: 40px; display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; list-style: none; }
.model-notes summary::-webkit-details-marker { display: none; }
.model-notes summary::before { content: ""; width: 16px; height: 16px; border: 1px solid #90a79b; background: linear-gradient(currentColor,currentColor) center/8px 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 8px no-repeat; }
.model-notes[open] summary::before { background: linear-gradient(currentColor,currentColor) center/8px 1.5px no-repeat; }
.model-notes p { max-width: 60ch; font-size: .93rem; color: var(--muted); margin: 3px 0 8px; }
.model-notes a { display: inline-flex; min-height: 36px; align-items: center; color: var(--teal); text-decoration: underline; text-underline-offset: .2em; font-size: .9rem; font-weight: 700; }
.decision { background: #103f3e; color: #fff9e9; }
.decision-layout,.about { display: grid; align-items: center; grid-template-columns: minmax(0,1.03fr) minmax(0,1fr); gap: clamp(32px,6vw,100px); padding-block: clamp(48px,5.4vw,88px); }
.bench { --depth: clamp(12px,1.35vw,22px); position: relative; padding-block: var(--depth); }
.bench-frame { position: relative; }
.bench-frame::before { content: ""; position: absolute; inset: 9px -7px -7px 9px; border: 1px solid #71a099; }
.bench-frame img { position: relative; aspect-ratio: 3/2; object-fit: contain; transform: translateY(calc(var(--drift,0) * var(--depth))); }
.decision h2 { max-width: 11ch; color: #fff8e8; }
.decision-copy p,.about-copy p { max-width: 49ch; margin-top: 17px; }
.decision-copy p { color: #e1ece2; }
.decision-copy .button,.about-copy .button { margin-top: 24px; }
.about { grid-template-columns: minmax(0,.74fr) minmax(0,1.26fr); }
.portrait { --depth: 15px; width: min(100%,330px); justify-self: end; padding: var(--depth) 0; position: relative; }
.portrait::before { content: ""; position: absolute; inset: calc(var(--depth) + 5px) 6px calc(var(--depth) - 8px) -7px; background: #d7b176; }
.portrait img { position: relative; aspect-ratio: 4/5; object-fit: contain; transform: translateY(calc(var(--drift,0) * var(--depth))); }
.about-copy p { color: #3d5859; }
.outline-button { color: #17413e; background: transparent; border-color: #809a8f; }
.outline-button:hover { background: #e2e9dd; }
.education {
  display: grid;
  grid-template-columns: clamp(44px, 4.6vw, 62px) minmax(0, 1fr);
  column-gap: clamp(12px, 1.3vw, 18px);
  margin-top: 24px;
}
.university-mark { grid-area: 1 / 1 / span 2; align-self: center; width: 100%; height: auto; }
.education h3, .education p { grid-column: 2; }
.education h3 { font-size: clamp(1.35rem,2vw,1.75rem); }
.education p { max-width: none; margin: 5px 0 0; color: var(--ink); }
.graduation { display: block; color: var(--muted); font-size: .92rem; }
.profile-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.about-copy .profile-actions .button { margin: 0; }
.profile-work { color: var(--white); background: var(--ink); border-color: var(--ink); }
.profile-work:hover { background: #245453; }
.experience { padding-block: clamp(40px,5.1vw,80px); background: #e6eee7; border-top: 1px solid #b9c8bd; }
.experience h2 { margin-bottom: clamp(23px,2.8vw,42px); font-size: clamp(2.85rem,5.1vw,4.9rem); }
.work-entry { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); align-items: start; gap: clamp(22px,5vw,82px); border-top: 1px solid var(--rail); padding-block: clamp(22px,2.5vw,38px); }
.work-entry:last-child { padding-bottom: 0; }
.role-dates,.sample-heading time { font-size: .9rem; font-variant-numeric: tabular-nums; }
.role-dates { margin-bottom: 8px; color: var(--muted); }
.role-info h3 { max-width: 21ch; font-size: clamp(1.75rem,2.45vw,2.5rem); }
.employer { margin-top: 5px; color: #285952; font-weight: 700; }
.duties { margin-top: 12px; color: #354f50; max-width: 44ch; }
.project-sample { min-width: 0; border: 1px solid #bbcabf; background: var(--white); padding: clamp(17px,1.8vw,27px); }
.sample-heading { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.sample-heading h4 { margin: 0; color: var(--ink); font: 650 clamp(1.48rem,1.95vw,2rem)/1.08 var(--heading); letter-spacing: -.025em; }
.sample-heading time { white-space: nowrap; color: var(--muted); }
.sample-outcome { margin-top: 11px; color: #345154; max-width: 58ch; }
.sample-outcome strong { color: var(--ink); }
.project-sample .model-notes { margin-top: 12px; border-top: 1px solid #d4ded4; }
.project-sample .model-notes summary { padding-top: 4px; min-height: 44px; }
.stock-math { margin: 0; font-size: .95rem; }
.stock-math div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 6px; border-bottom: 1px solid #d8dfd5; }
.stock-math dd { margin: 0; font-weight: 700; text-align: right; }
.project-sample .sample-note { margin-top: 10px; }
.event-budget th { width: 23%; }
.event-budget th:first-child { width: 54%; white-space: normal; }
.event-budget tfoot th,.event-budget tfoot td { border: 0; color: var(--ink); font-weight: 700; }
footer { background: #102c31; color: #fbf7eb; }
.foot { gap: 10px 28px; flex-wrap: wrap; justify-content: space-between; min-height: 78px; padding-block: 19px; }
.foot i { font-style: normal; color: var(--orange); }.foot small { color: #bdcfcb; font-size: .83rem; }.foot a { display: inline-flex; align-items: center; gap: .28em; min-height: 40px; font-size: .91rem; }.foot a strong { letter-spacing: .045em; }
@keyframes ink-rise { from { opacity: .45; translate: 0 var(--entrance,12px); } to { opacity: 1; translate: 0 0; } }
@keyframes expose { from { opacity: .56; } to { opacity: 1; } }
:root[data-motion="on"] .cover-copy h1 span { animation: ink-rise .7s cubic-bezier(.19,.8,.3,1) both; }
:root[data-motion="on"] .cover-copy h1 span+span { animation-delay: .08s; }
:root[data-motion="on"] .cover-photo img,:root[data-motion="on"] [data-entered] img { animation: expose .75s ease-out both; }
:root[data-motion="on"] .track :is(i,b,s) { transition: width .48s ease, left .48s ease; }
:root[data-motion="on"] :is(.button,.nav-resume,.shift-options label) { transition: background-color .2s,color .2s; }
@media(max-width: 1000px) {
  .workbench { grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); }
  .controls,.roster { padding: 22px; }
  .cover-copy { width: 49%; }.cover-copy h1 { font-size: clamp(4.6rem,9.1vw,6rem); }
}
@media(max-width: 760px) {
  .mast-inner { min-height: 62px; }.profession { display: none; }
  .cover-wrap { min-height: 415px; }.cover-copy p { max-width: 31ch; font-size: .98rem; }.cover-photo::after { background: linear-gradient(90deg,#0d2025eb 8%,#0d2025be 36%,#0d20255c 53%,transparent 73%); }
  .study-intro { grid-template-columns: 1fr 1fr; gap: 22px; }
  .workbench { grid-template-columns: 1fr; }.controls { border-right: 0; border-bottom: 1px solid var(--rail); display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-content: start; }
  .controls h3,.controls > p,.shift-picker { grid-column: 1; }.readout { grid-column: 2; grid-row: 1 / span 4; margin: 0; border-top: 0; border-left: 1px solid #94ada2; padding: 0 0 0 21px; }
  .decision-layout,.about { gap: 30px; }.decision h2,.about h2 { font-size: clamp(3rem,7.4vw,4.3rem); }
  .work-entry { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 20px; }
}
@media(max-width: 600px) {
  .mast nav { font-size: .86rem; gap: 13px; }.mast nav .nav-resume { padding: 5px 9px; gap: 5px; }
  .hero { display: flex; flex-direction: column; --depth: 9px; }
  .cover-photo { position: relative; inset: auto; z-index: 0; aspect-ratio: 1.85; }
  .cover-photo img { object-position: 88% 53%; }
  .cover-photo::after { background: linear-gradient(0deg,#111f2355,transparent 30%); }
  .cover-wrap { display: block; order: 2; min-height: 0; padding-block: 23px 28px; }
  .cover-copy { width: 100%; }.cover-copy h1 { font-size: clamp(3.4rem,11.4vw,4.2rem); letter-spacing: -.045em; line-height: .97; }
  .cover-copy h1 span { display: inline; }.cover-copy h1 span+span { margin: 0; }
  .cover-copy p { max-width: 48ch; margin: 12px 0 16px; font-size: 1rem; line-height: 1.45; }
  .cover-button { min-height: 44px; }
  .study,.decision-layout,.about { padding-block: 38px; }
  .study-intro { grid-template-columns: 1fr; gap: 15px; margin-bottom: 20px; }
  .study-intro h2 { font-size: clamp(3rem,10.5vw,4.5rem); }.study-intro h2 br { display: none; }.study-intro h2 br::after { content: " "; }
  .study-intro > div { padding: 0; }.study-intro .source-note { margin-top: 8px; }
  .shift-options label { min-height: 39px; }
  .decision-layout,.about { grid-template-columns: 1fr; gap: 21px; }
  .decision h2 { max-width: 15ch; }.bench { --depth: 8px; margin-right: 7px; }
  .about { grid-template-columns: minmax(83px,.38fr) minmax(0,.62fr); column-gap: 20px; align-items: start; }
  .portrait { --depth: 8px; }.about-copy h2 { font-size: clamp(2.6rem,8.2vw,3.4rem); }
  .work-entry { grid-template-columns: 1fr; gap: 16px; }
  .role-info h3 { max-width: none; }
  .foot { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; }
  .foot small { grid-column: 1; }.foot a { grid-area: 1/2/3/3; align-self: end; }
}
@media(max-width: 520px) {
  .controls { display: block; }.controls,.roster { padding: 18px; }
  .readout { margin-top: 17px; border: 0; border-top: 1px solid #94ada2; padding: 14px 0 0; }
  .metric { margin: 12px 0; }.metric strong { font-size: 4rem; }
  .legend { gap: 5px 10px; }.graph-col { padding-inline: 7px; }
  .roster th:first-child { width: 2.75rem; }.roster th:nth-child(2) { width: 2.5rem; }.roster th:nth-last-child(2) { width: 3.36rem; }.roster th:last-child { width: 2rem; }
  .about { grid-template-columns: 1fr; }.portrait { justify-self: start; width: min(72%,270px); margin-left: 7px; }
}
@media(max-width: 350px) {
  .mast-inner { gap: 8px; }.wordmark { font-size: 1.55rem; }.mast nav { gap: 9px; font-size: .81rem; }.nav-resume small { display: none; }
  .controls,.roster { padding: 15px; }.roster-head p { font-size: .8rem; }
}
@media(prefers-reduced-motion: reduce) {
  .hero,.bench,.portrait { --depth: 3px; --entrance: 0px; }
  :root[data-motion="on"] .track :is(i,b,s) { transition-duration: .2s; }
  :root[data-motion="on"] .cover-copy h1 span,:root[data-motion="on"] .cover-photo img,:root[data-motion="on"] [data-entered] img { animation-duration: .36s; }
}

[data-chart-bar="sample-bar-1"] { --orders:8;--cap:14;--served:8 }
[data-chart-bar="sample-bar-2"] { --orders:12;--cap:14;--served:12 }
[data-chart-bar="sample-bar-3"] { --orders:25;--cap:14;--served:14 }
[data-chart-bar="sample-bar-4"] { --orders:30;--cap:28;--served:28 }
[data-chart-bar="sample-bar-5"] { --orders:23;--cap:28;--served:23 }
[data-chart-bar="sample-bar-6"] { --orders:19;--cap:28;--served:19 }
[data-chart-bar="sample-bar-7"] { --orders:9;--cap:28;--served:9 }
