:root {
  color-scheme: light;
  --paper: #f7f4ee;
  --paper-deep: #eee9df;
  --white: #fffefa;
  --ink: #1e2a26;
  --muted: #63716a;
  --line: #dcd8cd;
  --teal: #176b5a;
  --teal-dark: #123e37;
  --mint: #dcece2;
  --coral: #d86e52;
  --lemon: #e8edb2;
  --display: 'DM Serif Display', Georgia, serif;
  --body: 'DM Sans', Arial, sans-serif;
  --mono: 'DM Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--teal); color: white; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 18px; background: var(--teal); color: white; }
.skip-link:focus { top: 12px; }

/* A simple masthead, like a well edited personal journal */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(30,42,38,.1); background: rgba(247,244,238,.94); backdrop-filter: blur(14px); }
.header-inner { height: 76px; display: flex; align-items: center; gap: 30px; }
.logo { display: inline-flex; align-items: center; gap: 2px; color: var(--teal-dark); font: 700 27px/.8 var(--body); letter-spacing: -2px; }
.logo-star { color: var(--coral); font-size: 22px; }
.logo-dot { color: var(--coral); }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a, .nav-contact { font-size: 12px; font-weight: 600; color: var(--muted); }
.nav a:hover, .nav-contact:hover { color: var(--teal); }
.nav-contact { padding: 11px 15px; border: 1px solid var(--line); border-radius: 30px; color: var(--teal-dark); }
.nav-contact span { padding-left: 8px; color: var(--coral); }
.mobile-toggle, .mobile-menu { display: none; }

