:root {
  --walnut: #3b2b23;
  --paper: #f1eee8;
  --stone: #ddd3c4;
  --muted: #85796e;
  --muted-readable: #6d6259;
  --ink: #1e1b19;
  --g: clamp(24px, 4.5vw, 88px);
  --space: clamp(72px, 7vw, 120px);
  --sans: "PingFang TC", "Noto Sans TC", "Source Han Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --serif: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif;
  --small: 14px;
  --body: 16px;
  --lead: 18px;
  --subhead: clamp(24px, 2.1vw, 30px);
  --heading: clamp(36px, 3.6vw, 60px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--body)/1.8 var(--sans); }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
h2, h3 { line-height: 1.4; }
p, dd, li { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
svg { display: block; }
.wrap { width: 100%; max-width: 1560px; margin-inline: auto; }
.section { padding: var(--space) var(--g); }
.section-title { font: 400 var(--heading)/1.4 var(--serif); letter-spacing: .05em; transform-origin: center bottom; }
h3 { font: 400 var(--subhead)/1.4 var(--serif); letter-spacing: .025em; transform-origin: left bottom; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); align-items: end; }
.section-head > p { max-width: 40em; }
.section-note, .image-caption, .file-line, .contact-note { font-size: var(--small); }
.section-note { margin-top: 27px; color: var(--muted-readable); max-width: 48em; }
.skip { position: absolute; top: -90px; left: 20px; z-index: 200; background: var(--paper); padding: 12px; color: var(--walnut); }
.skip:focus { top: 12px; }
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; height: 90px; padding-inline: var(--g); color: var(--paper); transition: transform .25s, background .25s; }
.site-head.solid { background: var(--walnut); }
.site-head.hide { transform: translateY(-100%); }
.head-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid color-mix(in srgb, var(--paper) 40%, transparent); }
.brand { display: inline-flex; align-items: center; gap: 15px; min-height: 48px; font: 400 30px/1.2 var(--serif); letter-spacing: .035em; }
.brand span { font: 400 var(--small)/1.4 var(--sans); letter-spacing: .035em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); font-size: var(--small); }
.desktop-nav > a { display: inline-flex; align-items: center; min-height: 48px; }
.desktop-nav .button { font-size: var(--small); padding: 8px 15px; gap: 17px; }
.desktop-nav .button svg { width: 23px; }
.menu-toggle { display: none; min-height: 48px; min-width: 82px; padding: 9px 14px; gap: 12px; align-items: center; border: 0; color: var(--walnut); background: var(--paper); }
.hamb { display: grid; gap: 6px; width: 20px; }
.hamb i { height: 1px; background: currentColor; }
.hero { position: relative; height: 100dvh; isolation: isolate; color: var(--paper); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: -3; }
.hero-photo img { object-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgb(59 43 35 / .78), rgb(59 43 35 / .38) 45%, rgb(59 43 35 / .03) 78%), linear-gradient(0deg, rgb(59 43 35 / .65), transparent 30%); }
.hero-layout { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 125px; padding-bottom: 32px; width: calc(100% - var(--g) * 2); }
.hero-main { width: min(570px, 100%); margin-bottom: clamp(42px, 6vh, 76px); }
.draw-heading { width: clamp(340px, 36vw, 560px); max-width: 100%; line-height: 1.25; }
.draw-heading svg { width: 100%; height: auto; overflow: visible; font-family: var(--serif); font-weight: 400; letter-spacing: 8px; fill: var(--paper); stroke: var(--paper); stroke-width: 1.5; stroke-linejoin: round; }
.draw-heading text { fill-opacity: 1; stroke-opacity: 0; }
.hero-copy { margin-top: 24px; max-width: 27em; line-height: 1.8; }
.text-link { display: inline-flex; min-height: 48px; align-items: center; gap: 18px; font-size: var(--small); }
.text-link svg { width: 22px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.hero-main .text-link { margin-top: 12px; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 32px; border-top: 1px solid color-mix(in srgb, var(--paper) 40%, transparent); padding-top: 22px; }
.project-title { font: 400 28px/1.4 var(--serif); }
.hero-caption { margin-top: 5px; font-size: var(--small); }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid currentColor; padding: 12px 22px; font: 400 var(--body)/1.6 var(--sans); background: transparent; color: inherit; }
.button svg { width: 30px; height: 23px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.button path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.handover-intro { display: flex; align-items: center; justify-content: space-between; gap: 42px; margin-bottom: 50px; }
.project-scale { display: flex; align-items: center; gap: 28px; }
.draw-number { display: inline-flex; align-items: center; gap: 20px; color: var(--walnut); }
.draw-number svg { flex: none; width: 150px; height: 140px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.2; font-family: var(--serif); }
.draw-number > span { max-width: 12em; font-size: var(--small); line-height: 1.7; }
.draw-number.inline-number { gap: 5px; vertical-align: middle; color: inherit; }
.draw-number.inline-number svg { width: calc(var(--digits) * .9em); height: 1.7em; stroke-width: 5.5; }
.draw-number.inline-number > span { font-size: inherit; max-width: none; }
.project-scale .draw-number { flex-direction: column; align-items: flex-start; gap: 0; }
.project-scale .draw-number svg { width: 210px; height: 150px; }
.project-scale figcaption { max-width: 17em; color: var(--walnut); font-size: var(--small); }
.deliverables { border-top: 1px solid var(--muted); }
.deliverable { display: grid; grid-template-columns: .85fr 1.15fr; column-gap: clamp(35px, 5vw, 85px); padding: 33px 0; border-bottom: 1px solid var(--stone); align-items: center; }
.deliverable:last-child { border-bottom-color: var(--muted); }
.deliverable > div > p { max-width: 40em; }
.documents { display: flex; flex-wrap: wrap; gap: 5px 22px; margin-top: 19px; color: var(--walnut); font-size: var(--small); }
.documents li { position: relative; padding-left: 13px; }
.documents li::before { content: ""; position: absolute; top: .8em; left: 0; width: 5px; height: 1px; background: currentColor; }
.commissioning-strip { display: grid; grid-template-columns: 1.05fr 1fr; margin-top: 56px; background: var(--stone); }
.commissioning-strip .photo { min-height: 0; }
.commissioning-strip > div { padding: clamp(28px, 3.3vw, 54px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.commissioning-strip p { max-width: 40em; margin-top: 18px; }
.commissioning-strip .button { margin-top: 28px; }
.photo { position: relative; overflow: hidden; background: var(--stone); }
.photo img { position: absolute; inset: 0; }
.projects > .section-head { max-width: calc(1560px + var(--g) * 2); }
.project { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--stone); }
.project-image { position: relative; min-height: 640px; }
.project-image .photo { position: absolute; inset: 0; }
.image-caption { position: absolute; bottom: 0; left: 0; max-width: calc(100% - var(--g)); padding: 14px 22px; background: var(--paper); color: var(--walnut); }
.project-body { padding: clamp(38px, 4vw, 72px) var(--g); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.project-heading { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.project-name { font-size: clamp(30px, 3vw, 44px); }
.project-heading .draw-number svg { width: 110px; height: 100px; }
.project-description { margin-top: 23px; max-width: 40em; }
.completion-data { width: 100%; margin: 28px 0; border-top: 1px solid var(--muted); font-size: var(--small); }
.completion-data > div { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--walnut) 25%, transparent); transition: background .25s; }
.completion-data dt { color: var(--walnut); }
.completion-data .draw-number { gap: 18px; }
.completion-data .draw-number svg { width: 90px; height: 67px; }
.project-horizon { background: var(--walnut); color: var(--paper); }
.project-horizon .project-image { order: 2; }
.project-horizon .draw-number, .project-horizon dt { color: var(--paper); }
.project-horizon .completion-data { border-top-color: var(--muted); }
.project-horizon .completion-data > div { border-bottom-color: color-mix(in srgb, var(--paper) 28%, transparent); }
.project-ecotech { background: var(--paper); }
.expertise { background: var(--stone); }
.expertise-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 100px); margin-top: 50px; }
.detail-photo { min-height: 590px; }
.expertise-list article { padding: 28px 0; border-bottom: 1px solid color-mix(in srgb, var(--walnut) 25%, transparent); }
.expertise-list article:first-child { padding-top: 0; }
.expertise-list article:last-child { border: 0; padding-bottom: 0; }
.expertise-list p { max-width: 40em; margin-top: 16px; }
.expertise-list .file-line { color: var(--walnut); margin-top: 19px; }
.expertise > .wrap > .button { margin-top: 35px; }
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: stretch; }
.about-intro > div { padding-block: 8px; }
.about-copy { margin: 30px 0 20px; }
.about-intro p { max-width: 40em; }
.about-intro .photo { min-height: 0; }
.capabilities { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 7vw, 120px); margin-top: 50px; border-top: 1px solid var(--muted); }
.capabilities article { padding: 30px 0; border-bottom: 1px solid var(--stone); }
.capabilities article p { max-width: 40em; margin-top: 18px; }
.capabilities article .file-line { color: var(--muted-readable); }
.about > .wrap > .button { margin-top: 35px; }
.contact { background: var(--walnut); color: var(--paper); }
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(40px, 8vw, 140px); }
.contact-layout > div > p { margin-top: 24px; max-width: 40em; }
.contact-action { display: flex; flex-direction: column; align-items: flex-start; }
.contact-action > .button { width: 100%; }
.contact-action > p { font-size: var(--small); }
.contact-action .text-link { margin-top: 15px; }
.footer { padding-top: 66px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .8fr 1fr 1.1fr; gap: clamp(24px, 3vw, 50px); }
.footer-brand .brand { font-size: 32px; flex-wrap: wrap; gap: 5px 12px; }
.footer-brand p { margin-top: 22px; max-width: 24em; font-size: var(--small); }
.footer h3 { font: 400 18px/1.4 var(--sans); margin: 12px 0 20px; }
.footer ul a { display: inline-flex; min-height: 44px; align-items: center; font-size: var(--small); }
.footer address { font-style: normal; font-size: var(--small); line-height: 1.8; }
.footer address a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-note { margin-top: 14px; color: var(--muted-readable); }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a { display: flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; border: 1px solid var(--stone); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 30px; border-top: 1px solid var(--stone); margin-top: 50px; padding-top: 21px; font-size: var(--small); }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { min-height: 44px; display: flex; align-items: center; }
.demo-disclaimer { margin-top: 16px; max-width: 60em; font-size: var(--small); color: var(--muted-readable); }
.menu { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; padding: 26px var(--g); overflow-y: auto; overscroll-behavior: contain; color: var(--walnut); background: var(--stone); visibility: hidden; opacity: 0; transform: perspective(1400px) rotateY(68deg); transform-origin: 50% 50%; backface-visibility: hidden; transition: transform .3s cubic-bezier(.2,.65,.2,1), opacity .24s, visibility .3s; }
.menu.open { visibility: visible; opacity: 1; transform: perspective(1400px) rotateY(0); }
.menu-head { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.menu-close { min-height: 48px; min-width: 82px; border: 0; padding: 8px 14px; background: var(--walnut); color: var(--paper); }
.menu-nav { display: grid; gap: 20px; padding-block: 32px; margin-block: auto; }
.menu-nav a { display: block; min-height: 48px; }
.menu-nav a > span { font: 400 clamp(30px, 4vw, 48px)/1.4 var(--serif); letter-spacing: .05em; }
.menu-nav small { display: block; font-size: var(--small); margin-top: 5px; line-height: 1.7; }
.menu-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; border-top: 1px solid var(--muted); padding-top: 24px; font-size: var(--small); }
.menu-bottom a:not(.button) { display: inline-flex; min-height: 44px; align-items: center; margin-right: 16px; }
.menu-bottom .button { width: 100%; }
.demo-dialog { color: var(--ink); background: var(--paper); border: 1px solid var(--muted); padding: clamp(25px, 4vw, 60px); max-width: min(720px, calc(100% - 48px)); max-height: calc(100dvh - 48px); }
.demo-dialog::backdrop { background: rgb(30 27 25 / .6); }
.demo-dialog h2 { font-size: clamp(28px, 3vw, 40px); }
.demo-dialog p { margin-block: 24px; }
.demo-dialog nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.demo-dialog nav a { min-height: 44px; display: inline-flex; align-items: center; }
.demo-dialog > .button { margin-top: 24px; width: 100%; }
/* Keep the existing bilingual control within the approved palette. */
html body .cxdigi-language-link { color: var(--walnut); background: var(--paper); border-color: var(--muted); border-radius: 0; box-shadow: none; }
html body .cxdigi-language-link:focus-visible { outline: 2px solid var(--walnut); }
body.menu-open .cxdigi-language-link { visibility: hidden; }
/* 290: finish both outlines, then fill within 0.4 seconds, once. */
.hero.ready .draw-heading text { stroke-dasharray: 1000; animation: write-title 1.15s ease both, fill-title .4s ease 1.28s forwards; }
.hero.ready .draw-heading text:nth-child(2) { animation-delay: .13s, 1.28s; }
@keyframes write-title { from { fill-opacity: 0; stroke-opacity: 1; stroke-dashoffset: 1000; } to { fill-opacity: 0; stroke-opacity: 1; stroke-dashoffset: 0; } }
@keyframes fill-title { from { fill-opacity: 0; stroke-opacity: 1; } to { fill-opacity: 1; stroke-opacity: 0; } }
/* 35: the complete heading stretches from its baseline, without splitting characters. */
[data-motion="35"].is-seen { animation: stretch-title .65s ease both; }
h3[data-motion="35"].is-seen { animation-duration: .5s; }
@keyframes stretch-title { 0% { transform: scaleY(.9); } 48% { transform: scaleY(1.1); } 100% { transform: scaleY(1); } }
/* 133: values remain fixed; only the SVG outline is drawn. */
.draw-number.is-seen text { stroke-dasharray: 900; animation: write-number 1.1s ease both; }
@keyframes write-number { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
/* 136: redraw the arrow inside the button, leaving the outer border alone. */
.button:hover path, .button:focus-visible path, .text-link:hover path, .text-link:focus-visible path { animation: draw-arrow .45s ease both; }
.button:hover path + path, .button:focus-visible path + path { animation-delay: .06s; }
.button:hover svg, .button:focus-visible svg, .text-link:hover svg, .text-link:focus-visible svg { transform: translateY(-2px); }
.button svg, .text-link svg { transition: transform .25s; }
@keyframes draw-arrow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
/* 135: two small document rules draw in sequence, with no moving decoration. */
.record-mark { width: 54px; height: 8px; flex: none; stroke: currentColor; stroke-width: 1; fill: none; margin-bottom: 11px; }
.documents:has(.record-mark) { display: grid; grid-template-columns: 1fr; gap: 5px; }
.documents .document-mark-item { padding: 0; width: 100%; }
.documents .document-mark-item::before { display: none; }
.documents .record-mark { margin-bottom: 8px; }
.is-seen > .record-mark path { stroke-dasharray: 1; animation: draw-arrow .6s ease both; }
.is-seen > .record-mark path + path { animation-delay: .16s; }
.is-seen > .document-mark-item .record-mark path { stroke-dasharray: 1; animation: draw-arrow .6s ease both; }
.is-seen > .document-mark-item .record-mark path + path { animation-delay: .16s; }
/* 202: three local curtains pass over a stationary image; observe its outer frame. */
.photo-curtain { position: absolute; top: 0; bottom: 0; width: 33.5%; background: var(--stone); pointer-events: none; transform: translateY(-102%); }
.photo-curtain:nth-of-type(1) { left: 0; }
.photo-curtain:nth-of-type(2) { left: 33.3%; }
.photo-curtain:nth-of-type(3) { left: 66.6%; }
.photo.is-seen .photo-curtain { animation: local-curtain .72s cubic-bezier(.7,0,.2,1) both; }
.photo.is-seen .photo-curtain:nth-of-type(2) { animation-delay: .06s; }
.photo.is-seen .photo-curtain:nth-of-type(3) { animation-delay: .12s; }
@keyframes local-curtain { 0% { transform: translateY(-102%); } 43% { transform: translateY(0); } 100% { transform: translateY(102%); } }
/* 220: keep the focused document group readable while easing the others back. */
.focus-group > article { transition: opacity .25s, transform .25s; transform-origin: left center; }
@media (hover: hover) {
  .focus-group:has(> article:hover) > article:not(:hover) { opacity: .66; transform: scale(.995); }
}
.focus-group:has(> article:focus-visible) > article:not(:focus-visible) { opacity: .66; transform: scale(.995); }
/* 289: a shared row and column highlight supports reading the completion data. */
.completion-data dt, .completion-data dd { transition: background .25s; }
.completion-data .column-active { background: color-mix(in srgb, var(--walnut) 5%, transparent); }
.completion-data > .row-active { background: color-mix(in srgb, var(--walnut) 8%, transparent); }
.completion-data > .row-active > .column-active { background: color-mix(in srgb, var(--walnut) 12%, transparent); }
.project-horizon .completion-data .column-active, .project-horizon .completion-data > .row-active { background: color-mix(in srgb, var(--paper) 9%, transparent); }
@media (min-width: 1800px) {
  .project-body { padding-inline: clamp(72px, 5vw, 110px); }
}
@media (max-width: 1150px) {
  .desktop-nav { gap: 18px; }
  .brand span { display: none; }
  .project { grid-template-columns: 1fr 1fr; }
  .project-body { padding: 36px; }
  .project-name { font-size: 30px; }
  .project-heading .draw-number svg { width: 100px; height: 90px; }
  .completion-data > div { grid-template-columns: 90px 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 50px; }
  .footer-brand .brand span { display: inline; }
}
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero-layout { padding-bottom: 82px; }
  .hero-main { width: min(570px, 100%); }
  .section-head { gap: 32px; }
  .project-scale { gap: 15px; }
  .project-scale .draw-number svg { width: 160px; height: 130px; }
  .project-scale figcaption { max-width: 13em; }
  .project { display: flex; flex-direction: column; }
  .project-image { min-height: 0; aspect-ratio: 16/9; }
  .project-body { padding: 40px var(--g) 52px; }
  .project-horizon .project-image { order: 0; }
  .project-heading .draw-number svg { width: 120px; height: 100px; }
  .completion-data > div { grid-template-columns: 130px 1fr; }
  .expertise-layout { grid-template-columns: .75fr 1.25fr; gap: 32px; }
  .about-intro { grid-template-columns: 1fr; gap: 35px; }
  .about-intro .photo { min-height: 0; aspect-ratio: 16/9; }
  .contact-layout { grid-template-columns: 1.15fr .85fr; gap: 35px; }
}
@media (max-width: 600px) {
  :root { --heading: 36px; --subhead: 26px; }
  .site-head { height: 78px; }
  .brand { font-size: 27px; }
  .hero-layout { padding-top: 110px; padding-bottom: 82px; }
  .hero-photo img { object-position: 63% center; }
  .hero::after { background: linear-gradient(90deg, rgb(59 43 35 / .74), rgb(59 43 35 / .23)), linear-gradient(0deg, rgb(59 43 35 / .88), transparent 70%); }
  .hero-main { margin-bottom: 30px; }
  .draw-heading { width: min(100%, 350px); }
  .draw-heading svg { stroke-width: 1.8; }
  .hero-copy { margin-top: 20px; max-width: 27em; }
  .hero-main .text-link { margin-top: 6px; }
  .hero-bottom { display: grid; grid-template-columns: 1fr; gap: 21px; padding-top: 20px; }
  .project-title { font-size: 26px; }
  .hero-bottom .button { width: 100%; }
  .section-head { grid-template-columns: 1fr; gap: 25px; }
  .handover-intro { flex-direction: column; align-items: stretch; gap: 30px; margin-bottom: 30px; }
  .project-scale { border-top: 1px solid var(--stone); padding-top: 20px; justify-content: space-between; }
  .project-scale .draw-number { gap: 0; }
  .project-scale .draw-number svg { width: 150px; height: 120px; }
  .project-scale figcaption { max-width: 12em; }
  .deliverable { grid-template-columns: 1fr; gap: 20px; padding-block: 28px; }
  .documents { display: grid; gap: 6px; }
  .commissioning-strip { grid-template-columns: 1fr; margin-top: 36px; }
  .commissioning-strip .photo { min-height: 0; aspect-ratio: 4/3; }
  .commissioning-strip > div { padding: 28px 24px 32px; }
  .commissioning-strip .button { width: 100%; gap: 15px; }
  .project-image { aspect-ratio: 4/3; }
  .image-caption { max-width: 100%; padding: 10px var(--g); }
  .project-heading { gap: 22px; }
  .project-heading .draw-number { width: 100%; }
  .project-name { font-size: 32px; }
  .project-description { margin-top: 21px; }
  .completion-data > div { grid-template-columns: 1fr; gap: 7px; padding-block: 18px; }
  .completion-data dt { color: var(--muted-readable); }
  .project-horizon .completion-data dt { color: var(--stone); }
  .project-body > .button { width: 100%; }
  .expertise-layout { grid-template-columns: 1fr; gap: 32px; margin-top: 35px; }
  .detail-photo { min-height: 0; aspect-ratio: 4/3; }
  .expertise-list article { padding-block: 25px; }
  .capabilities { grid-template-columns: 1fr; margin-top: 35px; }
  .about > .wrap > .button, .expertise > .wrap > .button { width: 100%; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact .section-title { max-width: 9em; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: 28em; }
  .footer h3 { margin-bottom: 13px; }
  .footer-bottom { margin-top: 34px; }
  .footer-bottom nav { flex-wrap: wrap; gap: 8px 20px; }
  .footer-bottom p { max-width: 25em; }
  .menu { padding-block: 20px; }
  .menu-nav { gap: 17px; padding-block: 26px; }
  .menu-nav a > span { font-size: 30px; }
  .menu-bottom { grid-template-columns: 1fr; gap: 20px; }
  .menu-bottom div > p:nth-child(2) { max-width: 26em; }
}
@media (max-height: 740px) {
  .hero-layout { padding-top: 90px; padding-bottom: 20px; }
  .hero-main { margin-bottom: 20px; }
  .draw-heading { width: min(100%, 42vh * 2); max-height: 32vh; }
  .draw-heading svg { max-height: 32vh; width: auto; max-width: 100%; }
  .hero-copy { margin-top: 10px; }
  .hero-main .text-link { margin-top: 0; }
  .hero-bottom { gap: 12px; padding-top: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero.ready .draw-heading text { fill-opacity: 1; stroke-opacity: 0; stroke-dashoffset: 0; }
  .draw-number.is-seen text { stroke-dashoffset: 0; }
  [data-motion="35"], .focus-group > article { transform: none !important; }
  .photo-curtain { display: none; }
}
