:root {
  --accent: #98b93d;
  --accent-dark: #7f9f2f;
  --accent-soft: #f2f7e4;
  --accent-border: #dfecc1;
  --text: #2c3029;
  --muted: #666b62;
  --border: #e6e9e1;
  --border-strong: #d9ddd4;
  --background: #ffffff;
  --card: #ffffff;
  --import: #98b93d;
  --parcel: #607d2f;
  --cyan: #7f9f2f;
  --max-width: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 9px 13px;
  border-radius: 5px;
  background: var(--card);
  color: var(--text);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .primary-nav a:not(.nav-contact),
.site-header.is-scrolled .nav-toggle {
  color: var(--text);
}

.nav-shell,
.section-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0;
}

.site-header.is-scrolled .nav-shell {
  border-bottom-color: transparent;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  text-decoration: none;
}

.brand {
  font-size: 19px;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #ffffff;
}

.brand-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark.image-missing::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text);
  content: "GK";
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
}

.brand-mark-light {
  opacity: 1;
}

.brand-mark-dark,
.site-header.is-scrolled .brand-mark-dark {
  opacity: 0;
}

.site-header.is-scrolled .brand-mark-light {
  opacity: 1;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.primary-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.primary-nav a:not(.nav-contact):hover::after,
.primary-nav a:not(.nav-contact):focus-visible::after {
  transform: scaleX(1);
}

.nav-contact {
  padding: 8px 14px !important;
  border: 1px solid var(--accent-border);
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.site-header.is-scrolled .nav-contact {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.nav-contact:hover,
.nav-contact:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: max(650px, calc(100svh - 48px));
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 174px 0 142px;
}

.hero-kicker,
.section-label {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--accent-dark);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.1;
}

h1 {
  max-width: 740px;
  margin-bottom: 8px;
  font-size: 76px;
  font-weight: 730;
}

h2 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: 46px;
  font-weight: 690;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.hero-tagline {
  margin: 0 0 24px;
  color: var(--accent-dark);
  font-size: 28px;
  font-weight: 660;
}

.hero-copy {
  max-width: 600px;
  margin: 0 0 34px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.button-ghost {
  border-color: var(--border-strong);
  color: var(--text);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.hero-cad {
  position: absolute;
  z-index: 2;
  top: 18%;
  right: max(4vw, calc((100% - var(--max-width)) / 2));
  width: min(38vw, 520px);
  aspect-ratio: 1.28;
  opacity: 1;
  pointer-events: none;
}

.hero-cad::before,
.hero-cad::after {
  position: absolute;
  content: "";
}

.hero-cad::before {
  inset: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero-cad::after {
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px solid var(--border);
}

.hero-bbox {
  position: absolute;
  inset: 10% 5%;
  border: 2px solid var(--border-strong);
}

.bbox-label {
  position: absolute;
  top: -29px;
  left: -2px;
  padding: 3px 8px;
  background: var(--import);
  color: #ffffff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
}

.bbox-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--accent);
  border-style: solid;
}

.bbox-corner-tl { top: -7px; left: -7px; border-width: 3px 0 0 3px; }
.bbox-corner-tr { top: -7px; right: -7px; border-width: 3px 3px 0 0; }
.bbox-corner-bl { bottom: -7px; left: -7px; border-width: 0 0 3px 3px; }
.bbox-corner-br { right: -7px; bottom: -7px; border-width: 0 3px 3px 0; }

.bbox-center,
.map-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid var(--text);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.bbox-center::before,
.bbox-center::after,
.map-center::before,
.map-center::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--text);
  content: "";
  transform: translate(-50%, -50%);
}

.bbox-center::before,
.map-center::before { width: 28px; height: 1px; }
.bbox-center::after,
.map-center::after { width: 1px; height: 28px; }

.hero-status {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 58px;
  padding: 14px max(24px, calc((100% - var(--max-width)) / 2));
  display: flex;
  align-items: center;
  gap: 36px;
  border-top: 1px solid var(--border);
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.hero-status span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-status span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.section {
  padding: 104px 0;
}

.approach {
  background: #ffffff;
}

.approach-grid,
.project-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(380px, 1.15fr);
  gap: 88px;
  align-items: start;
}

