@font-face { font-family: 'Saira Variable'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/static/fonts/saira-latin-wght-normal.woff2') format('woff2'); }
:root {
  font-family: 'Saira Variable', 'Arial Narrow', sans-serif;
  color: #153236;
  background: #f0eee5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #153236;
  --night: #10272a;
  --night-deep: #0b1e21;
  --paper: #f0eee5;
  --paper-bright: #f7f5ed;
  --muted: #596a68;
  --orange: #f0a746;
  --blue: #9bd0d0;
  --line: rgba(21, 50, 54, 0.22);
  --line-light: rgba(240, 238, 229, 0.24);
  --measure: 70ch;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; min-width: 320px; background: var(--paper); }
body::selection { color: var(--night); background: var(--orange); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
img, svg, canvas { display: block; }
.skip-link { position: fixed; z-index: 20; top: 0.8rem; left: 0.8rem; padding: 0.8rem 1rem; transform: translateY(-150%); background: var(--orange); color: var(--night); font-weight: 650; }
.skip-link:focus { transform: translateY(0); }

.site-header { min-height: 82px; padding: 0 clamp(1.1rem, 4.7vw, 5.2rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; background: var(--paper-bright); border-bottom: 1px solid var(--line); }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--ink); text-decoration: none; font-size: 1.02rem; letter-spacing: 0.055em; font-weight: 680; white-space: nowrap; }
.brand b, .footer-brand b { color: #66807d; font-weight: 480; }
.brand-mark { width: 35px; height: 35px; fill: none; stroke: var(--ink); stroke-width: 1.25; }
.brand-mark circle:first-of-type { fill: var(--orange); stroke: var(--orange); }
.main-nav { display: flex; justify-content: center; gap: clamp(1rem, 2.5vw, 2.6rem); }
.main-nav a { font-size: 0.91rem; text-decoration: none; color: #435a59; transition: color 180ms ease; }
.main-nav a:hover { color: #a4592e; }
.header-contact { justify-self: end; font-size: 0.86rem; font-weight: 650; text-decoration: none; border-bottom: 1px solid #9f6c39; padding: 0 0 0.32rem; }
.header-contact span { margin-left: 0.5rem; color: #9f6c39; }

.hero { position: relative; min-height: min(785px, calc(100svh - 82px)); display: grid; grid-template-columns: minmax(390px, 0.82fr) minmax(0, 1.18fr); gap: clamp(1.5rem, 4.5vw, 5.6rem); padding: clamp(3.6rem, 8vh, 6.8rem) clamp(1.1rem, 8vw, 9rem) 5.7rem; overflow: hidden; background: var(--night); color: var(--paper-bright); }
.hero-copy { position: relative; z-index: 2; align-self: center; max-width: 610px; padding-bottom: 1rem; }
.hero-index { display: flex; gap: 1.4rem; align-items: center; color: var(--blue); font: 600 0.72rem/1.3 'Saira Variable', sans-serif; letter-spacing: 0.11em; }
.hero-index span:first-child { color: var(--orange); }
.hero h1 { margin: 1.45rem 0 1.4rem; max-width: 10ch; color: var(--paper-bright); font-size: clamp(3.2rem, 6.1vw, 6.1rem); font-weight: 540; line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.hero-lede { max-width: 40ch; color: #c7d2cb; font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.35rem 1.8rem; margin-top: 2.25rem; }
.button-primary { display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; min-height: 53px; padding: 0.9rem 1.18rem; background: var(--orange); color: var(--night-deep); font-size: 0.94rem; font-weight: 700; text-decoration: none; transition: background 180ms ease, transform 180ms ease; }
.button-primary:hover { background: #ffc36a; transform: translateY(-2px); }
.button-primary span { font-size: 1.16rem; }
.text-link { display: inline-flex; gap: 0.65rem; align-items: center; color: #e0e9df; font-size: 0.91rem; text-decoration-color: #829691; }
.text-link span { color: var(--orange); }
.hero-note { max-width: 37ch; margin: 2.6rem 0 0; padding-left: 1rem; border-left: 1px solid var(--orange); color: #a9bbb4; font-size: 0.88rem; line-height: 1.5; }
.model-figure { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; margin: 0; }
.model-frame { position: relative; min-height: clamp(390px, 47vw, 590px); isolation: isolate; background: radial-gradient(ellipse at 50% 48%, #24494a 0, #18383b 42%, #10272a 76%); border: 1px solid rgba(218, 223, 206, 0.16); overflow: hidden; }
.model-frame::before { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(145deg, transparent 45%, rgba(7, 23, 24, 0.38)); }
.city-model { position: absolute; inset: 0; width: 100%; height: 100%; }
.city-model[data-scene='unavailable'] { display: none; }
.model-fallback { position: absolute; inset: 0; overflow: hidden; perspective: 760px; }
.fallback-grid { position: absolute; inset: 14% 4% 8%; transform: rotateX(60deg) rotateZ(-22deg) scale(1.25); background-image: linear-gradient(rgba(165, 193, 179, 0.24) 1px, transparent 1px), linear-gradient(90deg, rgba(165, 193, 179, 0.24) 1px, transparent 1px); background-size: 34px 34px; }
.fallback-block { position: absolute; width: 19%; height: 32%; background: linear-gradient(140deg, #c1cbb6, #6f9286); box-shadow: 16px 16px 0 rgba(5, 21, 23, 0.35); transform: skewY(-31deg) rotate(28deg); }
.block-a { left: 41%; top: 29%; height: 42%; background: linear-gradient(140deg, #f2be64, #ad7240); }
.block-b { left: 17%; top: 39%; }
.block-c { left: 65%; top: 40%; height: 23%; }
.block-d { left: 48%; top: 65%; height: 18%; width: 25%; background: #6a8c81; }
.fallback-parcel { position: absolute; inset: 20% 13% 18%; transform: rotate(-27deg) skew(-14deg); border: 1px solid var(--orange); }
.model-coordinate { position: absolute; z-index: 2; color: #e4c28a; font: 550 0.68rem/1 'Saira Variable', sans-serif; letter-spacing: 0.08em; }
.coordinate-a { left: 1rem; top: 1rem; }
.coordinate-b { right: 1rem; bottom: 1rem; }
.model-stamp { position: absolute; z-index: 3; top: 0; right: 4%; display: grid; gap: 0.08rem; padding: 0.85rem 0.9rem; background: var(--orange); color: var(--night-deep); font-size: 0.64rem; line-height: 1.2; font-weight: 740; letter-spacing: 0.08em; transform: translateY(-50%); }
.model-figure figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: 0.8rem; color: #b2c4bd; font-size: 0.69rem; line-height: 1.4; }
.model-figure figcaption span:first-child { color: var(--orange); font-weight: 680; letter-spacing: 0.09em; white-space: nowrap; }
.hero-baseline { position: absolute; right: clamp(1.1rem, 8vw, 9rem); bottom: 1.4rem; left: clamp(1.1rem, 8vw, 9rem); display: flex; justify-content: space-between; gap: 1rem; color: #8fa39b; font-size: 0.66rem; letter-spacing: 0.11em; }

.section-wrap { padding-right: clamp(1.1rem, 8vw, 9rem); padding-left: clamp(1.1rem, 8vw, 9rem); }
.intro { padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); }
.section-marker { display: flex; align-items: center; gap: 0.7rem; color: #526764; font-size: 0.7rem; font-weight: 650; letter-spacing: 0.12em; }
.marker-dot { width: 7px; height: 7px; border-radius: 50%; background: #d48a39; }
.marker-orange { background: var(--orange); }
.intro-content { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.8fr); align-items: end; gap: clamp(2rem, 7vw, 8rem); margin-top: 2.2rem; }
.intro h2, .process h2, .contact h2 { margin: 0; font-size: clamp(2.65rem, 5.5vw, 5.5rem); font-weight: 520; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
.intro h2 em { color: #a46337; font-style: normal; }
.intro-aside { max-width: 42ch; padding-bottom: 0.2rem; }
.intro-aside p { margin: 0 0 1.4rem; color: #4b5f5e; font-size: 1.06rem; line-height: 1.64; }
.inline-link { display: inline-flex; gap: 0.75rem; align-items: center; color: var(--ink); font-weight: 680; text-decoration-color: #ae7540; }
.principles { display: grid; grid-template-columns: 1fr 1fr 0.82fr; gap: 0; margin-top: clamp(3.4rem, 7vw, 6.5rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle { position: relative; min-height: 270px; padding: 1.4rem clamp(1rem, 2.4vw, 2.5rem) 2rem 0; overflow: hidden; }
.principle + .principle { padding-left: clamp(1rem, 2.4vw, 2.5rem); border-left: 1px solid var(--line); }
.principle-code { color: #89623e; font-size: 0.69rem; font-weight: 680; letter-spacing: 0.09em; }
.principle h3 { position: relative; z-index: 1; margin: 2.25rem 0 0.85rem; font-size: clamp(1.7rem, 2.7vw, 2.65rem); font-weight: 540; letter-spacing: -0.025em; line-height: 1.05; }
.principle p { position: relative; z-index: 1; max-width: 34ch; margin: 0; color: #566967; font-size: 0.95rem; line-height: 1.5; }
.principle-index { position: absolute; right: 0.45rem; bottom: -2.8rem; color: rgba(21, 50, 54, 0.07); font-size: 11rem; line-height: 1; font-weight: 700; }
.principle-highlight { background: #e5e4d7; }
.principle-highlight .principle-code { color: #aa5f2e; }
.principle-note { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 1.35rem; background: #e8ede4; }
.principle-note p { max-width: 24ch; margin: 1.5rem 0; font-size: 1.05rem; color: #284542; }
.mini-diagram { align-self: flex-end; width: 78%; max-width: 180px; }
.mini-diagram svg { width: 100%; fill: none; stroke: #64847b; stroke-width: 1.25; }
.mini-diagram circle { fill: var(--orange); stroke: var(--orange); }
.mini-diagram .diagram-arc { stroke: #bf6c38; stroke-dasharray: 3 4; }

.process { padding-top: clamp(4.7rem, 8vw, 7.5rem); padding-bottom: 2rem; background: var(--night); color: var(--paper-bright); }
.process .section-marker { color: #a8bbb2; }
.process-head h2 { margin-top: 2.1rem; }
.process-head h2 span { color: var(--blue); }
.process-track { display: grid; grid-template-columns: 1fr 0.2fr 1fr 0.2fr 1fr; align-items: start; gap: 0.75rem; padding-top: clamp(3.6rem, 7vw, 6rem); }
.process-step { min-width: 0; }
.step-symbol { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 1.6rem; border: 1px solid rgba(226, 233, 219, 0.35); border-radius: 50%; color: #cbd8cd; }
.step-symbol svg { width: 35px; height: 35px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.step-symbol-orange { color: var(--orange); border-color: rgba(240, 167, 70, 0.7); }
.step-symbol-blue { color: var(--blue); border-color: rgba(155, 208, 208, 0.55); }
.step-label { color: #d2a462; font-size: 0.68rem; font-weight: 650; letter-spacing: 0.1em; }
.process-step h3 { margin: 0.85rem 0 0.55rem; font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 560; }
.process-step p { max-width: 32ch; margin: 0; color: #c2d0ca; font-size: 0.93rem; line-height: 1.55; }
.track-line { height: 1px; margin-top: 29px; background: linear-gradient(90deg, rgba(240, 167, 70, 0.75), rgba(155, 208, 208, 0.16)); }
.process-foot { display: flex; justify-content: space-between; margin-top: clamp(4rem, 8vw, 7.2rem); padding-top: 1rem; padding-bottom: 1rem; border-top: 1px solid var(--line-light); color: #8fa49c; font-size: 0.66rem; letter-spacing: 0.11em; }

.contact { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: clamp(2rem, 8vw, 9rem); min-height: 550px; padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); overflow: hidden; }
.contact-graphic { display: grid; place-items: center; min-height: 300px; }
.contact-orbit { width: min(100%, 420px); overflow: visible; fill: none; stroke: #74948b; stroke-width: 1; }
.contact-orbit ellipse:first-child { stroke: #a5b2a3; }
.contact-orbit ellipse:nth-child(2) { stroke: #b9723e; stroke-dasharray: 5 6; }
.contact-orbit circle:nth-child(3) { stroke: var(--ink); stroke-width: 1.5; }
.contact-orbit .orbit-point { fill: var(--orange); stroke: var(--orange); }
.contact-copy { position: relative; z-index: 1; }
.contact-copy h2 { margin: 1.8rem 0 1.1rem; font-size: clamp(2.4rem, 4.5vw, 4.7rem); }
.contact-copy > p { max-width: 46ch; margin: 0 0 2rem; color: #526764; font-size: 1.02rem; line-height: 1.56; }
.contact-email { display: inline-flex; gap: 1rem; align-items: center; padding-bottom: 0.45rem; border-bottom: 1px solid #ae7540; color: #173b3d; font-size: clamp(1.2rem, 2.3vw, 1.8rem); font-weight: 620; text-decoration: none; }
.contact-email span { color: #a45c31; font-size: 1.2rem; }
.contact-coordinates { position: absolute; right: clamp(1.1rem, 8vw, 9rem); bottom: 1.6rem; left: clamp(1.1rem, 8vw, 9rem); display: flex; justify-content: space-between; color: #71817c; font-size: 0.66rem; letter-spacing: 0.11em; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem 2rem; min-height: 90px; padding: 1.4rem clamp(1.1rem, 4.7vw, 5.2rem); background: #dce1d8; color: #435856; font-size: 0.78rem; }
.footer-brand { font-size: 0.9rem; }
.site-footer > a:not(.footer-brand) { text-decoration-color: #82928c; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; gap: 0.7rem 1.5rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 1.55rem; }
  .header-contact { grid-column: 2; grid-row: 1; }
  .hero { min-height: unset; grid-template-columns: 1fr; gap: 3rem; padding: 4.5rem clamp(1.2rem, 6vw, 4rem) 5rem; }
  .hero-copy { max-width: 700px; }
  .hero h1 { max-width: 11ch; font-size: clamp(3.5rem, 9vw, 6.3rem); }
  .model-figure { width: 100%; }
  .model-frame { min-height: clamp(390px, 65vw, 560px); }
  .hero-baseline { right: clamp(1.2rem, 6vw, 4rem); left: clamp(1.2rem, 6vw, 4rem); }
  .intro-content { grid-template-columns: 1fr; gap: 2rem; }
  .intro-aside { margin-left: min(25vw, 180px); }
  .principles { grid-template-columns: 1fr 1fr; }
  .principle-note { grid-column: 1 / -1; min-height: 180px; display: grid; grid-template-columns: 0.7fr 1fr; align-items: center; gap: 2rem; border-top: 1px solid var(--line); }
  .principle-note .principle-code { grid-column: 1 / -1; }
  .principle-note p { margin: 0; }
  .mini-diagram { grid-row: 2; grid-column: 1; }
  .process-track { grid-template-columns: 1fr 1fr 1fr; gap: 2.1rem; }
  .track-line { display: none; }
  .contact { grid-template-columns: 0.7fr 1.3fr; gap: 2.5rem; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 108px; }
  .site-header { min-height: 86px; padding: 0.85rem 1.15rem 0.75rem; }
  .brand { gap: 0.55rem; font-size: 0.88rem; }
  .brand-mark { width: 30px; height: 30px; }
  .main-nav { gap: 1.05rem; overflow-x: auto; padding-bottom: 0.12rem; }
  .main-nav a { flex: 0 0 auto; font-size: 0.82rem; }
  .header-contact { max-width: 148px; font-size: 0.76rem; text-align: right; line-height: 1.2; }
  .hero { gap: 2.3rem; padding: 3.6rem 1.2rem 5.4rem; }
  .hero-index { gap: 0.85rem; font-size: 0.63rem; }
  .hero h1 { margin-top: 1.2rem; font-size: clamp(3rem, 14vw, 4.6rem); }
  .hero-lede { max-width: 35ch; font-size: 1.02rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; margin-top: 1.8rem; }
  .button-primary { width: 100%; justify-content: space-between; }
  .hero-note { margin-top: 1.8rem; }
  .model-frame { min-height: 390px; }
  .model-figure figcaption { align-items: flex-start; flex-direction: column; gap: 0.3rem; font-size: 0.67rem; }
  .hero-baseline { right: 1.2rem; left: 1.2rem; bottom: 1rem; font-size: 0.57rem; }
  .hero-baseline span:nth-child(2) { max-width: 17ch; text-align: center; }
  .section-wrap { padding-right: 1.2rem; padding-left: 1.2rem; }
  .intro { padding-top: 4.5rem; padding-bottom: 4.8rem; }
  .intro-content { margin-top: 1.6rem; }
  .intro h2, .process h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .intro-aside { margin-left: 0; }
  .principles { grid-template-columns: 1fr; margin-top: 3.2rem; }
  .principle, .principle + .principle { min-height: 230px; padding: 1.2rem 0 1.6rem; border-left: 0; }
  .principle + .principle { border-top: 1px solid var(--line); }
  .principle h3 { margin-top: 1.7rem; font-size: 2.1rem; }
  .principle-note { min-height: 200px; grid-template-columns: 0.75fr 1fr; padding: 1.3rem 0 1.1rem; }
  .principle-note .principle-code { grid-column: 1 / -1; }
  .mini-diagram { width: 100%; }
  .principle-note p { font-size: 0.94rem; }
  .process { padding-top: 4.5rem; }
  .process-head h2 { margin-top: 1.6rem; }
  .process-track { grid-template-columns: 1fr; gap: 2.6rem; padding-top: 3.4rem; }
  .process-step { display: grid; grid-template-columns: 54px 1fr; column-gap: 1rem; }
  .step-symbol { grid-row: 1 / span 3; width: 50px; height: 50px; margin: 0; }
  .step-symbol svg { width: 31px; height: 31px; }
  .step-label { align-self: end; }
  .process-step h3 { margin: 0.35rem 0; font-size: 1.45rem; }
  .process-step p { max-width: 38ch; }
  .process-foot { margin-top: 3.8rem; }
  .contact { grid-template-columns: 1fr; gap: 0.5rem; min-height: unset; padding-top: 4.8rem; padding-bottom: 5rem; }
  .contact-graphic { min-height: 220px; }
  .contact-orbit { width: min(75vw, 300px); }
  .contact-copy h2 { margin-top: 1.5rem; font-size: clamp(2.55rem, 11vw, 3.8rem); }
  .contact-coordinates { right: 1.2rem; left: 1.2rem; bottom: 1rem; font-size: 0.58rem; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 0.85rem; padding: 1.6rem 1.2rem 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
