@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Fredoka;
  src: url("assets/fonts/fredoka-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #14261a;
  --ink-soft: #33463a;
  --cream: #fff8e6;
  --paper: #fffdf6;
  --orange: #ff8a00;
  --orange-deep: #b84300;
  --kowhai: #ffd400;
  --kiwi: #b6f500;
  --fern: #3cc21e;
  --fern-deep: #0b6b2e;
  --paua: #00c2b2;
  --night: #0b2a66;
  --meadow: #f0ffc8;
  --display: Fredoka, Manrope, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: 48px;
  --header-h: 88px;
  --scene-h: clamp(300px, 23.6vw, 560px);
  --sticker: 5px 5px 0 var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 500 16px/1.65 Manrope, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--kiwi); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:not(:disabled) { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 6px; }
svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); }
.wrap { width: min(1180px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.eyebrow { font: 600 13px/1.5 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.skip-link { position: absolute; top: -80px; left: 24px; z-index: 20; padding: 12px 20px; background: var(--ink); color: var(--paper); border-radius: 12px; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 6; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.identity { display: inline-flex; gap: 14px; align-items: center; font: 600 18px/1.2 var(--display); }
.monogram { display: inline-block; padding: 5px 10px 7px; background: var(--kiwi); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); font: 700 22px/1 var(--display); letter-spacing: -1px; transform: rotate(-5deg); transition: transform .2s; }
.identity:hover .monogram { transform: rotate(5deg) scale(1.06); }
.monogram span { font-weight: 500; padding-left: 1px; }
.site-header nav { display: flex; gap: 30px; align-items: center; font: 600 16px/1.2 var(--display); }
.site-header nav a { padding-block: 12px; }
.site-header nav a:hover { text-decoration: underline wavy 2px; text-underline-offset: 6px; }
.nav-github span { margin-left: 4px; }

.hero-band { position: relative; isolation: isolate; overflow: hidden; overflow: clip; margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); background: linear-gradient(180deg, var(--orange) 0%, #ff9f00 58%, #ffc21a 100%); }
.sun { position: absolute; top: -70px; right: max(-70px, calc(50% - 700px)); width: 430px; aspect-ratio: 1; border-radius: 50%; background: var(--kowhai); box-shadow: 0 0 0 30px #ffbe00, 0 0 0 66px #ffa800; }
.hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; padding-block: 34px calc(var(--scene-h) - 110px); }
.hero-copy, .sketch-slot { position: relative; z-index: 5; min-width: 0; }
.greeting { display: inline-block; margin-bottom: 18px; padding: 5px 15px; background: var(--paper); border: 3px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); font-size: 14px; transform: rotate(-1.5deg); }
h1 { font-size: clamp(46px, 5.6vw, 74px); font-weight: 700; line-height: 1.04; letter-spacing: -.015em; }
h1 span { display: inline-block; margin-top: 8px; padding: 0 .2em .06em; background: var(--kiwi); border: 4px solid var(--ink); border-radius: .22em; box-shadow: var(--sticker); transform: rotate(-1.4deg); }
.hero-description { max-width: 540px; margin-top: 28px; font-size: 18px; font-weight: 600; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; gap: 12px; padding: 12px 24px 13px; border: 3px solid var(--ink); border-radius: 999px; box-shadow: var(--sticker); font: 600 18px/1.2 var(--display); transition: transform .15s, box-shadow .15s; }
.button-primary { background: var(--kiwi); }
.button:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.button:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.text-link { display: inline-flex; gap: 8px; align-items: center; min-height: 28px; font: 600 16px/1.3 var(--display); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-style: wavy; }
.hero-meta { display: flex; gap: 8px 20px; align-items: center; flex-wrap: wrap; margin-top: 24px; font-size: 14px; font-weight: 700; }

.data-sketch { padding: 18px 18px 14px; background: var(--paper); border: 4px solid var(--ink); border-radius: 26px; box-shadow: 8px 8px 0 var(--ink); transform: rotate(1.2deg); transition: transform .25s; }
.data-sketch:hover { transform: rotate(0); }
.sketch-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 0 4px 12px; }
.sketch-heading .eyebrow { color: var(--orange-deep); }
.sketch-state { font: 600 13px/1.4 var(--display); color: var(--ink-soft); }
.cluster-plot { width: 100%; height: auto; }
.wool { transition: fill .45s; }
#cluster-guides, #plot-centres { transition: opacity .3s; }
#plot-centres text { font: 700 17px var(--display); fill: var(--ink); paint-order: stroke; stroke: #f4ffd9; stroke-width: 5px; }
.sketch-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 4px 0; }
.sketch-footer p { font-size: 14px; font-weight: 700; }
.sketch-footer button { flex-shrink: 0; padding: 7px 15px 8px; background: var(--kowhai); border: 3px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); font: 600 15px/1.2 var(--display); white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.sketch-footer button:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.sketch-footer button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.sketch-footer button[aria-pressed="true"] { background: var(--kiwi); }
.sketch-footer button span { margin-left: 4px; }
.flock-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; min-height: 22px; list-style: none; margin: 6px 4px 0; padding: 0; font-size: 13px; font-weight: 700; }
.flock-legend li { display: inline-flex; align-items: center; gap: 6px; }
.flock-legend i { width: 13px; height: 13px; border: 2px solid var(--ink); border-radius: 50%; }
.sketch-note { min-height: 22px; margin: 6px 4px 0; font-size: 12px; font-weight: 600; color: var(--ink-soft); }

