﻿@font-face {
  font-family: Geist;
  src: url("./assets/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #101827;
  --muted: #505e71;
  --night: #0a1019;
  --electric: #326bfa;
  --line: #d9dfe8;
  --white: #fff;
  --mono: ui-monospace, Consolas, "Liberation Mono", monospace;
  font-family: Geist, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--night);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; min-width: 275px; font-size: 16px; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, figure { margin: 0; }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3785ff; outline-offset: 4px; }
::selection { color: #fff; background: #244dc0; }
.shell { width: min(1224px, 88%); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: 8px; left: 12px; background: white; color: black; padding: 12px 17px; transform: translateY(-170%); }
.skip:focus { transform: translateY(0); }
#main:focus { outline: none; }
.site-header { color: #f3f6fb; background: var(--night); border-bottom: 1px solid #232d3a; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 650; letter-spacing: -.065em; line-height: 1.2; }
.brand-mark { display: block; flex: 0 0 auto; }
.brand-period { color: #6a96ff; }
.main-nav { display: flex; align-items: center; gap: clamp(22px,3.4vw,44px); }
.main-nav > a { font-size: 14px; color: #c9d2de; transition: color .18s; }
.main-nav > a:hover { color: white; }
.nav-contact, .footer-contact { border: 1px solid #445166; background: transparent; color: #f3f6fb; font-weight: 550; border-radius: 5px; padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 40px; font-size: 14px; }
.nav-contact:hover, .footer-contact:hover { border-color: #8baaf7; background: #172438; }
.menu-toggle { display: none; }
.hero { color: #f5f8ff; background: radial-gradient(ellipse at 76% 52%, #101c30 0%, #0b121e 31%, var(--night) 67%); border-bottom: 1px solid #172332; overflow: hidden; }
.hero > .shell { padding-block: clamp(35px,4.1vw,58px) clamp(34px,3.7vw,53px); }
.hero-layout { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(28px,5.5vw,90px); margin-bottom: clamp(25px,2.6vw,38px); }
.eyebrow, .card-category { display: flex; align-items: center; gap: 12px; font: 600 11px/1.45 var(--mono); letter-spacing: .115em; text-transform: uppercase; color: #3157a3; }
.eyeline { display: inline-block; flex: 0 0 auto; width: 25px; height: 2px; background: #487cf9; }
.hero-eyebrow { color: #a6bfff; }
.hero h1 { margin-block: 15px 0; font-size: clamp(55px,5.1vw,75px); font-weight: 580; letter-spacing: -.082em; line-height: .99; }
.hero h1 em, .case-hero h1 em { font-style: normal; color: #6692ff; }
.hero h1 em { white-space: nowrap; }
.hero-intro { font-size: clamp(16px,1.25vw,19px); line-height: 1.56; letter-spacing: -.012em; max-width: 495px; color: #bac5d5; }
.primary-btn { display: inline-flex; justify-content: center; align-items: center; gap: 24px; background: #2f62e9; color: white; border: 1px solid #477af8; border-radius: 5px; min-height: 48px; padding: 11px 18px; font-size: 14px; font-weight: 580; transition: background .2s, transform .2s; }
.primary-btn:hover { background: #2453dc; transform: translateY(-2px); }
.case-links { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 27px; }
.case-links a { display: inline-flex; align-items: center; justify-content: space-between; gap: 13px; min-height: 44px; padding: 11px 15px; border: 1px solid #465a77; border-radius: 5px; color: #eaf1ff; font-size: 13px; font-weight: 580; transition: background .18s; }
.case-links a:first-child { background: #2f62e9; border-color: #467afb; color: #fff; }
.case-links a:first-child:hover { background: #2553cb; }
.case-links a + a:hover { background: #192a42; }
.drawing-label { font: 600 10px/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.case-gallery .terrain { width: min(100%,720px); margin: 0 auto 40px; padding: 14px 20px 18px; border-radius: 6px; background: #101b2a; overflow: hidden; }
.terrain { --frame: #496386; min-width: 0; padding-top: 6px; }
.terrain-stage { aspect-ratio: 1.72; position: relative; isolation: isolate; }
.terrain-grid { position: absolute; inset: -1% -5% -4%; background-image: linear-gradient(#6288b91c 1px,transparent 1px),linear-gradient(90deg,#6288b91c 1px,transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at 50% 53%,#000 20%,#0009 57%,transparent 78%); z-index: -1; }
.terrain-stage::before { content: ""; position: absolute; z-index: -1; inset: 14% 5% 5%; background: radial-gradient(ellipse,#243f6b45, transparent 66%); }
.terrain-render { position: absolute; inset: 1% -1% 3%; display: grid; place-items: center; }
.terrain-render img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 13px 12px #0408117a); }
.terrain-frame { position: absolute; inset: 5% 1% 3%; pointer-events: none; }
.terrain-frame i { position: absolute; width: 11px; height: 11px; border: solid var(--frame); opacity: .85; }
.terrain-frame i:nth-child(1) { left: 0; top: 0; border-width: 1px 0 0 1px; }
.terrain-frame i:nth-child(2) { right: 0; top: 0; border-width: 1px 1px 0 0; }
.terrain-frame i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.terrain-frame i:nth-child(4) { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.axis { position: absolute; width: 38px; height: auto; left: 4%; bottom: 8%; }
.terrain-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 1% 0; }
.terrain-caption > span:first-child { display: inline-flex; gap: 9px; align-items: baseline; }
.terrain-caption b { font-size: 12px; font-weight: 550; color: #d2dceb; }
.terrain-caption small { color: #9aacbf; font: 10px/1.4 var(--mono); }
.terrain-caption small::before { content: "/"; color: #61728b; margin-right: 9px; }
.mode-switch { display: inline-flex; border: 1px solid #344256; padding: 3px; border-radius: 5px; gap: 2px; }
.mode-switch button { font: 10px/1.35 var(--mono); background: transparent; border: 0; color: #b1bed0; padding: 6px 9px; border-radius: 3px; }
.mode-switch button[aria-pressed="true"] { color: white; background: #29416b; }
.mode-switch button:hover { color: white; background: #1c304d; }
.expertise { background: white; padding-block: clamp(57px,6vw,86px) clamp(55px,5.5vw,80px); }
.section-heading h2, .case-gallery h2, #contact-dialog h2 { margin-top: 12px; font-size: clamp(38px,4.1vw,61px); letter-spacing: -.069em; font-weight: 575; line-height: 1.03; }
.section-heading h2 span, #contact-dialog h2 span { color: var(--electric); }
.expert-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(24px,3.2vw,54px); margin-top: 34px; }
.expert-item { border-top: 1px solid #c5cfdd; padding-top: 22px; }
.expert-icon { display: inline-flex; align-items: center; justify-content: center; color: #3763cd; }
.expert-item h3 { margin: 14px 0 9px; font-size: clamp(21px,1.8vw,27px); font-weight: 580; letter-spacing: -.043em; }
.expert-item p, .work-heading > p, .card-body p, .exhibit figcaption span { color: var(--muted); font-size: 15px; line-height: 1.6; }
.expert-item p { max-width: 355px; }
.works, .case-gallery { background: #f2f5fa; border-block: 1px solid #e1e7ee; padding: clamp(58px,6vw,87px) 0 clamp(66px,7vw,102px); }
.work-heading { display: flex; justify-content: space-between; align-items: end; gap: 26px; }
.work-heading > p { max-width: 380px; }
.project-group { margin-top: 43px; }
.project-group + .project-group { margin-top: 55px; }
.group-title { display: flex; gap: 10px; align-items: center; padding-bottom: 14px; color: #25364c; font-size: 16px; font-weight: 610; letter-spacing: -.02em; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #386ee6; }
.status-dot.progress { border: 2px solid #416baf; background: transparent; }
.project-grid, .gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(20px,2.8vw,36px); }
.project-card { display: flex; flex-direction: column; background: white; border: 1px solid #d5dfe9; border-radius: 7px; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.project-card:hover { border-color: #9bb4ec; box-shadow: 0 7px 24px #1c385110; transform: translateY(-3px); }
.card-art { isolation: isolate; position: relative; aspect-ratio: 16/10; width: 100%; overflow: hidden; container-type: inline-size; border-bottom: 1px solid #d9e1eb; }
.card-art::before, .diagram-art::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: 0; background-image: linear-gradient(#6383bc17 1px,transparent 1px),linear-gradient(90deg,#6383bc17 1px,transparent 1px); background-size: 24px 24px; }
.station-art { display: flex; align-items: center; justify-content: center; background: radial-gradient(at 22% 40%,#1f3b50,#132330 61%,#10202f); }
.station-frame { width: 58%; height: 83%; background: #142532; border: 1px solid #526777; border-radius: 3px; padding: 3px; box-shadow: 0 12px 25px #060d195c; }
.station-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.art-side { display: flex; flex-direction: column; align-items: start; gap: 9px; margin-left: 5%; color: #c4d1df; }
.art-side small, .mini-activity > span, .mini-activity small { font: 10px/1.45 var(--mono); }
.art-side small { text-transform: uppercase; letter-spacing: .09em; color: #a1c2e3; }
.art-side span { font-size: clamp(12px,3.2cqw,18px); letter-spacing: -.04em; font-weight: 520; line-height: 1.25; }
.art-side i { width: 24px; height: 1px; background: #7191b1; }
.search-art { display: grid; place-items: center; background: radial-gradient(at 85% 0,#c0d7ff 0,transparent 56%),#d9e7fc; position: relative; isolation: isolate; }
.retrieval-window { position: relative; z-index: 1; color: #182c4c; width: 65%; max-width: 330px; background: #fff; border: 1px solid #afc4e1; border-radius: 6px; box-shadow: 0 13px 25px #34578b21; }
.page-shadow { position: absolute; width: 62%; height: 59%; max-width: 315px; transform: translate(9px,-7px) rotate(3deg); border: 1px solid #afc4e1; border-radius: 4px; background: #eff6ff; }
.window-bar { display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-bottom: 1px solid #dce5f0; }
.window-bar b { font-size: clamp(12px,2.7cqw,16px); font-weight: 650; letter-spacing: -.025em; }
.window-icon { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; color: #3b69d7; background: #eaf1ff; border-radius: 5px; }
.weights { padding: 12px 15px 3px; }
.weights > div { display: flex; justify-content: space-between; gap: 7px; align-items: baseline; font-size: clamp(10px,2.3cqw,13px); }
.weights b { font: 600 11px/1.1 var(--mono); color: #2950a0; }
.meter { display: block; height: 5px; margin: 6px 0 12px; width: 100%; border-radius: 3px; overflow: hidden; background: #e9eef7; }
.meter i { display: block; height: 100%; background: #497df6; }
.meter.secondary i { background: #899ebd; }
.window-foot { font: 10px/1.4 var(--mono); color: #536681; padding: 8px 15px 9px; border-top: 1px solid #e0e7ef; }
.window-foot span { color: #6482ae; margin-inline: 4px; }
.card-art.parcel-art, .diagram-art.parcel-art { display: grid; place-items: center; background: linear-gradient(130deg,#e9e8f5,#d9eeea); }
.parcel-art::before { background-image: none; }
.parcel-sheet { width: min(85%,365px); padding: clamp(15px,4.2cqw,26px); border: 1px solid #c0bed7; border-radius: 9px; background: #fcfcff; color: #2f3051; box-shadow: 0 8px 22px #3e3b6c16; }
.drawing-label { display: block; color: #535289; font-size: clamp(8px,2.1cqw,10px); }
.drawing-title { display: block; margin-top: 7px; font-size: clamp(15px,4.2cqw,23px); letter-spacing: -.04em; line-height: 1.2; font-weight: 590; }
.parcel-branch { display: grid; grid-template-columns: minmax(0,1fr) 22% minmax(0,1fr); align-items: center; margin-top: 16px; }
.parcel-branch ul { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.parcel-branch li, .sale-node { display: grid; place-items: center; min-height: 29px; padding: 3px; border-radius: 4px; font: 600 clamp(10px,2.5cqw,13px)/1.4 var(--mono); }
.sale-node { color: #f4f3ff; background: #42416d; }
.parcel-branch li { background: #e5f3ef; color: #255d59; border: 1px solid #9ebfb8; }
.branch-wire { position: relative; height: 40px; }
.branch-wire::before { content: ""; position: absolute; inset: 50% 50% auto 0; border-top: 1px solid #8788a9; }
.branch-wire::after { content: ""; position: absolute; inset: 0 0 0 50%; border: solid #8788a9; border-width: 1px 0 1px 1px; }
.parcel-checkpoints { margin: 15px 0 0; padding: 0; list-style: none; }
.parcel-checkpoints li { display: grid; grid-template-columns: 11px 1fr; align-items: start; column-gap: 9px; padding-block: 5px; }
.parcel-checkpoints i { width: 9px; height: 9px; border: 2px solid #37867b; border-radius: 50%; margin-top: 4px; }
.parcel-checkpoints li:first-child i { background: #37867b; }
.parcel-checkpoints b, .parcel-checkpoints span { display: block; }
.parcel-checkpoints b { color: #38395b; font-size: 13px; }
.parcel-checkpoints span { color: #4e6266; font-size: 11px; margin-top: 2px; }
.city-art { background: linear-gradient(125deg,#163148,#223f5b); }
.bim-frame { background: #f7f9f9; overflow: hidden; position: absolute; inset: 14% 12% 18% 7%; border: 1px solid #9db2c2; border-radius: 3px; box-shadow: 0 12px 18px #07172835; }
.bim-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mini-activity { position: absolute; color: #ebf3ff; right: 7%; bottom: 11%; width: 31%; padding: 9px 12px 7px; background: #15293e; border: 1px solid #527091; border-radius: 4px; box-shadow: 0 5px 10px #14253a24; }
.mini-activity > div { height: clamp(26px,7cqw,39px); margin: 5px 0 2px; display: flex; gap: 6%; align-items: end; border-bottom: 1px solid #697c91; }
.mini-activity i { width: 9%; height: calc(var(--v) * 4%); background: #7aaafb; }
.mini-activity small { font-size: 8px; color: #b4c2d3; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: clamp(17px,2vw,29px); }
.card-category { font-size: 10px; }
.card-title { display: flex; align-items: start; gap: 16px; justify-content: space-between; margin: 9px 0 8px; }
.card-title h4 { font-size: clamp(20px,2.05vw,31px); font-weight: 575; letter-spacing: -.052em; line-height: 1.14; }
.card-arrow { flex: 0 0 auto; height: 32px; width: 32px; border: 1px solid #d8e0ea; color: #315bad; border-radius: 50%; display: grid; place-items: center; }
.card-body p { font-size: 14px; max-width: 49ch; }
.card-meta { display: flex; align-items: center; gap: 8px; font: 10px/1.6 var(--mono); color: #526279; padding-top: 19px; margin-top: auto; }
.card-meta i { width: 3px; height: 3px; border-radius: 100%; background: #90a2b9; }
footer { color: white; background: var(--night); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 36px; }
.foot-inner p { margin-top: 9px; color: #acb9ca; font-size: 12px; }
.case-hero { color: #eff4ff; padding: 37px 0 43px; background: radial-gradient(ellipse at 100% 15%,#172945,transparent 55%),var(--night); }
.back-link { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: #c0ccde; margin-bottom: clamp(31px,5vw,64px); }
.back-link:hover { color: white; }
.case-hero h1 { margin: 16px 0; max-width: 945px; font-size: clamp(42px,5.6vw,83px); line-height: 1.02; letter-spacing: -.068em; font-weight: 575; }
.case-summary { max-width: 690px; font-size: clamp(16px,1.5vw,22px); color: #bac8da; line-height: 1.5; }
.facts { display: flex; flex-wrap: wrap; gap: 22px 65px; margin: 29px 0 0; border-top: 1px solid #324052; padding-top: 22px; }
.facts dt { font: 10px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: #a7bddc; }
.facts dd { margin: 5px 0 0; font-size: 14px; }
.case-story { background: white; padding: clamp(54px,6vw,88px) 0; }
.narrative { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,8vw,126px); }
.narrative h2 { font-size: clamp(25px,2.8vw,41px); font-weight: 565; line-height: 1.17; letter-spacing: -.051em; margin-top: 12px; }
.approach > p:not(.eyebrow) { color: var(--muted); line-height: 1.57; font-size: 15px; margin-top: 8px; }
.approach h3 { margin-top: 18px; font-size: 17px; font-weight: 620; letter-spacing: -.025em; }
.gallery-grid { margin-block: 32px 48px; }
.exhibit { min-width: 0; }
.gallery-image, .diagram-art { position: relative; isolation: isolate; aspect-ratio: 16/10; width: 100%; border-radius: 5px; background: #e2e9f3; border: 1px solid #cbd6e4; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 17px; }
.gallery-image { cursor: zoom-in; }
.gallery-image img { max-width: 100%; max-height: 100%; object-fit: contain; width: auto; height: auto; }
.gallery-image.exhibit-station { background: #172635; }
.gallery-image.exhibit-station img { height: 100%; }
.exhibit-bim img, .exhibit-activity img { width: 100%; }
.exhibit-activity { background: #132c45; }
.expand-icon { position: absolute; right: 10px; bottom: 10px; background: #10243c; color: white; padding: 6px; display: grid; place-items: center; border-radius: 4px; border: 1px solid #768ca6; }
.exhibit figcaption { margin-top: 16px; }
.exhibit figcaption strong { display: block; font-weight: 595; font-size: 20px; letter-spacing: -.035em; }
.exhibit figcaption span { display: block; font-size: 14px; margin-top: 5px; }
.diagram-art { container-type: inline-size; }
.diagram-art.search-art { background: #d7e6fb; }
.pipeline { background: #14273a; color: white; }
.pipeline > div { width: min(74%,300px); }
.pipe-step { display: flex; align-items: center; gap: 12px; position: relative; font: 13px/1.35 var(--mono); padding: 7px 12px; background: #1c3551; border: 1px solid #456385; border-radius: 4px; }
.pipe-step i { display: inline-flex; color: #aac7ff; }
.pipe-step + .pipe-step { margin-top: 13px; }
.pipe-step + .pipe-step::before { content: ""; position: absolute; top: -14px; height: 13px; width: 1px; left: 22px; background: #7090b4; }
.answer-art { background: #e8edf5; }
.answer-paper { width: min(85%,350px); background: white; border: 1px solid #c0ccdc; padding: clamp(12px,4cqw,25px); border-radius: 4px; }
.answer-paper small { font: 600 10px/1.45 var(--mono); color: #375aa9; text-transform: uppercase; letter-spacing: .06em; }
.answer-paper p { margin: 8px 0; font-size: clamp(12px,3.3cqw,17px); }
.answer-paper p b { color: #3258a8; font-size: 10px; }
.answer-paper hr { border: 0; border-top: 1px solid #d3deec; }
.answer-paper strong, .answer-paper span { display: block; font-size: clamp(9px,2.5cqw,12px); }
.answer-paper span { margin-top: 4px; color: #495f7a; }
.next-project { border-block: 1px solid #ccd7e3; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; color: #294671; }
.next-project span { font-size: 12px; }
.next-project strong { display: block; margin-top: 5px; font-size: clamp(17px,2.4vw,27px); font-weight: 585; letter-spacing: -.04em; color: var(--ink); }
dialog { width: min(470px,92vw); max-height: 89vh; color: var(--ink); background: #fff; border-radius: 9px; padding: clamp(23px,4vw,37px); border: 1px solid #b7c5d7; box-shadow: 0 22px 80px #02060b73; }
dialog::backdrop { background: #060e1cc9; }
.dialog-top { display: flex; justify-content: end; margin-bottom: 2px; }
.close-btn { display: grid; place-items: center; color: #30405a; border: 1px solid #c5d1df; border-radius: 4px; padding: 6px; background: white; }
#contact-dialog h2 { font-size: clamp(29px,7vw,40px); }
#contact-dialog > p:not(.eyebrow) { color: var(--muted); margin: 12px 0 20px; font-size: 15px; line-height: 1.5; }
#inquiry-form { display: grid; gap: 9px; }
#inquiry-form label { font-size: 13px; font-weight: 600; }
textarea { color: var(--ink); border: 1px solid #adbccd; border-radius: 5px; width: 100%; resize: vertical; padding: 12px; line-height: 1.5; }
#inquiry-form .primary-btn { justify-self: start; margin-top: 4px; }
#draft-status { color: #21559f; font-size: 13px; }
.image-dialog { width: fit-content; max-width: 94vw; padding: 12px; }
.image-dialog img { display: block; max-width: min(84vw,1250px); max-height: 68vh; margin-top: 6px; }
.wide-image-hint { display: none; }
.wide-image .zoom-viewport { overflow: auto; max-width: 100%; overscroll-behavior-inline: contain; }
.wide-image { width: min(1450px,94vw); }
.wide-image .zoom-viewport img { width: 100%; height: auto; max-height: none; max-width: none; min-width: 1100px; }
@media(max-width:1199px) {
  .wide-image .wide-image-hint { display: block; margin: 6px 2px 0; color: #485969; font-size: 12px; line-height: 1.4; }
}
.image-dialog h2 { font-size: 15px; font-weight: 580; margin: 10px 2px 0; }
@media(max-width:950px) {
  .shell { width: 90%; }
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero h1 { font-size: clamp(46px,5.7vw,59px); }
  .terrain-caption > span:first-child { display: grid; gap: 2px; }
  .terrain-caption small::before { display: none; }
  .work-heading > p { max-width: 320px; }
}
@media(max-width:760px) {
  .hero > .shell { padding-block: 33px 28px; }
  .hero-layout { grid-template-columns: 1fr; gap: 15px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(46px,8vw,65px); margin: 15px 0 0; }
  .hero-intro { max-width: 520px; }
  .case-links { margin-top: 20px; }
  .terrain { width: min(100%,530px); justify-self: center; }
  .terrain-caption { padding-top: 6px; }
  .terrain-caption > span:first-child { display: inline-flex; align-items: baseline; gap: 8px; }
  .terrain-caption small::before { display: inline; }
  .expertise, .works, .case-gallery { padding-block: 48px; }
  .expert-grid { gap: 20px; }
  .expert-item h3 { font-size: 20px; }
  .expert-item p { font-size: 14px; }
  .work-heading { align-items: start; flex-direction: column; gap: 14px; }
  .work-heading > p { max-width: 460px; }
  .project-group { margin-top: 29px; }
  .project-grid,.gallery-grid { gap: 18px; }
  .card-body { padding: 18px; }
  .card-title { gap: 8px; }
  .card-arrow { width: 26px; height: 26px; }
  .window-bar { padding: 7px 11px; }
  .weights { padding: 9px 11px 1px; }
  .window-foot { padding: 6px 11px; }
  .narrative { gap: 34px; }
}
@media(max-width:620px) {
  .header-inner { min-height: 62px; }
  .case-links { gap: 8px; }
  .case-links a { padding: 10px 12px; gap: 8px; }
  .terrain-caption > span:first-child { display: grid; gap: 2px; }
  .terrain-caption small::before { display: none; }
  .mode-switch { flex-shrink: 0; }
  .mode-switch button { min-height: 29px; }
  .menu-toggle { margin-left: auto; border: 1px solid #374553; background: transparent; color: white; width: 42px; height: 39px; border-radius: 4px; display: grid; place-items: center; }
  .site-header { position: relative; z-index: 3; }
  .main-nav { display: none; }
  .site-header.menu-open .main-nav { display: flex; align-items: stretch; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; padding: 7px 5% 17px; background: #101a27; box-shadow: 0 11px 20px #0003; border-bottom: 1px solid #455978; }
  .main-nav > a { padding: 12px 0; }
  .nav-contact { align-self: start; margin-top: 5px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 26px; height: 26px; }
  .expert-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 24px; }
  .expert-item { display: grid; grid-template-columns: 30px 1fr; column-gap: 15px; padding-top: 16px; }
  .expert-icon { justify-content: start; align-self: start; }
  .expert-icon svg { width: 22px; height: 22px; }
  .expert-item h3 { margin: 0; }
  .expert-item p { grid-column: 2; max-width: none; margin-top: 3px; }
  .project-grid, .gallery-grid, .narrative { grid-template-columns: 1fr; }
  .project-group + .project-group { margin-top: 34px; }
  .project-grid { gap: 21px; }
  .project-card .card-body { padding: 19px; }
  .card-title h4 { font-size: 24px; }
  .window-bar { padding: 9px 13px; }
  .weights { padding: 11px 13px 2px; }
  .window-foot { padding: 7px 13px; }
  .facts { gap: 15px 29px; }
  .case-hero { padding: 22px 0 30px; }
  .case-story { padding-block: 40px; }
  .gallery-grid { row-gap: 26px; }
  .foot-inner { align-items: start; }
}
@media(max-width:380px) {
  .terrain-caption > span:first-child { display: grid; gap: 1px; }
  .terrain-caption small::before { display: none; }
  .hero h1 { font-size: clamp(37px,12vw,45px); }
  .mini-activity { padding: 6px 8px; }
  .foot-inner { flex-direction: column; }
  .art-side small { font-size: 9px; }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
