:root {
  --blue: #1754d1;
  --blue-2: #0d3ca3;
  --ink: #101319;
  --muted: #5d6674;
  --line: #ccd3df;
  --soft-line: #e3e7ee;
  --paper: #f6f7fa;
  --white: #ffffff;
  --max: 1280px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img, video { display: block; max-width: 100%; }
section { scroll-margin-top: 84px; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; color: white; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding-inline: max(24px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid rgba(16, 19, 25, .16); background: rgba(246, 247, 250, .94); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; color: white; background: var(--blue); font-size: 14px; }
.brand-name { letter-spacing: .04em; }
.version-badge { padding: 1px 6px; border: 1px solid var(--blue); color: var(--blue); font: 700 10px/1.5 var(--mono); letter-spacing: .08em; }
#primary-navigation { display: flex; align-items: center; gap: 30px; }
.nav-link { position: relative; color: #525b68; font: 700 11px/1 var(--mono); letter-spacing: .14em; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -10px; height: 2px; background: var(--blue); transition: right .2s ease; }
.nav-link:hover, .nav-link:focus-visible, .nav-link.is-active { color: var(--blue); }
.nav-link.is-active::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; }

.section-index { display: flex; gap: 12px; color: var(--blue); font: 700 10px/1 var(--mono); letter-spacing: .16em; }
.section-index span:first-child::after { content: ""; display: inline-block; width: 22px; height: 1px; margin-left: 12px; vertical-align: middle; background: currentColor; }
.eyebrow, .meta, .gallery-caption > span, .global-summary + span { font-family: var(--mono); letter-spacing: .12em; }

.hero { padding-block: 50px 76px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .72fr); gap: clamp(56px, 8vw, 120px); align-items: center; padding-block: 48px 52px; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 11px; font-weight: 700; }
.hero h1 { margin: 0; font-size: clamp(48px, 6vw, 76px); line-height: .98; letter-spacing: -.06em; }
.role-line { margin: 18px 0 30px; color: var(--blue); font-size: clamp(18px, 2vw, 24px); font-weight: 750; }
.hero-intro { max-width: 760px; border-top: 1px solid var(--ink); padding-top: 18px; }
.hero-intro p { margin: 0 0 9px; color: #303844; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }
.profile-panel { border: 1px solid var(--line); background: var(--white); }
.portrait-placeholder { position: relative; display: flex; min-height: 250px; padding: 30px; flex-direction: column; justify-content: flex-end; overflow: hidden; color: white; background: var(--blue); }
.portrait-placeholder::after { content: ""; position: absolute; width: 280px; height: 1px; top: 28%; right: -78px; background: rgba(255,255,255,.35); transform: rotate(-46deg); }
.portrait-placeholder span { position: absolute; top: 24px; font: 700 10px/1 var(--mono); letter-spacing: .12em; }
.portrait-placeholder strong { font-size: 27px; }
.portrait-placeholder small { opacity: .8; }
.quick-facts { margin: 0; padding: 16px 26px 22px; }
.quick-facts div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--soft-line); }
.quick-facts div:last-child { border-bottom: 0; }
.quick-facts dt { color: var(--muted); font: 700 9px/1 var(--mono); letter-spacing: .12em; }
.quick-facts dd { margin: 0; font-weight: 750; }

