:root {
  --bg: #f7f8fa;
  --surface: #fff;
  --fg: #15191f;
  --muted: #52606d;
  --border: #dce1e8;
  --accent: #2456e8;
  --accent-hover: #1744ca;
  --accent-ink: #fff;
  --accent-soft: #edf2ff;
  --technical: #2456e8;
  --technical-soft: #edf2ff;
  --surface-soft: #f0f3f8;
  --surface-raised: #f0f3f8;
  --surface-hover: #edf2ff;
  --placeholder: #f0f3f8;
  --focus: #2456e8;
  --font-display: "Satoshi", "Noto Sans TC", "Segoe UI", sans-serif;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.5rem;
  --content: 84rem;
  --shadow-hover: 0 8px 24px #15191f08;
  --shadow-interactive: 0 8px 24px #15191f08;
}

html { scroll-padding-top: 7rem; }
body { background: var(--bg); -webkit-font-smoothing: antialiased; }
body::before { display: none; }
main { width: 100%; max-width: 100%; min-width: 0; overflow-x: clip; }
button, a, select { touch-action: manipulation; }
button, select { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: #dce7ff; color: var(--fg); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell, .site-header__inner, .case-hero, .case-layout, .case-cover {
  width: min(calc(100% - clamp(2.5rem, 8vw, 8rem)), var(--content));
  margin-inline: auto;
}
.site-header { z-index: 40; background: #f7f8faf2; border-color: var(--border); backdrop-filter: blur(16px); }
.header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 2.5rem; min-height: 5.25rem; }
.brand { display: inline-flex; grid-column: 1; grid-row: 1; align-items: center; width: fit-content; min-width: 0; min-height: 2.75rem; gap: 1rem; text-decoration: none; }
.brand-mark {
  position: relative; display: block; flex: 0 0 2.5rem; width: 2.5rem; height: 2.25rem;
  border: 0; border-radius: 0; background: none; color: transparent; font-size: 0;
}
.brand-mark::before, .brand-mark::after {
  position: absolute; width: 0.75rem; height: 1.8rem; content: "";
  background: var(--accent); transform: skew(-32deg);
}
.brand-mark::before { top: 0; left: 0.5rem; }
.brand-mark::after { right: 0.25rem; bottom: 0; height: 1.3rem; }
.brand-copy { display: grid; gap: 0.35rem; line-height: 1.15; }
.brand-title { color: var(--fg); font-size: 0.95rem; font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.brand-subtitle { color: var(--muted); font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0; text-transform: none; }
.site-nav { display: flex; grid-column: 2; grid-row: 1; align-items: center; gap: 1.25rem; margin: 0; padding: 0; border: 0; }
.nav-link { position: relative; display: inline-flex; align-items: center; min-height: 3rem; padding: 0.5rem 0.25rem; border: 0; border-radius: 0; font-size: 0.9rem; font-weight: 650; text-decoration: none; background: none; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent); background: none; }
.nav-link[aria-current="page"]::after { position: absolute; bottom: 0; inset-inline: 0; height: 2px; content: ""; background: var(--accent); }
.language-switcher { grid-column: 3; grid-row: 1; justify-self: end; gap: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.language-option, .language-button { min-width: 2.75rem; min-height: 2.75rem; padding: 0.5rem; border: 0; border-radius: 0; background: none; color: var(--muted); }
.language-option + .language-option::before { content: "/"; position: relative; left: -0.5rem; color: #8995a4; font-weight: 400; }
.language-option[aria-pressed="true"], .language-button[aria-pressed="true"] { background: none; color: var(--accent); font-weight: 700; }
.language-option:hover, .language-button:hover:not([aria-pressed="true"]) { color: var(--accent); background: none; }
.menu-toggle { display: none; }
.eyebrow, .section-kicker { color: var(--muted); font-family: var(--font-body); letter-spacing: 0; text-transform: none; }
.intro { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: 1rem; padding-block: 4rem 3rem; min-height: 38rem; }
.intro-main { position: relative; z-index: 1; }
.intro .eyebrow { display: none; }
.role-meta { margin: 0 0 1.3rem; font-family: var(--font-body); font-size: 0.9rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.role-title { width: 100%; max-width: 44rem; margin: 0 0 1.5rem; font-size: clamp(2rem, 3.75vw, 3.7rem); font-weight: 750; line-height: 1.32; letter-spacing: -0.045em; text-wrap: balance; }
html[lang="zh-TW"] .role-title { line-height: 1.38; letter-spacing: -0.04em; }
.intro-copy { max-width: 38rem; font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.85; color: var(--muted); }
.intro-actions { gap: 1rem; margin-top: 2rem; }
.button { min-height: 3.25rem; gap: 0.75rem; padding: 0.75rem 1.4rem; border-radius: 0.25rem; font-size: 0.95rem; }
.button-primary, .button-primary:hover { color: #fff; }
.button-primary::after { content: "↗"; }
.button-secondary::after { content: "↓"; }
.button-secondary { color: var(--fg); border-color: #8995a4; }
.hero-media { position: relative; width: 100%; min-width: 0; margin: 0; }
.hero-media img { display: block; width: 118%; max-width: none; height: auto; margin-left: -4%; mix-blend-mode: multiply; }
.hero-media figcaption { margin: 0.3rem 0 0; text-align: right; font-size: 0.7rem; color: var(--muted); }
.section { padding-block: 5rem; }
.capability-section { border-top: 1px solid var(--border); padding-top: 3rem; }
.section-header { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 2rem; }
.section-header > div { min-width: 0; }
.section-header .section-kicker { display: none; }
.section-title { max-width: none; font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.25rem); font-weight: 750; line-height: 1.5; letter-spacing: -0.035em; }
.section-intro { max-width: 54rem; margin: 0.5rem 0 0; font-size: 0.95rem; line-height: 1.8; }
.capability-section .section-header { display: block; }
.capability-grid { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); background: none; border-radius: 0; }
.capability-card { min-width: 0; padding: 2rem; border: 0; border-right: 1px solid var(--border); background: transparent; transition: background 220ms ease; }
.capability-card:last-child { border-right: 0; }
.capability-card:hover { background: #edf2ff80; }
.capability-icon { display: block; width: 2.25rem; height: 2.25rem; margin-bottom: 1.5rem; color: var(--accent); }
.capability-title { margin: 0 0 0.75rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.5; }
.capability-copy { margin: 0; font-size: 0.875rem; line-height: 1.85; }
.work-section { padding-top: 1rem; border: 0; background: none; }
.all-projects-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 2.75rem; color: var(--accent); text-decoration: none; font-size: 0.9rem; font-weight: 600; border-bottom: 1px solid var(--accent); }
.project-grid { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.project-grid > .project-card:only-child { grid-column: 1 / -1; }
.project-card { min-width: 0; border-radius: 0.5rem; border-color: var(--border); box-shadow: none; background: var(--surface); }
.project-card:hover { transform: none; border-color: #a5b7eb; box-shadow: none; }
.featured-cover { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--surface-soft); }
.featured-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.project-card:hover .featured-cover img, .project-card:focus-within .featured-cover img { transform: scale(1.035); }
.project-content { padding: 1.75rem; }
.card-kicker { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0; text-transform: none; color: var(--accent); }
.project-title { margin-top: 0.5rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.4; }
.project-title a { color: inherit; text-decoration: none; }
.project-title a:hover { color: var(--accent); }
.project-panels { display: grid; grid-template-columns: 1fr; gap: 1rem; border: 0; background: none; }
.project-panel, .project-panel.responsibility { padding: 0; border: 0; background: none; }
.panel-label { margin-bottom: 0.25rem; font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--fg); }
.project-panel.responsibility .panel-label { color: var(--fg); }
.panel-copy { font-size: 0.875rem; line-height: 1.8; }
.project-note { margin-top: 1.5rem; padding-top: 1rem; font-size: 0.75rem; color: var(--muted); }
.project-note > span:first-child { display: none; }
.project-note-marker { color: var(--muted); }
.work-index { padding-block: 1.5rem; border-top: 1px solid var(--border); }
.work-index .record-index-header { margin-bottom: 0.75rem; }
.work-index .record-index-note { margin: 0 0 1rem; max-width: 45rem; }
.work-index .record-index-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.work-index .record-index-link { min-height: 3.5rem; background: none; border-bottom: 1px solid var(--border); }
.work-index .record-index-link:hover { color: var(--accent); }
.projects-intro { display: block; padding-block: 4.5rem 2.5rem; }
.projects-intro .eyebrow, .projects-intro .role-meta { display: none; }
.intro-copy-block { max-width: 58rem; }
.page-title { max-width: 55rem; margin: 0 0 1.5rem; font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 4rem); font-weight: 750; letter-spacing: -0.045em; line-height: 1.35; text-wrap: balance; }
.collection-summary { display: none; }
.collection-section { padding-block: 1rem 5rem; border: 0; background: none; }
.collection-toolbar { display: block; margin-bottom: 1.5rem; }
.collection-toolbar > div:first-child { display: none; }
.filter-area { display: block; width: 100%; }
.controls-row { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.4rem; border-block: 1px solid var(--border); }
.filter-group { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 1.25rem; padding: 0; border: 0; border-radius: 0; background: none; }
.filter-button { position: relative; min-height: 2.75rem; padding: 0.5rem 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--muted); background: none; }
.filter-button:hover { background: none; color: var(--accent); }
.filter-button[aria-pressed="true"] { color: var(--accent); border-bottom-color: var(--accent); background: none; }
.sort-control { margin-left: auto; gap: 0.75rem; }
.sort-control > span { position: absolute; display: inline; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sort-select { min-height: 2.75rem; border: 0; background: transparent; color: var(--muted); }
.result-count { margin: 0.75rem 0 0; font-size: 0.75rem; text-align: right; color: var(--muted); }
.project-list { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.project-cover-media { aspect-ratio: 16 / 9; background: var(--surface-soft); }
.project-cover-image { transition: transform 700ms ease; }
.project-card:hover .project-cover-image, .project-card:focus-within .project-cover-image { transform: scale(1.035); }
.project-card--linked:hover, .project-card--linked:focus-within { transform: none; box-shadow: none; border-color: #a5b7eb; }
.project-code { display: none; }
.project-card-body { padding: 1.5rem; }
.project-name { display: block; font-family: var(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 700; line-height: 1.5; -webkit-line-clamp: unset; line-clamp: unset; }
.project-meta { color: var(--accent); font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0; }
.context-copy { font-size: 0.875rem; line-height: 1.85; -webkit-line-clamp: 3; line-clamp: 3; }
.tag { font-family: var(--font-body); font-size: 0.7rem; }
.detail-cue { color: var(--accent); font-size: 0.8rem; }
.case-hero { grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.3fr); gap: 3rem; padding-block: 4rem 2.5rem; border: 0; }
.case-hero .eyebrow { margin-bottom: 1.5rem; font-size: 0.8rem; }
.platform-line { margin: 0 0 1rem; padding: 0; border: 0; border-radius: 0; background: none; color: var(--accent); font-family: var(--font-body); font-size: 0.85rem; }
.case-hero h1 { max-width: 52rem; font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.4; font-weight: 750; letter-spacing: -0.04em; overflow-wrap: break-word; }
.hero-summary { max-width: 54rem; font-size: 1rem; line-height: 1.9; }
.project-facts { align-self: end; margin: 0 0 1rem; padding-left: 2rem; border-left: 1px solid var(--border); }
.project-fact { grid-template-columns: 1fr; gap: 0.25rem; padding-block: 0.75rem; }
.project-fact dt { font-size: 0.75rem; }
.project-fact dd { font-family: var(--font-body); font-size: 0.85rem; }
.case-cover { position: relative; margin-block: 0 3.5rem; background: var(--surface-soft); }
.case-cover img { display: block; width: 100%; height: clamp(16rem, 34vw, 33rem); object-fit: contain; }
.case-cover-caption { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem 1rem; background: var(--bg); color: var(--muted); font-size: 0.75rem; }
.case-cover-caption p { margin: 0; max-width: 60rem; line-height: 1.7; }
.gallery-controls { display: flex; align-items: center; flex: 0 0 auto; gap: 0.5rem; }
.gallery-control { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; border: 1px solid var(--border); border-radius: 0.25rem; background: var(--surface); color: var(--fg); }
.gallery-control:hover { color: var(--accent); border-color: var(--accent); }
.gallery-position { min-width: 3rem; text-align: center; font-variant-numeric: tabular-nums; }
.case-layout { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); gap: 4rem; padding-block: 0 5rem; }
.section-nav { position: sticky; z-index: 2; top: 7rem; align-self: start; max-height: calc(100vh - 8rem); padding: 0 1rem 0 0; overflow: auto; background: none; border: 0; backdrop-filter: none; }
.section-nav__label { display: none; }
.section-nav ol { display: block; overflow: visible; }
.section-nav li { margin: 0; }
.section-nav a { padding: 0.8rem 1rem; border: 0; border-left: 2px solid var(--border); border-radius: 0; font-family: var(--font-body); font-size: 0.875rem; white-space: normal; }
.section-nav a:hover, .section-nav a[aria-current="location"] { border: 0; border-left: 2px solid var(--accent); color: var(--accent); background: none; }
.case-section { display: block; padding-block: 0 3rem; scroll-margin-top: 7rem; }
.case-section + .case-section { padding-top: 2.5rem; border-top: 1px solid var(--border); }
.case-section__heading { display: block; max-width: none; margin-bottom: 1.5rem; }
.section-index, .case-section__heading .section-kicker { display: none; }
.case-section h2 { font-family: var(--font-display); font-size: 1.8rem; line-height: 1.5; font-weight: 750; letter-spacing: -0.03em; }
.case-section__body { padding: 0; }
.case-copy, .case-list, .evidence-list { font-size: 1rem; line-height: 2; }
.case-copy::before { display: none; }
.case-list { padding-left: 1.5rem; color: var(--muted); }
.case-list li + li { margin-top: 0.75rem; }
.content-state { border: 1px solid var(--border); border-radius: 0.5rem; background: var(--surface-soft); }
.content-state--role { background: var(--technical-soft); border-color: #ccd9ff; }
.content-state__label { font-family: var(--font-body); letter-spacing: 0; color: var(--muted); }
.content-state h3 { font-family: var(--font-display); }
.media-placeholder, .media-placeholder--image { border-radius: 0.5rem; background: var(--surface-soft); }
.media-placeholder--image img { height: auto; aspect-ratio: auto; object-fit: contain; }
.technology-tag { border-radius: 0.25rem; background: var(--accent-soft); color: #1943b8; border-color: #cedbff; }
.pagination-card { border-radius: 0.5rem; background: var(--surface); }
.pagination-card:hover { box-shadow: none; color: var(--accent); border-color: var(--accent); }
.pagination-card strong { font-family: var(--font-display); }
.site-footer { padding-block: 2rem; border-top: 1px solid var(--border); background: none; color: var(--muted); }
.case-page .site-footer { width: min(calc(100% - clamp(2.5rem, 8vw, 8rem)), var(--content)); }
.footer-inner { padding-block: 0; font-size: 0.8rem; gap: 1.5rem; }
.footer-mark, .footer-link, .footer-note, .site-footer p { font-size: 0.75rem; }
.footer-link:hover, .back-to-top:hover { color: var(--accent); }

@media (min-width: 72rem) {
  .project-list > .project-card:only-child { grid-column: 1 / -1; }
  .project-list > .project-card:first-child:nth-last-child(odd):nth-last-child(n + 3) { grid-row: span 2; }
  .project-list > .project-card:first-child:nth-last-child(odd):nth-last-child(n + 3) .project-cover-media { aspect-ratio: auto; height: 100%; min-height: 25rem; }
  .project-list > .project-card:first-child:nth-last-child(odd):nth-last-child(n + 3) .project-card-link,
  .project-list > .project-card:first-child:nth-last-child(odd):nth-last-child(n + 3) .project-card-static { grid-template-rows: minmax(25rem, 1fr) auto; }
  .project-list > .project-card:first-child:nth-last-child(odd):nth-last-child(n + 3) ~ .project-card:nth-child(2) .project-cover-media,
  .project-list > .project-card:first-child:nth-last-child(odd):nth-last-child(n + 3) ~ .project-card:nth-child(3) .project-cover-media { aspect-ratio: 2.7; }
}

@media (min-width: 46.001rem) {
  .project-grid > .project-card:only-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid > .project-card:only-child .featured-cover { height: 100%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--border); }
  .project-grid > .project-card:only-child .featured-cover img { object-fit: contain; }
}

@media (max-width: 71.999rem) {
  .intro { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-top: 3rem; min-height: 0; }
  .intro-main { max-width: 48rem; }
  .role-title { max-width: 46rem; font-size: clamp(2rem, 4.8vw, 3rem); }
  .hero-media { width: min(100%, 46rem); justify-self: center; }
  .hero-media img { width: 100%; margin: 0; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-card { padding: 1.75rem; }
  .capability-card:nth-child(2) { border-right: 0; }
  .capability-card:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
  .case-layout { grid-template-columns: 11rem minmax(0, 1fr); gap: 2rem; }
  .case-section h2 { font-size: 1.5rem; }
}

@media (max-width: 46rem) {
  html { scroll-padding-top: 8rem; }
  .header-inner { min-height: 4.5rem; gap: 0.5rem; }
  .brand { gap: 0.75rem; }
  .brand-mark { flex-basis: 1.75rem; width: 1.75rem; height: 1.75rem; }
  .brand-mark::before { left: 0.3rem; width: 0.6rem; height: 1.5rem; }
  .brand-mark::after { right: 0; width: 0.6rem; height: 1rem; }
  .brand-title { font-size: 0.78rem; max-width: 12.5rem; }
  .brand-subtitle { font-size: 0.65rem; }
  .language-switcher { grid-column: 2; grid-row: 1; }
  .language-option, .language-button { padding: 0.35rem; min-width: 2.2rem; font-size: 0.75rem; }
  .language-option + .language-option::before { left: -0.35rem; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-end; margin: 0; border-top: 1px solid var(--border); }
  .js-ready .site-nav { display: none; }
  .js-ready .site-nav.is-open { display: flex; padding-block: 0.5rem; }
  .menu-toggle { grid-column: 3; grid-row: 1; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0.6rem; border: 0; background: none; color: var(--fg); }
  .menu-toggle svg { width: 1.4rem; height: 1.4rem; }
  .intro { padding-block: 2rem 2rem; gap: 1.5rem; }
  .role-meta { font-size: 0.7rem; margin-bottom: 1rem; letter-spacing: 0; }
  .role-title, html[lang="zh-TW"] .role-title { max-width: none; font-size: clamp(1.5rem, 7.2vw, 2.6rem); line-height: 1.45; margin-bottom: 1rem; }
  .intro-copy { font-size: 0.9rem; line-height: 1.85; }
  .intro-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.5rem; }
  .button { width: 100%; min-height: 3rem; padding: 0.75rem 0.4rem; gap: 0.4rem; font-size: 0.8rem; }
  .hero-media figcaption { font-size: 0.65rem; }
  .section { padding-block: 2.5rem; }
  .section-header { display: block; margin-bottom: 1.5rem; }
  .section-title { font-size: 1.4rem; }
  .section-intro { font-size: 0.875rem; }
  .capability-grid { grid-template-columns: 1fr; border-inline: 0; }
  .capability-card { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0 1rem; padding: 1.25rem 0; border: 0; border-bottom: 1px solid var(--border); }
  .capability-card:nth-child(n) { border-right: 0; }
  .capability-card:last-child { border-bottom: 0; }
  .capability-icon { grid-row: span 2; width: 2rem; height: 2rem; margin: 0.25rem 0 0; }
  .capability-title { font-size: 1rem; margin-bottom: 0.4rem; }
  .capability-copy { font-size: 0.875rem; }
  .work-section { padding-top: 0; }
  .all-projects-link { margin-top: 0.5rem; font-size: 0.8rem; }
  .project-grid, .project-list, .work-index .record-index-list { grid-template-columns: 1fr; gap: 1.25rem; }
  .project-content, .project-card-body { padding: 1.25rem; }
  .project-title { font-size: 1.25rem; }
  .project-panels { gap: 0.75rem; }
  .work-index .record-index-list { gap: 0; }
  .projects-intro { padding-block: 2.5rem 1.5rem; }
  .page-title { font-size: clamp(1.8rem, 7.5vw, 2.75rem); max-width: none; }
  .controls-row { flex-wrap: wrap; gap: 0.25rem 1rem; }
  .filter-group { gap: 1.25rem; }
  .filter-button { font-size: 0.8rem; }
  .sort-control { font-size: 0.75rem; }
  .sort-select { max-width: 10rem; padding-left: 0; font-size: 0.75rem; }
  .project-cover-media { aspect-ratio: 16 / 10; }
  .project-name { font-size: 1.25rem; }
  .project-card-footer { flex-wrap: wrap; gap: 0.75rem; }
  .detail-cue { margin-left: auto; }
  .case-hero { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2rem 1.5rem; }
  .case-hero h1 { font-size: clamp(1.8rem, 7vw, 2.75rem); }
  .case-hero .eyebrow { margin-bottom: 1rem; }
  .hero-summary { font-size: 0.9rem; }
  .project-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 0; border-left: 0; border-top: 1px solid var(--border); }
  .project-fact { display: block; padding-block: 0.75rem 0; }
  .project-fact dd { margin-top: 0.4rem; }
  .case-cover { margin-bottom: 2rem; }
  .case-cover img { height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
  .case-cover-caption { flex-wrap: wrap; padding-inline: 0; font-size: 0.7rem; }
  .case-cover-caption p { flex: 1 1 100%; }
  .gallery-controls { margin-left: auto; }
  .case-layout { display: block; }
  .section-nav { display: none; }
  .mobile-section-selector { z-index: 35; top: 4.5rem; border-color: var(--border); background: var(--bg); }
  .mobile-section-selector__trigger { background: var(--bg); color: var(--fg); }
  .mobile-section-dropdown { background: var(--surface); border-color: var(--border); }
  .mobile-section-nav a[aria-current="location"] { color: var(--accent); background: var(--accent-soft); }
  .case-section { padding-bottom: 2rem; scroll-margin-top: 8rem; }
  .case-section + .case-section { padding-top: 2rem; }
  .case-copy, .case-list, .evidence-list { font-size: 0.95rem; line-height: 1.95; }
  .case-section h2 { font-size: 1.4rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .media-placeholder, .media-placeholder:first-child { grid-row: auto; min-height: 0; }
  .project-pagination { grid-template-columns: 1fr; }
  .footer-inner, .case-page .site-footer { display: flex; flex-direction: column; align-items: start; }
  .footer-actions { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .featured-cover img, .project-cover-image { transform: none !important; }
}

@media (forced-colors: active) {
  .brand-mark::before, .brand-mark::after { background: CanvasText; }
  .button, .gallery-control, .filter-button, .nav-link { border: 1px solid ButtonText; }
  .nav-link[aria-current="page"], .filter-button[aria-pressed="true"] { border-bottom: 3px solid Highlight; }
}