/* Personal hero */
.hero { min-height: 650px; padding-block: 76px 84px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 62px; }
.hero-left { position: relative; z-index: 2; }
.eyebrow, .section-kicker, .hero-location, .portrait-caption, .portrait-coordinate, .project-meta, .tag-row, .project-open, .work-note, .expertise-number, .expertise-tech, .about-footline, .art-foot, .showcase-top, .showcase-pills, .figure-index, .back-top { font-family: var(--mono); }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--teal); font-size: 10px; letter-spacing: .11em; }
.status-pulse, .signal-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #6caa77; box-shadow: 0 0 0 4px rgba(108,170,119,.16); }
.hero h1 { max-width: 670px; margin: 23px 0 21px; font: 400 clamp(52px,6.2vw,82px)/1.04 var(--display); letter-spacing: -.045em; }
.hero h1 em, .section h2 em, .contact-section h2 em { color: var(--teal); font-style: italic; }
.period { color: var(--coral); }
.hero-intro { max-width: 500px; margin: 0; color: #58665e; font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 18px; border: 1px solid transparent; border-radius: 3px; font-size: 12px; font-weight: 600; transition: transform .2s, background .2s, border-color .2s; }
.button span { font-size: 17px; }
.button-primary { background: var(--teal); color: white; }
.button-primary:hover { transform: translateY(-2px); background: var(--teal-dark); }
.button-text { padding-inline: 2px; color: var(--teal-dark); }
.button-text:hover { color: var(--coral); transform: translateX(3px); }
.hero-location { display: flex; align-items: center; gap: 12px; margin-top: 54px; color: #78837b; font-size: 9px; letter-spacing: .08em; }
.crosshair { color: var(--coral); font-size: 15px; }
.separator { color: #b9b6a9; }
.hero-visual { min-width: 0; }

/* The portrait is the visual anchor */
.hero-visual.profile-visual { position: relative; justify-self: end; width: min(100%, 450px); height: 500px; overflow: visible; border: 0; border-radius: 2px; background: var(--mint); box-shadow: 18px 18px 0 #d9e5d9; }
.profile-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 34%; filter: saturate(.9); }
.portrait-frame { position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.8); pointer-events: none; }
.portrait-sticker { position: absolute; top: 34px; right: -25px; padding: 12px 16px; background: var(--lemon); color: var(--teal-dark); font: 500 12px/1.2 var(--mono); transform: rotate(3deg); box-shadow: 0 5px 18px rgba(30,42,38,.1); }
.portrait-sticker span { font-size: 8px; letter-spacing: .04em; }
.portrait-caption { position: absolute; right: 12px; bottom: 12px; left: 12px; display: flex; justify-content: space-between; gap: 10px; padding: 14px 15px; background: rgba(18,62,55,.92); color: white; font-size: 8px; letter-spacing: .04em; }
.portrait-caption span:first-child { display: flex; align-items: center; gap: 9px; }
.portrait-caption .signal-dot { background: #d9e99e; box-shadow: none; }
.portrait-coordinate { position: absolute; left: -31px; top: 29px; color: var(--teal); font-size: 8px; line-height: 1.5; letter-spacing: .04em; transform: rotate(-90deg); transform-origin: left top; }

/* Proof points */
.proof-section { border-block: 1px solid var(--line); background: #f0ede5; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-item { min-height: 125px; display: flex; align-items: center; gap: 20px; padding: 20px 26px 20px 0; border-right: 1px solid var(--line); }
.proof-item + .proof-item { padding-left: 28px; }
.proof-last { border-right: 0; }
.proof-item strong { color: var(--teal); font: 400 49px/1 var(--display); letter-spacing: -.04em; white-space: nowrap; }
.proof-item strong span { color: var(--coral); }
.proof-item > span { color: var(--muted); font-size: 11px; line-height: 1.65; }
.award-highlight { display: grid; grid-template-columns: 78px minmax(0,1fr) auto; align-items: center; gap: 22px; padding: 21px 24px; margin-top: 30px; border: 1px solid #d7e0d2; border-left: 4px solid var(--coral); background: #edf2e8; }
.award-medal { width: 68px; height: 68px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #d7977b; border-radius: 50%; color: #a9533c; transform: rotate(-8deg); }
.award-medal strong { font: 400 25px/.95 var(--display); }.award-medal span { margin-top: 4px; font: 7px var(--mono); letter-spacing: .12em; }
.award-copy .section-kicker { color: var(--teal); }.award-copy h2 { margin: 6px 0 4px; font: 400 25px/1.12 var(--display); }.award-copy p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.award-link { display: inline-flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid #cbd8cc; border-radius: 2px; color: var(--teal); font-size: 10px; font-weight: 600; white-space: nowrap; }.award-link span { color: var(--coral); font-size: 15px; }.award-link:hover { background: white; }

/* Project and paper feature spread */
.visual-lab { padding-block: 105px 112px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-bottom: 35px; }
.section-kicker { color: #77837b; font-size: 9px; letter-spacing: .09em; }
.section-kicker span { margin-right: 7px; color: var(--coral); }
.section h2, .contact-section h2 { margin: 15px 0 0; font: 400 clamp(43px,5vw,65px)/1.05 var(--display); letter-spacing: -.04em; }
.visual-lab .section-heading h2 em { color: var(--coral); }
.section-heading > p { max-width: 370px; margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.showcase-card { min-width: 0; overflow: hidden; border: 1px solid #e1ddd2; border-radius: 4px; background: var(--white); box-shadow: 0 9px 30px rgba(43,52,42,.045); }
.showcase-top { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 16px; border-bottom: 1px solid #ebe7de; color: #758079; font-size: 8px; letter-spacing: .06em; }
.showcase-top a { color: var(--teal); font-size: 8px; white-space: nowrap; }
.showcase-top a:hover { color: var(--coral); }
.fl-diagram { height: 280px; overflow: hidden; background: #edf3e9; }
.fl-diagram picture, .fl-diagram img { display: block; width: 100%; height: 100%; }
.fl-diagram img { object-fit: contain; }
.showcase-bottom { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; border-top: 1px solid #ebe7de; }
.showcase-bottom > div:first-child { display: flex; flex-direction: column; gap: 5px; }
.showcase-bottom strong { color: var(--ink); font: 400 15px var(--display); }
.showcase-bottom span { color: #76827b; font: 8px var(--mono); }
.showcase-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.showcase-pills span { padding: 5px 6px; border: 1px solid #d5e2d5; border-radius: 2px; color: var(--teal); font-size: 7px; }
.paper-image-link { display: block; height: 280px; overflow: hidden; background: #fff; }
.paper-image-link img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.paper-image-link:hover img { transform: scale(1.025); }
.figure-index { color: var(--coral) !important; font-size: 8px !important; white-space: nowrap; }

/* Work cards */
.work-section { padding-top: 24px; padding-bottom: 108px; }
.work-section .section-heading { margin-bottom: 28px; }
.work-section .section-heading h2 em { color: var(--teal); }
.filters { display: flex; gap: 24px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.filter { position: relative; padding: 0 0 12px; border: 0; background: none; color: #7b857e; font: 10px var(--mono); }
.filter.is-active { color: var(--teal-dark); }
.filter.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--coral); content: ''; }
.filter span { margin-left: 5px; color: var(--coral); }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.project-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e2ded4; border-radius: 4px; background: var(--white); transition: transform .2s, box-shadow .2s, border-color .2s; }
.project-card:hover { transform: translateY(-3px); border-color: #c7d8c9; box-shadow: 0 12px 30px rgba(36,64,50,.08); }
.project-card[hidden] { display: none; }
.project-art { position: relative; height: 220px; overflow: hidden; border-bottom: 1px solid #e9e5dc; }
.art-foot { position: absolute; bottom: 13px; left: 17px; color: #758279; font-size: 7px; letter-spacing: .06em; }
.art-platform { background: #e8f0e5; }
.art-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(39,102,83,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(39,102,83,.07) 1px,transparent 1px); background-size: 23px 23px; }
.data-line { position: absolute; width: 54%; height: 1px; background: linear-gradient(90deg,transparent,#509779,transparent); }
.line-a { top: 34%; left: -8%; transform: rotate(22deg); }
.line-b { right: -12%; bottom: 24%; transform: rotate(-16deg); }
.line-c { top: 15%; right: 0; transform: rotate(17deg); }
.art-core { position: absolute; top: 49%; left: 50%; display: flex; align-items: center; gap: 13px; padding: 18px; border: 1px solid #a7c6ab; background: rgba(255,254,250,.92); transform: translate(-50%,-50%); white-space: nowrap; }
.art-core span { color: var(--teal-dark); font: 500 9px var(--mono); }
.art-core b { color: var(--coral); font: 400 16px var(--mono); }
.art-float { position: absolute; top: 20px; color: #56816d; font: 8px var(--mono); }
.art-left { left: 17px; }
.art-right { right: 17px; }
.art-series { background: #f1f3ee; }
.project-thumb { display: block; width: 100%; height: 100%; padding: 4px; background: #f1f3ee; object-fit: contain; }
.art-finguard, .art-flower { background: #e9eeea; }
.finguard-thumb { padding: 12px; object-fit: contain; object-position: center 42%; }
.flower-thumb { padding: 8px; object-fit: contain; background: #fff; }
.art-finguard .art-foot, .art-flower .art-foot, .art-truebeam .art-foot { z-index: 1; padding: 5px 7px; border-radius: 2px; background: rgba(255,254,250,.94); color: #526459; }
.art-truebeam { display: grid; place-items: center; background: linear-gradient(140deg,#e8eee5,#f4e9dc); }
.truebeam-panel { width: min(78%,420px); padding: 18px 20px 14px; border: 1px solid #d9ded2; background: rgba(255,254,250,.94); box-shadow: 0 10px 28px rgba(45,65,52,.08); }
.truebeam-panel > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 9px 16px; padding: 7px 0; }
.truebeam-panel > div + div { border-top: 1px solid #e8e5dc; }
.truebeam-panel span, .truebeam-panel small { color: #66766b; font: 7px var(--mono); letter-spacing: .04em; }
.truebeam-panel b { color: var(--teal-dark); font: 500 19px var(--display); }
.truebeam-panel i { grid-column: 1 / -1; height: 5px; overflow: hidden; border-radius: 9px; background: #e9e9dd; }
.truebeam-panel i em { display: block; width: 68%; height: 100%; margin: auto; border-right: 1px solid #c27b62; border-left: 1px solid #c27b62; background: #9cba9c; }
.truebeam-panel small { display: block; margin-top: 8px; font-size: 6px; }
.art-footballhub { background: #211a17; }.footballhub-thumb { padding: 0; background: #211a17; object-fit: cover; object-position: top center; }.art-footballhub .art-foot { z-index: 1; padding: 5px 7px; border-radius: 2px; background: rgba(255,254,250,.94); color: #526459; }
.art-series .art-foot { padding: 5px 7px; background: rgba(255,254,250,.9); }
.art-edge { background: #edf3e9; }
.onion-card-diagram { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.art-edge .art-foot { z-index: 1; padding: 5px 7px; border-radius: 2px; background: rgba(255,254,250,.94); color: #526459; }
.art-ops { background: #e9edf0; }
.ops-window { position: absolute; top: 21px; left: 50%; width: 72%; height: 164px; padding: 14px 16px; border: 1px solid #d1d7d4; border-radius: 4px; background: #fffefa; box-shadow: 0 8px 24px rgba(40,55,48,.08); transform: translateX(-50%); }
.ops-title { display: flex; justify-content: space-between; padding-bottom: 10px; margin-bottom: 16px; border-bottom: 1px solid #ece9e1; color: #7a8980; font-size: 7px; }
.ops-line { display: flex; align-items: center; gap: 8px; margin: 11px 0; }
.ops-label { width: 36px; color: #697a70; font: 8px var(--mono); }
.ops-track { flex: 1; height: 4px; background: #e9eee8; }.ops-track i { display: block; height: 100%; background: #77ae84; }
.ops-ok { color: var(--teal); font-size: 10px; }
.art-sensing { display: grid; place-items: center; background: #ede9f0; }
.art-moodpal { position: relative; display: block; height: 285px; min-height: 285px !important; background: #e8eee4; }
.moodpal-brand-panel { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; overflow: hidden; padding: 20px; background: radial-gradient(circle at 20% 15%,#f8e6dd,transparent 45%),linear-gradient(145deg,#f1f2e8,#e5edf0); text-align: center; }
.moodpal-wordmark { display: block; width: min(76%,190px); aspect-ratio: 1; object-fit: cover; border-radius: 3px; mix-blend-mode: multiply; }
.moodpal-brand-panel > span { color: #65736a; font: 7px/1.5 var(--mono); letter-spacing: .08em; }
.moodpal-sticker { position: absolute; top: 13px; right: 12px; width: 43px; height: 43px; display: grid; place-content: center; border: 1px solid #d18b72; border-radius: 50%; background: #fffaf3; color: #a9533c; text-align: center; font: 400 17px/.8 var(--display); transform: rotate(8deg); }.moodpal-sticker sup { font-size: 9px; }.moodpal-sticker small { margin-top: 4px; font: 5px var(--mono); letter-spacing: .08em; }
.art-moodpal .art-foot { z-index: 2; bottom: 10px; left: 10px; padding: 5px 7px; border-radius: 2px; background: rgba(255,254,250,.94); color: #526459; font-size: 6px; }
.moodpal-actions { display: flex; align-items: center; gap: 18px; margin-top: auto; }.moodpal-actions .project-open { width: auto; flex: 1; }.moodpal-live { padding-top: 12px; border-top: 1px solid #ece9e1; color: var(--teal); font: 8px var(--mono); white-space: nowrap; }.moodpal-live span { color: var(--coral); }
.bank-mock { width: min(78%,370px); height: 172px; padding: 12px 14px; border: 1px solid #e1d9e5; border-radius: 7px; background: #fffefa; box-shadow: 0 9px 24px rgba(54,45,65,.09); transform: rotate(-1deg); }
.bank-mock-head { display: flex; justify-content: space-between; align-items: center; color: var(--teal-dark); font: 600 10px var(--body); }
.bank-mock-head span { color: var(--coral); font: 7px var(--mono); letter-spacing: .06em; }
.bank-bubble { width: max-content; max-width: 90%; margin: 10px 0 6px auto; padding: 6px 9px; border-radius: 7px 7px 1px 7px; background: #e7eee4; color: #314b3f; font-size: 7px; }
.bank-answer { padding: 8px 9px; border: 1px solid #eeebe4; border-radius: 4px; background: white; }
.bank-answer strong { color: #43564b; font: 7px var(--mono); }
.bank-bars { height: 37px; display: flex; align-items: flex-end; gap: 7px; padding: 6px 7px 0; border-bottom: 1px solid #eeebe4; }
.bank-bars i { flex: 1; height: 44%; border-radius: 2px 2px 0 0; background: #75ae8a; }.bank-bars i:nth-child(2){height:76%}.bank-bars i:nth-child(3){height:59%}.bank-bars i:nth-child(4){height:88%;background:#dd8a6d}.bank-bars i:nth-child(5){height:55%}.bank-bars i:nth-child(6){height:68%}
.bank-legend { display: flex; justify-content: space-between; margin-top: 5px; color: #818a80; font: 6px var(--mono); }
.bank-mock-foot { margin-top: 6px; color: #77837a; text-align: right; font: 6px var(--mono); letter-spacing: .05em; }
.project-body { min-height: 260px; display: flex; flex: 1; flex-direction: column; padding: 23px 24px 20px; }
.project-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--teal); font-size: 8px; letter-spacing: .04em; }
.project-meta span:last-child { color: #848d83; }
.project-body h3 { max-width: 440px; margin: 15px 0 9px; font: 400 24px/1.16 var(--display); letter-spacing: -.02em; }
.project-body p { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag-row span { padding: 5px 7px; border: 1px solid #e5e3d8; border-radius: 2px; color: #718078; font-size: 8px; white-space: nowrap; }
.project-open { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 12px 0 0; margin-top: 21px; border: 0; border-top: 1px solid #ece9e1; background: transparent; color: var(--teal-dark); text-align: left; font-size: 9px; }
.project-open span { color: var(--coral); font-size: 16px; transition: transform .2s; }
.project-open:hover span { transform: translate(3px,-3px); }
.project-wide { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; }
.project-wide .project-art { height: auto; min-height: 285px; }
.project-wide .project-body { justify-content: center; padding-inline: 34px; }
.work-note { margin-top: 20px; color: #79847b; font-size: 8px; line-height: 1.7; }.work-note span { color: var(--coral); }

/* Expertise and biography */
.expertise-section { padding-block: 95px; border-block: 1px solid #dce5dc; background: #edf2eb; }
.expertise-section .section-heading > p { color: #637268; }
.expertise-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 45px; border-top: 1px solid #d4ded2; }
.expertise-item { min-height: 295px; padding: 22px 20px 12px; border-right: 1px solid #d4ded2; }
.expertise-item:first-child { padding-left: 0; }.expertise-item:last-child { border-right: 0; }
.expertise-number { color: #8a958c; font-size: 9px; }
.expertise-icon { height: 62px; margin-top: 18px; color: var(--coral); font: 400 39px var(--display); }
.expertise-item h3 { margin: 0 0 11px; font: 400 20px var(--display); }
.expertise-item p { max-width: 230px; color: #68756d; font-size: 11px; line-height: 1.8; }
.expertise-tech { display: block; margin-top: 14px; color: var(--teal); font-size: 8px; line-height: 1.7; }
.about-section { padding-block: 104px; }
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 76px; }
.about-heading h2 { margin-top: 20px; }
.about-heading h2 em { color: var(--coral); }
.about-orbit { position: relative; width: 210px; height: 145px; margin-top: 49px; border: 1px solid #b5cbb7; border-radius: 50%; transform: rotate(-10deg); color: var(--teal); }
.about-orbit::after { position: absolute; top: 50%; left: 50%; color: #d78c70; content: '✳'; font-size: 48px; transform: translate(-50%,-50%) rotate(10deg); }
.about-orbit span { position: absolute; display: block; padding: 5px 8px; background: var(--paper); font: 8px var(--mono); letter-spacing: .1em; }
.about-orbit span:nth-child(1) { top: 23px; left: -14px; }.about-orbit span:nth-child(2) { top: 46px; right: -15px; }.about-orbit span:nth-child(3) { bottom: -6px; left: 65px; }
.about-copy { padding-top: 38px; }
.about-copy p { margin: 0 0 21px; color: #657168; font-size: 13px; line-height: 1.9; }
.about-copy .about-lead { color: var(--ink); font: 400 23px/1.5 var(--display); }
.about-lead em { color: var(--teal); }
.about-footline { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; margin-top: 29px; border-top: 1px solid var(--line); color: #77847a; font-size: 7px; line-height: 1.7; }
.about-footline span:first-child { display: flex; align-items: center; gap: 8px; }
.about-heading h2 em { color: var(--coral); }

/* Contact and footer */
.contact-section { position: relative; overflow: hidden; background: var(--teal-dark); color: white; }
.contact-inner { position: relative; z-index: 1; padding-block: 88px; }
.contact-section .section-kicker { color: #b5cfc2; }
.contact-section .section-kicker span { color: #edb69f; }
.contact-section h2 { max-width: 840px; color: white; }
.contact-section h2 em { color: #dce9a6; }
.contact-inner > p { max-width: 490px; margin: 20px 0 27px; color: #d0dfd5; font-size: 13px; line-height: 1.8; }
.contact-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.contact-buttons .button-primary { background: #e5edbd; color: var(--teal-dark); }
.contact-buttons .button-primary:hover { background: white; }
.button-outline { border-color: rgba(255,255,255,.4); color: white; }
.button-outline:hover { transform: translateY(-2px); border-color: white; background: rgba(255,255,255,.08); }
.contact-placeholder { color: #b5cfc2; font-size: 9px; }
.site-footer { background: #10352f; color: #cad9cf; }
.footer-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 8px; }
.footer-logo { color: white; }.footer-logo .logo-star,.footer-logo .logo-dot { color: #e5a68f; }
.back-top { color: #d5e7dc; font-size: 8px; letter-spacing: .06em; }.back-top:hover { color: white; }

/* Case study dialog */
.case-dialog { width: min(650px,calc(100% - 30px)); max-height: 88vh; padding: 0; margin: auto; overflow: auto; border: 1px solid #d0d8cc; background: var(--white); color: var(--ink); box-shadow: 0 24px 90px rgba(17,42,31,.22); }
.case-dialog::backdrop { background: rgba(17,33,27,.55); backdrop-filter: blur(3px); }
.dialog-inner { position: relative; padding: 40px; }
.dialog-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 22px; }
.dialog-close:hover { background: var(--paper-deep); }
.case-dialog h2 { max-width: 500px; margin: 17px 0; font: 400 36px/1.1 var(--display); }
.dialog-intro { color: var(--teal); font: 400 16px/1.65 var(--display); }
.dialog-section { padding-top: 20px; margin-top: 23px; border-top: 1px solid var(--line); }
.dialog-section h3 { margin: 0 0 10px; color: var(--teal-dark); font: 500 9px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.dialog-section p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.dialog-note { margin-top: 22px; color: #78837b; font: 8px/1.7 var(--mono); }
.dialog-image-wrap { margin: 22px 0 8px; overflow: hidden; border: 1px solid #e5e1d7; background: #e8ede7; }
.dialog-image-wrap img { display: block; width: 100%; max-height: 340px; object-fit: contain; }
.dialog-image-wrap figcaption { padding: 8px 11px; color: #718078; font: 8px var(--mono); }
.case-source { width: max-content; max-width: 100%; margin-top: 15px; }

/* Gentle motion, never required for reading */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease,transform .55s ease; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .hero { gap: 38px; }.hero-visual.profile-visual { height: 450px; }
  .proof-item { gap: 13px; }.proof-item + .proof-item { padding-left: 18px; }
  .expertise-item { padding-inline: 14px; }
  .about-layout { gap: 45px; }
}
@media (max-width: 800px) {
  .container { width: min(100% - 48px,680px); }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 35px; padding-block: 57px 63px; }
  .hero-left { max-width: 650px; }.hero-visual.profile-visual { justify-self: center; width: min(100%,520px); height: 500px; margin: 3px 10px 0; }
  .hero-location { margin-top: 35px; }
  .proof-item { min-height: 108px; }
  .visual-lab { padding-block: 80px; }.section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .section-heading > p { max-width: 570px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .expertise-item:nth-child(2) { border-right: 0; }.expertise-item:nth-child(-n+2) { border-bottom: 1px solid #d4ded2; }
  .expertise-item:nth-child(3) { padding-left: 0; }
  .about-layout { gap: 35px; }
  .award-highlight { grid-template-columns: 64px minmax(0,1fr); gap: 16px; }.award-medal { width: 58px; height: 58px; }.award-link { grid-column: 2; justify-self: start; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 38px); }
  .header-inner { height: 66px; }.logo { font-size: 24px; }.logo-star { font-size: 20px; }
  .nav,.nav-contact { display: none; }
  .mobile-toggle { width: 38px; height: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-left: auto; border: 1px solid var(--line); border-radius: 2px; background: transparent; }
  .mobile-toggle span { width: 16px; height: 1px; background: var(--ink); }
  .mobile-menu { display: flex; flex-direction: column; padding: 4px 20px 16px; border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-menu[hidden] { display: none !important; }
  .mobile-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--teal-dark); font-size: 13px; }
  .hero { padding-block: 47px 52px; gap: 30px; }.eyebrow { font-size: 8px; letter-spacing: .07em; }
  .hero h1 { margin: 18px 0; font-size: clamp(46px,11.5vw,66px); }
  .hero-intro { font-size: 14px; }.hero-actions { flex-wrap: wrap; gap: 12px; margin-top: 22px; }
  .button { min-height: 43px; gap: 13px; padding: 10px 13px; font-size: 10px; }
  .hero-location { margin-top: 27px; gap: 8px; font-size: 7px; }
  .hero-visual.profile-visual { width: calc(100% - 13px); height: min(112vw,430px); margin-right: 10px; }
  .portrait-sticker { top: 25px; right: -13px; padding: 9px 11px; font-size: 9px; }.portrait-sticker span { font-size: 6px; }
  .portrait-caption { right: 8px; bottom: 8px; left: 8px; padding: 10px; font-size: 6px; }.portrait-coordinate { left: -20px; top: 22px; font-size: 7px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item { min-height: 92px; gap: 9px; padding: 15px 8px 15px 0; }
  .proof-item + .proof-item { padding-left: 13px; }.proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(3) { grid-column: 1/-1; min-height: 78px; padding: 13px 0; border-top: 1px solid var(--line); border-right: 0; }
  .proof-item strong { font-size: 36px; }.proof-item > span { font-size: 9px; }
  .award-highlight { grid-template-columns: 48px minmax(0,1fr); gap: 12px; padding: 15px 12px; margin-top: 18px; }.award-medal { width: 45px; height: 45px; }.award-medal strong { font-size: 18px; }.award-medal span { font-size: 5px; }.award-copy .section-kicker { font-size: 6px; }.award-copy h2 { font-size: 19px; }.award-copy p { font-size: 9px; }.award-link { grid-column: 2; padding: 8px 10px; font-size: 8px; }
  .visual-lab { padding-block: 68px 72px; }.section h2,.contact-section h2 { font-size: clamp(40px,10vw,52px); }
  .section-kicker { font-size: 8px; }.showcase-top { min-height: 42px; padding-inline: 10px; font-size: 6px; }.showcase-top a { font-size: 6px; }
  .fl-diagram { height: auto; }.fl-diagram picture, .fl-diagram img { width: 100%; height: auto; }
  .paper-image-link { height: 210px; }.showcase-bottom { min-height: 65px; gap: 7px; padding: 10px; }.showcase-bottom strong { font-size: 12px; }.showcase-bottom span { font-size: 7px; }
  .showcase-pills { gap: 3px; }.showcase-pills span { padding: 4px; font-size: 5px; }
  .work-section { padding-top: 8px; padding-bottom: 70px; }.filters { gap: 18px; }.filter { font-size: 9px; }
  .project-grid { grid-template-columns: 1fr; gap: 14px; }.project-art { height: 205px; }.project-wide { grid-column: auto; display: flex; }.project-wide .project-art { min-height: 205px; height: 205px; }
  .project-wide .project-body { padding-inline: 20px; }.project-body { min-height: auto; padding: 19px 20px; }.project-body h3 { font-size: 22px; }.project-body p { font-size: 11px; }
  .project-wide .art-moodpal { height: 205px; min-height: 205px !important; }.moodpal-brand-panel { padding: 10px; gap: 4px; }.moodpal-wordmark { width: min(77%,140px); }.moodpal-sticker { top: 8px; right: 7px; width: 36px; height: 36px; font-size: 14px; }.moodpal-brand-panel > span { font-size: 6px; }.art-moodpal .art-foot { bottom: 7px; left: 7px; font-size: 5px; }.moodpal-actions { gap: 12px; }
  .award-copy .section-kicker { font-size: 7px; line-height: 1.6; }.award-copy h2 { font-size: 20px; }.award-copy p { font-size: 10px; line-height: 1.65; }
  .project-meta { font-size: 7px; }.tag-row span { font-size: 7px; }
  .expertise-section { padding-block: 69px; }.expertise-grid { margin-top: 30px; }
  .expertise-item { min-height: 278px; padding: 18px 12px 10px; }.expertise-item:nth-child(odd) { padding-left: 0; }
  .expertise-icon { height: 49px; margin-top: 12px; font-size: 31px; }.expertise-item h3 { font-size: 17px; }.expertise-item p { font-size: 10px; }.expertise-tech { font-size: 7px; }
  .about-section { padding-block: 73px; }.about-layout { grid-template-columns: 1fr; gap: 10px; }.about-orbit { display: none; }.about-copy { padding-top: 6px; }
  .about-copy .about-lead { font-size: 21px; }.about-copy p { font-size: 12px; }.about-footline { margin-top: 20px; padding-top: 14px; font-size: 6px; }
  .contact-inner { padding-block: 68px; }.contact-inner > p { font-size: 12px; }.contact-buttons { gap: 7px; }.contact-placeholder { font-size: 8px; }
  .footer-inner { min-height: 84px; flex-wrap: wrap; gap: 10px; padding-block: 16px; }.footer-inner > span { width: calc(100% - 55px); text-align: right; line-height: 1.5; }.back-top { width: 100%; text-align: right; }
  .dialog-inner { padding: 38px 20px 26px; }.case-dialog h2 { font-size: 29px; }.dialog-intro { font-size: 14px; }.dialog-image-wrap img { max-height: 260px; }
}

/* How I work — field notes */
.notes-section { padding-block: 104px 40px; }
.notes-section .section-heading h2 em { color: var(--coral); }
.notes-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 56px; border-top: 1px solid var(--line); }
.note { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.note-meta { display: flex; gap: 10px; color: var(--teal); font: 8px var(--mono); letter-spacing: .08em; }
.note-meta span { color: var(--coral); }
.note h3 { margin: 12px 0 10px; font: 400 23px/1.2 var(--display); letter-spacing: -.02em; }
.note p { max-width: 500px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
@media (max-width: 800px) { .notes-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .notes-section { padding-block: 73px 20px; } .note h3 { font-size: 20px; } .note p { font-size: 12px; } }
