:root {
  color-scheme: light;
  --paper: #f5f3ed;
  --ink: #162629;
  --dark: #101e22;
  --accent-rgb: 53 184 255;
  --accent: rgb(var(--accent-rgb));
  --accent-hover: #8ed8ff;
  --accent-muted: #9fcdf0;
  --accent-ink: #14547c;
  --line: #c5ccc7;
  --muted: #465857;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
}
*,*::before,*::after { box-sizing:border-box }
[hidden] { display:none !important }
body { margin:0; background:var(--paper); color:var(--ink) }
img,video { display:block; max-width:100% }
a { color:inherit; text-decoration:none }
button { font:inherit; cursor:pointer }
:focus-visible { outline:3px solid #2380a1; outline-offset:5px }
.skip { position:absolute; z-index:10; top:10px; left:10px; transform:translateY(-150%); background:white; color:black; padding:12px }
.skip:focus { transform:none }
.wrap { width:min(100% - 112px, 1320px); margin-inline:auto }
.header { position:absolute; z-index:4; inset:0 0 auto; height:90px; display:flex; align-items:center; justify-content:space-between; color:white; border-bottom:1px solid #ffffff45 }
.brand img { width:122px; height:auto }
.header nav { display:flex; align-items:center; gap:clamp(11px,1.8vw,28px); font-size:.9rem }
.header nav a:hover { color:var(--accent) }
.header nav a { text-transform:uppercase }
.header nav a[aria-current="page"] { color:var(--accent) }
.home-menu { position:relative }
.home-menu summary { list-style:none; display:flex; align-items:center; gap:8px; cursor:pointer; text-transform:uppercase; padding-block:12px }
.home-menu summary::-webkit-details-marker { display:none }
.home-menu summary svg { transition:transform .2s }
.home-menu[open] summary svg { transform:rotate(180deg) }
.home-menu[data-current-home] > summary { color:var(--accent) }
.home-menu-links { position:absolute; top:100%; left:-16px; min-width:190px; display:grid; padding:8px; background:#132528; border:1px solid #ffffff45; box-shadow:0 12px 28px #0002 }
.header nav .home-menu-links a { padding:13px 12px; display:flex; gap:35px; justify-content:space-between; white-space:nowrap }
.home-menu-links a:hover { background:#ffffff0c }
.home-menu-links span { font-size:.7rem; opacity:.6 }
@media (max-width:1020px) {
  .home-menu summary { padding:12px; justify-content:space-between }
  .home-menu-links { position:static; border:0; border-left:1px solid #ffffff45; margin:0 12px 6px; box-shadow:none; min-width:0 }
}
.inner-masthead { background:var(--dark) }
.inner-masthead .header { position:relative }
.nav-toggle { border:1px solid #ffffff64; padding:10px 12px; background:#132528; color:white }
.nav-toggle span { margin-left:6px }
.nav-contact { padding:10px 15px; border:1px solid #ffffff64 }
.nav-contact span { margin-left:5px }
.header nav .nav-login { display:inline-flex; align-items:center; justify-content:center; width:36px; min-width:36px; height:40px; border:1px solid #ffffff45; border-radius:3px; }
.header nav .nav-login:hover { background:#ffffff0c; }
.nav-login svg { width:18px; height:18px; }
.footer .footer-legal { display:flex; flex-wrap:wrap; gap:18px; font-size:.68rem; }
.hero { --hero-footer-height:61px; color:white; background:var(--dark); isolation:isolate; display:grid; align-content:center; position:relative; min-height: min(860px, 100svh); overflow:hidden; }
.hero-cover,.hero-shade,.hero-video { position:absolute; inset:0; width:100%; height:100%; }
.hero-cover { object-fit:cover; object-position:center; z-index:0 }
.hero-video { object-fit:cover; z-index:-1 }
.hero-video.is-playing { z-index:0 }
.hero-shade { z-index:1; pointer-events:none; background:linear-gradient(90deg,#0b171bea 0%,#0b171bcc 30%,#0b171b36 100%),linear-gradient(0deg,#0b171bd9,transparent 31%,transparent 69%,#0b171b9e) }
.hero-drafting { position:absolute; z-index:1; inset:9% auto auto 0; width:min(55vw,800px); height:82%; pointer-events:none; color:var(--accent); mask-image:linear-gradient(90deg,#000 65%,transparent) }
.hero-drafting path { stroke:currentColor; stroke-width:1; vector-effect:non-scaling-stroke; transform-box:view-box }
.hero-drafting-shapes { opacity:.26 }
.hero-drafting-guides { display:none; opacity:.40 }
html.motion .hero-drafting-guides { display:block }
html.motion .hero-drafting-guides path { --sweep-distance:7%; animation:hero-sweep-x 7.5s -3.5s ease-in-out infinite alternate both }
html.motion .hero-drafting-guides path:nth-child(2) { --sweep-distance:-6%; animation-duration:11s; animation-delay:-2.5s }
html.motion .hero-drafting-guides path:nth-child(3) { --sweep-distance:6%; animation-name:hero-sweep-y; animation-duration:9s; animation-delay:-6s }
html.motion .hero-drafting-guides path:nth-child(4) { --sweep-distance:-7%; animation-name:hero-sweep-y; animation-duration:12s; animation-delay:-8s }
html.motion .hero-drafting-shapes path { animation:hero-drafting-drift 10s -4s ease-in-out infinite alternate }
html.motion .hero-drafting-shapes path + path { animation-duration:13s; animation-delay:-7.5s; animation-direction:alternate-reverse }
html.paused .hero-drafting path { animation-play-state:paused }
@keyframes hero-drafting-drift { to { transform:translate(8px,-6px) } }
.hero-content { position:relative; z-index:2; padding-block:148px 114px }
.eyebrow { display:flex; align-items:center; gap:12px; margin:0 0 19px; font-size:.71rem; font-weight:650; letter-spacing:.17em; text-transform:uppercase; line-height:1.55 }
.eyebrow span { display:block; width:26px; height:1px; background:currentColor }
.hero .eyebrow,.approach .eyebrow,.contact .eyebrow { color:var(--accent) }
h1,h2,h3,p { margin-top:0 }
h1,h2 { font-weight:550; letter-spacing:-.075em; line-height:.94 }
h1 { margin-bottom:25px; font-size:clamp(4.4rem,10.1vw,10.1rem) }
@media (width > 780px) {
  .hero h1 { font-size:clamp(2.2rem,5.05vw,5.05rem) }
}
h1 em { font:italic .96em/.9 "Instrument Serif",Georgia,serif; letter-spacing:-.085em; color:var(--accent) }
.hero-title-frame { width:fit-content; max-width:100%; position:relative }
.hero-title-frame svg { position:absolute; width:calc(100% + 30px); height:calc(100% + 21px); inset:-10px auto auto -13px; overflow:visible; pointer-events:none }
.hero-title-frame path { fill:none; stroke:#b3eaff64; stroke-width:1; vector-effect:non-scaling-stroke }
html.motion .hero-title-frame path { stroke-dasharray:1; animation:trace 1.25s .16s ease-out both }
html.paused .hero-title-frame path { animation-play-state:paused }
h2 { font-size:clamp(3rem,6.7vw,7rem); margin-bottom:0 }
.intro { font-size:clamp(1rem,1.6vw,1.32rem); color:#eef3f4; margin-bottom:29px }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap }
.button { padding:13px 16px; display:inline-flex; align-items:center; justify-content:space-between; min-height:49px; gap:19px; font-size:.88rem; font-weight:650; transition:background .22s,color .22s; border:1px solid transparent }
.primary { color:#102226; background:var(--accent) }
.primary:hover { background:#d4f1f8 }
.outline { border-color:#ffffff8c }
.outline:hover { background:#ffffff21 }
.hero-art { position:absolute; z-index:1; inset:0 0 var(--hero-footer-height); overflow:hidden; pointer-events:none }
.hero-drawing { position:absolute; width:55%; height:calc(100% - 90px); right:0; bottom:0; color:#bcefff }
.hero-drawing path { vector-effect:non-scaling-stroke }
.hero-datum { stroke:currentColor; stroke-width:.8; opacity:.4 }
.hero-tower { filter:drop-shadow(0 1px 3px #0b171bba) }
.hero-companion { color:white }
.companion-face { fill:#131a204d }
.companion-side { fill:#131a207f }
.companion-outline,.companion-balconies { stroke:currentColor; stroke-width:1.15; stroke-linejoin:round }
.companion-grid { stroke:currentColor; stroke-width:.7; opacity:.58 }
.companion-light {
  visibility:hidden;
  stroke:#fff;
  stroke-width:4;
  stroke-linecap:round;
  filter:drop-shadow(0 0 3px #fff) drop-shadow(0 0 8px #fffffff2);
}
html.motion .companion-outline path { stroke-dasharray:1; animation:trace 1.55s .28s ease-out both }
html.motion .companion-outline path:nth-child(2) { animation-delay:.55s }
html.motion .companion-grid { stroke-dasharray:1; animation:trace 1.55s .66s ease-out both }
html.motion .companion-balconies { stroke-dasharray:1; animation:trace 1.3s .88s ease-out both }
html.motion .companion-light { visibility:visible; stroke-dasharray:.15 1; animation:companion-rise 5.8s 1.9s ease-in-out infinite both }
@keyframes companion-rise {
  0% { stroke-dashoffset:.15; opacity:0 }
  16%,52% { opacity:1 }
  73%,100% { stroke-dashoffset:-1; opacity:0 }
}
.tower-face { fill:#0c262b40 }
.tower-face-side { fill:#142f36a0 }
.tower-outline { stroke:currentColor; stroke-width:1.35; stroke-linejoin:round }
.tower-grid { stroke:currentColor; stroke-width:.75; opacity:.57 }
.tower-highlight { opacity:0; transition:opacity .24s ease-out }
.tower-highlight.is-active { opacity:1 }
.tower-highlight-floor { fill:#5ed6ff3d; stroke:#b5eeff; stroke-width:1.1; stroke-linejoin:round }
.tower-highlight-grid { stroke:#def8ff; stroke-width:1 }
.tower-highlight-guide { stroke:#82ddff; stroke-width:1; stroke-dasharray:4 4 }
html.paused .tower-highlight { opacity:0 }
html.motion .tower-outline path { stroke-dasharray:1; animation:trace 1.65s cubic-bezier(.22,.64,.31,1) both }
html.motion .tower-outline path:nth-child(2) { animation-delay:.13s }
html.motion .tower-outline path:nth-child(3) { animation-delay:.28s }
html.motion .tower-outline path:nth-child(4) { animation-delay:.36s }
html.motion .tower-grid { stroke-dasharray:1; animation:trace 1.7s .38s ease-out both }
.hero-sweeps { display:none }
html.motion .hero-sweeps { display:block }
.hero-sweep {
  stroke:#e8faff;
  stroke-width:1.35;
  stroke-linecap:round;
  transform-box:view-box;
  animation-duration:var(--sweep-duration, 7s);
  animation-delay:var(--sweep-delay, 0s);
  animation-timing-function:cubic-bezier(.45,0,.55,1);
  animation-iteration-count:infinite;
  animation-direction:alternate;
  animation-fill-mode:both;
}
.hero-sweep-x { animation-name:hero-sweep-x }
.hero-sweep-y { animation-name:hero-sweep-y }
html.paused .hero-drawing path { animation-play-state:paused }
@keyframes trace { from { stroke-dashoffset:1 } to { stroke-dashoffset:0 } }
@keyframes hero-sweep-x {
  0% { transform:translateX(calc(var(--sweep-distance, 13%) * -.55)); opacity:0 }
  24% { opacity:.7 }
  69% { opacity:.85 }
  100% { transform:translateX(var(--sweep-distance, 13%)); opacity:0 }
}
@keyframes hero-sweep-y {
  0% { transform:translateY(calc(var(--sweep-distance, 10%) * -.55)); opacity:0 }
  24% { opacity:.65 }
  69% { opacity:.85 }
  100% { transform:translateY(var(--sweep-distance, 10%)); opacity:0 }
}
.hero-footer { position:absolute; inset:auto 0 0; display:flex; justify-content:space-between; align-items:center; height:var(--hero-footer-height); gap:12px; border-top:1px solid #ffffff45; z-index:2; text-transform:uppercase; letter-spacing:.12em; font-size:.66rem }
.hero-footer button { border:0; background:#122025a6; color:white; padding:5px 8px; font-size:.76rem; white-space:nowrap; min-height:34px }
.hero-footer button span { margin-right:5px }
.section { padding-block:clamp(65px,9vw,132px); scroll-margin-top:16px }
.section-head { display:grid; grid-template-columns:1.6fr 1fr; align-items:end; gap:28px; margin-bottom:40px }
.section-head > p { margin:0 0 3px; max-width:36ch; line-height:1.65; color:var(--muted) }
.conversion { background:#e2eae8 }
#conversion-title { font-size:clamp(2.6rem,5.2vw,5.7rem); overflow-wrap:anywhere }
.conversion p:not(.eyebrow) { max-width:45ch; color:var(--muted); line-height:1.65 }
.conversion-link { color:var(--ink); font-weight:650; text-decoration:underline; text-underline-offset:4px }
.page-lead { background:#e2eae8; padding-block:clamp(42px,7vw,100px) }
.page-lead h1 { font-size:clamp(3.2rem,7.5vw,7rem) }
.page-lead p:not(.eyebrow) { max-width:55ch; line-height:1.65; color:var(--muted); margin-bottom:0 }
.page-notes { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); gap:clamp(18px,4vw,54px); padding-block:clamp(36px,6vw,90px) }
.page-notes article { border-top:1px solid var(--line); padding-top:18px }
.page-notes h2 { font-size:clamp(1.6rem,2.6vw,2.65rem); line-height:1.1; margin-bottom:12px }
.page-notes p { color:var(--muted); line-height:1.65; margin-bottom:0 }
.about-hero { background:var(--dark); color:var(--paper); padding-block:clamp(42px,7vw,102px) }
.about-hero-layout,.about-story { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:clamp(24px,6vw,86px) }
.about-hero h1 { font-size:clamp(3.3rem,7vw,7.4rem) }
.about-hero .eyebrow { color:var(--accent) }
.about-hero-copy > p:not(.eyebrow) { max-width:35ch; color:#c4d2d1; line-height:1.65; font-size:clamp(1rem,1.5vw,1.25rem) }
.about-hero-image,.about-project-image { margin:0 }
.about-hero-image img,.about-project-image img { width:100%; height:auto; object-fit:cover }
.about-hero-image img { aspect-ratio:4/3; object-position:57% center }
.about-hero-image figcaption { margin-top:10px; color:#c4d2d1; font-size:.78rem }
.about-story h2,.about-values h2,.about-inquiry h2 { font-size:clamp(2.65rem,5.5vw,5.5rem) }
.about-copy > p:not(.eyebrow) { color:var(--muted); line-height:1.7 }
.about-copy h2 + p { margin-top:22px }
.about-values { color:var(--paper); background:#192b2e }
.about-values .eyebrow { color:var(--accent) }
.about-values .section-head > p { color:#c4d2d1 }
.about-values-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; margin:0 }
.about-values-grid > div { border-top:1px solid #829c9d; padding-top:14px }
.about-values-grid dt { font-size:clamp(1.1rem,2vw,1.6rem); color:var(--accent) }
.about-values-grid dd { margin:8px 0 0; color:#c4d2d1; line-height:1.6 }
.about-inquiry { background:#e2eae8; padding-block:clamp(36px,7vw,90px) }
.about-inquiry .wrap { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px }
.services { background:#fff }
#services-title {
  font-size:clamp(1.68rem,3.752vw,3.92rem);
  font-size:min(clamp(1.68rem,3.752vw,3.92rem),8.7cqi);
}
.service-layout { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center; gap:clamp(16px,2.3vw,32px) }
.service-content { container-type:inline-size }
.service-drafting {
  position:relative;
  overflow:hidden;
}
.service-drafting img {
  display:block;
  width:100%;
  height:auto;
  mask-image:
    linear-gradient(to right,transparent,#000 12%,#000 88%,transparent),
    linear-gradient(to bottom,transparent,#000 11%,#000 87%,transparent);
  mask-composite:intersect;
}
.service-drafting svg { position:absolute; inset:0; width:100%; height:100%; pointer-events:none }
.service-drafting path { vector-effect:non-scaling-stroke }
.service-room-guides { display:none; stroke:#09698c; stroke-width:1.7; opacity:.86 }
html.motion .service-room-guides { display:block }
.service-room-guides path { transform-box:view-box }
html.motion .service-room-guides path { --sweep-distance:15%; animation:hero-sweep-x 6s -2s ease-in-out infinite alternate both }
html.motion .service-room-guides path:nth-child(2) { --sweep-distance:-15%; animation-duration:8s; animation-delay:-5s }
html.motion .service-room-guides path:nth-child(3) { --sweep-distance:12%; animation-duration:7s; animation-delay:-4s }
html.motion .service-room-guides path:nth-child(n+4) { animation-name:hero-sweep-y }
html.motion .service-room-guides path:nth-child(4) { --sweep-distance:13%; animation-duration:7.5s; animation-delay:-5s }
html.motion .service-room-guides path:nth-child(5) { --sweep-distance:-12%; animation-duration:9s; animation-delay:-4s }
html.motion .service-room-guides path:nth-child(6) { --sweep-distance:11%; animation-duration:6.5s; animation-delay:-3s }
html.paused .service-drafting path { animation-play-state:paused }
.service-heading,.service-intro { margin:0 0 20px }
.service-intro { color:var(--muted); line-height:1.65 }
.service-grid { --service-icon:clamp(44px,5vw,72px); --service-gap:clamp(9px,1vw,15px); display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; border-top:1px solid var(--line); column-gap:clamp(10px,1.4vw,22px) }
.service { border-bottom:1px solid var(--line) }
.service summary { list-style:none; display:grid; align-items:center; grid-template-columns:var(--service-icon) minmax(0,1fr) auto; gap:var(--service-gap); padding:19px 8px; min-height:111px; cursor:pointer; transition:background .2s }
.service summary::-webkit-details-marker { display:none }
.service summary:hover,.service[open] summary { background:#e7ebe5 }
.service summary svg { width:100%; stroke:#286177; stroke-width:1.5 }
.service strong { font-size:clamp(1.45rem,2.2vw,2.15rem); font-weight:550; letter-spacing:-.06em; display:block; overflow-wrap:anywhere }
.service small { display:block; color:var(--muted); line-height:1.35 }
.plus { font-size:1.7rem; color:#286177; display:block; transition:transform .25s }
.service[open] .plus { transform:rotate(45deg) }
.service p { padding:0 15px 18px calc(8px + var(--service-icon) + var(--service-gap)); margin:0; color:var(--muted); line-height:1.6; }
html.motion:not(.paused) .service summary:is(:hover,:focus-visible) path { stroke-dasharray:1; animation:trace .65s both }
.approach { background:#192b2e; color:var(--paper) }
.approach .section-head > p { color:#c4d2d1 }
.process { list-style:none; padding:0; margin:54px 0; display:grid; grid-template-columns:repeat(6,1fr); position:relative; --progress:100% }
.process::before,.process::after { content:""; position:absolute; height:1px; left:0; top:0; background:#6f8586; width:100% }
.process::after { width:var(--progress); background:var(--accent); height:2px }
.process li { padding:22px 14px 0 0; position:relative; }
.process li::before { content:""; position:absolute; z-index:1; width:8px; height:8px; border:1px solid var(--accent); background:#192b2e; top:-3px; left:0; transform:rotate(45deg) }
.process strong,.process span { display:block }
.process span,.safe dd { color:#c4d2d1; font-size:.88rem; margin:7px 0 0; line-height:1.5 }
.safe { border-top:1px solid #6f8586; padding-top:25px }
.safe h3 { font-size:1.5rem; letter-spacing:-.04em }
.safe dl { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; margin-bottom:0 }
.safe dt { color:var(--accent); font-size:1.2rem }
.contact { position:relative; isolation:isolate; background:#112226; color:white; padding:clamp(27px,7vw,100px); overflow:hidden }
.contact::before { content:""; position:absolute; z-index:-1; inset:18px; border:1px solid #617c80; clip-path:polygon(0 0,100% 0,100% 100%,0 100%); }
html.motion:not(.paused) .contact.is-visible::before { animation:frame 1.05s ease-out both }
@keyframes frame { from { clip-path:polygon(0 0,0 0,0 100%,0 100%) } }
.contact::after { content:""; z-index:-1; position:absolute; right:-8%; top:8%; width:58%; height:94%; background:repeating-linear-gradient(133deg,transparent 0 31px,#9ed5e730 32px 33px); clip-path:polygon(46% 0,100% 29%,91% 85%,22% 100%,0 45%) }
.contact h2 { margin-bottom:27px }
.contact > p:last-child { color:#c4d2d1; margin:22px 0 0; line-height:1.55 }
.footer { display:flex; flex-wrap:wrap; align-items:center; gap:22px; padding-block:12px 27px; border-top:1px solid var(--line); font-size:.88rem }
.footer a:first-child { margin-right:auto }
.footer img { width:94px; height:auto }
.footer a:hover { text-decoration:underline }
.work { background:#e9ece5 }
.work-gallery { border:1px solid #aebdb4; background:#f5f3ed }
.work-views { display:grid; gap:1px; background:#aebdb4 }
.project { margin:0; display:grid; grid-template-columns:minmax(0,1.9fr) minmax(0,1fr); background:var(--paper) }
.work-image { position:relative; overflow:hidden; min-width:0; background:var(--dark); isolation:isolate }
.work-image :is(img,video) { width:100%; height:100%; aspect-ratio:16/10; object-fit:cover }
.work-drawing { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; filter:drop-shadow(0 1px 2px #132326) }
.work-drawing path { fill:none; stroke:#d7f3fb; stroke-width:1.25; vector-effect:non-scaling-stroke }
.project figcaption { display:flex; flex-direction:column; justify-content:center; padding:clamp(22px,4vw,64px); background-image:radial-gradient(#97a9a755 1px,transparent 1px); background-size:14px 14px }
.project h3 { font-size:clamp(1.9rem,3.5vw,4.1rem); letter-spacing:-.065em; line-height:1.04; margin:0 0 .55em; font-weight:550 }
.project figcaption p { max-width:35ch; margin:0; color:var(--muted); line-height:1.65 }
.project figcaption .work-category { margin-bottom:14px; color:#285e71; font-size:.72rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase }
.work-controls { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid #aebdb4 }
.work-controls button { display:flex; align-items:center; text-align:left; gap:12px; padding:13px; border:0; border-right:1px solid #aebdb4; background:var(--paper); color:var(--ink); font-weight:600; min-height:54px }
.work-controls button:last-child { border-right:0 }
.work-controls button:is(:hover,[aria-pressed=true]) { background:#173237; color:white }
.work-controls button:focus-visible { outline-offset:-4px }
.work-controls img { width:46px; height:34px; flex:none; object-fit:cover }
.work-arrow { margin-left:auto }
.work-status { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); margin:0 }
html.motion:not(.paused) .project:is(.work-enter,.is-visible) .work-drawing path { stroke-dasharray:1; animation:trace .85s .12s ease-out both }
html.motion:not(.paused) .project:is(.work-enter,.is-visible) .work-image img { animation:work-reveal .65s ease-out both }
html.motion:not(.paused) .work-controls button:hover .work-arrow { animation:work-arrow .35s ease-out }
@keyframes work-reveal {
  from { clip-path:polygon(0 0,65% 0,83% 100%,0 100%); opacity:.65 }
  to { clip-path:polygon(0 0,100% 0,100% 100%,0 100%); opacity:1 }
}
@keyframes work-arrow { 50% { transform:translate(3px,-3px) } }
html.motion:not(.paused) .reveal.is-visible { animation:arrive .55s ease-out both }
@keyframes arrive { from { opacity:.5; transform:translateY(13px) } }
@media (max-width:1040px) {
  .service-grid { grid-template-columns:1fr }
}
@media (max-width:780px) {
  .wrap { width:calc(100% - 48px) }
  .header { height:72px }
  .hero { min-height: min(780px, 100svh) }
  .hero-shade { background:linear-gradient(90deg,#0b171be8,#0b171ba0),linear-gradient(0deg,#0b171bd9,transparent 33%,transparent 65%,#0b171b74) }
  .hero-drafting { width:88vw; opacity:.8 }
  .hero-content { padding-block:130px 100px }
  .hero-drawing { width:57%; height:83%; opacity:.66 }
  .hero-companion { opacity:.7 }
  .section-head { grid-template-columns:1fr; gap:17px; margin-bottom:28px }
  .service-layout { grid-template-columns:1fr }
  .process { grid-template-columns:1fr; margin:30px 0 40px; padding:0 0 0 23px; gap:14px }
  .process::before,.process::after { top:6px; width:1px; height:calc(100% - 18px) }
  .process::after { height:min(var(--progress),calc(100% - 18px)); width:2px }
  .process li { padding:0 }
  .process li::before { top:6px; left:-26px }
  .safe dl { grid-template-columns:repeat(2,1fr) }
  .project { grid-template-columns:1fr }
  .project figcaption { min-height:205px }
  .about-hero-layout,.about-story { grid-template-columns:1fr }
  .about-values-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media (max-width:430px) {
  .wrap { width:calc(100% - 32px) }
  .brand img { width:85px }
  .header nav { gap:10px; font-size:.73rem }
  .nav-contact { padding:8px 6px }
  .nav-contact span { display:none }
  h1 { font-size:clamp(3.1rem,12.6vw,4.4rem) }
  .service summary { grid-template-columns:54px 1fr auto; gap:11px; padding-inline:5px }
  .service p { padding-inline:70px 18px }
  .work-controls button { flex-wrap:wrap; gap:6px; padding:9px; font-size:.76rem }
  .work-controls img { width:100%; height:42px }
  .work-arrow { display:none }
}
@media (max-width:1020px) {
  .header nav { flex-wrap:wrap; justify-content:flex-end; gap:8px 13px; font-size:.78rem }
  .nav-toggle:not([hidden]) + nav {
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    display:grid;
    width:min(100%,320px);
    max-height:calc(100dvh - 105px);
    overflow:auto;
    padding:10px;
    gap:2px;
    background:#132528;
    border:1px solid #ffffff45;
    font-size:.9rem;
  }
  .nav-toggle + nav a { padding:10px 12px }
  .nav-toggle + nav .nav-contact { border:0 }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important }
  html.motion .companion-light { visibility:hidden }
  .tower-highlight { display:none }
  html.motion .hero-sweeps,html.motion .hero-drafting-guides,html.motion .service-room-guides { display:none }
}
