:root {
  color-scheme: light;
  /* Light surfaces and capability-led hierarchy are the current design constraints.
     The print layout shares this palette. */
  --heading: #17191e;
  --action: #1769e0;
  --accent: #c53620;
  --accent-line: linear-gradient(110deg, #2877ff, #f4b49f);
  --background: #ffffff;
  --surface: #f5f7fb;
  --surface-cool: #eef2f8;
  --selected: #eaf0ff;
  --ink: #23252a;
  --muted: #62656d;
  --line: #dfe4ed;
  --line-strong: #c7d1df;
  --feedback-duration: 150ms;
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 108px; }
body { margin: 0; color: var(--ink); background: var(--background); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
a, button { transition: color var(--feedback-duration), background-color var(--feedback-duration), border-color var(--feedback-duration); }
.shell { width: calc(100% - 112px); max-width: 1280px; margin-inline: auto; }
.ui-icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex: 0 0 auto; }
.skip-link { position: fixed; top: 12px; left: 24px; z-index: 100; padding: 12px 18px; background: white; border: 1px solid var(--line); translate: 0 -160%; }
.skip-link:focus { translate: 0; }
.eyebrow, .mini-label { font-size: 13px; font-weight: 550; line-height: 1.6; letter-spacing: .07em; color: var(--muted); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 46px; padding: 12px 20px; border: 1px solid var(--action); border-radius: 4px; background: var(--action); color: white; box-shadow: 0 4px 12px rgb(16 18 22 / 10%); font-size: 14px; line-height: 1.5; font-weight: 500; }
.button:hover { background: #0f54b8; border-color: #0f54b8; }
.button-small { min-height: 42px; padding: 10px 18px; }
.quiet-link { color: var(--ink); font-size: 14px; line-height: 1.8; border-bottom: 1px solid var(--accent); padding-bottom: 4px; }

.masthead { position: sticky; top: 0; z-index: 30; color: var(--ink); background: white; border-bottom: 1px solid var(--line); box-shadow: 0 4px 20px rgb(36 65 110 / 4%); }
.nav { display: flex; justify-content: space-between; align-items: center; height: 76px; gap: 36px; }
.wordmark { display: flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 21px; font-weight: 650; color: var(--heading); }
.brand-mark { color: var(--action); display: inline-flex; }
.brand-mark .ui-icon { width: 28px; height: 28px; }
.wordmark-en { margin-left: 8px; font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 14px; color: var(--muted); }
.nav-links a { padding: 27px 0 25px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--action); border-bottom-color: var(--action); }
.reading-progress { display: none; }

.hero-band {
  color: var(--ink);
  background: radial-gradient(ellipse at 90% 5%, #dce8ff88, transparent 52%), white;
  border-bottom: 1px solid var(--line);
}
.hero { padding-block: 64px 42px; }
.hero-copy { max-width: 940px; }
.hero h1 { font-size: clamp(44px, 3.5vw, 50px); line-height: 1.4; font-weight: 650; letter-spacing: -.045em; color: var(--heading); }
.hero h1 > span { display: block; }
.hero h1 > span:first-child { color: var(--action); }
.hero-intro { margin-top: 26px; font-size: 16.5px; line-height: 1.95; color: var(--muted); max-width: 860px; text-wrap: pretty; }
.hero-evidence { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; max-width: 680px; padding-block: 19px; margin-top: 24px; border-block: 1px solid var(--line); }
.hero-evidence a { display: grid; gap: 6px; }
.hero-evidence a + a { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-evidence strong { font-size: 24px; line-height: 1.4; font-weight: 600; color: var(--heading); }
.hero-evidence span { font-size: 13px; line-height: 1.8; color: var(--muted); }
.hero-actions { display: flex; gap: 28px; align-items: center; margin-top: 26px; }
.hero .quiet-link { display: inline-flex; gap: 12px; align-items: center; color: var(--ink); border-bottom-color: var(--line-strong); }
.hero-meta { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-top: 24px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.motion-toggle { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; white-space: nowrap; padding: 8px 0 8px 12px; background: transparent; }
.motion-icon .ui-icon { width: 14px; height: 14px; }
.motion-toggle:disabled { opacity: .6; cursor: default; }
.hero-capabilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-block: 24px 32px; border-top: 1px solid var(--line); }
.capability-link { display: grid; grid-template-columns: 20px 1fr 16px; align-items: start; gap: 12px; padding-block: 8px; }
.capability-no { font-size: 13px; line-height: 2.1; color: var(--action); }
.capability-link strong { display: block; font-size: 17px; line-height: 1.7; font-weight: 550; color: var(--heading); }
.capability-detail { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.capability-link .ui-icon { width: 16px; height: 16px; margin-top: 7px; color: var(--action); }
.capability-link:hover strong { color: var(--action); }

.strengths-section { padding-block: 82px 66px; }
.strengths-heading, .management-heading, .section-head { display: block; }
.strengths-heading .eyebrow, .management-heading .eyebrow, .section-head .eyebrow { margin-bottom: 12px; }
.strengths-heading h2, .management-heading h2, .section-head h2 { font-size: 44px; font-weight: 600; line-height: 1.5; letter-spacing: -.035em; color: var(--heading); }
.strengths-heading > p:last-child, .management-heading > p:last-child, .section-intro { margin-top: 12px; max-width: 860px; font-size: 16px; line-height: 1.85; color: var(--muted); }
.strengths-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 32px; }
.strengths-grid article { display: flex; flex-direction: column; align-items: flex-start; border-top: 2px solid var(--ink); padding-top: 16px; }
.strength-no { font-size: 13px; color: var(--accent); margin-bottom: 14px; }
.strengths-grid h3 { font-size: 20px; font-weight: 550; line-height: 1.5; margin-bottom: 14px; color: var(--heading); }
.strengths-grid p { font-size: 16px; line-height: 1.9; color: var(--muted); margin-bottom: 22px; }
.strengths-grid a { margin-top: auto; font-size: 13px; color: var(--accent); line-height: 1.8; }
.strengths-grid a .ui-icon { width: 14px; height: 14px; }
.management-section { padding-block: 20px 80px; }
.management-rows { border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 4px; margin-top: 30px; padding-inline: 26px; background: var(--surface); }
.management-row { display: grid; grid-template-columns: 32px 236px 1fr; gap: 24px; padding-block: 25px; border-bottom: 1px solid var(--line); align-items: baseline; }
.management-row:last-child { border-bottom: 0; }
.management-row h3 { font-size: 20px; font-weight: 550; line-height: 1.6; color: var(--heading); }
.management-row > p { font-size: 16px; color: var(--muted); line-height: 1.9; }

.enterprise-section { color: var(--ink); background: #f4f7fb; padding-block: 80px; border-block: 1px solid var(--line); }
.section-head { margin-bottom: 34px; }
.enterprise-section .section-head h2 br, .practice-section .section-head h2 br { display: none; }
.project-theatre { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.story { min-height: 700px; padding-block: 35px; border-top: 1px solid var(--line-strong); scroll-margin-top: 108px; }
.story:last-child { border-bottom: 1px solid var(--line-strong); }
.story-eyebrow { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; line-height: 1.8; color: var(--muted); margin-bottom: 23px; }
.story-eyebrow > span { color: var(--accent); }
.story h3 { font-size: 34px; font-weight: 550; line-height: 1.5; letter-spacing: -.03em; color: var(--heading); }
.story-role { font-size: 14px; line-height: 1.8; margin-top: 14px; color: var(--muted); }
.story-intro { font-size: 16px; line-height: 1.9; margin-block: 22px 16px; }
.story-action { font-size: 16px; color: var(--muted); line-height: 1.9; }
.story-outcome { margin-block: 24px; padding-left: 16px; border-left: 2px solid var(--accent); }
.story-outcome strong { display: block; font-size: 25px; font-weight: 550; line-height: 1.5; margin-bottom: 5px; }
.story-outcome span { font-size: 14px; line-height: 1.8; color: var(--muted); }
details summary { list-style: none; cursor: pointer; color: var(--accent); font-size: 14px; line-height: 1.8; }
details summary::-webkit-details-marker { display: none; }
.story summary { display: inline-flex; align-items: center; gap: 24px; padding-block: 4px; }
.story summary span { font-size: 20px; }
details ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); font-size: 16px; line-height: 1.9; }
details li + li { margin-top: 7px; }
.mobile-scene { display: none; }
.theatre-stage {
  height: min(660px, calc(100vh - 144px));
  min-height: 590px;
  position: sticky;
  top: 108px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 14px 36px #30507812;
  overflow: hidden;
}
.theatre-stage::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent-line); }
.stage-top, .stage-bottom { position: absolute; left: 26px; right: 26px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.stage-top { top: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.stage-bottom { bottom: 18px; }
.stage-counter { white-space: nowrap; }
.stage-counter b { color: var(--ink); font-weight: 550; }
.stage-dots { display: flex; gap: 0; }
.stage-dots button { padding: 11px; background: transparent; }
.stage-dots button::before { content: ""; display: block; width: 7px; height: 7px; background: var(--line-strong); border-radius: 50%; }
.stage-dots button[aria-pressed="true"]::before { background: var(--accent); }
.scene-container { position: absolute; inset: 76px 26px 64px; }
.scene { height: 100%; }
.canvas-heading h3 { font-size: 24px; font-weight: 550; line-height: 1.45; margin-top: 9px; color: var(--heading); }
.program-scale { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-block: 20px; }
.program-scale strong { display: block; font-size: 40px; font-weight: 500; line-height: 1.2; letter-spacing: -.035em; color: var(--heading); }
.program-scale strong span { display: block; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-top: 7px; }
.program-scale p { font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 3px; }
.platform-layers, .service-evolution { border-top: 1px solid var(--line); }
.platform-layer, .evolution-step { display: grid; grid-template-columns: 24px 96px 1fr 18px; align-items: center; gap: 10px; padding: 14px 8px; width: 100%; text-align: left; background: white; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
.platform-layer > span, .evolution-step > span { color: var(--muted); font-size: 13px; }
.platform-layer strong, .evolution-step strong { font-size: 16px; font-weight: 500; }
.platform-layer small, .evolution-step small { font-size: 13px; color: var(--muted); line-height: 1.7; }
.platform-layer i, .evolution-step i { font-style: normal; }
.scene-node:hover, .scene-node.is-selected { background: var(--selected); border-left-color: var(--accent); }
.canvas-connector { display: none; }
.scene-note { font-size: 16px; line-height: 1.85; color: var(--muted); margin-top: 16px; min-height: 62px; }
.canvas-evidence { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; line-height: 1.8; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 16px; }
.canvas-evidence strong { font-size: 14px; font-weight: 500; color: var(--accent); }
.knowledge-source { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin-block: 24px; }
.knowledge-source strong { font-size: 37px; font-weight: 500; line-height: 1.3; }
.knowledge-source strong span { font-size: 14px; margin-left: 6px; }
.knowledge-source p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.knowledge-source > p span { display: block; color: var(--ink); font-size: 15px; margin-top: 5px; }
.knowledge-scenarios { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-block: 15px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.knowledge-scenarios > span { font-size: 13px; color: var(--muted); margin-right: 8px; }
.knowledge-scenarios strong { font-size: 14px; font-weight: 500; }
.knowledge-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.knowledge-phase { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 14px 10px; border: 1px solid var(--line); border-left: 3px solid transparent; background: white; text-align: left; }
.knowledge-phase > span { font-size: 13px; color: var(--muted); }
.knowledge-phase strong { font-size: 16px; font-weight: 500; }
.knowledge-phase small { font-size: 13px; color: var(--muted); line-height: 1.7; }
.service-thesis { padding-block: 20px; }
.service-thesis > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.service-thesis > strong { font-size: 27px; font-weight: 500; }
.service-thesis strong span { font-size: 18px; color: var(--muted); margin-inline: 16px; }
.more-enterprise { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; padding-top: 35px; margin-top: 54px; border-top: 1px solid var(--line-strong); }
.more-heading h3, .index-heading h3 { font-size: 27px; font-weight: 550; line-height: 1.5; margin-top: 12px; }
.more-enterprise h4 { font-size: 22px; font-weight: 550; line-height: 1.6; margin-block: 10px 14px; }
.more-enterprise article > p { font-size: 16px; color: var(--muted); line-height: 1.9; }
.inline-flow { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: 14px; color: var(--accent); margin-top: 20px; }
.inline-flow i { display: inline-flex; }
.inline-flow .ui-icon { width: 16px; height: 16px; }
.other-projects { margin-top: 64px; }
.other-projects-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; gap: 32px; }
.other-projects-head h3 { font-size: 27px; font-weight: 550; line-height: 1.5; margin-top: 10px; }
.project-filters { display: flex; gap: 8px; }
.project-filters button { padding: 8px 14px; font-size: 13px; background: transparent; border: 1px solid var(--line); border-radius: 3px; }
.project-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: white; }
.other-project-row { display: grid; grid-template-columns: 32px 1.3fr 170px 1fr; gap: 24px; align-items: center; padding-block: 23px; border-top: 1px solid var(--line); }
.other-project-no { color: var(--muted); font-size: 13px; }
.other-project-row h4 { font-size: 18px; font-weight: 550; line-height: 1.6; }
.other-project-row > div p { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 4px; }
.other-project-role, .other-project-keywords { font-size: 14px; line-height: 1.8; color: var(--muted); }
.project-filter-state { margin-top: 16px; font-size: 13px; color: var(--muted); }

.practice-section { padding-block: 86px; background: var(--background); }
.selected-practice { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 72px; align-items: center; padding-block: 48px; border-top: 1px solid var(--line); background: white; }

.feature-copy .mini-label { margin-bottom: 16px; }
.feature-copy h3 { font-size: 34px; font-weight: 600; line-height: 1.45; letter-spacing: -.025em; color: var(--heading); }
.feature-copy h3 span { display: block; margin-top: 10px; font-size: 17px; font-weight: 500; line-height: 1.6; letter-spacing: 0; }
.product-stage { margin-top: 16px; color: var(--accent); font-size: 14px; line-height: 1.6; font-weight: 550; }
.feature-description { margin-top: 22px; font-size: 16px; line-height: 1.9; color: var(--muted); }
.practice-points { font-size: 16px; line-height: 1.85; color: var(--muted); padding-left: 20px; margin-block: 18px 0; }
.practice-points li + li { margin-top: 5px; }
.feature-disciplines { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.feature-disciplines span { border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.feature-copy .button { margin-top: 24px; }
.practice-visual { min-width: 0; text-align: center; }
.product-media-stage { display: grid; place-items: center; width: 100%; height: 520px; padding: 24px; background: transparent; }
.practice-image { display: inline-flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; padding: 0; border: 0; background: transparent; line-height: 0; cursor: zoom-in; }
.practice-image img { width: auto; height: auto; max-width: 100%; object-fit: contain; }
.phone-frame { padding: 9px; border: 1px solid #6e747d; border-radius: 34px; background: #24282f; box-shadow: 0 16px 30px rgb(34 44 59 / 16%); }
.phone-frame:hover { border-color: #303b4a; }
.phone-frame img { height: 440px; width: auto; max-width: none; border-radius: 25px; }
.practice-visual figcaption { margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.practice-screens { display: grid; place-items: center; width: 100%; height: 100%; }
.screen-panel { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.product-media-actions { display: flex; align-items: center; justify-content: center; height: 43px; margin-top: 15px; }
.poster-open { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-strong); background: transparent; color: var(--action); font-size: 14px; line-height: 1.5; }
.poster-open .ui-icon { width: 16px; height: 16px; }
.desktop-frame { width: 100%; overflow: hidden; border: 1px solid #d5dce6; border-radius: 10px; background: white; box-shadow: 0 12px 28px rgb(34 44 59 / 10%); }
.desktop-chrome { display: flex; align-items: center; gap: 20px; height: 32px; padding-inline: 14px; border-bottom: 1px solid var(--line); background: white; color: var(--muted); font-size: 13px; line-height: 1.5; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #c9d0db; }
.prediction-feature .practice-screens { height: auto; aspect-ratio: 1440 / 1050; }
.prediction-feature .practice-image, .prediction-feature .practice-image img { width: 100%; height: auto; }
.desktop-frame .practice-image:focus-visible { outline-offset: -2px; }
.screen-tabs { display: flex; justify-content: center; width: fit-content; max-width: 100%; margin: 15px auto 0; border-bottom: 1px solid var(--line-strong); }
.screen-tabs button { padding: 10px 15px; border-bottom: 2px solid transparent; background: transparent; font-size: 14px; line-height: 1.5; color: var(--muted); white-space: nowrap; }
.screen-tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 550; }
.tab-indicator { display: none; }
.project-index { display: grid; grid-template-columns: 230px 1fr; gap: 72px; margin-top: 54px; border-top: 1px solid var(--line-strong); padding-top: 30px; }
.index-row { display: grid; grid-template-columns: 32px 1fr; gap: 20px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.index-row:first-child { padding-top: 0; }
.index-no { font-size: 13px; color: var(--muted); line-height: 2.2; }
.index-row-title { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 10px; }
.index-row h4 { font-size: 20px; font-weight: 550; line-height: 1.6; }
.product-status { color: var(--muted); font-size: 13px; white-space: nowrap; }
.index-row p { font-size: 16px; line-height: 1.85; color: var(--muted); }

.experience-section { padding-block: 10px 84px; }
.career-row { display: grid; grid-template-columns: 130px 1fr 170px 1.45fr; gap: 28px; padding-block: 29px; border-top: 1px solid var(--line); align-items: baseline; }
.career-row time { font-size: 13px; line-height: 1.8; color: var(--muted); }
.career-row h3 { font-size: 17px; font-weight: 550; line-height: 1.65; color: var(--heading); }
.company-brand { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 3px; }
.career-role { font-size: 14px; color: var(--muted); line-height: 1.8; }
.career-desc { font-size: 16px; color: var(--muted); line-height: 1.9; }
.education { display: grid; grid-template-columns: 1fr 1fr 230px; gap: 40px; border-top: 1px solid var(--line-strong); margin-top: 20px; padding-top: 30px; }
.education p { font-size: 17px; line-height: 1.9; margin-top: 12px; }
.education p span { display: block; color: var(--muted); font-size: 15px; }
.education > div:nth-child(2) p, .education .learning p { font-size: 15px; color: var(--muted); }
.contact-section { background: linear-gradient(110deg, #f1f5fb, #f9f4ef), #f1f5fb; border-top: 1px solid var(--line); padding-top: 54px; color: var(--ink); }
.contact-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }
.contact-section .eyebrow { color: var(--muted); }
.contact-section .button { background: var(--action); border-color: var(--action); color: white; }
.contact-section .button:hover { background: #0f54b8; border-color: #0f54b8; }
.contact-main { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding-block: 36px 50px; }
.contact-main h2 { font-size: 40px; font-weight: 550; line-height: 1.5; letter-spacing: -.035em; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.contact-email { font-size: 25px; color: var(--heading); line-height: 1.6; }
.contact-small { display: flex; align-items: center; gap: 30px; font-size: 15px; color: var(--muted); }
.copy-email { padding: 0; font-size: 14px; background: transparent; }
.copy-email .ui-icon { width: 15px; height: 15px; }
.copy-state { font-size: 13px; line-height: 1.5; color: var(--muted); }
.copy-state:empty { display: none; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; justify-content: space-between; align-items: center; gap: 28px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.footer-bottom .ui-icon { width: 13px; height: 13px; margin-left: 6px; }

body.zoom-open { overflow: hidden; }
#image-viewer { width: min(1040px, calc(100vw - 112px)); height: min(820px, calc(100vh - 112px)); max-width: none; max-height: none; padding: 0; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: white; overflow: hidden; }
#image-viewer[data-orientation="portrait"] { width: min(480px, calc(100vw - 112px)); }
#image-viewer::backdrop { background: rgb(20 40 65 / 60%); }
.zoom-close { position: absolute; right: 20px; top: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 16px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 3px; background: white; font-size: 13px; }
.zoom-close:hover { border-color: var(--accent); }
.zoom-close span { font-size: 20px; line-height: 1; }
.zoom-scroll { height: calc(100% - 70px); padding: 64px 24px 20px; display: grid; place-items: center; overflow: hidden; }
#zoom-image { width: auto; height: auto; max-width: 100%; max-height: min(650px, calc(100vh - 280px)); object-fit: contain; }
.zoom-caption { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 24px; height: 70px; padding: 12px 24px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--muted); }
.zoom-source { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.zoom-source .ui-icon { width: 14px; height: 14px; margin-left: 4px; }
[data-motion="paused"] * { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