.scene { position: absolute; inset: auto 0 0; height: var(--scene-h); overflow: hidden; overflow: clip; }
.landscape { position: absolute; inset: 0; z-index: 1; }
.landscape svg { width: 100%; height: 100%; }
.fern { position: absolute; z-index: 2; right: max(12px, calc(50% - 712px)); bottom: 20%; width: clamp(120px, 12.5vw, 200px); height: clamp(190px, 20vw, 320px); }
.platypus-spot { position: absolute; z-index: 6; left: max(20px, calc(50% - 590px)); bottom: -14px; width: clamp(240px, 23vw, 340px); }
.platypus { display: block; width: 100%; padding: 0; background: none; border: 0; animation: swim-in 3.4s cubic-bezier(.2, .7, .2, 1) both; }
.platypus svg { width: 100%; height: auto; overflow: visible; }
.platypus:hover svg { animation: bob 1.1s ease-in-out infinite; }
.platypus:hover .pp-tail { animation: wag .55s ease-in-out infinite; }
.pp-tail { transform-box: fill-box; transform-origin: 100% 50%; }
.pp-eye { transform-box: fill-box; transform-origin: center; }
.pp-bubbles { opacity: 0; }
.platypus.boop svg { animation: boop .6s ease; }
.platypus.boop .pp-bubbles { animation: bubbles 1.3s ease-out; }
.platypus.boop .pp-eye { animation: blink .6s ease; }
.platypus-says { position: absolute; left: 76%; bottom: 74%; z-index: 6; width: max-content; max-width: 320px; pointer-events: none; padding: 9px 15px 10px; background: var(--paper); border: 3px solid var(--ink); border-radius: 18px 18px 18px 4px; box-shadow: 3px 3px 0 var(--ink); font: 600 15px/1.3 var(--display); animation: pop-in .45s 3.2s cubic-bezier(.2, 1.6, .4, 1) both; }
.platypus-says.fresh { animation: pop-in .35s cubic-bezier(.2, 1.6, .4, 1) both; }
.water-front { position: absolute; inset: auto 0 0; z-index: 7; height: 12%; pointer-events: none; }
.water-front svg { width: 100%; height: 100%; }
@keyframes swim-in { from { transform: translateX(-120%) rotate(-3deg); } 70% { transform: translateX(6%) rotate(2deg); } to { transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-5px) rotate(1deg); } }
@keyframes wag { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(6deg); } }
@keyframes boop { 0% { transform: none; } 30% { transform: translateY(-18px) rotate(-5deg); } 60% { transform: translateY(3px) rotate(2deg); } 100% { transform: none; } }
@keyframes bubbles { 0% { opacity: 0; transform: translateY(14px); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(-30px); } }
@keyframes blink { 0%, 100% { transform: none; } 45% { transform: scaleY(.12); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.6) translateY(8px); } to { opacity: 1; transform: none; } }

.focus-band { background: var(--ink); color: var(--paper); }
.focus-strip { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 18px; }
.focus-strip > .eyebrow { color: var(--kiwi); }
.focus-strip > div { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font: 600 18px/1.3 var(--display); }
.strip-divider { color: var(--orange); }

