/* NexTech — 石墨與洋紅。所有作品樣式集中在此，不依賴外部字型或框架。 */
:root {
  --ink: #1b1c20;
  --paper: #f1f0ee;
  --signal: #d0306a;
  --soft: #e9dde1;
  --gray: #85878d;
  --gray-on-light: #595b62;
  --gray-on-dark: #a6a8ae;
  --sans: "PingFang TC", "Noto Sans TC", "Source Han Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --mono: Consolas, "SFMono-Regular", monospace;
  --gutter: clamp(24px, 5.5vw, 96px);
  --small: 14px;
  --body: 16px;
  --lead: 18px;
  --mid: 24px;
  --large: 30px;
  --sub: 38px;
  --section-space: clamp(68px, 7vw, 116px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 102px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 var(--body)/1.8 var(--sans); }
body, dialog { -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, input { border-radius: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.35; text-wrap: balance; letter-spacing: .05em; }
h2 { font-size: clamp(34px, 3.35vw, 54px); }
h3 { font-size: var(--mid); }
p { text-wrap: pretty; }
strong { font-weight: 700; }
ul { padding: 0; margin: 0; list-style: none; }
img { display: block; max-width: 100%; }
main, section, article, .wrap, .spec-copy, .query-result { min-width: 0; }
::selection { background: var(--signal); color: var(--paper); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 5px; }
.wrap { width: min(100%, 1600px); padding-inline: var(--gutter); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.light { background: var(--paper); color: var(--ink); color-scheme: light; --muted: var(--gray-on-light); }
.soft { background: var(--soft); color: var(--ink); color-scheme: light; --muted: var(--gray-on-light); }
.dark { background: var(--ink); color: var(--paper); color-scheme: dark; --muted: var(--gray-on-dark); }
.note, .section-note, .status { font-size: var(--small); line-height: 1.75; color: var(--muted, var(--gray-on-dark)); }
.status { min-height: 25px; margin-top: 8px; }
.section-note { margin-top: 24px; max-width: 68em; }
.skip { position: absolute; top: -90px; left: 24px; z-index: 100; background: var(--paper); color: var(--ink); padding: 12px 18px; }
.skip:focus { top: 12px; }
.page { transition: transform .25s ease; overflow: clip; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; background: var(--ink); border-bottom: 1px solid var(--gray); transition: transform .25s ease; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; flex: none; font: 700 28px/1.3 Arial, system-ui, sans-serif; letter-spacing: .01em; }
.brand-mark { width: 20px; height: 25px; border-inline: 5px solid var(--signal); transform: skewY(-14deg); }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.desktop-nav > a { display: flex; align-items: center; min-height: 44px; font-size: var(--small); }
.desktop-nav > a:hover { color: var(--soft); }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 13px 22px; gap: 26px; border: 1px solid transparent; background: var(--signal); color: var(--paper); font-size: 19px; font-weight: 700; line-height: 1.5; text-align: left; transition: background .25s, color .25s; }
.button:is(:hover, :focus-visible) { background: var(--soft); color: var(--ink); }
.button.ghost { background: transparent; border-color: var(--gray); color: inherit; }
.button.ghost:is(:hover, :focus-visible) { background: var(--soft); color: var(--ink); }
.desktop-nav .button { min-height: 48px; padding-inline: 20px; font-size: 19px; }
.icon { width: 22px; height: 22px; flex: none; display: block; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 48px; border: 0; border-bottom: 1px solid var(--gray); padding: 8px 0; background: transparent; font-size: var(--small); line-height: 1.5; }
.text-link:hover { color: var(--signal); }
.hero .text-link:hover { color: var(--soft); }
.menu-trigger { display: none; min-height: 48px; min-width: 88px; padding: 8px 12px; border: 1px solid var(--gray); background: transparent; }
.hero { height: 100dvh; min-height: 720px; position: relative; isolation: isolate; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #1b1c2073, #1b1c2020 65%, #1b1c2000); }
.hero-inner { height: 100%; display: flex; align-items: center; padding-top: 130px; padding-bottom: 90px; }
.hero-copy { width: 850px; max-width: 73%; }
.hero h1 { font-size: clamp(48px, 5.15vw, 84px); line-height: 1.3; letter-spacing: .06em; margin-bottom: 28px; }
.title-line { display: block; white-space: nowrap; }
.char { display: inline-block; transform-origin: 50% 10%; }
.hero-description { max-width: 27em; font-size: var(--lead); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 36px; }
.hero-bottom { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: var(--small); }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 5vw, 80px); margin-bottom: 48px; }
.section-intro > p { max-width: 30em; font-size: var(--lead); color: var(--muted); }
.depth-stage { perspective: 900px; }
.depth { display: inline-block; transform-origin: center; }
.fixed-number { display: inline-block; font-family: Arial, system-ui, sans-serif; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.boundary { display: grid; grid-template-columns: .85fr 1.15fr; border: 1px solid var(--gray); }
.residency { background: var(--soft); padding: clamp(26px, 3.5vw, 52px); display: flex; flex-direction: column; }
.region-total { display: flex; align-items: baseline; gap: 18px; margin: 18px 0 22px; }
.region-total .fixed-number { font-size: 80px; }
.region-total > span { font-size: var(--mid); }
.region-list { display: grid; grid-template-rows: 1fr 1fr; flex: 1; }
.region-list li { padding-block: 24px; border-top: 1px solid var(--gray); }
.region-list h3 { margin-bottom: 10px; }
.region-list p { color: var(--gray-on-light); max-width: 26em; }
.scope { padding-top: 22px; border-top: 1px solid var(--gray); font-size: var(--small); }
.api { display: flex; flex-direction: column; padding: clamp(26px, 3.5vw, 52px); background: var(--ink); color: var(--paper); --muted: var(--gray-on-dark); min-width: 0; }
.api-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--gray); }
.api-top h3, .response h3 { font-size: var(--lead); }
.api-top .note { max-width: 12em; }
.code { margin: 24px 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 15px/1.85 var(--mono); tab-size: 2; }
.code code { font: inherit; }
.response { border-top: 1px solid var(--gray); padding-top: 22px; }
dl { margin: 0; }
dt { color: var(--muted); }
dd { margin: 0; }
.response dl { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; margin-top: 20px; font-size: var(--small); }
.response dl > div { display: contents; }
.response dd { overflow-wrap: anywhere; }
.api-bottom { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.api-bottom p { max-width: 17em; }
.api-bottom .button { font-size: var(--small); padding-inline: 15px; gap: 15px; flex: none; }
.technologies { padding-top: 0; }
.spec-row { display: grid; grid-template-columns: .85fr 1.15fr; border-top: 1px solid var(--gray); }
.spec-row.reverse { grid-template-columns: 1.15fr .85fr; }
.spec-row + .spec-row { margin-top: 36px; }
.spec-copy { padding: clamp(28px, 3.4vw, 50px); }
.spec-copy h3 { font-size: var(--large); margin-bottom: 22px; }
.spec-copy > p { max-width: 40em; }
.spec-copy > .note { margin-top: 20px; }
.spec-list { margin-top: 28px; }
.spec-list > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding-block: 13px; border-top: 1px solid var(--gray); }
.spec-list dt { font-size: var(--small); }
.spec-list dd { font-size: var(--body); }
.compact { font-size: var(--small); }
.photo { display: flex; flex-direction: column; min-width: 0; align-self: stretch; background: var(--ink); color: var(--paper); overflow: hidden; }
.photo-frame { position: relative; flex: 1; min-height: 280px; overflow: hidden; }
.photo img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.photo figcaption { padding: 15px 22px; font-size: var(--small); line-height: 1.75; color: var(--paper); }
.table-scroll { width: 100%; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: var(--small); text-align: left; }
caption { text-align: left; font-size: var(--small); padding-block: 16px; color: var(--muted); }
th { font-weight: 400; }
thead th { color: var(--muted); }
td, th { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--gray); vertical-align: top; }
td:last-child, th:last-child { padding-right: 0; }
.scope-table td { overflow-wrap: anywhere; }
.cutover-intro { display: grid; grid-template-columns: .85fr 1.15fr; margin-bottom: 44px; border-top: 1px solid var(--gray); border-bottom: 1px solid var(--gray); }
.cutover-copy { padding: 40px 45px 24px 0; display: flex; flex-direction: column; align-items: flex-start; }
.phase-count { display: flex; align-items: baseline; gap: 20px; margin-bottom: 26px; }
.phase-count strong { font-size: 80px; }
.phase-count > span { max-width: 12em; font-size: var(--mid); }
.cutover-copy > p { max-width: 36em; margin-bottom: 24px; }
.cutover-copy > .button { margin-top: auto; }
.runbook { display: grid; grid-template-columns: 1fr 1fr; gap: 0 70px; }
.runbook-stage { padding-block: 32px; border-top: 1px solid var(--gray); }
.stage-top { display: flex; align-items: center; gap: 24px; margin-bottom: 20px; }
.stage-top > strong { font-size: var(--sub); color: var(--soft); }
.runbook-stage p { max-width: 38em; color: var(--paper); }
.runbook-stage dl { margin-top: 24px; }
.runbook-stage dl > div { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 18px; padding-block: 12px; border-top: 1px solid var(--gray); font-size: var(--small); }
.query-layout { display: grid; grid-template-columns: 1fr 1fr; }
.query-code, .query-result { padding: clamp(28px, 3.5vw, 52px); }
.query-code { display: flex; flex-direction: column; }
.query-code h3, .query-result h3 { margin-bottom: 15px; }
.query-code > p:last-child { margin-top: auto; padding-top: 30px; }
.query-result { background: var(--soft); }
.query-impact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; margin-block: 28px 16px; }
.query-impact strong { font-size: 52px; }
.query-impact > span { font-size: var(--small); }
.query-result > .note { margin-top: 20px; }
.section-action { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.deployment-record { padding-block: 34px 24px; border-top: 1px solid var(--gray); }
.record-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.record-heading h3 { font-size: var(--large); }
.record-heading > p { font-size: var(--small); color: var(--muted); }
.record-data { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 40px; }
.record-data dt { font-size: var(--small); margin-bottom: 8px; }
.record-data dd { max-width: 30em; }
.record-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; margin-top: 26px; padding: 12px 18px; border-top: 1px solid var(--gray); font-size: var(--small); }
.fill-row { position: relative; isolation: isolate; overflow: hidden; }
.fill-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.fill-row:is(:hover, :focus-visible) { color: var(--paper); }
.fill-row:is(:hover, :focus-visible)::before { transform: scaleX(1); transform-origin: left; }
.service-log article { display: grid; grid-template-columns: .3fr 1fr; gap: 60px; padding-block: 32px; border-top: 1px solid var(--gray); }
.version { color: var(--gray-on-dark); font-family: var(--mono); font-size: var(--small); }
.service-log h3 { margin-bottom: 20px; }
.service-log .fixed-number { font-size: var(--sub); margin-right: 12px; vertical-align: baseline; }
.service-log article > div > p { max-width: 42em; }
.service-log .note { margin-top: 16px; }
.faq-list article { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-block: 32px; border-top: 1px solid var(--gray); }
.faq-list p { max-width: 40em; color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; max-width: 1920px; margin-inline: auto; }
.contact-copy { padding: clamp(64px, 6vw, 100px) var(--gutter); display: flex; flex-direction: column; align-items: flex-start; }
.contact-copy > p { max-width: 35em; margin-top: 28px; }
.contact-copy > .button { margin-top: 34px; }
.contact-copy > .note { max-width: 35em; }
.contact-copy > .text-link { margin-top: 18px; }
.contact .photo-frame { min-height: 450px; }
.footer { padding-block: 68px 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.2fr; gap: clamp(26px, 3.4vw, 54px); }
.footer-brand > p { max-width: 25em; margin-top: 22px; font-size: var(--small); }
.footer h3 { margin-bottom: 18px; font-size: var(--lead); }
.footer ul a, .footer ul button, .footer address a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--small); }
.footer button { background: none; border: 0; padding: 0; text-align: left; }
.footer a:hover, .footer button:hover { color: var(--soft); }
.footer address { font-style: normal; font-size: var(--small); overflow-wrap: anywhere; }
.footer address > p { margin-bottom: 8px; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--gray); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--gray-on-dark); font-size: var(--small); }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bottom button { min-height: 44px; }
dialog { font: inherit; }
dialog::backdrop { background: #1b1c20b8; }
.menu { position: fixed; inset: 0; margin: 0; border: 0; padding: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; background: var(--ink); color: var(--paper); overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; }
.menu.is-open { transform: none; }
.menu-head { display: flex; justify-content: space-between; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--gray); }
.close { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 10px; gap: 10px; border: 1px solid var(--gray); background: transparent; }
.menu-content { display: flex; flex-direction: column; min-height: calc(100dvh - 86px); padding-block: 20px 36px; }
.menu nav { margin-bottom: 32px; }
.menu nav a { display: block; padding: 17px 0; border-bottom: 1px solid var(--gray); font-size: clamp(30px, 4vw, 54px); line-height: 1.35; }
.menu nav span { display: block; font-size: var(--body); line-height: 1.75; color: var(--gray-on-dark); margin-top: 6px; }
.menu-footer { display: grid; justify-items: start; gap: 18px; margin-top: auto; }
.menu-footer > p { font-size: var(--small); color: var(--gray-on-dark); }
.menu-footer > p > a { display: inline-flex; min-height: 44px; align-items: center; }
body.menu-open .page { transform: translateX(-28vw); }
.detail-dialog { width: min(680px, calc(100% - 48px)); max-height: calc(100dvh - 48px); border: 1px solid var(--gray); padding: 32px; overflow-y: auto; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.dialog-head h2 { font-size: var(--large); }
.detail-dialog > p { margin-block: 20px; }
.detail-dialog > ul { list-style: disc; padding-left: 1.3em; margin-block: 20px; }
.detail-dialog > ul li { margin-block: 10px; }
.detail-dialog > .button { margin-top: 14px; }
/* 79: fixed stagger order, short elastic drop, once per page load. */
.hero h1.is-visible .char { animation: nx-drop .65s both; animation-delay: calc(var(--order) * .025s); }
@keyframes nx-drop {
  0% { transform: translateY(-36px) rotate(var(--angle)); }
  60% { transform: translateY(4px) rotate(-1deg); }
  80% { transform: translateY(-2px) rotate(1deg); }
  100% { transform: none; }
}
/* 61: rotate the entire heading, not individual letters or cards. */
.depth, .fixed-number { text-shadow: .65px 0 currentColor; }
[data-motion="61"].is-visible { animation: nx-depth .65s ease-out both; }
@keyframes nx-depth {
  0% { transform: perspective(900px) rotateY(-38deg); }
  70% { transform: perspective(900px) rotateY(5deg); }
  100% { transform: none; }
}
/* 132: alternating image/text rows, no vertical rise or blur. */
[data-motion="132"].is-visible { animation: nx-row .3s ease-out both; }
@keyframes nx-row {
  from { opacity: .25; transform: translateX(var(--entry-x, -12px)); }
  to { opacity: 1; transform: none; }
}
/* 260: images stay inside their fixed frame; no continuous camera move. */
.photo img { transition: transform .3s ease-out; }
.photo figcaption { transition: transform .25s ease; }
.photo:is(:hover, :focus-visible) img { transform: scale(1.035); }
.photo:is(:hover, :focus-visible) figcaption { transform: translateY(-3px); }
/* 283: each icon moves in a way that matches the action. */
[data-motion="283"] .icon, .copy-sheet, .download-stem { transition: transform .25s ease; transform-box: fill-box; transform-origin: center; }
[data-motion="283"]:is(:hover, :focus-visible) .icon-gear { transform: rotate(90deg); }
[data-motion="283"]:is(:hover, :focus-visible) .icon-down { transform: translateY(4px); }
[data-motion="283"]:is(:hover, :focus-visible) .icon-arrow { transform: translateX(4px); }
[data-motion="283"]:is(:hover, :focus-visible) .copy-sheet { transform: translate(-2px, -2px); }
[data-motion="283"]:is(:hover, :focus-visible) .download-stem { transform: translateY(3px); }
[data-motion="283"]:is(:hover, :focus-visible) .icon-close { transform: rotate(90deg); }
.fill-row .icon { transition: transform .25s ease; }
.fill-row:is(:hover, :focus-visible) .icon { transform: translateX(4px); }
@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .menu-trigger { display: block; }
  .hero-copy { max-width: 85%; }
  .boundary, .spec-row { grid-template-columns: 1fr 1.1fr; }
  .spec-row.reverse { grid-template-columns: 1.1fr 1fr; }
  .residency, .api, .spec-copy, .query-code, .query-result { padding: 30px; }
  .spec-list > div { grid-template-columns: 1fr; gap: 4px; }
  .api-top { flex-direction: column; gap: 10px; }
  .api-top .note { max-width: none; }
  .response dl { gap: 8px 16px; }
  .api-bottom { flex-wrap: wrap; }
  .runbook { gap: 0 38px; }
  .footer-grid { grid-template-columns: 1.1fr .9fr; gap: 38px 54px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 850px) {
  .section-intro { grid-template-columns: 1fr; gap: 24px; }
  .section-intro > p { max-width: 40em; }
  .boundary, .spec-row, .spec-row.reverse, .query-layout, .contact-layout { grid-template-columns: 1fr; }
  .spec-row.reverse .photo { grid-row: 1; }
  .photo-frame { min-height: 0; aspect-ratio: 1.65; }
  .residency, .api, .spec-copy, .query-code, .query-result { padding: 36px; }
  .region-list { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 30px; }
  .spec-list > div { grid-template-columns: 130px minmax(0, 1fr); gap: 18px; }
  .api-top { flex-direction: row; }
  .api-bottom { flex-wrap: nowrap; }
  .cutover-intro { grid-template-columns: 1fr; }
  .cutover-copy { padding-right: 0; }
  .cutover-copy > p { max-width: 40em; }
  .cutover-intro .photo-frame { aspect-ratio: 1.75; }
  .cutover-intro .photo { margin-bottom: 28px; }
  .record-data { gap: 24px; }
  .record-heading { align-items: flex-start; }
  .service-log article { grid-template-columns: 70px minmax(0, 1fr); gap: 28px; }
  .faq-list article { grid-template-columns: .8fr 1.2fr; gap: 30px; }
  .contact .photo-frame { min-height: 0; aspect-ratio: 1.65; }
  .contact-copy { padding-block: 68px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 92px; }
  .header-inner { height: 72px; }
  .brand { font-size: 26px; }
  .hero { min-height: 760px; }
  .hero-photo { object-position: 62% center; }
  .hero::after { background: #1b1c2059; }
  .hero-inner { align-items: flex-end; padding-top: 140px; padding-bottom: 148px; }
  .hero-copy { width: 100%; max-width: none; }
  .hero h1 { font-size: clamp(32px, 8.5vw, 50px); line-height: 1.4; letter-spacing: .04em; margin-bottom: 22px; }
  .hero-description { font-size: var(--body); max-width: 25em; }
  .actions { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 26px; }
  .actions .button { min-width: 210px; }
  .hero-bottom { bottom: 24px; flex-direction: column; align-items: flex-start; gap: 4px; padding-right: 64px; }
  h2 { font-size: 34px; line-height: 1.4; }
  .section-intro { margin-bottom: 32px; }
  .section-intro > p { font-size: var(--body); }
  .residency, .api, .spec-copy, .query-code, .query-result { padding: 26px; }
  .region-total { gap: 14px; }
  .region-total .fixed-number { font-size: 70px; }
  .region-total > span { font-size: var(--lead); }
  .region-list { display: block; }
  .region-list h3 { font-size: 22px; }
  .api-top { flex-direction: column; }
  .code { font-size: var(--small); line-height: 1.85; }
  .response dl { grid-template-columns: 1fr 1fr; gap: 10px; }
  .api-bottom { flex-direction: column; align-items: flex-start; }
  .api-bottom p { max-width: 100%; }
  .spec-copy h3 { font-size: 26px; }
  .spec-list > div { grid-template-columns: 1fr; gap: 5px; }
  .photo-frame { aspect-ratio: 1.3; }
  .photo figcaption { padding-inline: 18px; }
  .spec-row + .spec-row { margin-top: 24px; }
  .phase-count { gap: 20px; }
  .phase-count > span { font-size: var(--lead); }
  .runbook { grid-template-columns: 1fr; }
  .stage-top { gap: 20px; }
  .runbook-stage dl > div { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
  .query-impact strong { font-size: 44px; }
  .query-result th, .query-result td { padding-right: 9px; }
  .query-result td { overflow-wrap: anywhere; }
  .section-action { flex-direction: column; align-items: flex-start; }
  .record-heading { flex-direction: column; gap: 10px; margin-bottom: 22px; }
  .record-data { grid-template-columns: 1fr; gap: 18px; }
  .record-heading h3 { font-size: 28px; }
  .service-log article { grid-template-columns: 1fr; gap: 12px; }
  .service-log .fixed-number { font-size: 32px; }
  .faq-list article { grid-template-columns: 1fr; gap: 18px; }
  .faq-list h3 { font-size: 24px; }
  .contact h2 { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-brand > p { max-width: 30em; }
  .footer-bottom { padding-bottom: 40px; }
  .footer-bottom > div { gap: 20px; }
  .menu-head .brand { font-size: 24px; }
  .menu-content { padding-top: 8px; }
  .menu nav a { font-size: 30px; padding-block: 16px; }
  .menu nav span { font-size: var(--small); }
  .menu-footer { gap: 12px; }
  .detail-dialog { padding: 24px; }
  .dialog-head h2 { font-size: var(--mid); }
}
@media (max-height: 740px) and (min-width: 601px) {
  .hero-inner { padding-top: 140px; padding-bottom: 90px; }
  .hero h1 { font-size: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .page, .char, .depth, .fixed-number, [data-motion="132"], .photo img, .photo figcaption, .icon, .copy-sheet, .download-stem { transform: none !important; opacity: 1 !important; }
}