.approach-copy,
.project-copy {
  padding-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.approach-copy p:first-child,
.project-copy p:first-child {
  margin-top: 0;
}

.workflow {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.workflow article {
  min-height: 210px;
  padding: 28px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  border-right: 1px solid var(--border-strong);
}

.workflow article:last-child {
  border-right: 0;
}

.step-number,
.module-index,
.step-marker {
  color: var(--accent-dark);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
}

.workflow p,
.module-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.layer-story {
  padding: 104px 0 0;
  background: #ffffff;
}

.layer-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 72px;
  align-items: end;
}

.layer-intro .section-label {
  grid-column: 1 / -1;
  margin-bottom: -50px;
}

.layer-intro h2 {
  margin-bottom: 0;
}

.layer-intro > p:last-child {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 17px;
}

.layer-layout {
  margin-top: 72px;
  display: grid;
  grid-template-columns: minmax(500px, 1.1fr) minmax(330px, 0.9fr);
  gap: 80px;
  align-items: stretch;
}

.layer-stage-wrap {
  position: sticky;
  top: 94px;
  height: fit-content;
  align-self: start;
}

.layer-stage {
  height: min(690px, calc(100vh - 122px));
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(44, 48, 41, 0.08);
}

.map-toolbar {
  height: 48px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-size: 12px;
}

.window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.map-scale {
  margin-left: auto;
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
}

.map-viewport {
  position: relative;
  height: calc(100% - 48px);
  overflow: hidden;
  background: #ffffff;
}

.map-overlay,
.map-analysis {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
}

.map-overlay {
  max-width: none;
  opacity: 0;
  transform: translate3d(0, var(--layer-offset, 0), 0);
  transition: opacity 480ms ease, transform 480ms ease;
  will-change: transform, opacity;
}

.overlay-cadastre {
  color: #777d73;
}

.overlay-relief {
  color: var(--accent);
}

.overlay-trees {
  color: var(--accent-dark);
}

.layer-stage[data-active="1"] .overlay-cadastre,
.layer-stage[data-active="2"] .overlay-cadastre,
.layer-stage[data-active="3"] .overlay-cadastre {
  opacity: 0.9;
}

.layer-stage[data-active="2"] .overlay-relief,
.layer-stage[data-active="2"] .overlay-trees,
.layer-stage[data-active="3"] .overlay-relief,
.layer-stage[data-active="3"] .overlay-trees {
  opacity: 0.96;
}

.map-analysis {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translate3d(0, var(--layer-offset, 0), 0);
  transition: opacity 520ms ease;
}

.map-analysis span {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--w);
  height: var(--h);
  background: var(--tone);
  border: 1px solid rgba(127, 159, 47, 0.25);
  opacity: 0.72;
}

.layer-stage[data-active="3"] .map-analysis {
  opacity: 1;
}

.map-bbox {
  position: absolute;
  z-index: 4;
  inset: 15% 13%;
  border: 3px solid var(--import);
  box-shadow: none;
  transition: inset 420ms ease;
}

.map-bbox small {
  position: absolute;
  top: -26px;
  left: -3px;
  padding: 2px 8px;
  background: var(--import);
  color: #ffffff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
}

.map-parcel {
  position: absolute;
  top: 34%;
  left: 35%;
  width: 31%;
  height: 27%;
  border: 3px solid var(--parcel);
  background: rgba(152, 185, 61, 0.12);
  clip-path: polygon(7% 24%, 72% 0, 100% 44%, 75% 100%, 17% 84%, 0 52%);
}

.map-center {
  border-color: var(--text);
  background: #ffffff;
}

.map-center::before,
.map-center::after {
  background: var(--text);
}

.layer-legend {
  position: absolute;
  z-index: 5;
  right: 14px;
  bottom: 14px;
  width: 190px;
  padding: 8px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
}