.capability-nav { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.capability-nav a { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; min-height: 76px; padding: 18px 20px; border-right: 1px solid var(--line); transition: color .2s ease, background .2s ease; }
.capability-nav a:last-child { border-right: 0; }
.capability-nav span { color: var(--blue); font: 700 10px/1 var(--mono); }
.capability-nav i { color: var(--blue); font-style: normal; }
.capability-nav a:hover, .capability-nav a:focus-visible { color: white; background: var(--blue); outline: none; }
.capability-nav a:hover span, .capability-nav a:hover i, .capability-nav a:focus-visible span, .capability-nav a:focus-visible i { color: white; }

.section-heading { display: grid; grid-template-columns: minmax(180px, .45fr) 1fr; gap: 40px; align-items: start; margin-bottom: 44px; padding-top: 90px; border-top: 1px solid var(--ink); }
.section-heading h2 { margin: -12px 0 8px; font-size: clamp(38px, 5vw, 58px); line-height: 1.08; letter-spacing: -.05em; }
.section-heading p { max-width: 650px; margin: 0; color: var(--muted); font-size: 17px; }

.project-list { border-top: 1px solid var(--line); }
.project-row { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); min-height: 430px; border: solid var(--line); border-width: 0 1px 1px; background: var(--white); }
.project-row-reverse .project-visual { order: 2; }
.project-visual { position: relative; min-height: 390px; overflow: hidden; border-right: 1px solid var(--line); background: #e9eef8; }
.project-row-reverse .project-visual { border-right: 0; border-left: 1px solid var(--line); }
.project-copy { display: flex; padding: clamp(34px, 5vw, 66px); flex-direction: column; justify-content: center; }
.meta { display: flex; justify-content: space-between; margin-bottom: 26px; color: var(--blue); font-size: 9px; font-weight: 700; }
.project-copy h3 { margin: 0 0 20px; font-size: clamp(29px, 3.4vw, 42px); line-height: 1.15; letter-spacing: -.04em; }
.project-copy > p { margin: 0 0 24px; color: #47505d; }
.evidence-line { margin: 0; border-top: 1px solid var(--line); }
.evidence-line div { display: grid; grid-template-columns: 58px 1fr; padding: 9px 0; border-bottom: 1px solid var(--soft-line); }
.evidence-line dt { color: var(--blue); font: 700 9px/1.8 var(--mono); letter-spacing: .08em; }
.evidence-line dd { margin: 0; font-size: 14px; }
.pending-link { margin-top: 20px; color: var(--blue); font: 700 11px/1.5 var(--mono); }
.website-visual { padding: clamp(28px, 4vw, 52px); }
.browser-top { display: flex; gap: 6px; align-items: center; height: 35px; padding: 0 13px; background: white; border-bottom: 1px solid var(--soft-line); }
.browser-top i { width: 5px; height: 5px; border-radius: 50%; background: #b7c0d0; }
.browser-top span { margin-left: auto; color: var(--muted); font: 700 8px/1 var(--mono); }
.browser-body { display: flex; min-height: 250px; padding: 36px; flex-direction: column; justify-content: center; background: white; box-shadow: 0 20px 35px rgba(26,48,91,.09); }
.browser-body small { color: var(--blue); font: 700 9px/1 var(--mono); letter-spacing: .12em; }
.browser-body strong { margin: 22px 0; font-size: clamp(29px, 3vw, 42px); line-height: 1.05; }
.wire-line { display: block; width: 74%; height: 4px; margin-top: 7px; background: #d7dce5; }
.wire-line.short { width: 52%; }
.project-visual > p { position: absolute; right: 18px; bottom: 12px; margin: 0; color: var(--muted); font-size: 10px; }
.video-visual { display: grid; place-items: center; color: white; background: var(--ink); }
.video-visual video, .ai-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.video-placeholder { display: flex; flex-direction: column; align-items: center; }
.video-placeholder span { color: #7ca2ff; font: 700 10px/1 var(--mono); }
.video-placeholder strong { margin: 12px 0 4px; font-size: 34px; }
.video-placeholder small { color: #aeb6c6; }
.media-visual { display: flex; padding: 52px; flex-direction: column; justify-content: center; background: repeating-linear-gradient(-45deg, #fff 0, #fff 13px, #e9eef7 13px, #e9eef7 23px); }
.media-visual > span { color: var(--blue); font: 700 10px/1 var(--mono); letter-spacing: .1em; }
.media-visual > strong { margin: 15px 0 5px; font-size: 34px; }
.media-band { position: absolute; right: 0; bottom: 0; left: 0; padding: 12px 18px; color: white; background: var(--blue); font: 700 9px/1 var(--mono); letter-spacing: .1em; }

.content-section { margin-top: 110px; padding-bottom: 100px; background: white; }
.media-gallery { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.gallery-item { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 320px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gallery-feature { grid-column: 1 / -1; min-height: 390px; }
.gallery-feature .gallery-visual { min-height: 390px; }
.gallery-visual { display: flex; min-height: 320px; padding: 34px; flex-direction: column; justify-content: center; position: relative; overflow: hidden; background: #e9eef8; }
.gallery-visual > span:not(.sheet), .gallery-visual small { color: var(--blue); font: 700 9px/1.4 var(--mono); letter-spacing: .1em; }
.gallery-visual > strong { margin: 12px 0 4px; font-size: 28px; }
.gallery-caption { display: flex; padding: 32px; flex-direction: column; justify-content: center; }
.gallery-caption > span { color: var(--blue); font-size: 9px; font-weight: 700; }
.gallery-caption h3 { margin: 12px 0 10px; font-size: 24px; line-height: 1.15; }
.gallery-caption p { margin: 0; color: var(--muted); font-size: 14px; }
.brochure-visual { align-items: center; }
.sheet { position: absolute; width: 210px; height: 275px; border: 1px solid #cbd2df; background: white; box-shadow: 0 18px 35px rgba(32,57,103,.1); }
.sheet-back { transform: translate(28px, -8px) rotate(6deg); background: #c6d4f4; }
.sheet-front { display: flex; padding: 26px; flex-direction: column; justify-content: center; transform: translate(-16px, 8px) rotate(-3deg); }
.sheet-front small { position: absolute; top: 22px; }
.sheet-front strong { font-size: 25px; }
.sheet-front i { position: absolute; bottom: 22px; font-size: 10px; font-style: normal; }
.technical-visual { color: white; background: var(--ink); }
.technical-visual span, .technical-visual small { color: #8baeff !important; }
.series-visual { background: repeating-linear-gradient(90deg, #eaf0fb 0, #eaf0fb 1px, #fff 1px, #fff 28px); }

.global-section { padding-bottom: 110px; }
.global-summary { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: end; padding: 28px 0; border-block: 1px solid var(--line); }
.global-summary p { margin: 0; color: var(--muted); }
.global-summary p:first-child { display: flex; flex-direction: column; color: var(--ink); }
.global-summary strong { font-size: 26px; }
.global-summary b { color: var(--blue); font-size: 26px; }
.social-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.social-gallery article { background: white; border: 1px solid var(--line); }
.social-gallery article > p { margin: 0; padding: 13px 16px; font-weight: 700; font-size: 13px; }
.post-placeholder { display: flex; min-height: 260px; padding: 28px; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; color: white; background: var(--blue); }
.post-placeholder::before { content: ""; position: absolute; width: 180px; height: 180px; top: -55px; right: -48px; border: 35px solid rgba(255,255,255,.14); transform: rotate(18deg); }
.post-placeholder span { position: absolute; top: 22px; font: 700 9px/1 var(--mono); letter-spacing: .1em; }
.post-placeholder strong { font-size: 28px; line-height: 1.08; }
.post-placeholder small { opacity: .75; }
.tech-post { color: var(--ink); background: #dbe5fb; }
.tech-post::before { border-color: rgba(23,84,209,.16); }
.brand-post { background: var(--blue-2); }
.evidence-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.exhibition-block { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; margin-top: 80px; padding-top: 30px; border-top: 1px solid var(--ink); }
.exhibition-block > div > span { color: var(--blue); font: 700 10px/1 var(--mono); letter-spacing: .12em; }
.exhibition-block h3 { margin: 14px 0 8px; font-size: 29px; line-height: 1.15; }
.exhibition-block p { margin: 0; color: var(--muted); font-size: 14px; }
.exhibition-line { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; }
.exhibition-line li { position: relative; display: flex; min-height: 150px; padding: 0 16px; flex-direction: column; border-left: 1px solid var(--line); }
.exhibition-line li::before { content: ""; position: absolute; top: 24px; left: -4px; width: 7px; height: 7px; background: var(--blue); }
.exhibition-line b { color: var(--blue); font: 700 10px/1 var(--mono); }
.exhibition-line strong { margin-top: 28px; font-size: 14px; }
.exhibition-line span { color: var(--muted); font-size: 12px; }

.ai-section { padding-bottom: 105px; background: white; }
.prototype-note { display: grid; grid-template-columns: 10px auto 1fr; gap: 14px; align-items: center; padding: 16px 0; border-block: 1px solid var(--line); }
.prototype-note > span { width: 8px; height: 8px; background: var(--blue); }
.prototype-note strong { color: var(--blue); font: 700 11px/1 var(--mono); letter-spacing: .08em; }
.prototype-note p { margin: 0; color: var(--muted); font-size: 13px; }
.ai-project { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; min-height: 430px; padding: 54px 0; border-bottom: 1px solid var(--line); }
.ai-copy > span { color: var(--blue); font: 700 10px/1 var(--mono); letter-spacing: .12em; }
.ai-copy h3 { margin: 16px 0 15px; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.12; }
.ai-copy p { color: var(--muted); }
.ai-copy ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px 20px; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.ai-copy li { font-size: 13px; }
.ai-copy li::before { content: "+"; margin-right: 8px; color: var(--blue); }
.ai-copy em { color: var(--blue); font: normal 700 11px/1.4 var(--mono); }
.dashboard-placeholder { display: grid; grid-template-columns: 140px 1fr; min-height: 340px; border: 1px solid var(--line); background: #f0f3f8; box-shadow: 12px 12px 0 #dbe5fb; }
.dashboard-placeholder header { display: flex; padding: 24px; flex-direction: column; gap: 18px; color: white; background: var(--blue); }
.dashboard-placeholder header span { font: 700 10px/1 var(--mono); }
.dashboard-placeholder header i { width: 70%; height: 5px; background: rgba(255,255,255,.35); }
.dashboard-placeholder main { display: flex; padding: 34px; flex-direction: column; justify-content: center; }
.dashboard-placeholder main > small { color: var(--blue); font: 700 9px/1 var(--mono); }
.dashboard-placeholder main > strong { margin: 10px 0 28px; font-size: 25px; }
.bars { display: flex; height: 95px; gap: 12px; align-items: flex-end; border-bottom: 1px solid var(--line); }
.bars i { width: 12%; background: var(--blue); }
.bars i:nth-child(1) { height: 35%; }.bars i:nth-child(2) { height: 56%; }.bars i:nth-child(3) { height: 44%; }.bars i:nth-child(4) { height: 82%; }.bars i:nth-child(5) { height: 68%; }
.dashboard-placeholder footer { display: flex; gap: 8px; margin-top: 24px; }
.dashboard-placeholder footer span { padding: 7px 9px; border: 1px solid var(--line); font-size: 10px; }
.ai-project-video { grid-template-columns: 1fr 1fr; }
.inline-process { padding-top: 15px; border-top: 1px solid var(--line); color: var(--ink) !important; font: 700 12px/1.6 var(--mono); }
.ai-video { position: relative; display: grid; min-height: 330px; place-items: center; color: white; background: var(--ink); }
.ai-video > div { display: flex; flex-direction: column; align-items: center; }
.ai-video span { color: #8aaaff; font: 700 10px/1 var(--mono); }
.ai-video strong { margin: 12px 0 4px; font-size: 30px; }
.ai-video small { color: #aeb6c6; }

.prompts-section { padding-bottom: 110px; }
.disclosure-toolbar { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.disclosure-toolbar button { padding: 7px 12px; border: 1px solid var(--line); background: transparent; font-size: 12px; cursor: pointer; }
.disclosure-toolbar button:hover, .disclosure-toolbar button:focus-visible { color: white; background: var(--blue); border-color: var(--blue); }
.workflow-list { border-top: 1px solid var(--ink); }
.workflow-list details { border-bottom: 1px solid var(--line); }
.workflow-list summary { display: grid; grid-template-columns: 42px 1fr 24px; gap: 16px; align-items: center; padding: 23px 0; cursor: pointer; list-style: none; }
.workflow-list summary::-webkit-details-marker { display: none; }
.workflow-list summary > span { color: var(--blue); font: 700 11px/1 var(--mono); }
.workflow-list summary div { display: flex; flex-direction: column; }
.workflow-list summary strong { font-size: 19px; }
.workflow-list summary small { color: var(--muted); }
.workflow-list summary i::before, .workflow-list summary i::after { content: ""; display: block; width: 15px; height: 1px; background: var(--ink); }
.workflow-list summary i::after { transform: rotate(90deg); }
.workflow-list details[open] summary i::after { transform: rotate(0); }
.workflow-list ol { margin: 0 0 28px 58px; padding: 0 0 0 20px; border-left: 1px solid var(--line); list-style: none; }
.workflow-list li { display: grid; grid-template-columns: 78px 1fr; gap: 16px; padding: 9px 0; }
.workflow-list li b { color: var(--blue); font: 700 10px/1.8 var(--mono); }
.workflow-list li p { margin: 0; color: var(--muted); font-size: 14px; }
.workflow-list li strong { color: var(--ink); }

.contact-section { padding-bottom: 90px; background: white; }
.contact-heading { margin-bottom: 24px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; border-top: 1px solid var(--ink); }
.contact-list > * { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; width: 100%; min-height: 64px; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.contact-list > button { cursor: pointer; }
.contact-list span { color: var(--blue); font: 700 9px/1 var(--mono); letter-spacing: .1em; }
.contact-list i { font-style: normal; }
.copy-status { min-height: 28px !important; margin: 0; color: var(--blue); font-size: 12px; }
.resume-note { display: flex; padding: 28px 0; flex-direction: column; }
.resume-note > span { color: var(--blue); font: 700 10px/1 var(--mono); letter-spacing: .12em; }
.resume-note > strong { margin-top: 18px; font-size: 23px; }
.resume-note p { color: var(--muted); }
.site-footer { color: #c9d1df; background: var(--ink); }
.site-footer .section-shell { display: flex; justify-content: space-between; padding-block: 22px; font: 700 9px/1.3 var(--mono); letter-spacing: .1em; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr .65fr; gap: 36px; }
  .capability-nav { grid-template-columns: repeat(2, 1fr); }
  .capability-nav a:nth-child(2) { border-right: 0; }
  .capability-nav a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .project-row { grid-template-columns: 1fr; }
  .project-row-reverse .project-visual { order: 0; }
  .project-visual, .project-row-reverse .project-visual { border: 0; border-bottom: 1px solid var(--line); }
  .gallery-item { grid-template-columns: 1fr; }
  .gallery-feature { grid-column: auto; }
  .media-gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-feature .gallery-visual { min-height: 320px; }
  .global-summary, .exhibition-block { grid-template-columns: 1fr; gap: 30px; }
  .exhibition-line { grid-template-columns: repeat(5, minmax(110px, 1fr)); overflow-x: auto; }
  .ai-project { gap: 32px; }
  .dashboard-placeholder { grid-template-columns: 100px 1fr; }
}

@media (max-width: 720px) {
  .section-shell { width: min(calc(100% - 32px), var(--max)); }
  .site-header { min-height: 60px; padding-inline: 16px; }
  .brand-name { display: none; }
  .menu-toggle { display: flex; align-items: center; gap: 9px; padding: 10px 0; cursor: pointer; font: 700 10px/1 var(--mono); }
  .menu-icon, .menu-icon::before { display: block; width: 18px; height: 1px; background: var(--ink); }
  .menu-icon::before { content: ""; transform: translateY(-5px); }
  #primary-navigation { position: absolute; top: 60px; right: 0; left: 0; display: none; padding: 18px 16px 22px; flex-direction: column; align-items: flex-start; gap: 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
  #primary-navigation.is-open { display: flex; }
  .hero { padding-block: 32px 56px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 34px; }
  .hero h1 { font-size: 52px; }
  .profile-panel { max-width: 390px; }
  .capability-nav { grid-template-columns: 1fr; }
  .capability-nav a { border-right: 0; border-bottom: 1px solid var(--line); }
  .capability-nav a:last-child { border-bottom: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; padding-top: 64px; }
  .section-heading h2 { margin: 0; font-size: 40px; }
  .project-copy { padding: 32px 24px; }
  .project-visual { min-height: 320px; }
  .media-gallery, .social-gallery { grid-template-columns: 1fr; }
  .gallery-item, .gallery-feature { grid-template-columns: 1fr; min-height: 0; }
  .gallery-visual, .gallery-feature .gallery-visual { min-height: 280px; }
  .global-summary { align-items: start; }
  .post-placeholder { min-height: 230px; }
  .prototype-note { grid-template-columns: 10px 1fr; }
  .prototype-note p { grid-column: 2; }
  .ai-project, .ai-project-video { grid-template-columns: 1fr; }
  .dashboard-placeholder { min-height: 300px; }
  .workflow-list summary { grid-template-columns: 32px 1fr 18px; }
  .workflow-list summary strong { font-size: 16px; }
  .workflow-list ol { margin-left: 32px; }
  .workflow-list li { grid-template-columns: 1fr; gap: 2px; }
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 46px; }
  .role-line { font-size: 17px; }
  .hero-intro p { font-size: 15px; }
  .portrait-placeholder { min-height: 220px; }
  .project-copy h3 { font-size: 28px; }
  .website-visual { padding: 22px; }
  .browser-body { min-height: 220px; padding: 24px; }
  .media-visual { padding: 30px; }
  .dashboard-placeholder { grid-template-columns: 70px 1fr; }
  .dashboard-placeholder header { padding: 15px; }
  .dashboard-placeholder header span { writing-mode: vertical-rl; }
  .dashboard-placeholder main { padding: 22px; }
  .dashboard-placeholder footer { flex-wrap: wrap; }
  .contact-list > * { grid-template-columns: 70px 1fr auto; }
  .contact-list strong { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* V3 — real project evidence and selected-work layout */
.section-heading-copy { text-align: center; }
.section-heading-copy > p { margin-inline: auto; }

.portrait-frame {
  position: relative;
  height: 282px;
  overflow: hidden;
  background: #eaf2fa;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.43);
  transform-origin: 50% 31%;
}
.portrait-frame > span {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 1;
  padding: 7px 9px;
  color: white;
  background: rgba(16, 21, 31, .72);
  font: 700 9px/1 var(--mono);
  letter-spacing: .12em;
}

.real-media {
  display: flex;
  margin: 0;
  flex-direction: column;
  justify-content: stretch;
  background: #e8edf5;
}
.real-media img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}
.real-media figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  color: white;
  background: rgba(16, 21, 31, .78);
  font: 700 9px/1 var(--mono);
  letter-spacing: .08em;
}
.tv-media img { object-position: 50% 44%; }
.real-video { display: grid; min-height: 390px; place-items: center; background: var(--ink); }
.real-video video { display: block; width: 100%; height: 100%; min-height: 390px; object-fit: contain; background: #0f1117; }
.evidence-link {
  display: inline-flex;
  margin-top: 20px;
  padding: 11px 14px;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}
.evidence-link:hover { color: white; background: var(--blue); }
.asset-note { display: block; margin-top: 16px; color: var(--muted); font-size: 12px; }

.featured-pdfs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 46px;
}
.pdf-card { border: 1px solid var(--line); background: white; }
.pdf-card > a { display: flex; height: 100%; flex-direction: column; color: inherit; }
.pdf-cover {
  display: grid;
  height: 330px;
  padding: 22px;
  place-items: center;
  overflow: hidden;
  background: #e8eef9;
}
.pdf-card:nth-child(2) .pdf-cover { background: #f4f5f7; }
.pdf-card:nth-child(3) .pdf-cover { background: #e5ebf6; }
.pdf-cover img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(16, 21, 31, .15);
  transition: transform .25s ease;
}
.pdf-card > a:hover .pdf-cover img { transform: translateY(-5px); }
.pdf-card > a > div:last-child { display: flex; min-height: 225px; padding: 25px; flex-direction: column; }
.pdf-card span,
.spec-system-intro > span,
.method-intro > span,
.exhibition-copy > span,
.contact-message > span { color: var(--blue); font: 700 9px/1 var(--mono); letter-spacing: .12em; }
.pdf-card h3 { margin: 13px 0 9px; font-size: 23px; }
.pdf-card p { margin: 0; color: var(--muted); font-size: 13px; }
.pdf-card strong { margin-top: auto; padding-top: 18px; color: var(--blue); font-size: 12px; }

.spec-system {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  background: white;
}
.spec-system-intro { padding: 42px 42px 32px 0; }
.spec-system-intro h3 { margin: 16px 0 12px; font-size: 31px; }
.spec-system-intro p { color: var(--muted); font-size: 14px; }
.spec-system-intro ul { padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.spec-system-intro li { margin: 8px 0; font-size: 13px; }
.spec-system-intro li::before { content: "+"; margin-right: 9px; color: var(--blue); }
.spec-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 32px; background: #e7edf8; }
.spec-preview a { display: flex; min-width: 0; padding: 13px; flex-direction: column; gap: 10px; color: var(--ink); background: white; border: 1px solid var(--line); }
.spec-preview img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; }
.spec-preview span { font: 700 10px/1 var(--mono); }
.spec-library { grid-column: 1 / -1; border-top: 1px solid var(--line); }
.spec-library summary { display: grid; grid-template-columns: 1fr auto 24px; gap: 20px; align-items: center; padding: 20px 0; cursor: pointer; list-style: none; }
.spec-library summary::-webkit-details-marker { display: none; }
.spec-library summary > span { font-size: 16px; font-weight: 700; }
.spec-library summary > strong { color: var(--blue); font: 700 10px/1 var(--mono); }
.spec-library summary i::before,
.spec-library summary i::after { content: ""; display: block; width: 15px; height: 1px; background: var(--ink); }
.spec-library summary i::after { transform: rotate(90deg); }
.spec-library[open] summary i::after { transform: rotate(0); }
.spec-links { display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: 24px; }
.spec-links a { display: flex; justify-content: space-between; padding: 13px 14px; border: 1px solid var(--line); border-right: 0; color: var(--ink); font-size: 12px; font-weight: 700; }
.spec-links a:nth-child(4n) { border-right: 1px solid var(--line); }
.spec-links a:hover { color: white; background: var(--blue); border-color: var(--blue); }

.linkedin-method { display: grid; grid-template-columns: .56fr 1.44fr; gap: 60px; padding: 34px 0 55px; border-block: 1px solid var(--line); }
.method-intro h3 { margin: 16px 0 12px; font-size: 31px; }
.method-intro p { margin: 0; color: var(--muted); font-size: 14px; }
.method-intro strong { color: var(--blue); font-size: 18px; }
.method-steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; }
.method-steps li { min-height: 210px; padding: 0 14px; border-left: 1px solid var(--line); }
.method-steps b { color: var(--blue); font: 700 10px/1 var(--mono); }
.method-steps h3 { margin: 42px 0 10px; font-size: 16px; }
.method-steps p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.v3-exhibition { display: block; }
.exhibition-copy { max-width: 620px; margin-bottom: 26px; }
.exhibition-media { display: grid; grid-template-columns: 1.5fr .7fr 1.1fr; gap: 12px; margin-bottom: 28px; }
.exhibition-media figure { position: relative; min-width: 0; height: 310px; margin: 0; overflow: hidden; background: #e8edf5; }
.exhibition-media img { width: 100%; height: 100%; object-fit: cover; }
.exhibition-media figure:nth-child(2) img { object-fit: contain; background: #f2f4f8; }
.exhibition-media figcaption { position: absolute; right: 10px; bottom: 10px; padding: 6px 8px; color: white; background: rgba(16, 21, 31, .78); font: 700 8px/1 var(--mono); }
.v3-exhibition .exhibition-line { border-top: 1px solid var(--line); padding-top: 24px; }

.contact-grid-v3 { grid-template-columns: 1fr 1fr; }
.contact-message { display: flex; padding: 34px 0; flex-direction: column; }
.contact-message > strong { max-width: 480px; margin-top: 18px; font-size: clamp(25px, 3vw, 39px); line-height: 1.18; }
.contact-message p { max-width: 520px; color: var(--muted); }

@media (max-width: 960px) {
  .featured-pdfs { grid-template-columns: repeat(2, 1fr); }
  .pdf-card:last-child { grid-column: 1 / -1; }
  .pdf-card:last-child > a { display: grid; grid-template-columns: 1fr 1fr; }
  .spec-system, .linkedin-method { grid-template-columns: 1fr; }
  .spec-system-intro { padding-right: 0; }
  .method-steps { overflow-x: auto; }
  .method-steps li { min-width: 150px; }
  .exhibition-media { grid-template-columns: 1.2fr .8fr; }
  .exhibition-media figure:last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .section-heading-copy { text-align: left; }
  .section-heading-copy > p { margin-inline: 0; }
  .portrait-frame { height: 260px; }
  .real-media img, .real-video video { min-height: 300px; }
  .featured-pdfs { grid-template-columns: 1fr; }
  .pdf-card:last-child { grid-column: auto; }
  .pdf-card:last-child > a { display: flex; }
  .pdf-cover { height: 300px; }
  .spec-preview { grid-template-columns: 1fr 1fr; padding: 18px; }
  .spec-preview a:last-child { grid-column: 1 / -1; }
  .spec-links { grid-template-columns: repeat(2, 1fr); }
  .spec-links a:nth-child(4n) { border-right: 0; }
  .spec-links a:nth-child(2n) { border-right: 1px solid var(--line); }
  .exhibition-media { grid-template-columns: 1fr; }
  .exhibition-media figure,
  .exhibition-media figure:last-child { grid-column: auto; height: 260px; }
  .contact-grid-v3 { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .portrait-frame { height: 235px; }
  .spec-preview { grid-template-columns: 1fr; }
  .spec-preview a:last-child { grid-column: auto; }
  .spec-links { grid-template-columns: 1fr; }
  .spec-links a,
  .spec-links a:nth-child(2n),
  .spec-links a:nth-child(4n) { border-right: 1px solid var(--line); }
}

/* V4 — centered section titles, full-frame media and cover-only carousel */
.section-heading {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}
.section-heading > .section-index {
  position: absolute;
  top: 90px;
  left: 0;
}
.section-heading-copy {
  grid-column: 1 / -1;
  width: min(720px, 100%);
  margin-inline: auto;
  text-align: center;
}
.section-heading-copy > p { margin-inline: auto; }

.website-frame {
  aspect-ratio: 4 / 3;
  min-height: 0;
  background: #edf1f7;
}
.website-frame img {
  min-height: 0;
  object-fit: contain;
  background: #edf1f7;
}

.spec-carousel {
  --visible-slides: 3;
  min-width: 0;
  padding: 32px;
  background: #e7edf8;
}
.spec-carousel-viewport {
  overflow: hidden;
  touch-action: pan-y;
}
.spec-carousel-track {
  display: flex;
  gap: 12px;
  transition: transform .35s ease;
  will-change: transform;
}
.spec-carousel figure {
  flex: 0 0 calc((100% - (var(--visible-slides) - 1) * 12px) / var(--visible-slides));
  min-width: 0;
  margin: 0;
  padding: 13px;
  background: white;
  border: 1px solid var(--line);
}
.spec-carousel img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}
.spec-carousel figcaption {
  margin-top: 10px;
  font: 700 10px/1 var(--mono);
}
.spec-carousel-controls {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}
.spec-carousel-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: transparent;
  cursor: pointer;
}
.spec-carousel-controls button:hover,
.spec-carousel-controls button:focus-visible { color: white; background: var(--blue); }
.spec-carousel-controls button:disabled { opacity: .35; cursor: not-allowed; }
.spec-carousel-controls span {
  text-align: center;
  color: var(--muted);
  font: 700 10px/1 var(--mono);
}

.exhibition-media img,
.exhibition-media figure:nth-child(2) img {
  object-fit: contain;
  background: #f2f4f8;
}
.exhibition-media .booth-image { background: #eef1f6; }

.geo-platform-shot {
  position: relative;
  display: grid;
  min-height: 340px;
  margin: 0;
  padding: 18px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eef2f8;
  box-shadow: 12px 12px 0 #dbe5fb;
}
.geo-platform-shot img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: contain;
}
.geo-platform-shot figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 9px;
  color: white;
  background: rgba(16, 21, 31, .78);
  font: 700 9px/1 var(--mono);
}
.ai-video video { object-fit: contain; background: var(--ink); }

@media (max-width: 960px) {
  .section-heading > .section-index { position: static; margin-bottom: 24px; }
  .spec-carousel { --visible-slides: 2; }
}

@media (max-width: 720px) {
  .section-heading-copy { text-align: center; }
  .section-heading-copy > p { margin-inline: auto; }
  .spec-carousel { --visible-slides: 1; padding: 18px; }
}

/* V5 refinements */
.quick-facts dd { min-width: 0; }
.quick-facts div:last-child { min-width: 0; }
.quick-facts div:last-child dd {
  font-size: 15px;
  letter-spacing: 0em;
  line-height: 1.35;
  white-space: nowrap;
}

.website-gallery {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-height: 560px;
  overflow: hidden;
  background: #e9eef8;
}
.website-gallery figure {
  position: relative;
  display: grid;
  min-height: 0;
  margin: 0;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #edf1f7;
}
.website-gallery figure:last-child { border-bottom: 0; }
.website-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #edf1f7;
}
.website-gallery figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: white;
  background: rgba(16, 21, 31, .8);
  font: 700 9px/1 var(--mono);
  letter-spacing: .08em;
}

.spec-carousel { overflow: hidden; }
.spec-carousel-status {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
  font: 700 10px/1 var(--mono);
}

.workflow-summary {
  margin: 0 0 28px 58px;
  padding: 16px 20px;
  border-left: 2px solid var(--blue);
  color: var(--blue);
  background: #eef3ff;
  font-size: 13px;
  font-weight: 700;
}

.contact-grid-v5 {
  grid-template-columns: 1fr;
  width: min(760px, 100%);
  margin-inline: auto;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr minmax(340px, .72fr);
    gap: 28px;
  }
  .website-gallery { min-height: 520px; }
}

@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .quick-facts div:last-child dd {
    font-size: 13px;
    letter-spacing: 0em;
    white-space: nowrap;
  }
  .website-gallery { min-height: 480px; }
  .workflow-summary { margin-left: 32px; }
}

@media (max-width: 420px) {
  .quick-facts div:last-child dd { font-size: 12px; }
  .website-gallery { min-height: 410px; }
}