.work-section { padding-block: 76px 72px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 38px; }
.section-number { color: var(--orange-deep); margin-bottom: 10px; }
h2 { font-size: clamp(34px, 3.8vw, 50px); font-weight: 700; letter-spacing: -.01em; line-height: 1.12; }
h2 span { color: var(--fern-deep); }
.section-heading > p { font-size: 16px; font-weight: 600; line-height: 1.55; color: var(--ink-soft); }
.research-grid, .tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.research-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 4px solid var(--ink); border-radius: 26px; box-shadow: 7px 7px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.research-card:hover { transform: translate(-2px, -3px) rotate(-.5deg); box-shadow: 10px 11px 0 var(--ink); }
.causal-card:hover { transform: translate(-2px, -3px) rotate(.5deg); }
.project-visual { padding: 18px 22px 15px; border-bottom: 4px solid var(--ink); }
.orbit-visual { background: var(--night); color: var(--paper); }
.causal-visual { background: var(--kiwi); }
.visual-topline, .visual-bottomline { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 600 14px/1.4 var(--display); }
.formula { font-family: Manrope, sans-serif; font-weight: 700; }
.project-visual > svg { width: 100%; }
.research-content { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.project-title-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.project-title-row h3 { font-size: 32px; font-weight: 700; line-height: 1.15; }
.project-kind { flex-shrink: 0; padding: 3px 11px 4px; background: var(--kowhai); border: 2px solid var(--ink); border-radius: 999px; font: 600 13px/1.3 var(--display); }
.project-subtitle { margin-top: 8px; font-size: 17px; font-weight: 700; color: var(--orange-deep); }
.project-description { flex: 1; margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 20px 0 22px; padding: 0; }
.tags li { padding: 3px 11px 4px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 700; }
.project-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding-top: 16px; border-top: 3px dotted var(--ink); font: 600 16px/1.3 var(--display); }
.project-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.project-links a:hover { text-decoration-style: wavy; }
.project-links a:first-child { color: var(--fern-deep); }
.subsection-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 54px 0 20px; }
.subsection-heading h3 { font-size: 28px; font-weight: 700; }
.subsection-heading .eyebrow { color: var(--ink-soft); }
.tool-card { display: flex; flex-direction: column; padding: 24px 26px; border: 4px solid var(--ink); border-radius: 26px; box-shadow: 7px 7px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.tool-card:nth-child(1) { background: var(--kowhai); }
.tool-card:nth-child(2) { background: var(--paua); }
.tool-card:hover { transform: translate(-2px, -3px) rotate(.5deg); box-shadow: 10px 11px 0 var(--ink); }
.tool-card:nth-child(2):hover { transform: translate(-2px, -3px) rotate(-.5deg); }
.tool-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tool-topline svg { width: 42px; height: 42px; }
.tool-card h4 { font-size: 30px; font-weight: 700; line-height: 1.15; }
.tool-card > p { flex: 1; max-width: 480px; margin-top: 10px; font-size: 16px; line-height: 1.65; font-weight: 600; }
.tool-card .tags { margin-block: 18px 20px; }
.tool-card .project-links a:first-child { color: var(--ink); }
.explorations-heading { margin-top: 50px; }
.explorations-heading .text-link { flex-shrink: 0; }
.exploration-list { overflow: hidden; background: var(--paper); border: 4px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); }
.exploration { display: grid; grid-template-columns: 38px 1fr auto 22px; align-items: center; gap: 18px; padding: 16px 22px; border-top: 3px solid var(--ink); transition: background .15s; }
.exploration:first-child { border-top: 0; }
.exploration:hover { background: var(--kiwi); }
.exploration-index { display: grid; place-items: center; width: 38px; height: 38px; background: var(--orange); border: 3px solid var(--ink); border-radius: 50%; font: 600 14px var(--display); }
.exploration h4 { font-size: 20px; font-weight: 600; line-height: 1.25; }
.exploration p { margin-top: 3px; font-size: 15px; color: var(--ink-soft); }
.exploration-field { font: 600 14px/1.3 var(--display); text-align: right; }
.exploration-arrow { font-size: 20px; font-weight: 700; transition: transform .2s; }
.exploration:hover .exploration-arrow { transform: translate(3px, -3px); }