.legend-item {
  min-height: 29px;
  padding: 5px 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 11px;
  transition: background-color 220ms ease, color 220ms ease;
}

.legend-item i {
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.legend-item.is-active {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
}

.layer-steps {
  padding-bottom: 16vh;
}

.layer-step {
  min-height: 78vh;
  padding: 18vh 0 64px;
  border-top: 1px solid var(--border);
  opacity: 0.42;
  transition: opacity 280ms ease;
}

.layer-step:first-child {
  border-top: 0;
}

.layer-step.is-active {
  opacity: 1;
}

.layer-step .step-marker {
  display: block;
  margin-bottom: 34px;
}

.layer-step h3 {
  max-width: 460px;
  font-size: 32px;
}

.layer-step > p:last-child {
  max-width: 460px;
  color: var(--muted);
  font-size: 17px;
}

.modules {
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.section-heading {
  margin-bottom: 54px;
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) minmax(280px, 0.8fr);
  gap: 88px;
  align-items: end;
}

.section-heading > p {
  margin-bottom: 24px;
  color: var(--muted);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.module-item {
  position: relative;
  min-height: 240px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.module-item:hover {
  border-color: var(--accent-border);
  box-shadow: 0 12px 28px rgba(44, 48, 41, 0.08);
  transform: translateY(-3px);
}

.module-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--accent-border);
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.module-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.module-index {
  display: block;
  margin-bottom: 54px;
}

.analysis {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
}

.analysis::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 1px);
  width: 1px;
  background: var(--border);
  content: "";
}

.analysis-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(440px, 1.15fr);
  gap: 96px;
  align-items: center;
}

.section-label-light {
  color: var(--accent-dark);
}

.analysis-copy > p:last-child {
  max-width: 590px;
  color: var(--muted);
  font-size: 18px;
}

.analysis-board {
  border-top: 1px solid var(--border-strong);
}

.analysis-row {
  min-height: 126px;
  display: grid;
  grid-template-columns: 34px minmax(210px, 1fr) 110px;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--border-strong);
}

.analysis-row > span {
  color: var(--accent-dark);
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
}

.analysis-row strong,
.analysis-row small {
  display: block;
}

.analysis-row small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.analysis-line {
  position: relative;
  width: 100%;
  height: 50px;
  display: block;
}

.analysis-line::before,
.analysis-line::after {
  position: absolute;
  content: "";
}

.analysis-line-profile::before {
  right: 0;
  bottom: 8px;
  left: 0;
  height: 24px;
  border-top: 2px solid var(--accent);
  border-radius: 50% 42% 0 0;
  transform: skewY(-10deg);
}

.analysis-line-sun::before {
  top: 9px;
  left: 33px;
  width: 30px;
  height: 30px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.analysis-line-sun::after {
  top: 24px;
  right: 4px;
  left: 4px;
  height: 2px;
  background: var(--accent);
}

.analysis-line-context::before {
  inset: 7px 5px;
  border: 2px solid var(--import);
}

.analysis-line-context::after {
  top: 18px;
  left: 43px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--parcel);
  transform: rotate(12deg);
}

.project {
  background: #ffffff;
}

.project-copy ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.project-copy li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-top: 1px solid var(--border);
}

.project-copy li:last-child {
  border-bottom: 1px solid var(--border);
}

.project-copy li::before {
  position: absolute;
  top: 24px;
  left: 4px;
  width: 10px;
  height: 2px;
  background: var(--accent);
  content: "";
}

