:root {
  --paper: #f8f8f6;
  --ink: #181818;
  --muted: #8e8e8a;
  --line: #d9d9d5;
  --canvas: #d3d3d1;
  --accent: #d9f36b;
  --site-grid: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, 1.3fr);
  --site-grid-gap: 24px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.site-shell { width: 100%; margin: 0 auto; background: var(--paper); }
.site-header { display: grid; grid-template-columns: var(--site-grid); align-items: center; gap: var(--site-grid-gap); padding: 17px 44px; font-size: 10px; letter-spacing: -.01em; }
.wordmark, .contact-link { font-weight: 600; }
.studio-label, .primary-nav, .contact-link { color: #4f4f4c; }
.primary-nav { display: flex; gap: 28px; justify-self: start; }
.primary-nav a { position: relative; font-size: 14px; white-space: nowrap; }
.primary-nav a.is-active::after { position: absolute; right: 0; bottom: -4px; left: 0; height: 1px; background: var(--ink); content: ""; }
.contact-link { justify-self: end; }
.menu-button { display: none; border: 0; background: transparent; padding: 6px 0; }

.intro { display: grid; grid-template-columns: var(--site-grid); gap: var(--site-grid-gap); padding: 76px 44px 66px; }
.intro-title { grid-column: span 2; }
.eyebrow { margin: 0 0 16px; color: var(--muted); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.intro h1 { margin: 0; font-size: clamp(64px, 9vw, 126px); font-weight: 400; line-height: .82; letter-spacing: -.085em; }
.degree { display: inline-block; margin-left: 7px; font-size: .44em; font-weight: 300; vertical-align: top; }
.work-count { display: inline-block; margin-left: 10px; color: var(--muted); font-size: .22em; font-weight: 400; letter-spacing: 0; vertical-align: top; }
.intro .portfolio-title { font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6.2vw, 86px); font-style: italic; font-weight: 400; line-height: .82; letter-spacing: 0; }
.portfolio-title > span { display: block; white-space: nowrap; }
.intro-copy { grid-column: 3 / -1; align-self: end; width: 100%; max-width: 420px; padding-bottom: 6px; }
.intro-copy > p { margin: 0; font-size: 14px; line-height: 1.45; white-space: pre-line; }

.works-section { padding: 0 44px 90px; }
.section-heading { display: flex; align-items: end; justify-content: flex-end; gap: 24px; margin-bottom: 24px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { margin: 0; font-size: 20px; font-weight: 400; letter-spacing: -.04em; }
.section-heading sup { margin-left: 4px; color: var(--muted); font-size: 10px; vertical-align: top; }
.category-switcher { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-bottom: 15px; }
.category-switcher .filter-button { font-size: 18px; }
.view-switcher { display: flex; align-items: center; gap: 42px; padding-bottom: 3px; }
.view-button, .filter-button { border: 0; background: transparent; padding: 0; cursor: pointer; }
.view-button { color: #aaa9a5; font-size: 18px; letter-spacing: -.04em; transition: color .2s ease; }
.view-button.is-selected, .view-button:hover { color: var(--ink); }
.filter-button { color: #9c9c98; font-size: 18px; letter-spacing: -.04em; }
.filter-button.is-active { color: var(--ink); }
.filter-button.is-active::before { content: "· "; }
.works-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; transition: .3s ease; }
.work-card { min-width: 0; }
.work-card.is-hidden { display: none; }
.work-image { display: block; width: 100%; aspect-ratio: 1 / 1.08; overflow: hidden; border: 0; padding: 0; background: #e4e4e1; cursor: pointer; }
.work-image img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.83); transition: transform .55s cubic-bezier(.2,.75,.25,1), filter .3s ease; }
.work-card:hover .work-image img { transform: scale(1.045); filter: saturate(1); }
.work-meta { display: flex; justify-content: space-between; gap: 10px; padding: 9px 4px 18px; }
.work-meta h3, .work-meta p { margin: 0; font-size: 12px; font-weight: 400; }
.work-meta p { color: var(--muted); text-align: right; }

.works-grid[data-view="list"] { display: flex; flex-direction: column; gap: 0; }
.works-grid[data-view="list"] .work-card { display: grid; grid-template-columns: 160px 1fr; gap: 18px; border-top: 1px solid var(--line); padding: 14px 0; }
.works-grid[data-view="list"] .work-card:last-child { border-bottom: 1px solid var(--line); }
.works-grid[data-view="list"] .work-image { aspect-ratio: 1.5 / 1; }
.works-grid[data-view="list"] .work-meta { align-items: center; padding: 0; }
.works-grid[data-view="list"] .work-meta h3 { font-size: 15px; }
.works-grid[data-view="list"] .work-meta p { font-size: 12px; }
.works-grid[data-view="feed"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
.works-grid[data-view="feed"] .work-image { aspect-ratio: 1 / 1.22; }
.works-grid[data-view="feed"] .work-card:nth-child(2n) { margin-top: 60px; }
.works-grid[data-view="feed"] .work-meta { padding-bottom: 0; }
.works-grid[data-view="full"] { display: flex; flex-direction: column; gap: 52px; }
.works-grid[data-view="full"] .work-image { aspect-ratio: 1.85 / 1; }
.works-grid[data-view="full"] .work-meta { padding: 12px 0 0; }
.works-grid[data-view="full"] .work-meta h3 { font-size: 17px; }

.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; border-top: 1px solid var(--line); padding: 34px 44px 92px; }
.about-section h2 { margin: 0; font-size: clamp(34px, 4vw, 58px); font-weight: 400; line-height: .95; letter-spacing: -.07em; }
.about-section h2 em { color: #969691; font-style: normal; }
.about-copy { align-self: end; max-width: 320px; }
.about-copy > p { margin: 0 0 36px; font-size: 13px; line-height: 1.42; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; }
.text-link span { font-size: 15px; line-height: 1; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 17px 44px 24px; color: #858580; font-size: 10px; }
.site-footer a { color: var(--ink); }

.detail-dialog { width: calc(100% - 40px); height: calc(100vh - 40px); max-width: none; max-height: none; border: 0; padding: 0; background: var(--paper); color: var(--ink); box-shadow: 0 18px 80px rgba(0,0,0,.2); }
.detail-dialog::backdrop { background: rgba(20,20,20,.32); }
.detail-close { position: sticky; top: 18px; float: right; z-index: 2; width: 32px; height: 32px; margin: 18px 22px -50px 0; border: 0; background: var(--paper); font-size: 25px; font-weight: 200; line-height: 1; cursor: pointer; }
.detail-topbar { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 16px 38px; color: var(--muted); font-size: 10px; }
.topbar-close { border: 0; background: transparent; padding: 0; color: var(--muted); font: inherit; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: color .2s ease; }
.topbar-close:hover { color: var(--ink); }
.detail-longform { padding: 0 38px 52px; }
.detail-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 52px; padding: 74px 0 42px; }
.detail-intro h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(58px, 8vw, 100px); font-style: italic; font-weight: 400; line-height: .84; letter-spacing: -.06em; }
.detail-intro h2.is-long { font-size: 58px; line-height: .92; }
.detail-intro-copy { align-self: end; max-width: 380px; }
.detail-category { margin: 0 0 12px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.detail-intro-copy > p:not(.detail-category):not(.detail-meta-line) { margin: 0 0 18px; font-size: 14px; line-height: 1.5; white-space: pre-line; }
.detail-intro > p { align-self: end; max-width: 330px; margin: 0 0 4px; font-size: 14px; line-height: 1.5; }
.detail-meta-line { margin: 0; color: #4f4f4c; font-size: 11px; line-height: 1.7; }
.detail-brief, .detail-scope { display: grid; grid-template-columns: 1.2fr 1fr; gap: 52px; border-top: 1px solid var(--line); padding: 32px 0; }
.detail-scope { padding-bottom: 52px; }
.detail-scope[hidden] { display: none; }
.detail-section-label { color: #c33a2f; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.detail-scope .detail-section-label { color: var(--ink); }
.detail-brief p { max-width: 640px; margin: 0; font-size: 15px; line-height: 1.75; white-space: pre-line; }
.detail-scope-list { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.detail-scope-pill { display: inline-flex; align-items: center; min-height: 34px; border: 1px solid var(--ink); border-radius: 999px; padding: 0 16px; background: var(--paper); color: var(--ink); font-size: 13px; line-height: 1; white-space: nowrap; }
.detail-gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin: 0 -38px; }
.detail-gallery figure { width: 100%; margin: 0; overflow: hidden; background: #e4e4e1; }
.detail-gallery img { display: block; width: 100%; height: auto; }
.detail-video { display: block; grid-column: 1 / -1; width: 100%; max-height: 75vh; background: #000; }
.other-projects { border-top: 1px solid var(--line); padding: 28px 0 52px; }
.other-projects-heading .eyebrow { margin-bottom: 16px; }
.other-projects-grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 6px) / 4); gap: 2px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.other-project-card { display: block; min-width: 0; border: 0; padding: 0; background: transparent; text-align: left; cursor: pointer; }
.other-project-card img { display: block; width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; filter: saturate(.82); transition: filter .25s ease, transform .35s ease; }
.other-project-card:hover img { filter: saturate(1); transform: scale(1.02); }
.other-project-card span { display: block; padding-top: 8px; font-size: 11px; }
.detail-footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: 11px; }
.detail-footer a { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

/* Independent content pages */
.content-page .site-shell { overflow: hidden; }

/* ── 统一两栏布局：所有内容页面的左右分栏都用这个标准 ── */
.page-hero,
.built-section,
.vibe-statement,
.resume-statement,
.vibe-capabilities,
.about-personal,
.about-history {
  display: grid;
  grid-template-columns: var(--site-grid);
  gap: var(--site-grid-gap);
}
.page-hero > :first-child,
.built-section > :first-child,
.vibe-statement > :first-child,
.resume-statement > :first-child,
.vibe-capabilities > :first-child,
.about-personal > :first-child,
.about-history > :first-child { grid-column: span 2; }
.page-hero > :nth-child(2),
.built-section > :nth-child(2),
.vibe-statement > :nth-child(2),
.resume-statement > :nth-child(2),
.vibe-capabilities > :nth-child(2),
.about-personal > :nth-child(2),
.about-history > :nth-child(2) { grid-column: 3 / -1; }
.page-hero { align-items: end; padding: 76px 44px 66px; }
.built-section,
.vibe-statement,
.vibe-capabilities,
.about-history { border-top: 1px solid var(--line); padding: 34px 44px 100px; }
.about-personal { border-top: none; padding: 76px 44px 0; }
.resume-statement { border-top: 1px solid var(--line); padding: 34px 44px 100px; }
.page-hero-title h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 76px; font-style: italic; font-weight: 400; line-height: .9; letter-spacing: 0; }
.page-hero-title h1 em { color: #92928d; font-style: inherit; }
.page-hero-copy { justify-self: start; padding-bottom: 6px; }
.page-hero-copy > p { margin: 0 0 36px; font-size: 14px; line-height: 1.55; }
.section-index { margin: 0; color: var(--muted); font-size: 10px; letter-spacing: 0; text-transform: uppercase; }

.practice-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2px; padding: 0 44px 92px; }
.practice-image { aspect-ratio: 1 / 1.08; margin: 0; overflow: hidden; background: #e2e2df; }
.practice-image-wide { aspect-ratio: 2 / 1.08; }
.practice-image img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }

.practice-statement { display: grid; grid-template-columns: .55fr 1.2fr .8fr; gap: 52px; border-top: 1px solid var(--line); padding: 34px 44px 110px; }
.practice-statement h2, .vibe-statement h2 { margin: 0; font-size: 52px; font-weight: 400; line-height: .98; letter-spacing: 0; }
.practice-statement h2 em, .vibe-statement h2 em { color: #969691; font-style: normal; }
.practice-statement > p:last-child { align-self: end; margin: 0; font-size: 13px; line-height: 1.55; }

.capability-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; border-top: 1px solid var(--line); padding: 34px 44px 100px; }
.section-lead h2 { margin: 48px 0 0; font-size: 38px; font-weight: 400; line-height: 1.05; letter-spacing: 0; }
.capability-list { border-top: 1px solid var(--ink); }
.capability-list article { display: grid; grid-template-columns: 42px 1fr 1.25fr; align-items: baseline; gap: 20px; border-bottom: 1px solid var(--line); padding: 18px 0 22px; }
.capability-list span { color: var(--muted); font-size: 10px; }
.capability-list h3, .capability-list p { margin: 0; font-size: 13px; font-weight: 400; line-height: 1.45; }
.capability-list p { color: #666662; }

.approach-section, .workflow-section { border-top: 1px solid var(--line); padding: 34px 44px 110px; }
.approach-steps, .workflow-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin-top: 62px; }
.approach-steps article, .workflow-list article { min-height: 230px; border-top: 1px solid var(--ink); padding: 18px 30px 0 0; }
.approach-steps span { font-family: Georgia, "Times New Roman", serif; font-size: 42px; font-style: italic; }
.approach-steps p, .workflow-list p { max-width: 270px; margin: 72px 0 0; color: #62625e; font-size: 12px; line-height: 1.55; }

.contact-band { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; border-top: 1px solid var(--ink); padding: 36px 44px 40px; }
.contact-band p { margin: 0; color: var(--muted); font-size: 11px; }
.contact-band a { font-family: Georgia, "Times New Roman", serif; font-size: 40px; font-style: italic; }
.contact-band a span { font-family: Arial, Helvetica, sans-serif; font-size: 22px; font-style: normal; }

.vibe-title-wrap h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 76px; font-style: italic; font-weight: 400; line-height: .92; letter-spacing: 0; }
.vibe-title-wrap h1 span { display: block; white-space: nowrap; }
.built-section .section-lead h2 { margin-top: 0; }
.built-projects { display: grid; align-self: start; }
.built-project { display: grid; grid-template-columns: 140px minmax(150px, 1fr); align-items: center; gap: 22px; min-height: 140px; border: 0; border-bottom: 1px solid var(--line); padding: 14px 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.built-project figure { aspect-ratio: 1.44 / 1; margin: 0; overflow: hidden; background: #e1e1de; }
.built-project img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(.8); transition: filter .25s ease, transform .45s ease; }
.built-project:hover img { filter: saturate(1); transform: scale(1.015); }
.built-project > div { min-width: 0; }
.built-project h3 { margin: 0 0 10px; font-size: 19px; font-weight: 400; }
.built-project p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

/* Vibe Coding detail chapters inside dialog */
.detail-chapter { border-top: 1px solid var(--line); padding: 40px 44px 60px; }
.detail-chapter h3 { margin: 0 0 18px; font-size: 24px; font-weight: 400; letter-spacing: -.02em; }
.detail-chapter p { max-width: 640px; margin: 0; font-size: 15px; line-height: 1.65; color: #444440; }

.vibe-statement .section-lead h2, .resume-statement .section-lead h2 { margin: 0; font-size: 38px; line-height: 1.05; }
.method-copy { max-width: 520px; padding-top: 0; }
.method-copy p { max-width: 440px; margin: 0 0 30px; font-size: 13px; line-height: 1.6; }

.workflow-list article > span { color: var(--muted); font-size: 10px; }
.workflow-list h3 { margin: 42px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 40px; font-style: italic; font-weight: 400; }
.workflow-list p { margin-top: 48px; }
.vibe-capabilities h2 { margin: 48px 0 0; font-size: 38px; font-weight: 400; line-height: 1.05; }
.vibe-capabilities ul { margin: 0; border-top: 1px solid var(--ink); padding: 0; list-style: none; }
.vibe-capabilities li { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding: 18px 0 22px; font-size: 14px; }
.vibe-capabilities li b { color: var(--muted); font-size: 10px; font-weight: 400; }

/* About page */
.resume-page { background: var(--paper); }
.resume-section-label { margin: 0 0 34px; color: var(--muted); font-size: 10px; letter-spacing: 0; text-transform: uppercase; }
.about-personal { border-top: 0; padding-top: 76px; }
.about-section-title h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 76px; font-style: italic; font-weight: 400; line-height: .92; letter-spacing: 0; }
.about-section-title h2 { margin: 0; font-size: 38px; font-weight: 400; line-height: 1.05; letter-spacing: 0; }
.personal-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-self: end; gap: 64px; padding-bottom: 10px; }
.resume-identity { display: grid; gap: 34px; }
.resume-identity p { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.35; }
.resume-identity p + p { margin-top: 12px; }
.resume-identity-en p { font-size: 15px; font-weight: 400; }
.preserve-lines { white-space: pre-line; }
.resume-contact { display: grid; align-content: end; font-size: 14px; font-style: normal; line-height: 1.6; word-break: break-all; }
.resume-contact a { min-width: 0; }
.resume-contact p { margin: 0; }
.experience-list, .award-list { display: grid; align-self: start; border-top: 1px solid var(--ink); }
.experience-list article, .award-list article { max-width: none; border-bottom: 1px solid var(--line); padding: 18px 0 24px; }
.experience-list h3, .award-list h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin: 0; font-size: 17px; font-weight: 600; }
.experience-list time, .award-list time { color: var(--muted); font-size: 12px; font-style: italic; font-weight: 400; }
.experience-list h4, .award-list h4 { margin: 8px 0 10px; color: #747470; font-size: 14px; font-weight: 400; }
.experience-list p, .award-list p { max-width: 720px; margin: 0; color: #777773; font-size: 12px; line-height: 1.6; white-space: pre-line; }
.award-list:empty::after { border-bottom: 1px solid var(--line); padding: 18px 0 24px; color: var(--muted); font-size: 20px; content: "—"; }
.resume-statement { background: var(--paper); color: var(--ink); }
.resume-statement h2 { margin: 0; font-weight: 400; letter-spacing: 0; }
.resume-statement h2 em { color: #969691; font-style: normal; }
.resume-work { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2px; padding: 0 44px 100px; background: var(--paper); }
.resume-work figure { aspect-ratio: 1 / 1.05; margin: 0; overflow: hidden; background: #e1e1de; }
.resume-work figure:first-child { aspect-ratio: 2 / 1.05; }
.resume-work img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }

/* Vibe Coding project detail */
.vibe-project-hero { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; min-height: 520px; padding: 96px 44px 70px; }
.vibe-project-title { display: flex; flex-direction: column; align-items: flex-start; }
.project-back { margin-bottom: 54px; font-size: 11px; }
.vibe-project-title h1 { max-width: 620px; margin: auto 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(58px, 7vw, 104px); font-style: italic; font-weight: 400; line-height: .88; letter-spacing: 0; }
.vibe-project-intro { align-self: end; max-width: 520px; }
.vibe-project-intro p { margin: 0 0 28px; font-size: 20px; line-height: 1.35; }
.vibe-project-intro span { color: var(--muted); font-size: 10px; }
.vibe-project-cover { margin: 0 44px 104px; overflow: hidden; background: #e1e1de; }
.vibe-project-cover img { display: block; width: 100%; height: auto; }
.vibe-project-overview { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; border-top: 1px solid var(--line); padding: 34px 44px 108px; }
.vibe-project-overview > p { max-width: 620px; margin: 58px 0 0; font-size: 16px; line-height: 1.65; }
.vibe-project-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; border-top: 1px solid var(--line); padding: 34px 44px 112px; }
.vibe-project-details article { min-height: 250px; border-top: 1px solid var(--ink); padding: 16px 34px 0 0; }
.vibe-project-details article > p:last-child { max-width: 350px; margin: 74px 0 0; color: #5f5f5b; font-size: 13px; line-height: 1.65; }
.project-navigation { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: end; border-top: 1px solid var(--ink); padding: 34px 44px 56px; }
.project-external { justify-self: start; border-bottom: 1px solid var(--ink); padding-bottom: 4px; font-size: 12px; }
.project-next { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; }
.project-next span { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }
.project-next strong { font-family: Georgia, "Times New Roman", serif; font-size: 38px; font-style: italic; font-weight: 400; line-height: 1; }
.project-next b { font-size: 24px; font-weight: 400; }

@media (max-width: 760px) {
  .site-shell { width: 100%; margin: 0 auto; }
  .site-header { grid-template-columns: 1fr auto; padding: 16px 20px; }
  .studio-label, .primary-nav, .contact-link { display: none; }
  .menu-button { display: flex; flex-direction: column; gap: 4px; justify-self: end; }
  .menu-button span { display: block; width: 20px; height: 1px; background: var(--ink); }
  .site-header.menu-open .primary-nav, .site-header.menu-open .contact-link { display: block; grid-column: 1 / -1; justify-self: start; }
  .site-header.menu-open .primary-nav { display: flex; padding-top: 10px; }
  .site-header.menu-open .contact-link { padding-bottom: 4px; }
  .intro { grid-template-columns: 1fr; gap: 34px; padding: 58px 20px 48px; }
  .intro-title, .intro-copy { grid-column: auto; }
  .intro-copy { max-width: 280px; margin-left: 0; }
  .works-section { padding: 0 20px 66px; }
  .section-heading { display: block; }
  .view-switcher { justify-content: space-between; gap: 12px; margin-top: 24px; padding-bottom: 0; }
  .view-button, .category-switcher .filter-button { font-size: 18px; letter-spacing: -.04em; }
  .category-switcher { justify-content: flex-start; margin: 0 0 15px; padding-bottom: 0; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-meta { display: block; padding-bottom: 15px; }
  .work-meta p { margin-top: 4px; text-align: left; }
  .works-grid[data-view="list"] .work-card { grid-template-columns: 92px 1fr; gap: 12px; }
  .works-grid[data-view="list"] .work-meta h3 { font-size: 13px; }
  .works-grid[data-view="list"] .work-meta p { font-size: 12px; }
  .works-grid[data-view="feed"] { gap: 20px 8px; }
  .works-grid[data-view="feed"] .work-card:nth-child(2n) { margin-top: 35px; }
  .about-section { grid-template-columns: 1fr; gap: 34px; padding: 27px 20px 64px; }
  .about-copy { max-width: 280px; }
  .site-footer { flex-wrap: wrap; padding: 16px 20px 22px; }
  .site-footer span:nth-child(2) { order: 3; width: 100%; }
  .dialog-image img { height: 250px; }
  .dialog-content { padding: 24px 24px 28px; }
  .detail-dialog { width: calc(100% - 20px); height: calc(100vh - 20px); }
  .detail-topbar { padding: 14px 20px; }
  .detail-longform { padding: 0 20px 36px; }
  .detail-intro { grid-template-columns: 1fr; gap: 30px; padding: 54px 0 42px; }
  .detail-intro h2.is-long { font-size: 44px; }
  .detail-intro-copy { max-width: none; }
  .detail-brief, .detail-scope { grid-template-columns: 1fr; gap: 18px; padding: 30px 0; }
  .detail-scope { padding-bottom: 42px; }
  .detail-scope-list { gap: 8px; }
  .detail-scope-pill { min-height: 32px; padding: 0 13px; font-size: 12px; }
  .detail-gallery { grid-template-columns: 1fr; margin: 0 -20px; }
  .other-projects-grid { grid-auto-columns: 72%; gap: 8px; }
  .detail-footer { display: block; }
  .detail-footer a { display: inline-block; margin-top: 20px; }

  .page-hero { grid-template-columns: 1fr; align-items: start; gap: 46px; min-height: 0; padding: 70px 20px 56px; }
  .page-hero > :first-child, .page-hero > :nth-child(2),
  .built-section > :first-child, .built-section > :nth-child(2),
  .vibe-statement > :first-child, .vibe-statement > :nth-child(2),
  .resume-statement > :first-child, .resume-statement > :nth-child(2),
  .vibe-capabilities > :first-child, .vibe-capabilities > :nth-child(2),
  .about-personal > :first-child, .about-personal > :nth-child(2),
  .about-history > :first-child, .about-history > :nth-child(2) { grid-column: auto; }
  .page-hero-title h1 { font-size: 48px; line-height: .94; }
  .page-hero-copy { width: 100%; max-width: 310px; }
  .practice-gallery { grid-template-columns: 1.4fr 1fr; padding: 0 20px 66px; }
  .practice-image-wide { grid-column: 1 / -1; aspect-ratio: 1.55 / 1; }
  .practice-image { aspect-ratio: 1 / 1.12; }
  .practice-statement, .vibe-statement { grid-template-columns: 1fr; gap: 36px; padding: 26px 20px 72px; }
  .practice-statement h2, .vibe-statement h2 { font-size: 38px; }
  .practice-statement > p:last-child { max-width: 310px; }
  .capability-section, .built-section, .vibe-capabilities { grid-template-columns: 1fr; gap: 54px; padding: 26px 20px 76px; }
  .section-lead h2, .vibe-capabilities h2 { margin-top: 34px; font-size: 32px; }
  .capability-list article { grid-template-columns: 30px 1fr; gap: 10px; }
  .capability-list article p { grid-column: 2; }
  .approach-section, .workflow-section { padding: 26px 20px 72px; }
  .approach-steps, .workflow-list { grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
  .approach-steps article, .workflow-list article { min-height: 0; padding-right: 0; }
  .approach-steps p, .workflow-list p { margin-top: 42px; }
  .contact-band { grid-template-columns: 1fr; gap: 34px; padding: 28px 20px 32px; }
  .contact-band a { font-size: 32px; line-height: 1.05; }
  .vibe-hero { min-height: 0; padding-top: 70px; }
  .vibe-title-wrap h1 { font-size: 48px; line-height: .94; }
  .built-section { padding-top: 26px; }
  .built-project { grid-template-columns: 78px 1fr; gap: 12px; min-height: 92px; padding: 10px 0; }
  .built-project figure { aspect-ratio: 1.25 / 1; }
  .built-project h3 { margin-bottom: 6px; font-size: 15px; }
  .method-copy { max-width: 310px; padding-top: 0; }
  .workflow-list h3 { margin-top: 30px; }
  .vibe-capabilities li { font-size: 13px; }

  .about-personal, .about-history { grid-template-columns: 1fr; gap: 54px; min-height: 0; padding: 28px 20px 72px; }
  .about-personal { padding-top: 70px; }
  .about-section-title h1 { font-size: 50px; }
  .about-section-title h2 { font-size: 32px; }
  .resume-section-label { margin-bottom: 26px; }
  .personal-details { grid-template-columns: 1fr; gap: 44px; padding-bottom: 0; }
  .resume-identity p { font-size: 17px; }
  .resume-identity-en p, .resume-contact { font-size: 14px; }
  .experience-list, .award-list { gap: 0; }
  .experience-list h3 { font-size: 17px; }
  .experience-list h4 { font-size: 15px; }
  .experience-list p { font-size: 12px; }
  .award-list h3 { font-size: 17px; }
  .award-list h4 { font-size: 15px; }
  .award-list p { font-size: 12px; }
  .resume-statement { grid-template-columns: 1fr; gap: 36px; padding: 30px 20px 74px; }
  .vibe-statement .section-lead h2, .resume-statement .section-lead h2 { margin-top: 34px; font-size: 32px; }
  .resume-work { grid-template-columns: 1.4fr 1fr; padding: 0 20px 68px; }
  .resume-work figure:first-child { grid-column: 1 / -1; aspect-ratio: 1.55 / 1; }
  .resume-work figure { aspect-ratio: 1 / 1.12; }

  .vibe-project-hero { grid-template-columns: 1fr; gap: 48px; min-height: 0; padding: 70px 20px 54px; }
  .project-back { margin-bottom: 42px; }
  .vibe-project-title h1 { margin-top: 72px; font-size: 56px; }
  .vibe-project-intro { align-self: start; max-width: 330px; }
  .vibe-project-intro p { font-size: 17px; }
  .vibe-project-cover { margin: 0 20px 72px; }
  .vibe-project-overview { grid-template-columns: 1fr; gap: 34px; padding: 26px 20px 72px; }
  .vibe-project-overview > p { margin-top: 0; font-size: 14px; }
  .vibe-project-details { grid-template-columns: 1fr; gap: 40px; padding: 26px 20px 76px; }
  .vibe-project-details article { min-height: 0; padding-right: 0; }
  .vibe-project-details article > p:last-child { margin-top: 42px; }
  .project-navigation { grid-template-columns: 1fr; gap: 64px; padding: 28px 20px 38px; }
  .project-next strong { font-size: 30px; }
}