.wave { height: 70px; margin-bottom: -1px; }
.wave svg { width: 100%; height: 100%; }
.about-band { background: var(--meadow); }
.about-section { display: grid; grid-template-columns: 1fr 1.12fr; grid-template-areas: "intro copy" "career copy" "background background"; grid-template-rows: auto 1fr auto; gap: 38px 70px; align-items: start; padding-block: 56px 56px; }
.about-intro { grid-area: intro; }
.about-copy { grid-area: copy; }
.about-copy > p { margin-bottom: 16px; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.about-copy .about-lead { margin-bottom: 18px; font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.about-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.about-topics span { padding: 4px 13px 5px; background: var(--orange); border: 2.5px solid var(--ink); border-radius: 999px; font: 600 14px/1.3 var(--display); }
.expertise-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0 24px; }
.expertise-list > div { padding: 14px 16px 15px; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 3px 3px 0 var(--ink); }
.expertise-list > div:nth-child(1) { background: var(--kowhai); }
.expertise-list > div:nth-child(2) { background: #ffb866; }
.expertise-list > div:nth-child(3) { background: #7be8df; }
.expertise-list > div:nth-child(4) { background: var(--kiwi); }
.expertise-list dt { font: 600 18px/1.25 var(--display); }
.expertise-list dd { margin: 5px 0 0; font-size: 14px; font-weight: 600; line-height: 1.5; }
.career-summary { grid-area: career; }
.career-summary > .eyebrow { color: var(--orange-deep); font-weight: 600; }
.career-list { list-style: none; margin: 18px 0 6px; padding: 0; }
.career-list li { position: relative; margin-left: 8px; padding: 0 0 22px 26px; border-left: 3px solid var(--ink); }
.career-list li::before { content: ""; position: absolute; left: -10px; top: 3px; width: 17px; height: 17px; background: var(--orange); border: 3px solid var(--ink); border-radius: 50%; }
.career-list li:first-child::before { background: var(--kiwi); }
.career-list li:last-child { border-color: transparent; padding-bottom: 14px; }
.career-list .career-date { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.career-list h4 { margin-block: 3px 2px; font-size: 21px; font-weight: 600; line-height: 1.25; }
.career-list p:not(.career-date) { max-width: 380px; font-size: 15px; line-height: 1.55; }
.career-list .career-detail { margin-top: 2px; color: var(--ink-soft); }
.about-background { grid-area: background; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.about-background > div { padding: 20px 22px 22px; background: var(--paper); border: 4px solid var(--ink); border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); }
.about-background .eyebrow { margin-bottom: 8px; color: var(--orange-deep); }
.about-background h4 { margin-bottom: 4px; font-size: 21px; font-weight: 600; line-height: 1.25; }
.about-background p { font-size: 15px; line-height: 1.6; }
.about-background p.career-location { margin-block: 2px 6px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.background-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 10px; font: 600 15px/1.3 var(--display); }
.background-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.background-links a:hover, .copr-projects a:hover { text-decoration-style: wavy; }
.about-background .copr-projects { display: flex; align-items: center; gap: 8px; margin-top: 2px; font: 600 15px/1.3 var(--display); }
.copr-projects a { display: inline-flex; align-items: center; min-height: 28px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.wave-to-about { background: var(--cream); }
.wave-to-contact { background: var(--meadow); }
.contact-band { background: var(--fern); }
.contact-section { display: flex; justify-content: space-between; gap: 60px; padding-block: 34px 66px; }
.contact-section .section-number { color: var(--ink); }
.contact-section h2 { font-size: clamp(34px, 4vw, 52px); }
.contact-section p:not(.eyebrow) { margin-top: 8px; font-size: 18px; font-weight: 700; }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; flex-shrink: 0; width: 460px; align-content: center; }
.contact-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 8px 18px 9px; background: var(--paper); border: 3px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink); font: 600 16px/1.2 var(--display); transition: transform .15s, box-shadow .15s, background .15s; }
.contact-links a:hover { background: var(--kowhai); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

.footer-band { background: var(--ink); color: var(--paper); }
.site-footer { padding-block: 26px 28px; font-size: 14px; font-weight: 600; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.site-footer a { padding-block: 7px; color: var(--kiwi); text-decoration: underline; text-underline-offset: 4px; }
.site-footer a span { margin-left: 4px; }
.palette { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; font-size: 13px; }
.palette-label { color: var(--kiwi); }
.palette span[style]::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 6px; background: var(--dot); border-radius: 50%; vertical-align: -1px; }

@media (max-width: 1050px) {
  :root { --gutter: 32px; }
  .hero { display: block; width: 100%; padding: 0; }
  .hero-copy { padding: 30px var(--gutter) 0; }
  .scene { position: relative; inset: auto; margin-top: -44px; }
  .sketch-slot { padding: 30px var(--gutter) 46px; background: var(--paua); }
  .data-sketch { max-width: 520px; margin-inline: auto; }
  .sun { width: 300px; top: -60px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .desktop-break { display: none; }
  .project-title-row { flex-wrap: wrap; }
  .about-section { gap: 34px 44px; }
  .about-background { gap: 18px; }
  .contact-section { flex-direction: column; gap: 28px; }
  .contact-links { width: 100%; }
}
@media (max-width: 860px) {
  .research-grid, .tools-grid { grid-template-columns: 1fr; gap: 26px; }
  .about-section { grid-template-columns: 1fr; grid-template-areas: "intro" "copy" "career" "background"; grid-template-rows: none; }
  .about-background { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --header-h: 76px; --scene-h: 270px; }
  .identity { gap: 10px; font-size: 16px; }
  .site-header nav { gap: 16px; font-size: 15px; }
  .hero-copy { padding-top: 20px; }
  h1 { font-size: clamp(34px, 11vw, 42px); }
  h1 span { border-width: 3px; box-shadow: 4px 4px 0 var(--ink); }
  .hero-description { font-size: 17px; margin-top: 20px; }
  .hero-actions { gap: 8px 18px; margin-top: 20px; }
  .button { gap: 8px; padding: 10px 18px 11px; font-size: 16px; }
  .hero-meta { gap: 2px 16px; margin-top: 14px; font-size: 13px; }
  .scene { margin-top: -54px; }
  .kiwi-spot { transform: translate(845px, 168px) scale(.8); }
  .sun { width: 220px; top: -50px; right: -60px; box-shadow: 0 0 0 20px #ffbe00, 0 0 0 44px #ffa800; }
  .data-sketch { padding: 14px 12px 12px; border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); }
  .sketch-footer { flex-wrap: wrap; }
  .fern { display: none; }
  .platypus-spot { left: 12px; bottom: -10px; width: 210px; }
  .platypus-says { left: 58%; bottom: 84%; max-width: min(230px, calc(100vw - 150px)); font-size: 14px; }
  .focus-strip { align-items: flex-start; flex-direction: column; gap: 8px; }
  .diagram-nodes { font-size: 22px; }
  .diagram-edges { font-size: 20px; letter-spacing: 0; }
  .focus-strip > div { gap: 6px 12px; font-size: 16px; }
  .work-section { padding-block: 54px 54px; }
  .research-content { padding: 22px 20px; }
  .project-title-row h3 { font-size: 30px; }
  .project-links { gap: 6px 20px; }
  .project-links a { min-height: 34px; }
  .subsection-heading { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 42px; }
  .explorations-heading { margin-top: 42px; }
  .tool-card { padding: 22px 20px; }
  .exploration { grid-template-columns: 34px 1fr 18px; gap: 12px; padding: 14px 14px; }
  .exploration-index { width: 34px; height: 34px; font-size: 13px; }
  .exploration h4 { font-size: 18px; }
  .exploration p { font-size: 14px; }
  .exploration-field { display: none; }
  .wave { height: 44px; }
  .about-section { padding-block: 36px 44px; }
  .expertise-list { grid-template-columns: 1fr; }
  .contact-section { padding-block: 22px 46px; }
  .contact-links { grid-template-columns: 1fr; gap: 12px; }
  .footer-note { order: 3; flex-basis: 100%; }
}
@media (max-width: 380px) {
  :root { --gutter: 14px; }
  .flock-word { display: none; }
  .site-header nav { gap: 12px; font-size: 14px; }
  .identity { gap: 7px; font-size: 14px; }
  .monogram { font-size: 19px; }
  .project-title-row h3, .tool-card h4 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  :root { --cream: #fff; --paper: #fff; --orange: #fff; --kowhai: #fff; --kiwi: #fff; --fern: #fff; --paua: #fff; --meadow: #fff; --night: #fff; --orange-deep: #111; --fern-deep: #111; --ink-soft: #333; --sticker: none; }
  body { font-size: 11px; }
  .wrap { width: 100%; }
  .site-header, .sketch-slot, .hero-actions, .focus-band, .project-visual, .skip-link, .sun, .scene, .wave, .palette { display: none; }
  .hero-band { margin: 0; padding: 0; background: none; }
  .hero { display: block; padding-block: 20px; }
  .hero-copy { padding: 0; }
  h1 { font-size: 36px; }
  h1 span { padding: 0; border: 0; box-shadow: none; transform: none; }
  .hero-description { max-width: none; }
  .work-section { padding-block: 25px; }
  .research-card, .tool-card, .exploration, .exploration-list, .about-background > div, .expertise-list > div { box-shadow: none; border-width: 1px; }
  .research-card, .tool-card, .exploration { break-inside: avoid; }
  .about-section, .contact-section { padding-block: 28px; }
  .project-links a::after { content: " (" attr(href) ")"; font-size: 8px; overflow-wrap: anywhere; }
  .project-links { align-items: flex-start; flex-direction: column; gap: 5px; }
  .footer-band { background: none; color: #111; }
  .site-footer a { color: #111; }
}
