@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap; src: url("./assets/fonts/fraunces-700.ttf") format("truetype"); }
@font-face { font-family: "Noto Serif SC"; font-style: normal; font-weight: 600; font-display: swap; src: url("./assets/fonts/noto-serif-sc-600.ttf") format("truetype"); }
/* Typographic cover and illustrated chapters. Project interactions live in experience.css. */
:root {
  --display: "Noto Serif SC", "Songti SC", serif;
  --body: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --wordmark: "Fraunces", Georgia, serif;
  --poster-paper: #b7b5ad;
  --poster-ink: #1c201a;
  --closing-black: #050605;
  --illustration-gold: #e0c494;
}
.poster-hero {
  position: relative;
  height: max(800px, 100svh);
  max-height: 1150px;
  overflow: clip;
  isolation: isolate;
  color: var(--poster-ink);
  background: radial-gradient(ellipse at 65% 45%, #ccc8be, var(--poster-paper) 70%);
  container-type: inline-size;
}
.poster-grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .055; mix-blend-mode: multiply; pointer-events: none; }
.poster-edition { position: absolute; top: 99px; left: 48px; right: 48px; display: flex; justify-content: space-between; font: 11px/1.5 var(--mono); letter-spacing: .12em; }
.poster-title { position: absolute; z-index: 1; top: 190px; left: 8.5%; margin: 0; max-width: 95.2%; white-space: nowrap; font: italic 700 13.5cqw/.83 Georgia, "Times New Roman", serif; letter-spacing: -.065em; }
.wordmark-line { display: block; }
.site-header .primary-nav a { font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-style: italic; font-weight: 600; }
.wordmark-line:nth-child(2) { width: max-content; margin: .03em 0 0 .035em; font-size: .76em; letter-spacing: -.065em; }
.poster-art { position: absolute; z-index: 2; width: min(80%, calc((100svh - 260px) * 1.3333)); bottom: 60px; right: 5%; pointer-events: none; }
.poster-art img { display: block; width: 100%; height: auto; }
.poster-copy { position: absolute; z-index: 3; left: 48px; bottom: 105px; max-width: 290px; }
.poster-copy p { margin: 0; font-size: 17px; line-height: 1.75; }
.poster-copy .poster-statement { margin-bottom: 14px; font-size: 25px; font-weight: 700; line-height: 1.3; letter-spacing: -.04em; }
.poster-link { position: absolute; z-index: 3; right: 48px; bottom: 108px; min-height: 44px; display: flex; align-items: center; gap: 48px; border-bottom: 1px solid #55594d; font-size: 14px; }
.poster-link span { font-size: 24px; transition: transform .2s; }
.poster-link:hover span { transform: translate(3px, 3px); }
.poster-link:focus-visible { outline-color: var(--poster-ink); }
.poster-baseline { position: absolute; z-index: 3; bottom: 26px; left: 48px; right: 48px; display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid #55594d50; font: 10px/1.5 var(--mono); letter-spacing: .08em; }

/* Header contrast follows the existing scrolled state. */
.site-header:not(.scrolled) { color: var(--poster-ink); }
.site-header:not(.scrolled) .brand-mark { border-color: var(--poster-ink); }
.site-header:not(.scrolled) .brand-mark span { color: #6b5833; }
.site-header:not(.scrolled) .primary-nav a { color: var(--poster-ink); }
.site-header:not(.scrolled) .header-action { border-color: #55594d; }
.site-header:not(.scrolled) .header-action:hover { background: var(--poster-ink); color: #eae6dc; }
.site-header:not(.scrolled) .menu-toggle span { background: var(--poster-ink); }
.site-header:not(.scrolled) a:focus-visible, .site-header:not(.scrolled) button:focus-visible { outline-color: var(--poster-ink); }

/* A shared sans-serif title hierarchy; content and card structure are retained. */
.section-heading h2, .about-main h2, .notes-heading h2, .site-footer h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.045em; line-height: 1.12; }
.section-heading h2 { font-size: clamp(48px, 5.3vw, 80px); }
.about-main h2 { font-size: clamp(46px, 4.8vw, 74px); }
.notes-heading h2 { font-size: clamp(44px, 4.8vw, 72px); }
.section-kicker, .about-label { font-size: 12px; letter-spacing: .1em; }
.section-aside { font-size: 16px; line-height: 1.8; }
.about-main>p { font-size: 18px; line-height: 1.8; max-width: 560px; }
.gallery-heading h3 { font-weight: 700; }
.about-architecture { width: 40%; left: 0; bottom: 100px; height: 500px; }
.about-architecture::before { display: none; }
.about-architecture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(.5); mask-image: linear-gradient(0deg, transparent, #000 15%, #000 87%, transparent), linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-composite: intersect; }

@media (min-width: 1001px) and (max-height: 800px) {
  .poster-hero { height: 800px; }
  .poster-title { top: 165px; left: 8.5%; font-size: 13cqw; }
  .poster-art { width: min(72%, 760px); bottom: 65px; right: 5%; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .poster-hero { height: 900px; min-height: 100svh; }
  .poster-art { width: 92%; right: -2%; top: 24%; bottom: auto; }
  .poster-copy { bottom: 120px; }
  .poster-link { bottom: 120px; }
  .about-architecture { width: 42%; height: 430px; }
}
@media (max-width: 700px) {
  .poster-hero { display: flex; flex-direction: column; height: auto; min-height: max(740px, 100svh); max-height: none; padding: 92px 0 70px; }
  .poster-edition { position: relative; top: auto; left: auto; right: auto; margin-inline: 20px; font-size: 9px; letter-spacing: .05em; }
  .poster-title { position: relative; top: auto; left: auto; margin: 34px 3% 0; font-size: 14cqw; }
  .poster-art { position: relative; top: auto; right: auto; bottom: auto; width: 110%; margin: -72px 0 24px -5%; }
  .poster-copy { position: relative; left: auto; bottom: auto; max-width: 85%; margin: 0 20px 24px; }
  .poster-copy .poster-statement { font-size: 23px; margin-bottom: 12px; }
  .poster-copy p { font-size: 16px; line-height: 1.7; }
  .poster-link { position: relative; right: auto; bottom: auto; align-self: flex-end; margin: auto 20px 0; font-size: 13px; gap: 28px; }
  .poster-baseline { left: 20px; right: 20px; bottom: 20px; padding-top: 12px; font-size: 8px; letter-spacing: 0; }
  .primary-nav, .site-header:not(.scrolled) .primary-nav { background: #b7b5ad; }
  .primary-nav a, .site-header.scrolled .primary-nav a { color: var(--poster-ink); border-color: #55594d50; }
  .primary-nav a:focus-visible { outline-color: var(--poster-ink); }
  .section-heading h2, .about-main h2, .notes-heading h2 { font-size: clamp(36px, 9.5vw, 54px); line-height: 1.18; }
  .section-aside, .about-main>p { font-size: 16px; line-height: 1.75; }
  .about-architecture { width: 100%; left: 0; top: 110px; height: clamp(260px, 73vw, 430px); }
}
@media (prefers-reduced-motion: reduce) {
  .poster-link span { transition: none; }
  .poster-link:hover span { transform: none; }
}

/* Immersive pass: readable UI, title-to-sculpture reveal, integrated artwork. */
.brand { font-size: 13px; }
.primary-nav a { font-size: 16px; }
.header-action { font-size: 13px; }
.poster-edition { font-size: 14px; }
.poster-copy { max-width: 340px; }
.poster-copy p { font-size: 20px; }
.poster-copy .poster-statement { font-size: 30px; }
.poster-link { font-size: 18px; }
.poster-baseline { font-size: 13px; }
.section-kicker, .micro-label, .feature-identity .micro-label, .feature-statement .micro-label { font-size: 13px; }
.section-aside, .notes-heading>p:last-child { font-size: 19px; }
.project-index a { font-size: 15px; }
.project-index a>span:first-child { font-size: 12px; }
.feature-identity h3 { font-size: 32px; }
.feature-demo-label, .feature-footer>span, .feature-detail-crop>span { font-size: 13px; }
.feature-action, .text-action, .media-corner { font-size: 15px; }
.card-meta h3 { font-size: 27px; }
.card-meta p { font-size: 16px; line-height: 1.65; }
.card-meta .card-index, .work-end, .more-heading>span { font-size: 13px; }
.note-index { font-size: 13px; }
.note-card h3 { font-size: 28px; }
.note-card p { font-size: 17px; line-height: 1.7; }
.gallery-toggle, .gallery-caption, .dialog-project-nav button>span, .dialog-bottom span, .dialog-bottom a { font-size: 14px; }
.dialog-facts span { font-size: 13px; }
.project-tag, .dialog-kicker { font-size: 13px; }
.dialog-position { font-size: 12px; }
.dialog-hero p, .dialog-story p { font-size: 18px; line-height: 1.85; }
.primary-nav a { min-height: 44px; display: inline-flex; align-items: center; }

/* Portfolio index: the labels describe the projects instead of acting as decoration. */
/* A thin paper tab, with an ink arrow and a shallow paper-edge shadow. */
.site-header .header-action {
  position: relative; display: inline-flex; align-items: center; gap: 24px;
  min-height: 44px; padding: 10px 17px; border: 1px solid #817e7066;
  border-radius: 2px; background: #e9e3d6; color: #30342c;
  box-shadow: 1px 2px 0 #c1bbae, 1px 3px 5px #27291f16;
  font: 500 13px/1.2 var(--body); letter-spacing: .08em; text-shadow: none;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.site-header .header-action::before { display: none; }
.site-header .header-action span { display: inline; width: auto; height: auto; padding: 0; background: none; border-radius: 0; color: inherit; box-shadow: none; font-size: 20px; transition: transform .2s; }
.site-header .header-action:hover, .site-header:not(.scrolled) .header-action:hover { transform: translateY(-1px) rotate(-1deg); background: #f1ecdf; color: #30342c; box-shadow: 1px 3px 0 #c1bbae, 2px 5px 8px #27291f1c; }
.site-header .header-action:hover span { transform: translate(1px, -1px); }
.site-header .header-action:active { transform: translateY(1px); box-shadow: 0 1px 0 #c1bbae; }
.work-section .section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 510px); align-items: end; gap: 72px; margin-bottom: 42px; }
.work-section .section-heading h2 { max-width: 760px; }
.work-section .section-aside { max-width: 510px; margin: 0 0 8px; }
.project-index { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin-bottom: 65px; padding: 9px; border: 1px solid #8c877787; border-radius: 19px; background: linear-gradient(180deg, #55564ef5, #41443df5); box-shadow: inset 0 1px 0 #ffffff18, 0 18px 42px #24271f35; overflow: visible; }
.project-index a, .project-index a:first-child { position: relative; min-width: 0; min-height: 92px; padding: 17px 16px; display: grid; grid-template-columns: 31px minmax(0, 1fr); align-items: center; gap: 13px; border: 1px solid #ffffff0d; border-radius: 13px; background: #52544d; box-shadow: inset 0 1px 0 #ffffff12; transition: transform .28s cubic-bezier(.2,.8,.2,1), background .28s, border-color .28s, box-shadow .28s, color .28s; }
.project-index a::after { content: ''; position: absolute; left: 15px; right: 15px; bottom: 8px; height: 3px; border-radius: 99px; background: var(--project-accent); opacity: 0; transform: scaleX(.28); transform-origin: left; transition: opacity .25s, transform .32s cubic-bezier(.2,.8,.2,1); }
.project-index-number { align-self: center; width: 31px; height: 31px; padding: 0; display: grid; place-items: center; border: 1px solid #c9bda74a; border-radius: 50%; color: #d7ccb8; font: 12px/1 var(--mono); }
.project-index-copy { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.project-index-copy strong { overflow: hidden; color: #f5f0e7; font-size: 18px; font-weight: 680; line-height: 1.1; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.project-index-copy small { overflow: hidden; color: #c5c2b8; font-size: 13px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.project-index a:hover { transform: translateY(-3px); background: #5d5e56; border-color: color-mix(in srgb, var(--project-accent) 44%, #777468); box-shadow: 0 8px 18px #24271f45, inset 0 1px 0 #ffffff1e; }
.project-index a[aria-current] { z-index: 1; transform: translateY(-5px); background: linear-gradient(145deg, color-mix(in srgb, var(--project-accent) 82%, #eee8dc), color-mix(in srgb, var(--project-accent) 45%, #a29e91)); border-color: color-mix(in srgb, var(--project-accent) 72%, #777468); color: #272b24; box-shadow: 0 11px 24px #24271f66, inset 0 1px 0 #fff9, inset 0 -2px 4px #5c5d5440; }
.project-index a[aria-current]::after { opacity: 1; transform: scaleX(1); background: #34382f; }
.project-index a[aria-current] .project-index-number { color: #2c3029; border-color: #34382f66; background: #ffffff3d; }
.project-index a[aria-current] .project-index-copy strong { color: #232720; }
.project-index a[aria-current] .project-index-copy small { color: #4d5148; }

/* The lower gallery is one large control per project; motion communicates that click target. */
.more-projects .project-card { position: relative; transform-origin: 50% 72%; transition: transform .42s cubic-bezier(.2,.8,.2,1), filter .42s ease; }
.more-projects .project-visual { transition: box-shadow .42s ease, border-radius .42s ease; }
.more-projects .project-card-button:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) {
  .more-projects .project-card:hover, .more-projects .project-card:focus-within { z-index: 4; transform: translateY(-11px) scale(1.035); filter: saturate(1.07); }
  .more-projects .project-card:hover .project-visual, .more-projects .project-card:focus-within .project-visual { border-radius: 22px; box-shadow: 0 28px 55px #20231e52; }
}

/* Featured projects balance a readable synopsis with a real product demo stage. */
.feature-mosaic { grid-template-columns: 36% minmax(0, 1fr); }
.feature-side { grid-template-rows: 1.45fr .65fr; }
.feature-statement { display: flex; flex-direction: column; }
.feature-statement h4 { margin-top: 15px; font-size: clamp(23px, 1.8vw, 30px); line-height: 1.25; }
.feature-statement p { position: relative; z-index: 1; margin: 15px 0 0; color: #465048; font-size: 14px; line-height: 1.7; }
.feature-points { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 14px; }
.feature-points span { padding: 6px 8px; border: 1px solid #6671683d; border-radius: 999px; font-size: 10px; line-height: 1; }
.specimen-name { opacity: .055; }
.feature-main-media>video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; background: #171a17; }
.feature-main-media .media-corner { position: absolute; top: 17px; right: 17px; bottom: auto; border: 0; cursor: pointer; }
.feature-main-media:hover>img, .feature-main-media:focus-within>img { transform: scale(1.025); }

.about-card.shell { width: min(calc(100% - 64px), 1600px); min-height: 860px; }

.poster-sequence { position: relative; }
.page-progress span { width: 100%; transform: scaleX(0); transform-origin: left; }
.poster-title-front { z-index: 3; clip-path: inset(0); pointer-events: none; }
.poster-title-ink { display: block; }
.poster-art { transform: translateY(var(--art-lift, 24px)) scale(var(--art-scale, .96)); transform-origin: 55% 85%; }
.poster-title { transform: translateY(var(--wordmark-lift, 0px)); }
.poster-copy, .poster-link, .poster-baseline { z-index: 4; }
@media (min-width: 701px) and (min-height: 650px) and (prefers-reduced-motion: no-preference) {
  .poster-sequence { height: calc(100svh + min(65svh, 640px)); }
  .poster-hero { position: sticky; top: 0; height: 100svh; min-height: 0; max-height: none; }
  .poster-art { top: auto; bottom: 75px; width: min(82%, calc((100svh - 310px) * 1.3333)); right: 4%; will-change: transform; }
  .poster-title-front, .poster-title-ink { will-change: transform; }
  .about-card .about-card-art { inset: -24px 0; height: calc(100% + 48px); will-change: transform; }
}

/* The case-study stage borrows each project's palette during the handoff.
   Small, reversible offsets end before the reader reaches the content. */
@media (min-width: 1001px) and (min-height: 781px) and (prefers-reduced-motion: no-preference) {
  /* Change palette once per case, instead of repainting a large gradient each scroll frame. */
  .work-section { transition: background-color .35s ease; }
  .work-section[data-scene="paper"] { background-color: #5d6257; }
  .work-section[data-scene="campus"] { background-color: #635f57; }
  .reading-panel { border-radius: 26px 26px 0 0; }
  .feature-surface { background: color-mix(in srgb, var(--feature-accent) 8%, var(--ink-2)); }
  .feature-main-media { transform-origin: 50% 100%; }
  .feature-project:focus-within .feature-heading, .feature-project:focus-within .feature-side, .feature-project:focus-within .feature-main-media { transform: none!important; opacity: 1!important; }
}

/* One illustrated card: scenery, heading, and notes inhabit the same surface. */
.about-section { padding: 100px 0 95px; min-height: 0; }
.about-section::before { display: none; }
.about-card { position: relative; isolation: isolate; overflow: hidden; min-height: 810px; padding: 38px 48px 42px; border-radius: 24px; background: #373d34; color: #f6f0e4; border: 1px solid #aaa28b; display: flex; flex-direction: column; }
.about-card-art { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; filter: saturate(.7); }
.about-card::before { content: ''; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, #20291ff5 0%, #283127db 32%, #28312715 76%), linear-gradient(0deg, #142019f5 0%, #18221dba 20%, transparent 60%); }
.about-card-top { display: flex; justify-content: space-between; gap: 20px; font: 13px/1.6 var(--mono); letter-spacing: .12em; padding-bottom: 22px; border-bottom: 1px solid #eee5ce50; }
.about-card-copy { max-width: 700px; margin: 64px 0 70px; position: relative; z-index: 1; }
.about-card h2 { font: 800 clamp(48px, 5.3vw, 82px)/1.18 var(--display); letter-spacing: -.055em; margin: 0; }
.about-card h2 span { color: var(--illustration-gold); }
.about-card-copy>p { max-width: 470px; margin: 30px 0 0; font-size: 20px; line-height: 1.85; color: #eee8dc; }
.about-field-notes { position: absolute; right: 48px; bottom: 252px; display: flex; flex-direction: column; align-items: flex-start; padding-left: 22px; border-left: 1px solid #e0c49499; text-shadow: 0 2px 14px #132018; }
.about-field-notes>span { font-size: 17px; font-weight: 600; }
.about-field-notes a { display: inline-flex; align-items: center; gap: 40px; min-height: 48px; margin-top: 10px; font-size: 15px; }
.about-field-notes a:hover { color: var(--illustration-gold); }
.about-field-notes a span { font-size: 24px; }
.about-card-details { margin-top: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; border-top: 1px solid #eee2bd66; }
.about-card-details>div { padding: 28px 0 0; }
.about-card-details>div+div { padding-left: 30px; border-left: 1px solid #eee2bd40; }
.about-card-details span { font-size: 14px; color: #e1c795; }
.about-card-details p { font-size: 23px; font-weight: 600; margin: 12px 0 16px; }
.about-card-details small { font-size: 14px; color: #c8cec1; }

/* A black closing chapter with clearly visible painted architecture. */
.site-footer { background: var(--closing-black); min-height: 1040px; padding-top: 118px; display: flex; flex-direction: column; }
.site-footer::before { display: none; }
.footer-art { position: absolute; z-index: -2; top: 0; right: 0; width: 72%; height: 100%; object-fit: cover; object-position: 50% 75%; filter: saturate(.82) contrast(1.08); mask-image: linear-gradient(90deg, transparent, #000 32%), linear-gradient(180deg, transparent, #000 16%, #000 82%, transparent); mask-composite: intersect; }
.site-footer::after { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--closing-black) 0%, #050605ed 24%, #05060580 43%, #05060508 72%); }
.footer-inner { position: relative; display: block; }
.site-footer h2 { font-size: clamp(52px, 5.5vw, 88px); max-width: 800px; text-shadow: 0 2px 25px #0005; }
.site-footer h2 span { color: #e8c793; }
.site-footer .footer-inner p:last-child { max-width: 440px; font-size: 18px; line-height: 1.75; color: #e0ded4; }
.footer-links { flex-direction: row; gap: 32px; max-width: 425px; margin-top: 48px; }
.footer-links a { flex: 1; font-size: 18px; border-color: #ded4b799; }
.footer-bottom { position: relative; margin-top: auto; font-size: 13px; color: #d8d3c7; }

@media (max-width: 1000px) {
  .brand { font-size: 12px; }
  .primary-nav { gap: 23px; }
  .about-card { padding-inline: 32px; }
  .about-card-details { gap: 20px; }
  .about-card-details>div+div { padding-left: 20px; }
  .about-card-details p { font-size: 20px; }
  .about-field-notes { right: 32px; bottom: 215px; }
  .work-section .section-heading { grid-template-columns: minmax(0, 1fr) minmax(300px, 410px); gap: 40px; }
  .project-index { display: flex; flex-wrap: nowrap; overflow-x: auto; }
  .project-index a, .project-index a:first-child { flex: 0 0 215px; }
  .feature-mosaic { grid-template-columns: 40% minmax(0, 1fr); }
  .feature-statement p { font-size: 13px; }
}
@media (max-width: 700px) {
  .brand { font-size: 11px; }
  .brand>span:last-child { max-width: 133px; white-space: normal; line-height: 1.35; letter-spacing: .04em; }
  .header-action { font-size: 11px; }
  .site-header .header-action { min-height: 44px; padding: 9px 12px; gap: 14px; }
  .site-header .header-action span { width: auto; height: auto; }
  .primary-nav a { font-size: 18px; }
  .poster-edition { font-size: 11px; gap: 12px; }
  .poster-title-front { position: absolute; top: 135px; left: 3%; margin: 0; }
  .poster-art { margin-top: -64px; }
  .poster-copy p { font-size: 18px; }
  .poster-copy .poster-statement { font-size: 28px; }
  .poster-link { font-size: 17px; }
  .poster-baseline { font-size: 11px; }
  .project-index a { min-width: 172px; font-size: 14px; }
  .work-section .section-heading { display: block; margin-bottom: 34px; }
  .work-section .section-aside { max-width: none; margin-top: 22px; }
  .project-index { gap: 8px; padding: 8px; border-radius: 14px; }
  .project-index a, .project-index a:first-child { flex-basis: 215px; min-width: 215px; min-height: 82px; padding: 13px 14px; }
  .project-index-copy strong { font-size: 17px; }
  .project-index-copy small { font-size: 12px; }
  .feature-identity { gap: 12px; }
  .feature-identity h3 { font-size: 26px; }
  .feature-identity .micro-label, .feature-statement .micro-label { font-size: 11px; }
  .feature-side { display: flex; flex-direction: column; }
  .feature-statement { min-height: 255px; }
  .feature-detail-crop { height: 145px; }
  .feature-statement h4 { font-size: 24px; }
  .feature-statement p { font-size: 14px; line-height: 1.65; }
  .feature-points { margin-top: 18px; padding-top: 0; }
  .feature-main-media { height: 270px; }
  .feature-footer>span { font-size: 12px; }
  .feature-action, .text-action, .media-corner { font-size: 14px; }
  .section-aside { font-size: 18px; }
  .about-section { padding: 50px 0 64px; }
  .about-card { min-height: 0; padding: 24px 22px; border-radius: 18px; }
  .about-card.shell { width: calc(100% - 24px); min-height: 0; }
  .about-card-art { object-position: 55% 46%; }
  .about-card::before { background: linear-gradient(180deg, #1b251ceb, #1b251cba 28%, #1b251c15 44%, #16221dc9 64%, #16221df0); }
  .about-card-top { font-size: 11px; letter-spacing: .03em; flex-wrap: wrap; gap: 8px; }
  .about-card-copy { margin: 38px 0 100px; }
  .about-card h2 { font-size: clamp(34px, 9vw, 58px); }
  .about-card-copy>p { font-size: 17px; line-height: 1.8; }
  .about-field-notes { position: relative; right: auto; bottom: auto; margin: 0 0 28px auto; padding-left: 16px; }
  .about-field-notes>span { font-size: 16px; }
  .about-card-details { grid-template-columns: 1fr; gap: 0; }
  .about-card-details>div, .about-card-details>div+div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; padding: 20px 0; border-left: 0; }
  .about-card-details>div+div { border-top: 1px solid #eee2bd40; }
  .about-card-details>div:last-child { padding-bottom: 0; }
  .about-card-details p { grid-column: 1; grid-row: 2; margin: 0; font-size: 20px; }
  .about-card-details small { grid-column: 2; grid-row: 1 / 3; font-size: 12px; }
  .site-footer { min-height: 1020px; padding-top: 74px; }
  .footer-art { width: 100%; top: 210px; height: calc(100% - 210px); object-position: 50% 82%; mask-image: linear-gradient(180deg, transparent, #000 27%, #000 84%, transparent); }
  .site-footer::after { background: linear-gradient(180deg, var(--closing-black) 12%, #050605d0 30%, #05060510 58%, #05060500 84%, var(--closing-black)); }
  .site-footer h2 { font-size: clamp(40px, 10vw, 62px); }
  .site-footer .footer-inner p:last-child { font-size: 17px; max-width: 280px; }
  .footer-links { margin-top: 32px; gap: 24px; }
  .footer-links a { font-size: 17px; }
  .footer-bottom { margin-top: auto; font-size: 11px; gap: 16px; }
  .dialog-hero p, .dialog-story p { font-size: 17px; }
}
@media (max-width: 360px) {
  .brand>span:last-child { max-width: 105px; font-size: 10px; }
  .header-action { padding-inline: 8px; }
  .feature-identity h3 { font-size: 23px; }
  .feature-identity .micro-label { font-size: 10px; }
  .feature-statement h4 { font-size: 19px; }
  .feature-side { grid-template-rows: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .poster-title-front { clip-path: inset(0 0 100% 0)!important; }
  .poster-art, .poster-title, .about-card .about-card-art { transform: none!important; }
  .site-header .header-action, .site-header .header-action span, .project-index a, .project-index a::after, .more-projects .project-card, .more-projects .project-visual { transition: none; }
  .more-projects .project-card:hover, .more-projects .project-card:focus-within { transform: none; }
}
@media (max-width: 700px), (max-height: 649px) {
  .poster-art, .poster-title, .about-card .about-card-art { transform: none!important; }
  .poster-title-front { clip-path: inset(0 0 100% 0)!important; }
}

/* Book typography: serif headings, quiet sans-serif reading and controls. */
.section-heading h2, .notes-heading h2, .about-card h2, .site-footer h2,
.more-heading h3, .note-card h3, .poster-copy .poster-statement {
  font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.35;
}

/* Whole-page paper rhythm. Keep the two featured sheets independently toned. */
:root { --page-rule: #777b6c66; --page-gutter: 48px; }
.site-header.scrolled { background: #e5e0d5; border-bottom-color: var(--page-rule); color: var(--poster-ink); backdrop-filter: none; }
.site-header.scrolled .primary-nav a { color: var(--poster-ink); }
.site-header.scrolled .brand-mark { border-color: var(--poster-ink); }
.site-header.scrolled .menu-toggle span { background: var(--poster-ink); }
.site-header.scrolled.on-work { background: #252822; color: #eee8db; border-bottom-color: #656a5d; }
.site-header.scrolled.on-work .primary-nav a { color: #eee8db; }
.site-header.scrolled.on-work .menu-toggle span { background: #eee8db; }
.site-header.scrolled.on-work .header-action { color: #eee8db; background: #30342c; border-color: #777d6f; box-shadow: none; }
.site-header.scrolled.on-work .header-action:hover { color: #252822; background: #eee8db; }
.site-header.scrolled.on-work a:focus-visible, .site-header.scrolled.on-work button:focus-visible { outline-color: #eee8db; }
@media (max-width: 700px) {
  .site-header.scrolled.on-work .primary-nav { background: #252822; }
  .site-header.scrolled.on-work .primary-nav a { border-color: #656a5d; }
  .poster-hero { min-height: 0; padding-top: 88px; padding-bottom: 62px; }
  .poster-title { margin-top: 24px; }
  .poster-art { width: 100%; margin-left: 0; margin-bottom: 12px; }
  .poster-copy { margin-bottom: 16px; }
}
.site-header a:focus-visible, .site-header button:focus-visible { outline-color: var(--poster-ink); }
.primary-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
#work, #about, #notes, #contact { scroll-margin-top: 96px; }
.reading-panel { border-radius: 0; background: #ded8ca; }
.about-section { background: transparent; padding: 80px 0; }
.about-card.shell { width: min(calc(100% - 64px), 1660px); min-height: 780px; border-radius: 5px; }
.about-card { padding: 36px 40px; }
.about-card h2, .notes-heading h2, .site-footer h2 { font-size: clamp(38px, 4.3vw, 64px); }
.about-card-copy { margin: 48px 0 64px; }
.about-card-copy>p { font-size: 18px; max-width: 490px; }
.about-card-details p { font-size: 20px; line-height: 1.5; }
.about-field-notes { right: 40px; bottom: 230px; }
.notes-section { padding: 0 0 96px; }
.notes-heading { padding-top: 40px; margin-bottom: 40px; border-color: var(--page-rule); }
.notes-heading .section-kicker { margin-bottom: 18px; }
.notes-heading>p:last-child { font-size: 18px; line-height: 1.8; }
.notes-grid { gap: 32px; }
.note-card, .note-card:hover { padding: 24px 0 0; min-height: 0; border: 0; border-top: 1px solid var(--page-rule); background: transparent; }
.note-card h3 { margin: 24px 0 16px; font-size: 26px; }
.note-card p { margin: 0; font-size: 16px; line-height: 1.85; max-width: 38ch; }
.site-footer { min-height: 760px; padding-top: 88px; }
.footer-bottom { padding-block: 24px; line-height: 1.6; }
.dialog-hero h2 { font-family: var(--wordmark), var(--display); letter-spacing: -.025em; }
.dialog-close, .gallery-toggle { border-radius: 3px; }
@media (max-width: 1000px) {
  .about-field-notes { position: relative; right: auto; bottom: auto; margin: 0 0 32px; }
  .about-card-copy { margin-bottom: 36px; }
  .notes-grid { gap: 24px; }
}
@media (max-width: 700px) {
  #work, #about, #notes, #contact { scroll-margin-top: 82px; }
  .menu-toggle { width: 44px; height: 44px; align-items: center; flex-shrink: 0; }
  .site-header { gap: 8px; }
  .site-header .header-action { gap: 10px; }
  .about-section { padding: 56px 0; }
  .about-card.shell { width: calc(100% - 40px); min-height: 0; padding: 24px 20px; }
  .about-card h2, .notes-heading h2, .site-footer h2 { font-size: clamp(32px, 8.5vw, 44px); }
  .about-card-copy { margin: 32px 0 60px; }
  .about-card-copy>p { font-size: 17px; }
  .about-card-details>div, .about-card-details>div+div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
  .about-card-details p { font-size: 19px; }
  .notes-section { padding-bottom: 64px; }
  .notes-heading { padding-top: 32px; margin-bottom: 32px; }
  .notes-grid { grid-template-columns: 1fr; gap: 28px; }
  .note-card h3 { font-size: 24px; margin-top: 18px; }
  .site-footer { min-height: 800px; padding-top: 64px; }
  .footer-bottom { flex-wrap: wrap; gap: 8px 24px; }
}

/* Recruiting profile: keep longer biographical copy in document flow. */
.about-field-notes { position: relative; right: auto; bottom: auto; margin: 0 0 32px; }
.about-card-copy { margin-bottom: 32px; }
.about-card-copy>p+p { margin-top: 18px; }
.contact-email { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 18px; margin-top: 32px; color: #eee7d8; }
.contact-email>span { font-size: 16px; }
.contact-email a { min-width: 0; padding-block: 10px; font: 500 clamp(18px, 2vw, 22px)/1.5 var(--body); color: inherit; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 5px; }
.contact-email a:hover { color: #e0c494; }
.contact-email a:focus-visible { outline: 2px solid #eee7d8; outline-offset: 4px; }
.dialog-body .dialog-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Review adjustments: centered navigation without the removed brand. */
.site-header .header-action { margin-left: auto; }
.about-card-top { align-items: center; }
.about-label-title { font: 600 24px/1.5 var(--display); letter-spacing: .04em; }
@media (min-width: 701px) {
  .site-header .primary-nav { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
}
@media (max-width: 700px) {
  .about-label-title { font-size: 21px; }
}

/* Airier navigation and a single right-aligned cover annotation. */
.poster-edition { justify-content: flex-end; }
@media (min-width: 701px) {
  .site-header .primary-nav { gap: clamp(36px, 5vw, 88px); }
  .primary-nav a { font-size: 20px; letter-spacing: .08em; }
  .site-header .header-action { font-size: 15px; }
}
@media (max-width: 700px) {
  .primary-nav a { font-size: 20px; }
}
