:root {
  color-scheme: light;
  --ink: #111211;
  --muted: #777f9e;
  --rule: #b8bfd4;
  --ai: #9072cb;
  --apps: #7899c7;
  --games: #779e64;
  --creative: #bd8d38;
  --row-size: clamp(20px, 1.58vw, 26px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(16px, 1.2vw, 20px);
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .14em; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid #7c86ad; outline-offset: 5px; }
button:disabled { cursor: default; opacity: .35; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 12px 18px; background: white; transform: translateY(-160%); z-index: 10; }
.skip-link:focus { transform: translateY(0); }
.site-shell {
  display: grid;
  grid-template-columns: minmax(210px, .90fr) minmax(240px, 1fr) minmax(0, 2.05fr);
  column-gap: clamp(28px, 2.5vw, 42px);
  max-width: 1880px;
  padding: clamp(34px, 3.25vw, 56px) clamp(30px, 3.4vw, 60px) 64px;
  margin: 0 auto;
  align-items: start;
}
.identity { position: sticky; top: 48px; }
.identity-name { display: inline-block; text-decoration: none; white-space: nowrap; font-size: clamp(31px, 2.65vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -.06em; }
.intro { margin: 11px 0 0; font-size: clamp(15px, 1.18vw, 20px); line-height: 1.45; letter-spacing: -.035em; }
.contact-line { display:inline-flex; align-items:center; gap:5px; vertical-align:baseline; }
.email-copy { position:relative; display:inline-grid; place-items:center; flex:none; width:28px; height:24px; border:0; border-radius:4px; padding:4px; background:transparent; color:#697180; transition:background-color 130ms ease,color 130ms ease; }
.email-copy svg { grid-area:1/1; width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; transition:opacity 120ms ease; }
.copy-check { opacity:0; }
.email-copy:hover { background:#f0f2f6; color:var(--ink); }
.email-copy:active { background:#e7eaf0; }
.email-copy:focus-visible { outline-offset:2px; }
.email-copy.is-copied { color:var(--ink); }
.email-copy.is-copied .copy-symbol { opacity:0; }
.email-copy.is-copied .copy-check { opacity:1; }
.copy-feedback { display:block; margin-top:5px; color:#626a79; font-size:13px; line-height:1.4; letter-spacing:normal; }
.main-nav { margin-top: 64px; display: grid; gap: 13px; width: fit-content; }
.main-nav a { display: flex; align-items: baseline; gap: 17px; text-decoration: none; font-size: clamp(25px, 2.1vw, 35px); line-height: 1.25; letter-spacing: -.04em; }
.main-nav a[aria-current="page"] { font-weight: 700; }
.main-nav a:hover > span:nth-child(2) { text-decoration: underline; text-decoration-thickness: 1px; }
.nav-number { font-size: clamp(40px,3.4vw,58px); line-height: 1; min-width: 2ch; font-variant-numeric: tabular-nums; }
.social-links { display: grid; gap: 20px; margin-top: 125px; width: fit-content; max-width:100%; }
.social-profile { min-width:0; }
.social-heading { display:flex; align-items:center; gap:9px; font-size:18px; line-height:1.3; letter-spacing:-.025em; }
.social-logo { display:block; flex:0 0 18px; width:18px; height:18px; fill:currentColor; }
.social-links .social-url { display:block; width:fit-content; max-width:100%; margin-top:5px; color:#555; font-size:14px; line-height:1.5; letter-spacing:normal; overflow-wrap:anywhere; text-decoration:underline; text-decoration-color:#b3b3b3; text-underline-offset:3px; transition:color 140ms ease,text-decoration-color 140ms ease; }
.social-links .social-url:hover, .social-links .social-url:focus-visible { color:var(--ink); text-decoration-color:var(--ink); }
.social-links .social-url:active { color:#555; }
@media (min-width:701px) and (max-height:720px) {
  .identity .social-links { margin-top:clamp(24px,calc(100dvh - 600px),70px); }
}
.index-pane { position: sticky; top: 48px; max-height: calc(100dvh - 90px); overflow-y: auto; overflow-x: hidden; padding: 0 4px 28px 24px; margin-left: -24px; scrollbar-width: none; }
.index-pane::-webkit-scrollbar { display: none; }
.browse-toggle { display:none; }
.mobile-contact { display:none; }
.index-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 32px; padding-left: 0; }
.index-heading h2 { font-size: clamp(25px,1.9vw,32px); line-height: 1.1; letter-spacing: -.045em; margin: 0; font-weight: 600; }
.sort-control { display:inline-flex; align-items:center; flex:0 0 auto; gap:6px; min-height:44px; padding:6px 5px; border:0; border-radius:5px; background:transparent; white-space:nowrap; color:#646b7b; font-size:17px; line-height:1.2; transition:background-color 140ms ease,color 140ms ease; }
.sort-value { display:inline-block; width:60px; text-align:left; color:var(--ink); text-decoration:underline; text-decoration-color:#c5c9d2; text-underline-offset:4px; text-decoration-thickness:1px; }
.sort-control:hover { background:#f5f6f8; color:var(--ink); }
.sort-control:hover .sort-value { text-decoration-color:var(--ink); }
.sort-control:active { background:#eceef2; }
.sort-control:focus-visible { outline-offset:2px; }
.project-group + .project-group { margin-top: 24px; }
.category-heading { color: var(--category); font-size: clamp(19px,1.35vw,23px); font-weight: 400; margin: 0 0 6px; line-height: 1.3; letter-spacing: -.03em; }
.project-list { list-style: none; margin: 0; padding: 0; }
.project-row { position: relative; margin: 0; }
.project-link { display: block; text-decoration: none; padding: 3px 0 15px 9px; position: relative; min-height: calc(var(--row-size) * 1.16 + 18px); font-size: var(--row-size); letter-spacing: -.04em; }
.project-main { position: relative; display: flex; align-items: baseline; gap: 12px; line-height: 1.16; }
.project-name { min-width: 0; flex: 1; font-weight: 400; white-space: nowrap; }
.project-marker { position: absolute; left: -27px; top: 0; font-size: inherit; line-height: inherit; font-weight: 400; visibility: hidden; }
.project-row.selected .project-name { font-weight: 700; }
.project-row.selected .project-marker { visibility: visible; }
.project-link:hover .project-name { text-decoration: underline; text-decoration-thickness: 1px; }
.row-date { flex: 0 0 auto; font-size: clamp(13px,1.12vw,18px); color: var(--muted); letter-spacing: -.025em; text-align: right; font-variant-numeric: tabular-nums; opacity: 0; }
.row-description { position: absolute; left: 10px; top: calc(var(--row-size) * 1.16 + 4px); right: 0; display: flex; align-items: baseline; gap: 10px; font-size: clamp(12px,.9vw,15px); letter-spacing: -.025em; line-height: 1.1; color: var(--muted); opacity: 0; pointer-events: none; }
.row-description > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.type-label { color: var(--category); flex: 0 0 auto; }
.type-view .type-label { display: none; }
.newest-view .row-date { opacity: 1; }
.project-link:hover .row-description, .project-link:focus-visible .row-description, .project-link:focus-visible .row-date, .project-link:hover .row-date { opacity: 1; }
.detail-pane { min-width: 0; outline: none; padding-bottom: 40px; }
.breadcrumb { color: var(--muted); margin: -5px 0 18px; line-height: 1.2; font-size: clamp(14px,1vw,17px); letter-spacing: -.025em; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.detail-title { font-size: clamp(34px,2.65vw,46px); line-height: 1.1; font-weight: 600; letter-spacing: -.06em; margin: 0 0 9px; }
.detail-summary { font-size: clamp(19px,1.5vw,25px); line-height: 1.38; letter-spacing: -.04em; margin: 0 0 22px; }
.gallery { margin: 0 0 28px; }
.media-stage { position: relative; width: 100%; display: grid; place-items: center; background: #fafafa; min-height: 180px; border-radius: 3px; overflow: hidden; }
.media-stage > img, .media-stage > video, .media-stage > .image-open { display: block; width: 100%; max-height: min(43dvh,520px); object-fit: contain; }
.image-open { appearance: none; border: 0; margin: 0; padding: 0; background: transparent; line-height: 0; cursor: zoom-in; }
.image-open img { display: block; width: 100%; max-height: min(43dvh,520px); object-fit: contain; }
.image-open.media-pair { display: flex; justify-content: center; align-items: center; gap: clamp(12px,2vw,34px); padding: 12px; }
.media-pair img { width: auto; max-width: 45%; height: min(43dvh,500px); object-fit: contain; }
.media-stage.phone-stage { background: #f8f8f7; }
.media-stage.phone-stage img { width: auto; max-width: 100%; height: min(43dvh,520px); }
.media-stage.phone-stage .image-open { display: grid; place-items: center; }
.gallery-navigation { display: grid; grid-template-columns: minmax(70px,1fr) auto minmax(70px,1fr); align-items: start; gap: 20px; margin-top: 17px; }
.thumb-link { background: none; border: 0; padding: 0; width: min(100%,160px); min-width: 0; line-height: 0; }
.thumb-link:last-child { justify-self: end; }
.thumb-preview { display: block; width: 100%; height: clamp(48px,4.7vw,78px); border: 1px solid #e2e4ed; border-radius: 3px; overflow: hidden; background: #fff; }
.thumb-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.thumb-preview.pair-preview { display: flex; gap: 3px; }
.thumb-preview.pair-preview img { width: calc(50% - 1.5px); object-position: center 15%; }
.thumb-link:active .thumb-preview { border-color: var(--ink); }
.gallery-center { display: flex; align-items: center; gap: clamp(12px,1.4vw,24px); padding-top: clamp(10px,1.3vw,23px); white-space: nowrap; }
.gallery-arrow { font-size: 30px; line-height: 1; background: none; border: 0; padding: 0; width: 34px; min-height: 36px; display: grid; place-items: center; }
.gallery-arrow:active { transform: translateX(-2px); }
.gallery-arrow.next:active { transform: translateX(2px); }
.gallery-counter { font-size: clamp(17px,1.35vw,23px); font-variant-numeric: tabular-nums; letter-spacing: -.03em; min-width: 62px; text-align: center; }
.site-shell:has(.color-search-detail) { padding-bottom: 24px; }
.detail-pane:has(.color-search-detail) { padding-bottom: 0; }
.color-search-detail .detail-summary { margin-bottom: 16px; }
.color-search-detail .gallery { width: 100%; margin: 0 0 12px; }
.color-search-detail .media-stage { width: 100%; min-height: 0; aspect-ratio: 3 / 2; background: transparent; }
.color-search-detail .media-stage > .image-open { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; }
.color-search-detail .media-stage img, .color-search-detail .media-stage video { display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; }
.gallery-footer { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 12px; margin-top: 5px; min-height: 44px; }
.media-kind { font-size: 23px; line-height: 1.3; letter-spacing: normal; color: #666; }
.color-search-detail .gallery-center { padding-top: 0; gap: 14px; }
.color-search-detail .gallery-arrow { width: 44px; min-height: 44px; font-size: 36px; }
.color-search-detail .gallery-counter { font-size: 23px; min-width: 72px; }
.color-search-detail .detail-tabs { margin-top: 12px; margin-bottom: 14px; }
.color-search-detail .detail-copy p:last-child { margin-bottom: 0; }
.detail-tabs { position:relative; display:grid; grid-auto-columns:1fr; grid-auto-flow:column; width:100%; border:0; border-bottom:1px solid #e1e4eb; border-radius:0; margin:26px 0 20px; overflow:visible; }
.detail-tab { border:0; background:transparent; padding:11px 8px; min-height:44px; color:#6c7283; font-size:clamp(16px,1.17vw,20px); letter-spacing:-.025em; position:relative; transition:color 140ms ease,background-color 140ms ease; }
.detail-tab[aria-selected="true"] { color:var(--ink); }
.detail-tab:hover { color:var(--ink); background:#f8f9fb; }
.detail-tab:focus-visible { outline-offset:-4px; z-index:1; border-radius:3px; }
.detail-tab:active { background:#f0f2f6; }
.detail-indicator { position:absolute; left:0; bottom:-1px; height:2px; background:var(--ink); opacity:0; pointer-events:none; transition:transform 240ms cubic-bezier(.22,1,.36,1),width 240ms cubic-bezier(.22,1,.36,1),opacity 100ms ease; }
.detail-copy { font-size: clamp(17px,1.17vw,20px); line-height: 1.55; letter-spacing: -.025em; }
.detail-copy p { margin: 0 0 18px; }
.stack { color: var(--muted); line-height: 1.5; margin: 14px 0 0; font-size: clamp(14px,1.04vw,18px); }
.project-reading { margin-top: 12px; padding-top: 22px; border-top: 1px solid #d9dde6; }
.project-reading-title { margin: 0 0 16px; font-size: clamp(23px,1.7vw,27px); line-height: 1.25; font-weight: 600; letter-spacing: -.035em; }
.project-stack-footer { margin: 24px 0 0; color: #50545d; font-size: 14px; line-height: 1.6; }
.project-stack-footer .metadata-label { color: var(--ink); font-weight: 600; }
.project-implementation { margin-top: 26px; }
.project-reading-subtitle { margin: 0 0 12px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.project-reading-group + .project-reading-group { margin-top: 24px; }
.project-reading-group h4 { margin: 0 0 10px; font-size: 17px; line-height: 1.35; font-weight: 600; letter-spacing: -.015em; }
.project-reading-group p:last-child { margin-bottom: 0; }
.project-reading-group + .reading-stack { margin-top: 20px; }
.project-reading .reading-stack { color: #50545d; font-size: 16px; line-height: 1.6; letter-spacing: -.01em; }
.project-reading .metadata-label { color: var(--ink); font-weight: 600; }
.project-reading .project-results { margin-top: 24px; }
.related-work { margin-top: 35px; }
.related-work h2 { font-size: clamp(23px,1.75vw,29px); letter-spacing: -.04em; font-weight: 500; margin: 0 0 16px; }
.related-item { margin: 0 0 25px; }
.related-item p { margin: 3px 0 0; }
.role-title { font-size: clamp(23px,1.7vw,29px); line-height: 1.3; letter-spacing: -.035em; margin: 0 0 10px; }
.role-dates { color: var(--muted); font-size: clamp(17px,1.25vw,22px); margin: 0 0 18px; }
.role-link { display: block; text-decoration: none; position: relative; margin: 0 0 16px; padding-left: 9px; }
.role-link > strong { display: block; font-size: var(--row-size); letter-spacing: -.04em; font-weight: 500; line-height: 1.25; }
.role-link.selected > strong { font-weight: 700; }
.role-link:hover > strong { text-decoration: underline; text-decoration-thickness: 1px; }
.role-marker { position: absolute; left: -18px; top: 0; visibility: hidden; font-size: 26px; }
.role-link.selected .role-marker { visibility: visible; }
.role-link .role-subtitle { display: block; font-size: clamp(17px,1.22vw,21px); line-height: 1.4; margin-top: 6px; letter-spacing: -.025em; }
.role-link .role-period { display: block; color: var(--muted); font-size: clamp(16px,1.1vw,19px); margin-top: 7px; }
.role-group + .role-group { margin-top: 62px; }
.work-children { display: grid; gap: 10px; padding: 4px 0 0 46px; font-size: clamp(17px,1.2vw,21px); letter-spacing: -.025em; }
.work-children a { text-decoration: none; position: relative; width: fit-content; }
.work-children a:hover { text-decoration: underline; }
.work-children a.selected { font-weight: 700; }
.work-children a.selected::before { content: ">"; position: absolute; left: -22px; font-weight: 400; }
.suite-toggle { border: 0; padding: 0; background: transparent; text-align: left; display: flex; align-items: center; gap: 9px; width: fit-content; font-size: inherit; letter-spacing: inherit; }
.suite-toggle > a { flex: 1; }
.suite-expander { display:grid; place-items:center; width:36px; height:36px; border:0; border-radius:6px; padding:0; background:transparent; color:#636b7d; }
.suite-expander svg { fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; }
.plus-stem { transform-origin:center; transition:transform 220ms cubic-bezier(.22,1,.36,1); }
.suite-expander[aria-expanded="true"] .plus-stem { transform:scaleY(0); }
.suite-reveal { display:grid; align-self:start; grid-template-rows:0fr; margin-top:-10px; transition:grid-template-rows 240ms cubic-bezier(.22,1,.36,1),margin-top 240ms cubic-bezier(.22,1,.36,1); }
.suite-reveal.is-open { grid-template-rows:1fr; margin-top:0; }
.suite-reveal-inner { min-height:0; overflow:hidden; opacity:0; transform:translateY(-3px); transition:opacity 160ms ease,transform 240ms cubic-bezier(.22,1,.36,1); }
.suite-reveal.is-open .suite-reveal-inner { opacity:1; transform:none; }
.suite-children { display: grid; gap: 9px; padding: 2px 0 5px 18px; font-size: .87em; }
.site-shell.about-view .index-pane { display: none; }
.site-shell.about-view .detail-pane { grid-column: 2 / 4; }
.about-page { max-width:1050px; }
.about-introduction { display:grid; grid-template-columns:minmax(0,1fr) 200px; column-gap:clamp(32px,3vw,56px); row-gap:30px; align-items:start; }
.about-title { grid-column:1; font-size:clamp(32px,2.5vw,42px); letter-spacing:-.055em; font-weight:600; line-height:1.1; margin:0; }
.about-portrait { grid-column:2; grid-row:1 / 3; display:block; width:200px; height:200px; object-fit:cover; }
.about-copy { grid-column:1; font-size:clamp(20px,1.6vw,24px); line-height:1.5; max-width:720px; letter-spacing:-.03em; }
.about-copy > p { margin:0 0 24px; }
.about-copy > p:last-child { margin-bottom:0; }
.about-copy a { text-decoration-thickness:1px; text-decoration-color:#a5a5a5; text-underline-offset:4px; }
.about-copy a:hover, .about-copy a:focus-visible { text-decoration-color:currentColor; }
.about-education { margin-top:36px; padding-top:28px; border-top:1px solid #dedede; }
.eyebrow { color: #727989; font-size: clamp(17px,1.15vw,20px); font-weight: 400; margin: 0 0 12px; }
.education-name { font-size: clamp(23px,1.55vw,27px); margin: 0 0 5px; line-height: 1.3; }
.education-detail { color: var(--muted); font-size: clamp(18px,1.2vw,21px); line-height: 1.5; margin: 0; }
.availability { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:25px 36px; max-width:850px; margin:38px 0 0; padding-top:28px; border-top:1px solid #dedede; }
.availability div { min-width:0; }
.availability dt { color: #727989; font-size: 16px; margin-bottom: 8px; }
.availability dd { font-size: clamp(20px,1.4vw,24px); letter-spacing: -.03em; margin: 0; }
.travel-aside { margin-top: 21px; color: #727989; font-size: 16px; }
.media-dialog { border: 0; width: 100%; max-width: 100%; max-height: 100%; height: 100dvh; background: #fff; color: var(--ink); padding: 22px 30px; margin: 0; }
.media-dialog[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 16px; overflow: hidden; }
.media-dialog::backdrop { background: rgb(255 255 255 / .97); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 17px; min-height: 56px; }
.dialog-heading button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 18px; min-height: 56px; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: #fff; padding: 10px 20px; font-size: 23px; font-weight: 600; line-height: 1; }
.dialog-heading button:hover { background: #333; }
.dialog-heading button:active { background: #4b4b4b; }
.dialog-heading button span { font-size: 34px; line-height: 1; font-weight: 400; }
#dialog-content { min-height: 0; display: flex; justify-content: center; align-items: center; overflow: hidden; }
#dialog-content img, #dialog-content video { display: block; width: auto; height: auto; max-height: 100%; max-width: 100%; object-fit: contain; }
#dialog-content .media-pair { display: flex; justify-content: center; align-items: center; gap: 24px; width: 100%; height: 100%; }
#dialog-content .media-pair img { width: auto; height: 100%; max-width: 46%; }
#dialog-controls { display: flex; justify-content: center; align-items: center; gap: 20px; }
#dialog-controls .gallery-arrow { width: 44px; min-height: 44px; font-size: 36px; }
#dialog-controls .gallery-counter { font-size: 23px; min-width: 72px; }
body:has(.media-dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
@media (hover: none) {
  .project-row.selected .row-description, .project-row.selected .row-date { opacity: 1; }
}
@media (min-width: 1800px) { .site-shell { column-gap: 48px; } }
@media (max-width: 1050px) {
  .site-shell { grid-template-columns: 210px minmax(0,1fr); gap: 30px; padding: 32px; }
  .identity { grid-column: 1; grid-row: 1 / 3; top: 32px; }
  .identity-name { font-size: 31px; }
  .intro { font-size: 15px; }
  .main-nav a { font-size: 24px; gap: 12px; }
  .nav-number { font-size: 40px; }
  .index-pane { grid-column:2; grid-row:1; position:sticky; top:0; z-index:20; align-self:start; max-height:none; overflow:visible; padding:0; margin:0; background:#fff; }
  .browse-toggle { display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; min-height:56px; padding:12px 0; border:0; border-top:1px solid #dedede; border-bottom:1px solid #dedede; background:#fff; text-align:left; font-size:17px; font-weight:500; }
  .browse-toggle svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.5; transition:transform 150ms ease; }
  .browse-toggle[aria-expanded="true"] svg { transform:rotate(180deg); }
  .browse-toggle:active { color:#666; }
  .index-pane #index-content { display:none; position:absolute; top:calc(100% + 6px); left:0; right:0; max-height:min(70dvh,620px,var(--browse-space,70dvh)); overflow-y:auto; overscroll-behavior:contain; padding:22px; background:#fff; border:1px solid #ddd; scrollbar-width:thin; scrollbar-color:#b8b8b8 #f5f5f5; }
  .index-pane.browse-open #index-content { display:block; }
  .index-heading { margin-bottom: 22px; }
  .index-pane #index-list { padding-bottom: 15px; }
  .detail-pane { grid-column:2; grid-row:2; scroll-margin-top:80px; }
  .site-shell.about-view .detail-pane { grid-column: 2; }
  .site-shell.about-view .detail-pane { grid-row:1; }
  .about-introduction { grid-template-columns:minmax(0,1fr) 128px; row-gap:28px; }
  .about-title { align-self:center; }
  .about-portrait { grid-row:1; width:128px; height:128px; }
  .about-copy { grid-column:1 / -1; }
  .social-links { margin-top: 90px; }
}
@media (max-width: 700px) {
  :root { font-size: 16px; }
  .site-shell { display: block; padding: 26px 22px 40px; }
  .identity { position: static; }
  .identity-name { font-size: 35px; }
  .intro { font-size: 16px; line-height: 1.5; margin-top: 10px; }
  .main-nav { display:flex; justify-content:space-between; gap:8px; width:100%; margin-top:18px; }
  .main-nav a { align-items:center; font-size:17px; gap:5px; min-height:44px; letter-spacing:-.025em; }
  .nav-number { font-size:16px; min-width:auto; }
  .nav-state { display: none; }
  .social-links { display:flex; flex-wrap:wrap; gap:20px 24px; margin-top:0; }
  .social-heading { font-size:16px; }
  .social-links .social-url { font-size:13px; }
  .index-pane { margin:22px 0 26px; padding:0; max-height:none; }
  .index-pane #index-content { max-height:min(65dvh,var(--browse-space,65dvh)); padding:20px; }
  .mobile-contact { display:block; border-top:1px solid #ddd; margin-top:28px; padding-top:24px; }
  .index-heading { margin-bottom: 20px; }
  .index-heading h2 { font-size: 27px; }
  .sort-control { font-size: 17px; }
  .category-heading { font-size: 18px; }
  .project-link { font-size: 21px; min-height: 55px; padding-top: 4px; }
  .row-date { font-size: 14px; }
  .row-description { font-size: 13px; top: 34px; }
  .detail-title { font-size: 34px; }
  .detail-summary { font-size: 20px; margin-bottom: 18px; }
  .breadcrumb { font-size: 14px; margin-top: 0; }
  .media-stage > video, .image-open img { max-height: 440px; }
  .gallery { margin-bottom: 22px; }
  .gallery-navigation { grid-template-columns: minmax(55px,1fr) auto minmax(55px,1fr); gap: 10px; }
  .gallery-center { gap: 6px; padding-top: 5px; }
  .gallery-arrow { width: 32px; min-height: 44px; font-size: 27px; }
  .gallery-counter { font-size: 17px; min-width: 58px; }
  .gallery-footer { display: flex; flex-direction: column; align-items: center; gap: 2px; }
  .thumb-preview { height: 52px; }
  .detail-tabs { margin-top: 24px; }
  .detail-tab { font-size: 15px; padding: 11px 5px; }
  .detail-copy { font-size: 17px; line-height: 1.6; }
  .about-introduction { margin-top:28px; grid-template-columns:minmax(0,1fr) 100px; row-gap:24px; }
  .about-portrait { width:100px; height:100px; }
  .about-copy { font-size:20px; }
  .about-copy > p { margin-bottom:22px; }
  .about-education { margin-top:28px; padding-top:24px; }
  .availability { grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:30px; gap:22px 20px; }
  .availability div:first-child { grid-column:1/-1; }
  .travel-aside { line-height: 1.5; }
  .role-group + .role-group { margin-top: 35px; }
  .work-children { padding-left: 40px; }
  .media-dialog { padding: 16px; }
  .dialog-heading { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* All projects use the approved quiet gallery; each source keeps its own proportions. */
.project-detail .gallery { width:100%; margin:0 0 12px; }
.project-detail .media-stage { width:100%; min-height:0; aspect-ratio:var(--media-ratio,3/2); background:#fafaf9; }
.project-detail .media-stage > .image-open { position:absolute; inset:0; width:100%; height:100%; max-height:none; }
.project-detail .media-stage img, .project-detail .media-stage video { display:block; width:100%; height:100%; max-height:none; object-fit:contain; }
.project-detail .media-stage > video { position:absolute; inset:0; }
.project-detail .gallery-center { padding-top:0; gap:14px; }
.project-detail .gallery-arrow { width:44px; min-height:44px; font-size:36px; }
.project-detail .gallery-counter { font-size:23px; min-width:72px; }
.project-detail .detail-tabs { margin-top:12px; margin-bottom:14px; }
.project-detail .media-pair { gap:20px; padding:0; }
.project-detail .media-pair img { width:auto; max-width:calc(50% - 10px); height:100%; }
.project-detail .phone-stage { background:#f4f4f1; }
.project-detail .phone-stage img { width:auto; height:100%; max-width:100%; }
.project-detail .interactive-stage { aspect-ratio:auto; height:560px; border:1px solid #e7e7e3; background:#fbfbfa; }
.interactive-frame { position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }
.color-search-detail .media-stage { background:transparent; }
@media(max-width:700px) {
  .project-detail .gallery-footer { display:flex; flex-direction:column; gap:2px; }
  .project-detail .media-kind { font-size:20px; }
  .project-detail .gallery-counter { font-size:20px; }
  .project-detail .interactive-stage { aspect-ratio:3/4; height:auto; }
}

/* Portrait app presentation requested in the second media review. */
.ontrack-detail .project-body{display:grid;grid-template-columns:minmax(180px,.85fr) minmax(0,1fr);gap:26px;align-items:start}
.ontrack-detail .gallery{width:100%;min-width:0}
.ontrack-detail .media-stage{aspect-ratio:390/844;max-width:280px;margin:0 auto;background:#f6f7f1;border:7px solid #252723;border-radius:35px;box-shadow:0 4px 16px #1111110c;overflow:hidden}
.ontrack-detail .media-stage::after{content:"";position:absolute;bottom:7px;left:37%;width:26%;height:4px;border-radius:4px;background:#222;opacity:.65;pointer-events:none}
.ontrack-detail .gallery-footer{display:flex;flex-direction:column;gap:1px;margin-top:9px}
.ontrack-detail .media-kind,.ontrack-detail .gallery-counter{font-size:18px}
.ontrack-detail .gallery-center{gap:5px}.ontrack-detail .gallery-arrow{font-size:30px}
.ontrack-detail .detail-tabs{margin-top:0;grid-auto-flow:column;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.ontrack-detail .detail-tab{padding:10px 4px;font-size:15px;min-height:44px}
.ontrack-detail .detail-copy{font-size:17px;line-height:1.55;letter-spacing:-.02em}
.project-detail .interactive-stage{height:620px;border:1px solid #bfc5bb;border-radius:12px;background:#f3f4f0;overscroll-behavior:contain;overflow:hidden}
.interactive-stage .interactive-frame{inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);border-radius:5px;background:#fff}
@media(min-width:1650px){.ontrack-detail .project-body{grid-template-columns:minmax(240px,.85fr) minmax(0,1fr);gap:34px}.ontrack-detail .detail-tab{font-size:17px}.ontrack-detail .detail-copy{font-size:19px}}
@media(min-width:701px) and (max-width:900px){.ontrack-detail .project-body{grid-template-columns:1fr;gap:20px}.ontrack-detail .media-stage{max-width:280px}.ontrack-detail .gallery-footer{min-height:90px}.ontrack-detail .media-caption{min-height:32px}}
@media(max-width:700px){.ontrack-detail .project-body{grid-template-columns:1fr;gap:20px}.ontrack-detail .media-stage{max-width:260px}.ontrack-detail .detail-tab{font-size:15px}.project-detail .interactive-stage{height:620px;aspect-ratio:auto}}

/* Feature names carry the gallery caption; the file type stays secondary. */
.project-detail .gallery-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;min-height:66px;margin-top:4px}
.media-caption{font-size:20px;line-height:1.35;letter-spacing:-.025em;color:var(--ink);min-width:0}
.project-detail .media-kind{font-size:14px;line-height:1.35;letter-spacing:0;color:#696d6a;white-space:nowrap}
.ontrack-detail .gallery-footer{display:flex;flex-direction:column;justify-content:center;gap:1px;min-height:102px}
.ontrack-detail .media-caption{font-size:18px;min-height:48px;text-align:center;display:block}
/* A bounded popup leaves the actual gallery visible behind it. */
.interactive-intro{position:absolute;inset:0;z-index:2;display:grid;place-items:center;padding:24px;background:rgb(25 30 25 / .43);color:#202520;transition:opacity 180ms ease;overscroll-behavior:contain}
.interactive-intro-dialog{position:relative;width:min(100%,370px);padding:42px 28px 28px;border:1px solid #d8dcd4;border-radius:14px;background:#fff;box-shadow:0 14px 40px rgb(0 0 0 / .18);text-align:left;font:inherit}
.interactive-intro-dialog h3{margin:0 24px 13px 0;font-size:23px;line-height:1.25;font-weight:600;letter-spacing:-.035em}
.interactive-intro-dialog p{margin:0 0 25px;font-size:17px;line-height:1.55;letter-spacing:-.015em;color:#555c53}
.interactive-intro-close{position:absolute;top:5px;right:5px;width:44px;height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:#343c32;font:inherit;font-size:29px;line-height:1;cursor:pointer}
.interactive-intro-close:hover{background:#f0f2ed}
.interactive-intro-action{min-height:44px;padding:10px 22px;border:1px solid #292e26;border-radius:7px;background:#292e26;color:#fff;font:inherit;font-size:17px;line-height:1.2;cursor:pointer}
.interactive-intro-action:hover{background:#454d40}
.interactive-intro.is-dismissed{opacity:0;pointer-events:none}
@media(max-width:700px){.project-detail .gallery-footer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0;min-height:104px}.media-caption{font-size:19px;text-align:center;min-height:52px}.interactive-intro{padding:18px}.interactive-intro-dialog{padding:42px 22px 24px}.interactive-intro-dialog h3{font-size:22px}.interactive-intro-dialog p{font-size:16px}}
@media(prefers-reduced-motion:reduce){.interactive-intro{transition:none}}

/* Quiet feedback within the existing typography and fixed column layout. */
.gallery-arrow, .suite-expander, #dialog-close, .interactive-intro-close, .interactive-intro-action { transition:background-color 140ms ease,color 140ms ease,transform 110ms ease; }
.gallery-arrow { border-radius:7px; }
.gallery-arrow:not(:disabled):hover, .suite-expander:hover { background:#f0f2f6; color:var(--ink); }
.gallery-arrow:not(:disabled):active, .gallery-arrow.is-pressed, .suite-expander:active, .suite-expander.is-pressed, .interactive-intro-close:active, .interactive-intro-close.is-pressed { transform:scale(.94); }
#dialog-close { border-radius:6px; }
#dialog-close:active, #dialog-close.is-pressed, .interactive-intro-action:active, .interactive-intro-action.is-pressed { transform:scale(.98); }
.row-date, .row-description { transition:opacity 130ms ease,transform 130ms ease; }
.row-description { transform:translateY(2px); }
.project-link:hover .row-description, .project-link:focus-visible .row-description { transform:none; }
@media (pointer:coarse), (max-width:700px) {
  .sort-control { min-height:44px; }
  .suite-expander { width:44px; height:44px; }
  .project-row.selected .row-description { transform:none; }
}
@media (pointer:coarse) { .email-copy { width:36px; height:32px; } }
@media (prefers-reduced-motion:reduce) { .email-copy,.email-copy svg { transition:none; } }
@media (prefers-reduced-motion:reduce) {
  .sort-control, .detail-indicator, .detail-tab,
  .plus-stem, .suite-reveal, .suite-reveal-inner, .gallery-arrow,
  .suite-expander, #dialog-close, .interactive-intro-close, .interactive-intro-action,
  .row-date, .row-description, .social-links .social-url, .browse-toggle svg { transition:none; }
}

/* Automatic playback stays beside the interactive collection. */
.motion-auto-toggle{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:7px 0 7px 10px;border:0;background:transparent;color:var(--ink);font:inherit;font-size:15px;white-space:nowrap;cursor:pointer}
.motion-auto-track{position:relative;width:34px;height:20px;border-radius:20px;background:#cdd0cb;transition:background-color 160ms ease}
.motion-auto-track::after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform 160ms ease}
.motion-auto-toggle[aria-checked="true"] .motion-auto-track{background:#343e32}
.motion-auto-toggle[aria-checked="true"] .motion-auto-track::after{transform:translateX(14px)}
.motion-auto-toggle:focus-visible{outline:2px solid #505b4d;outline-offset:4px;border-radius:4px}
@media(prefers-reduced-motion:reduce){.motion-auto-track,.motion-auto-track::after{transition:none}}
.project-link[href="#/projects/motion-ui"] .project-name{white-space:normal;line-height:1.22}

/* Experience leads with the role; work samples support the contribution text. */
.experience-index, .experience-detail, .work-detail { --muted:#686868; --rule:#ddd; }
.experience-index .role-period { color:var(--muted); }
.experience-index .role-group + .role-group { margin-top:42px; }
.experience-meta { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 16px; margin:0 0 20px; font-size:17px; line-height:1.5; letter-spacing:-.025em; }
.experience-meta span + span { color:var(--muted); font-size:15px; }
.experience-detail .project-reading, .work-detail .project-reading { border-color:#ddd; }
.role-contribution { margin-top:25px; }
.role-contribution h3 { margin:0 0 9px; font-size:19px; font-weight:600; line-height:1.35; letter-spacing:-.025em; }
.role-contribution p { margin-bottom:12px; }
.role-contribution p:last-child { margin-bottom:0; }
.role-introduction { margin-top:24px; }
.role-term { border-top:1px solid #ddd; margin-top:30px; padding-top:24px; }
.role-term + .role-term { margin-top:38px; }
.role-term-heading { margin-bottom:18px; }
.role-term-heading h2 { margin:0 0 5px; font-size:27px; line-height:1.2; font-weight:600; letter-spacing:-.035em; }
.role-term-heading p { margin:0; color:#666; font-size:16px; line-height:1.4; }
.role-figure { margin:22px 0 30px; }
.role-figure .image-open { display:block; width:100%; border:1px solid #e5e5e5; border-radius:2px; overflow:hidden; }
.role-figure img { display:block; width:100%; height:auto; max-height:none; }
.role-figure .image-open:active { outline:2px solid #aaa; outline-offset:2px; }
.role-figure figcaption { margin-top:9px; color:#606060; font-size:16px; line-height:1.45; letter-spacing:-.015em; }
.role-credential { display:flex; align-items:center; gap:24px; margin:24px 0 30px; }
.role-credential > a { flex:0 0 148px; line-height:0; }
.role-credential img { display:block; width:148px; height:auto; }
.role-credential figcaption { display:grid; gap:9px; font-size:16px; line-height:1.45; }
.role-credential strong { font-size:18px; font-weight:600; }
.role-credential figcaption span { color:#606060; font-size:14px; }
.role-credential figcaption a { width:fit-content; text-underline-offset:4px; }
@media(max-width:650px) { .role-credential { gap:17px; align-items:flex-start; } .role-credential > a { flex-basis:100px; } .role-credential img { width:100px; } .role-credential strong { font-size:16px; } }
.role-more { border-top:1px solid #ddd; padding-top:24px; margin-top:32px; }
.role-more .role-work-links { padding-top:0; }
.role-examples { margin-top:32px; padding-top:22px; border-top:1px solid #ddd; }
.role-work-links { display:flex; flex-wrap:wrap; gap:10px 22px; padding-top:8px; font-size:16px; line-height:1.5; }
.role-work-links a { text-decoration-color:#aaa; text-underline-offset:4px; }
.role-work-links a:hover { text-decoration-color:var(--ink); }
.experience-detail .project-stack-footer, .work-detail .project-stack-footer { color:#555; }
.work-detail .gallery, .experience-detail .gallery { margin-bottom:14px; }
.work-detail .media-stage, .experience-detail .media-stage { background:#fff; box-shadow:0 0 0 1px #e5e5e5; }
.work-detail .related-work h2, .experience-detail .related-work h2 { font-size:23px; font-weight:600; }
.work-detail .related-item, .experience-detail .related-item { padding:13px 0; margin:0; border-bottom:1px solid #eee; }
.work-detail .related-item:first-of-type, .experience-detail .related-item:first-of-type { border-top:1px solid #eee; }
.related-item a { color:var(--ink); text-underline-offset:3px; }
.related-item a span { font-size:.85em; }
.work-detail .related-item p, .experience-detail .related-item p { color:#606060; font-size:16px; margin:4px 0 0; }
@media(max-width:650px) { .experience-meta { display:grid; gap:3px; } }

@media(max-width:1050px) { .index-pane:has(.experience-index) { scrollbar-width:thin; scrollbar-color:#aaa #f5f5f5; border-bottom:1px solid #ddd; } .index-pane:has(.experience-index)::-webkit-scrollbar { display:block; width:5px; } }