.guide-band {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.guide-inner {
  display: grid;
  grid-template-columns: 74px minmax(300px, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.guide-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 28px;
  font-weight: 750;
}

.guide-inner h2 {
  margin-bottom: 10px;
  font-size: 32px;
}

.guide-inner p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.guide-status {
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.contact-section {
  padding: 78px 0;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.contact-inner h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: 36px;
}

.contact-inner .section-label {
  color: var(--accent-dark);
}

.button-dark {
  flex: 0 0 auto;
  background: var(--accent);
  color: #ffffff;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--accent-dark);
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: #ffffff;
  color: var(--muted);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p:nth-child(2) {
  text-align: center;
}

.footer-inner p:last-child {
  text-align: right;
}

.footer-brand {
  color: var(--text);
  font-size: 16px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 5px;
}

.footer-brand.image-missing::before {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 5px;
  content: "GK";
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero-cad {
    right: 4vw;
    width: 42vw;
    opacity: 0.72;
  }

  .layer-layout {
    grid-template-columns: minmax(440px, 1.05fr) minmax(300px, 0.95fr);
    gap: 48px;
  }

  .analysis-grid {
    gap: 60px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    color: var(--text);
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 60px;
    right: 24px;
    left: 24px;
    padding: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border-strong);
    border-radius: 7px;
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 18px 38px rgba(44, 48, 41, 0.12);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 10px 8px;
  }

  .nav-contact {
    margin-top: 8px;
    border-color: var(--accent-border);
    background: var(--accent-soft);
    color: var(--accent-dark);
    text-align: center;
  }

  .approach-grid,
  .section-heading,
  .analysis-grid,
  .project-grid,
  .layer-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .layer-intro .section-label {
    grid-column: auto;
    margin-bottom: -12px;
  }

  .approach-copy,
  .project-copy {
    padding-top: 0;
  }

  .workflow,
  .module-grid {
    grid-template-columns: 1fr 1fr;
  }

  .workflow article:nth-child(2) {
    border-right: 0;
  }

  .workflow article:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border-strong);
  }

  .layer-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .layer-stage-wrap {
    top: 78px;
    z-index: 4;
  }

  .layer-stage {
    height: 54vh;
    min-height: 410px;
  }

  .layer-step {
    min-height: 66vh;
    padding: 22vh 0 56px;
    background: rgba(255, 255, 255, 0.97);
  }

  .analysis::before {
    display: none;
  }

  .guide-inner {
    grid-template-columns: 64px 1fr;
  }

  .guide-status {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .section-shell,
  .hero-content {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .hero {
    min-height: max(820px, calc(100svh - 16px));
  }

  .hero-content {
    padding: 132px 0 330px;
  }

  .hero-cad {
    top: auto;
    right: 16px;
    bottom: 112px;
    left: 16px;
    width: auto;
    height: 190px;
    aspect-ratio: auto;
    opacity: 0.72;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-tagline {
    font-size: 23px;
  }

  .hero-copy {
    max-width: 440px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-status {
    padding: 12px 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .section {
    padding: 76px 0;
  }

  .workflow,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .workflow article,
  .workflow article:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border-strong);
  }

  .workflow article:last-child {
    grid-column: auto;
    border-top: 0;
    border-bottom: 0;
  }

  .layer-story {
    padding-top: 76px;
  }

  .layer-layout {
    width: 100%;
  }

  .layer-stage-wrap {
    top: 68px;
  }

  .layer-stage {
    height: 45vh;
    min-height: 340px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .layer-legend {
    right: 8px;
    bottom: 8px;
    width: 156px;
  }

  .legend-item {
    min-height: 25px;
    padding: 3px 5px;
    font-size: 10px;
  }

  .map-bbox {
    inset: 13% 9%;
  }

  .layer-steps {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
  }

  .layer-step {
    min-height: 62vh;
    padding-top: 19vh;
  }

  .layer-step h3 {
    font-size: 27px;
  }

  .module-item {
    min-height: 220px;
  }

  .analysis-row {
    min-height: 138px;
    grid-template-columns: 28px 1fr;
  }

  .analysis-line {
    display: none;
  }

  .guide-inner {
    grid-template-columns: 1fr;
  }

  .guide-status {
    grid-column: auto;
  }

  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-inner h2 {
    font-size: 30px;
  }

  .button-dark {
    width: 100%;
    white-space: normal;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .footer-inner p:nth-child(2),
  .footer-inner p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .parallax-layer,
  .reveal {
    transform: none !important;
  }

  .reveal {
    opacity: 1;
  }
}
