/* Landscape: shared page structure and readable records, independent of motion. */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
.portfolio-page { margin: 0; padding: 0; }
:where(.portfolio-page) button { font: inherit; }
.portfolio-page a { text-underline-offset: .25em; }
.portfolio-page :focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.landscape-page .terrain-action:focus-visible { outline: 2px solid var(--land-acid); outline-offset: 5px; }
.portfolio-page p { text-wrap: pretty; }
.portfolio-page h1, .portfolio-page h2, .portfolio-page h3 { text-wrap: balance; }
.portfolio-page main:focus { outline: none; }
.portfolio-page section, .portfolio-page article { min-width: 0; }
.concept-skip { position: fixed; top: 12px; left: 12px; z-index: 10001; padding: 12px 18px; background: #e9ecda; color: #1c241f !important; font: 600 14px/1.3 var(--land-sans); transform: translateY(-180%); }
.concept-skip:focus { transform: none; }
.anchor-alias { position: absolute; pointer-events: none; }
.site-header { position: sticky; top: 0; z-index: 50; margin: 0; padding: 16px 4.5%; gap: 24px; background: #1c241ff5; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 8px 30px #111a131a; }
.site-header .terrain-brand { flex-shrink: 0; }
.site-header nav { justify-content: center; gap: 6px 22px; font-size: 13px; }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.site-header nav a[aria-current="page"] { color: var(--land-acid); border-bottom-color: var(--land-acid); }
.header-resume { flex-shrink: 0; border: 1px solid #a5b19e60; padding: 12px 15px; text-decoration: none; font: 11px/1.5 var(--land-mono); }
.header-resume span { color: var(--land-acid); margin-left: 8px; }
.header-resume:hover { border-color: var(--land-acid); }
.inline-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 13px; text-decoration: none; }
.inline-link:hover { text-decoration: underline; }
.inline-link span { color: currentColor; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
/* Keep the figure caption out of the oversized name's overlapping art area. */
.landscape-page .terrain-display { display: flex; flex-direction: column; }
.landscape-page .terrain-label { order: 1; margin: 16px 5% 0 9%; }
.home-page .hero-introduction p { max-width: 510px; font-size: 15px; }
.home-page .terrain-hero-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9%; margin-top: 30px; padding-bottom: 48px; }
.home-page .hero-introduction { align-self: start; }
.home-page .territory-selector { align-self: start; margin-top: 3px; }
.home-page .territory-buttons button { min-height: 46px; }
.home-page .territory-note p { line-height: 1.8; font-size: 14px; }
.home-page .territory-note a { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; }
.home-page .view-controls button { min-height: 40px; font-size: 11px; }
.home-page .terrain-tools > p { font-size: 10px; }
.home-page .expeditions { padding-bottom: 72px; }
.section-heading-links p { margin: 0 0 10px; color: #506048; font-size: 14px; }
.section-heading-links .inline-link { border-bottom: 1px solid #72876b70; }
.home-page .expedition-text > p:not(.terrain-eyebrow), .home-page .expedition-ledger p:not(.terrain-eyebrow) { font-size: 15px; }
.home-page .expedition-ledger a { font-size: 11px; display: inline-flex; align-items: center; min-height: 44px; }
.home-page .expedition-link { min-height: 44px; font-size: 13px; }
.home-records { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px 8%; padding: 72px 5% 90px; background: #e5e8da; color: #243026; border-top: 1px solid #72876b50; }
.home-records .terrain-eyebrow { color: #52634b; }
.home-records h2 { margin: 14px 0 30px; font-size: clamp(30px, 3.5vw, 48px); font-weight: 450; letter-spacing: -.055em; line-height: 1.1; }
.home-testing { grid-column: 1 / -1; padding-top: 38px; border-top: 1px solid #72876b50; }
.section-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.home-records .section-title-row h2 { font-size: clamp(27px, 3vw, 40px); }
.home-history .history-entry { grid-template-columns: 20px minmax(0, 1fr); gap: 15px; }
.home-history .history-card { padding: 23px 0; border: 0; background: none; box-shadow: none; }
.home-history .history-card h3 { font-size: 19px; }
.home-history .record-description { font-size: 14px; line-height: 1.8; }
.home-history .history-index { padding-top: 28px; }
.home-history .history-entry + .history-entry { margin-top: 0; }
.home-history .history-entry { border-top: 1px solid #72876b50; }
.home-contact { padding-bottom: 75px; }
.contact-other { display: flex; gap: 32px; margin-top: 22px; color: var(--land-muted); }

/* Awards are block records; scores never rely on inline bold text or implicit lists. */
.award-list { list-style: none; margin: 0; padding: 0; color: #243026; }
.award-list > li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 18px; padding: 25px 0; border-top: 1px solid #72876b50; }
.award-list h3 { margin: 0 0 10px; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.35; letter-spacing: -.025em; font-weight: 500; }
.award-list h3 a { font: inherit; display: inline; min-height: 0; text-decoration: underline; text-decoration-color: #879876; }
.award-list p { margin: 0; color: #506048; font-size: 15px; line-height: 1.8; }
.award-index { padding-top: 5px; color: #65745a; font: 10px/1.7 var(--land-mono); }
.testing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.testing-card { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 30px clamp(20px, 2.6vw, 38px) 35px; isolation: isolate; color: #e9ecda; background: linear-gradient(130deg, #334332, #202d23 85%); border: 1px solid #63765a; box-shadow: 0 5px 0 #17241b, 0 6px 0 #9cac8360, 0 18px 30px #10190f26; }
.testing-card::before { content: '+'; position: absolute; top: 24px; right: 24px; font: 14px var(--land-mono); color: #95ae75; }
.testing-card h3, .testing-card h4 { margin: 0 0 16px; color: #c1cfb1; font: 12px/1.6 var(--land-mono); letter-spacing: .05em; }
.testing-value { display: block; margin: 8px 0 20px; color: #e6f4c2; font: 450 clamp(48px, 5.8vw, 88px)/1 var(--land-sans); letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.testing-card--act .testing-value { color: var(--land-acid); }
.testing-card p { margin: 0 0 25px; max-width: 280px; color: #c4d0b8; font-size: 14px; line-height: 1.8; }
.score-ticks { height: 13px; margin-top: auto; background: repeating-linear-gradient(90deg, #c6d4aa70 0 1px, transparent 1px 10px); border-bottom: 1px solid #c6d4aa70; opacity: .7; }
.terrain-records .award-list { margin-top: 22px; }
.terrain-records .testing-grid { grid-template-columns: 1fr; margin-top: 24px; }
.terrain-records .testing-card h4 { color: #c1cfb1; }
.terrain-records .testing-card p { color: #c4d0b8; }
.terrain-records .testing-value { font-size: 52px; }

/* Interior headings retain the landscape's extruded contour geometry. */
.page-heading { position: relative; display: flex; align-items: center; min-height: 380px; padding: 68px 5% 80px; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 80% 65%, #43593248, transparent 60%); }
.page-heading::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#b8ca9310 1px, transparent 1px), linear-gradient(90deg, #b8ca9310 1px, transparent 1px); background-size: 62px 62px; mask-image: linear-gradient(90deg, transparent 35%, #000); }
.page-heading-copy { position: relative; z-index: 2; max-width: 75%; }
.page-heading h1 { margin: 22px 0 0 -5px; font-size: clamp(60px, 8.6vw, 132px); line-height: 1.04; letter-spacing: -.075em; font-weight: 450; }
.page-heading .terrain-eyebrow { color: #b3c69c; font-size: 11px; }
.page-heading-baseline { position: absolute; inset: auto 5% 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--land-rule); padding-block: 15px; color: var(--land-muted); font: 9px/1.6 var(--land-mono); }
.page-relief { position: absolute; right: 5%; top: 0; width: 36%; height: 100%; display: grid; place-items: center; perspective: 1100px; z-index: -1; }
.relief-stack { position: relative; width: 260px; height: 235px; transform-style: preserve-3d; transform: rotateX(calc(57deg + var(--pointer-y, 0) * 3deg)) rotateZ(calc(-32deg + var(--pointer-x, 0) * 5deg)); transition: transform .35s ease-out; }
.relief-stack span { position: absolute; inset: 0; background: linear-gradient(135deg, #bac998, #5f7552); border: 1px solid #dae7b590; border-radius: 38% 52% 35% 45%; box-shadow: 3px 4px 0 #475c3f, 6px 8px 0 #3c5237, 12px 20px 25px #101a1260; }
.relief-stack span:nth-child(1) { transform: translateZ(-58px) scale(1.1); }
.relief-stack span:nth-child(2) { transform: translateZ(-28px) scale(.93); }
.relief-stack span:nth-child(3) { transform: translateZ(3px) scale(.76); }
.relief-stack span:nth-child(4) { transform: translateZ(34px) scale(.59); }
.relief-stack span:nth-child(5) { transform: translateZ(64px) scale(.39); background: #d4ed9a; }
.relief-stack i { position: absolute; inset: -22%; transform: translateZ(-66px); border: 1px solid #a1b98470; border-radius: 2px; background: repeating-linear-gradient(0deg, transparent 0 23px, #b7cd951a 23px 24px); }
.relief-cross { position: absolute; bottom: 30%; right: 8%; color: #d4f77e; font: 22px var(--land-mono); }
.page-heading--projects .relief-stack span { border-radius: 12%; }
.page-heading--distinctions .relief-stack span { border-radius: 50%; }
.page-heading--experience .relief-stack span { border-radius: 2px 40% 2px 40%; }
.page-heading--contact .relief-stack span { background: #adc59118; box-shadow: 4px 5px 0 #7d9b5c28; }
.page-jumps { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 15px 5%; background: #202c23; border-bottom: 1px solid var(--land-rule); }
.page-jumps .inline-link { font: 11px/1.6 var(--land-mono); color: #cad9b7; }
.page-jumps .inline-link span { color: var(--land-acid); transform: rotate(90deg); }
.page-surface { padding: 80px 5%; color: #243026; background: #e5e8da; }
.page-surface .terrain-eyebrow { color: #52634b; }
.page-surface h2, .technical-section h2, .testing-section > h2, .education-section h2, .contact-page-content h2 { margin: 16px 0 25px; font-size: clamp(30px, 3.9vw, 54px); font-weight: 450; line-height: 1.13; letter-spacing: -.055em; }
.page-surface h2 span { font-size: .58em; display: block; margin-top: 12px; color: #617253; letter-spacing: -.035em; }
.about-overview, .capabilities-section, .honors-section, .history-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 10%; }
.section-side { align-self: start; }
.section-side .inline-link { margin-top: 18px; }
.side-location { margin-top: 35px; color: #58664e; font: 12px/2 var(--land-mono); }
.about-prose > p { margin: 0 0 30px; color: #4b5d43; font-size: 17px; line-height: 1.85; }
.about-prose > .lead-copy { font-size: clamp(20px, 2vw, 28px); line-height: 1.7; color: #2c3c2c; letter-spacing: -.025em; }
.focus-panel { position: relative; margin-top: 45px; padding: 30px; background: #d5ddc6; border: 1px solid #8f9d7d70; box-shadow: 5px 6px 0 #bdc9ab; }
.focus-panel h3 { font-size: 18px; font-weight: 500; margin: 0 0 12px; }
.focus-panel p { margin: 0; color: #4b5d43; font-size: 16px; line-height: 1.8; }
.focus-panel .inline-link { margin-top: 20px; }
.capabilities-section { border-top: 1px solid #72876b50; padding-top: 60px; }
.capability-list { list-style: none; padding: 0; margin: 0; }
.capability-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 25px; padding: 24px 0; border-top: 1px solid #72876b50; }
.capability-list span { color: #637653; font: 10px/2 var(--land-mono); padding-top: 4px; }
.capability-list p { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.technical-section { padding: 70px 5% 85px; background: #202c23; }
.technical-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin: 35px 0 0; }
.technical-grid > div { padding: 25px 0; border-top: 1px solid var(--land-rule); }
.technical-grid dt { margin-bottom: 16px; color: var(--land-acid); font: 11px/1.6 var(--land-mono); }
.technical-grid dd { margin: 0; color: #c0ccb3; font-size: 16px; line-height: 1.8; }
.testing-section { padding: 70px 5% 100px; color: #243026; background: #d6dec9; border-top: 1px solid #72876b50; }
.testing-section > .terrain-eyebrow { color: #52634b; }
.testing-section .testing-grid { margin-top: 42px; }

/* Each project has its own static 3D illustration, not a fabricated data chart. */
.project-survey { padding: 28px 5% 70px; background: #e5e8da; color: #243026; }
.project-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 7%; padding: 60px 0; align-items: center; }
.project-detail + .project-detail { border-top: 1px solid #72876b50; }
.project-art { position: relative; height: 370px; margin: 0; border: 1px solid #95a48070; background: radial-gradient(ellipse at 40% 30%, #eef2d4, #c3d0b2); isolation: isolate; box-shadow: 6px 8px 0 #b3c0a3, 6px 9px 0 #8e9f7d; overflow: hidden; }
.project-art::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#73845a12 1px, transparent 1px), linear-gradient(90deg, #73845a12 1px, transparent 1px); background-size: 30px 30px; }
.project-art::after { content: ''; position: absolute; z-index: -1; bottom: 65px; left: 25%; width: 52%; height: 40px; border-radius: 50%; background: #2f452c48; filter: blur(18px); }
.project-art figcaption { position: absolute; left: 22px; right: 22px; bottom: 19px; color: #526347; font: 9px/1.6 var(--land-mono); text-transform: uppercase; }
.art-coordinate { position: absolute; top: 20px; right: 22px; color: #637950; font: 10px/1 var(--land-mono); }
.project-object { width: 100%; height: 100%; display: grid; place-items: center; perspective: 1000px; }
.project-detail-copy .terrain-eyebrow { color: #52634b; }
.project-detail-copy h2 { margin: 23px 0; font-size: clamp(28px, 3.3vw, 46px); font-weight: 450; letter-spacing: -.055em; line-height: 1.18; }
.project-detail-copy > p:not(.terrain-eyebrow) { font-size: 16px; line-height: 1.9; color: #506048; }
.project-detail-copy > .paper-title { padding: 18px 0 0; border-top: 1px solid #72876b50; font-size: 14px !important; }
.project-detail-copy .expedition-link { font-size: 13px; min-height: 44px; }
.safety-model, .persona-model, .quant-model { position: relative; width: 220px; height: 180px; margin-top: -10px; transform-style: preserve-3d; transform: rotateX(calc(54deg + var(--pointer-y, 0) * 3deg)) rotateZ(calc(-32deg + var(--pointer-x, 0) * 4deg)); transition: transform .35s ease-out; }
.safety-model span { position: absolute; inset: 0; border: 1px solid #a6b88c; background: repeating-linear-gradient(90deg, #dbe3c72b 0 27px, #758f5860 27px 28px), repeating-linear-gradient(0deg, #dbe3c740 0 27px, #758f5860 27px 28px); box-shadow: 3px 3px 0 #647e5160; }
.safety-model span:nth-child(1) { transform: translateZ(-45px); background-color: #7e9865; }
.safety-model span:nth-child(2) { transform: translateZ(-15px); }
.safety-model span:nth-child(3) { transform: translateZ(15px); }
.safety-model span:nth-child(4) { transform: translateZ(45px); }
.safety-model span:nth-child(5) { transform: translateZ(75px); }
.safety-model i { position: absolute; left: 40%; top: 25%; width: 50px; height: 50px; background: #d4f77e; border: 1px solid #6c8750; transform: translateZ(78px); box-shadow: 4px 4px 0 #789554; }
.persona-model { transform: rotateX(calc(52deg + var(--pointer-y, 0) * 3deg)) rotateZ(calc(-25deg + var(--pointer-x, 0) * 4deg)); width: 240px; height: 240px; }
.persona-orbit { position: absolute; inset: 0; border: 1px solid #6b8752; border-radius: 50%; box-shadow: 0 3px 0 #9eae8760; }
.persona-orbit:nth-child(2) { inset: 14%; transform: translateZ(25px); }
.persona-orbit:nth-child(3) { inset: 28%; transform: translateZ(50px); }
.persona-model i, .persona-model b { position: absolute; width: 36px; height: 36px; border: 1px solid #89a261; background: #e5efcb; border-radius: 50%; box-shadow: 2px 3px 0 #92a86e, 4px 6px 0 #829a5f, 6px 9px 0 #728955; }
.persona-model i:nth-of-type(1) { top: 0; left: 42%; }
.persona-model i:nth-of-type(2) { right: 0; top: 42%; }
.persona-model i:nth-of-type(3) { bottom: 0; left: 42%; }
.persona-model i:nth-of-type(4) { left: 0; top: 42%; }
.persona-model b { left: 40%; top: 40%; width: 50px; height: 50px; transform: translateZ(60px); background: #d4f77e; }
.quant-model { width: 250px; height: 190px; background: #a9bc91; border: 1px solid #819764; box-shadow: 5px 6px 0 #7a9263, 9px 10px 0 #617e4f; }
.quant-model i { position: absolute; width: 18px; bottom: 26px; left: 17px; height: 95px; transform-origin: bottom; transform: rotateX(-90deg); background: linear-gradient(90deg, #9caf75, #d5e9ad); border: 1px solid #688750; box-shadow: 5px 0 0 #647f4a; }
.quant-model i:nth-child(2) { left: 43px; height: 60px; }
.quant-model i:nth-child(3) { left: 69px; height: 115px; }
.quant-model i:nth-child(4) { left: 95px; height: 85px; }
.quant-model i:nth-child(5) { left: 121px; height: 130px; }
.quant-model i:nth-child(6) { left: 147px; height: 105px; }
.quant-model i:nth-child(7) { left: 173px; height: 70px; }
.quant-model i:nth-child(8) { left: 199px; height: 95px; }
.quant-model i:nth-child(9) { left: 225px; height: 120px; }
.quant-model span { position: absolute; inset: 12px; border: 1px dashed #557042; }
.history-section + .history-section { border-top: 1px solid #72876b50; }
.history-list { position: relative; }
.history-list::before { content: ''; position: absolute; top: 30px; bottom: 40px; left: 13px; border-left: 1px solid #8da07870; }
.history-entry { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 25px; }
.history-entry + .history-entry { margin-top: 25px; }
.history-index { position: relative; z-index: 1; align-self: start; padding-top: 30px; color: #627850; background: #e5e8da; font: 10px/1.5 var(--land-mono); }
.history-card { padding: 27px 30px; border: 1px solid #95a48060; background: #eef0e2; box-shadow: 4px 5px 0 #c3ceb1; }
.history-card h3 { margin: 0 0 10px; font-size: 23px; line-height: 1.35; letter-spacing: -.035em; font-weight: 500; }
.record-meta { margin: 0 0 17px; color: #52634b; font: 10px/1.8 var(--land-mono); }
.record-description { margin: 0; color: #506048; font-size: 15px; line-height: 1.85; }
.education-section { padding: 65px 5%; background: #cfd9be; color: #243026; display: flex; gap: 30px; align-items: center; justify-content: space-between; }
.education-section h3 { font-size: 22px; font-weight: 500; margin: 0 0 10px; }
.education-section p { color: #506048; }
.education-section .terrain-eyebrow { color: #52634b; }
.contact-page-content { padding: 75px 5% 100px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10%; }
.contact-page-intro > .lead-copy { max-width: 520px; margin: 0 0 30px; color: #c2cdb8; font-size: clamp(19px, 2vw, 27px); line-height: 1.75; letter-spacing: -.02em; }
.mailto-note { font-size: 12px; color: var(--land-muted); max-width: 340px; margin-top: 20px; }
.contact-location { margin-top: 45px; padding-top: 25px; border-top: 1px solid var(--land-rule); }
.contact-location p { margin: 8px 0 0; color: #c2cdb8; }
.contact-channel-list { display: flex; flex-direction: column; gap: 16px; }
.contact-channel-list > a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 15px; padding: 25px 28px; border: 1px solid #66795970; background: linear-gradient(125deg, #33422e, #253226); text-decoration: none; box-shadow: 4px 5px 0 #121e1680; transition: transform .2s, border-color .2s; }
.contact-channel-list > a:hover { transform: translateY(-3px); border-color: var(--land-acid); }
.contact-channel-list > a > span { color: var(--land-muted); font: 10px/1.6 var(--land-mono); }
.contact-channel-list strong { grid-column: 1; font-size: clamp(16px, 1.9vw, 25px); font-weight: 450; letter-spacing: -.025em; overflow-wrap: anywhere; }
.contact-channel-list i { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--land-acid); font-size: 22px; font-style: normal; }
.portfolio-footer { padding: 30px 5% 0; border-top: 1px solid var(--land-rule); background: #18221b; }
.footer-next { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-bottom: 30px; }
.footer-next .inline-link { justify-content: space-between; width: min(450px, 65%); font-size: clamp(26px, 3.3vw, 48px); letter-spacing: -.045em; }
.footer-next .inline-link span { color: var(--land-acid); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 15px 28px; align-items: center; padding: 19px 0; border-top: 1px solid var(--land-rule); color: var(--land-muted); font: 10px/1.6 var(--land-mono); }
.footer-bottom a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-bottom a:hover { color: var(--land-acid); }
.footer-name { margin-right: auto; }
.portfolio-page .concept-motion { display: inline-flex; align-items: center; gap: 8px; padding: 12px; min-height: 44px; color: #bfccae; background: #233023; border: 1px solid var(--land-rule); font: 10px/1.6 var(--land-mono); cursor: pointer; }
.portfolio-page .concept-motion:disabled { cursor: default; opacity: .7; }
.portfolio-page .concept-motion:hover:not(:disabled) { border-color: var(--land-acid); }
:root[data-preview="true"] .portfolio-page .concept-motion, :root[data-preview="true"] .portfolio-page .concept-skip { display: none; }
:root[data-motion="paused"] { scroll-behavior: auto; }
:root[data-motion="paused"] *, :root[data-motion="paused"] *::before, :root[data-motion="paused"] *::after { animation-play-state: paused !important; transition-duration: 0s !important; }

@media (min-width: 1650px) {
  .portfolio-page .site-header, .page-heading, .page-surface, .page-jumps, .project-survey, .testing-section, .technical-section, .education-section, .contact-page-content, .home-records, .portfolio-footer, .portfolio-page .expeditions, .portfolio-page .terrain-contact { padding-left: max(5%, calc((100vw - 1500px) / 2)); padding-right: max(5%, calc((100vw - 1500px) / 2)); }
  .page-relief { right: max(5%, calc((100vw - 1500px) / 2)); }
}
@media (max-width: 1100px) {
  .site-header { gap: 18px; }
  .site-header nav { gap: 6px 15px; font-size: 12px; }
  .site-header .terrain-brand { gap: 8px; }
  .site-header .terrain-brand svg { width: 30px; }
  .header-resume { padding: 11px; font-size: 10px; }
  .header-resume span { margin-left: 2px; }
  .page-heading { min-height: 330px; }
  .page-relief { width: 34%; opacity: .75; }
  .relief-stack { width: 210px; height: 205px; }
  .about-overview, .capabilities-section, .honors-section, .history-section { gap: 6%; grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); }
  .history-card { padding: 25px; }
  .project-detail { gap: 6%; }
  .project-art { height: 340px; }
  .home-records { gap: 60px 5%; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 165px; }
  .site-header { flex-wrap: wrap; padding-block: 13px 8px; gap: 8px 18px; }
  .site-header nav { flex-basis: 100%; order: 3; justify-content: space-between; font-size: 13px; gap: 8px; }
  .header-resume { margin-left: auto; }
  .page-heading { min-height: 300px; }
  .page-heading h1 { font-size: clamp(52px, 9vw, 80px); }
  .page-heading-copy { max-width: 90%; }
  .page-relief { opacity: .45; }
  .testing-grid { gap: 14px; }
  .testing-card { padding: 25px 20px; }
  .testing-value { font-size: 57px; }
  .testing-card::before { display: none; }
  .about-overview, .capabilities-section, .honors-section, .history-section { grid-template-columns: 1fr; gap: 38px; }
  .section-side .side-location { margin-top: 20px; }
  .project-art { height: 310px; }
  .project-object { transform: scale(.85); }
  .project-detail-copy h2 { font-size: 30px; }
  .project-detail-copy > p:not(.terrain-eyebrow) { font-size: 15px; }
  .contact-page-content { gap: 6%; }
}
@media (max-width: 760px) {
  .home-page .terrain-hero-foot { grid-template-columns: 1fr; gap: 35px; }
  .home-page .hero-introduction { display: block; }
  .home-page .hero-introduction p { max-width: 600px; margin-bottom: 20px; }
  .home-page .terrain-tools { align-items: start; gap: 15px; }
  .home-page .terrain-tools > p { font-size: 9px; max-width: 160px; }
  .home-page .view-controls button { font-size: 10px; padding-inline: 12px; }
  .home-records { grid-template-columns: 1fr; gap: 48px; padding-block: 50px 70px; }
  .home-testing { padding-top: 25px; }
  .testing-grid { grid-template-columns: 1fr; gap: 23px; }
  .testing-card { padding: 25px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 24px; align-items: start; }
  .testing-card h3, .testing-card h4 { grid-column: 1; margin: 0; }
  .testing-value { grid-column: 1; margin: 5px 0 15px; font-size: clamp(46px, 9vw, 67px); }
  .testing-card p { grid-column: 2; grid-row: 1 / 3; margin: 0; align-self: center; font-size: 13px; }
  .score-ticks { grid-column: 1 / -1; margin-top: 8px; }
  .testing-card::before { display: none; }
  .section-title-row { flex-wrap: wrap; gap: 0 20px; margin-bottom: 20px; }
  .section-title-row h2 { margin-bottom: 0; }
  .page-heading { padding-top: 50px; padding-bottom: 85px; min-height: 270px; }
  .page-heading-copy { max-width: 100%; }
  .page-relief { right: -12%; width: 55%; opacity: .28; }
  .page-heading-baseline { font-size: 8px; }
  .page-heading-baseline span:last-child { display: none; }
  .page-jumps { gap: 4px 23px; padding-block: 12px; }
  .page-jumps .inline-link { font-size: 10px; }
  .page-surface, .technical-section, .testing-section { padding-block: 50px 65px; }
  .technical-grid { grid-template-columns: 1fr; gap: 5px; }
  .technical-grid > div { padding: 22px 0; }
  .technical-grid dt { margin-bottom: 10px; }
  .about-prose > .lead-copy { font-size: 22px; }
  .about-prose > p { font-size: 16px; }
  .focus-panel { padding: 25px; margin-top: 32px; }
  .capability-list li { gap: 14px; }
  .capability-list p { font-size: 18px; }
  .project-detail { grid-template-columns: 1fr; gap: 38px; padding-block: 40px 50px; }
  .project-art { height: 340px; margin-right: 6px; }
  .project-object { transform: none; }
  .project-detail-copy h2 { font-size: 34px; }
  .history-entry { gap: 14px; grid-template-columns: 22px minmax(0, 1fr); }
  .history-card { padding: 23px; margin-right: 5px; }
  .history-card h3 { font-size: 21px; }
  .record-description { font-size: 14px; }
  .history-list::before { left: 10px; }
  .education-section { display: block; padding-block: 45px; }
  .contact-page-content { grid-template-columns: 1fr; gap: 45px; padding-block: 45px 70px; }
  .contact-page-intro > .lead-copy { font-size: 23px; }
  .contact-channel-list strong { font-size: 22px; }
  .footer-bottom { gap: 10px 20px; }
  .footer-name { flex-basis: 60%; }
  .footer-bottom > span { margin-left: auto; }
  .footer-bottom > a:last-child { margin-left: auto; }
}
@media (max-width: 440px) {
  html { scroll-padding-top: 205px; }
  .site-header { padding-inline: 5%; }
  .site-header nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 15px; width: 100%; font-size: 12px; }
  .site-header nav a { justify-content: center; padding-block: 8px; }
  .site-header .terrain-brand > span { font-size: 11px; }
  .site-header .terrain-brand small { font-size: 7px; }
  .header-resume { font-size: 10px; }
  .page-heading h1 { margin-left: -2px; font-size: clamp(42px, 12vw, 54px); }
  .page-heading { min-height: 230px; }
  .page-heading .terrain-eyebrow { font-size: 9px; }
  .home-page .hero-subtitle { font-size: 25px; }
  .home-page .territory-buttons button { font-size: 11px; padding: 12px 8px; gap: 6px; }
  .award-list > li { grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding-block: 21px; }
  .award-list p { font-size: 14px; }
  .testing-card { padding: 22px 20px; gap: 6px 18px; }
  .testing-card p { font-size: 12px; }
  .testing-value { font-size: 48px; }
  .project-detail-copy h2 { font-size: 30px; }
  .project-art { height: 300px; }
  .project-object { transform: scale(.88); }
  .history-card { padding: 20px; }
  .history-entry { gap: 10px; grid-template-columns: 18px minmax(0, 1fr); }
  .contact-channel-list > a { padding: 23px; }
  .contact-channel-list strong { font-size: 19px; }
  .footer-name { flex-basis: 100%; }
  .footer-bottom > span { margin: 0 auto 0 0; }
  .footer-bottom > a:last-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; }
}
@media print {
  html { scroll-behavior: auto; }
  .portfolio-page { background: white; color: black; }
  .portfolio-page .site-header { position: static; }
  .page-relief, .terrain-display, .project-art, .concept-motion, .portfolio-footer, .page-jumps { display: none !important; }
  .page-heading { min-height: 0; padding: 30px 5%; }
  .page-heading h1 { font-size: 45px; }
  .page-heading-baseline { display: none; }
  .project-detail, .history-entry, .testing-card { break-inside: avoid; }
  .home-records, .page-surface, .testing-section, .technical-section, .project-survey { padding-block: 25px; }
}
