/* DESIGN_VARIANCE: 7; MOTION_INTENSITY: 5; VISUAL_DENSITY: 5. */
:root {
  color-scheme: light dark;
  --container: 1320px;
  --page: #f4f5f0;
  --surface: #e6e9e3;
  --surface-strong: #d7ddd5;
  --ink: #191c19;
  --muted: #555c56;
  --line: #aeb6ae;
  --accent: #007a43;
  --accent-hover: #005f34;
  --on-accent: #f8fff9;
  --granite: #191c19;
  --on-granite: #f4f5f0;
  --header: rgb(244 245 240 / 0.95);
  --section-space: clamp(5.5rem, 9vw, 9.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #171a17;
    --surface: #222722;
    --surface-strong: #2c342d;
    --ink: #edf2ec;
    --muted: #bbc4bc;
    --line: #495249;
    --accent: #4ed58e;
    --accent-hover: #71e1a5;
    --on-accent: #102118;
    --header: rgb(23 26 23 / 0.95);
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--page);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--page);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--page);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.5rem);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand picture {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2rem);
  margin-left: auto;
}

.desktop-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

.desktop-nav a:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 220ms var(--ease), background-color 220ms ease, border-color 220ms ease;
}

.button:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px);
}

.button-small {
  min-height: 44px;
  padding-inline: 1rem;
  font-size: 0.86rem;
}

.header-cta {
  flex: 0 0 auto;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  min-height: 84svh;
  display: grid;
  align-items: stretch;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 0.87fr);
  align-items: stretch;
  gap: clamp(3.5rem, 7vw, 7rem);
  padding-block: clamp(3.5rem, 6.5vh, 5rem);
}

.hero-copy,
.hero-mark {
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  line-height: 1.25;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.02;
}

h1 {
  max-width: 9.7ch;
  margin-bottom: 1.5rem;
  font-size: clamp(4.2rem, 6.6vw, 7rem);
  font-weight: 820;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.7rem, 4.4vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  letter-spacing: -0.03em;
}

.hero-lead {
  max-width: 38rem;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.phone-link {
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.phone-link:hover {
  color: var(--accent);
}

.hero-mark {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-mark-field {
  width: min(100%, 500px);
  min-height: min(52svh, 520px);
  display: grid;
  place-items: center;
  position: relative;
  background: var(--accent);
}

.hero-mark-field::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 24%;
  height: 24%;
  background: var(--page);
}

.hero-mark picture {
  display: block;
  position: relative;
  z-index: 1;
  width: min(82%, 410px);
}

.hero-mark img {
  width: 100%;
  height: auto;
}

.section {
  padding-block: var(--section-space);
}

.section-heading {
  max-width: 52rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-heading h2 {
  max-width: 11ch;
}

.section-heading > p:not(.eyebrow) {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(170px, auto);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-cell {
  grid-column: span 4;
  min-width: 0;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--page);
  overflow: hidden;
}

.service-cell p {
  max-width: 33ch;
  margin-bottom: 0;
  color: var(--muted);
}

.service-cell img {
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.service-cell-move {
  grid-column: span 7;
  min-height: 390px;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  background: var(--surface-strong);
}

.service-cell-build {
  grid-column: span 5;
  min-height: 390px;
  justify-content: space-between;
  background: var(--accent);
  color: var(--on-accent);
}

.service-cell-build p {
  color: var(--on-accent);
}

.service-cell-build img {
  align-self: flex-end;
  filter: none;
}

.service-cell-office {
  grid-column: span 5;
  min-height: 330px;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
}

.service-cell-office img {
  width: 190px;
  height: 190px;
}

.service-cell-stairs {
  grid-column: span 3;
  min-height: 330px;
}

.service-cell-deep {
  grid-column: 1 / -1;
  min-height: 210px;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  background: var(--granite);
  color: var(--on-granite);
}

.service-cell-deep p {
  color: var(--on-granite);
}

.continuity-section {
  background: var(--surface);
}

.continuity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: clamp(4rem, 12vw, 11rem);
}

.continuity-copy h2 {
  max-width: 11ch;
}

.continuity-copy p {
  max-width: 48ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.rut-block {
  padding: clamp(1.8rem, 4vw, 3.25rem);
  background: var(--page);
  border-left: 6px solid var(--accent);
}

.rut-block strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  letter-spacing: -0.04em;
}

.rut-block p {
  color: var(--muted);
}

.rut-block a {
  font-weight: 750;
  text-underline-offset: 0.25em;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr) minmax(0, 0.95fr);
  align-items: stretch;
  gap: 1.5rem;
}

.process-item {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(2rem, 7vw, 6rem);
  border-top: 4px solid var(--ink);
}

.process-item-strong {
  min-height: 360px;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--surface-strong);
  border-top-color: var(--accent);
}

.process-item p {
  max-width: 35ch;
  margin-bottom: 0;
  color: var(--muted);
}

.regions-section {
  background: var(--surface-strong);
}

.regions-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: end;
  gap: clamp(4rem, 10vw, 10rem);
}

.regions-heading h2 {
  max-width: 10ch;
}

.regions-heading p {
  max-width: 43ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.region-names {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.region-name {
  color: var(--ink);
  font-size: clamp(3.4rem, 6.5vw, 7rem);
  font-weight: 820;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.region-name:last-child {
  padding-left: clamp(1.5rem, 8vw, 8rem);
  color: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  grid-template-areas:
    "main links"
    "map map";
  align-items: end;
  gap: clamp(3rem, 7vw, 6rem);
}

.contact-main {
  grid-area: main;
}

.contact-main h2 {
  max-width: 10ch;
}

.contact-main p {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-main .button {
  margin-top: 1.25rem;
}

.contact-links {
  grid-area: links;
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--surface);
}

.contact-links span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-links a {
  font-size: clamp(1.35rem, 2.1vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.map-card {
  grid-area: map;
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--granite);
  color: var(--on-granite);
  text-decoration: none;
  transition: transform 220ms var(--ease), color 220ms ease;
}

.map-card:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

.map-card:active {
  transform: translateY(1px);
}

.map-card strong,
.map-card span span {
  display: block;
}

.map-card strong {
  font-size: 1.35rem;
}

.map-card span span {
  opacity: 0.78;
}

.map-action {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.site-footer {
  padding-block: 2rem;
  background: var(--surface);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.25rem 3rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
}

.footer-brand picture,
.footer-brand img {
  display: block;
  width: 64px;
  height: 64px;
}

.footer-brand img {
  object-fit: contain;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 700;
  text-underline-offset: 0.22em;
}

.illustration-note,
.disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.disclaimer {
  grid-column: 1 / -1;
}

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

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

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-color-scheme: dark) {
  .service-cell:not(.service-cell-build) img {
    filter: invert(1);
  }

  .hero-mark img,
  .brand img,
  .footer-brand img {
    filter: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--page);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 1rem;
  }

  .desktop-nav a {
    font-size: 0.82rem;
  }

  .hero-grid {
    gap: 3rem;
  }

  h1 {
    font-size: clamp(4rem, 7vw, 5.3rem);
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .brand span {
    display: inline;
  }

  .menu-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin-left: auto;
    padding: 0.65rem 0.9rem;
    border: 2px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 850;
    text-transform: uppercase;
    cursor: pointer;
  }

  .menu-button:active {
    transform: translateY(1px);
  }

  .mobile-nav {
    width: min(calc(100% - 3rem), var(--container));
    margin: 0 auto 1rem;
    padding: 0.75rem 0;
    background: var(--surface);
  }

  .mobile-nav:not([hidden]) {
    display: grid;
  }

  .mobile-nav a {
    padding: 0.75rem 1rem;
    font-weight: 750;
    text-decoration: none;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 78px;
  }

  .container,
  .mobile-nav {
    width: min(calc(100% - 2rem), var(--container));
  }

  .site-header,
  .header-inner {
    min-height: 74px;
  }

  .brand {
    gap: 0.55rem;
    font-size: 0.92rem;
  }

  .brand picture,
  .brand img {
    width: 54px;
    height: 54px;
  }

  .brand picture {
    flex-basis: 54px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .continuity-layout,
  .process-grid,
  .regions-layout,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    gap: 3rem;
    padding-block: 3.75rem 4rem;
  }

  .hero-copy,
  .hero-mark {
    width: 100%;
  }

  h1 {
    max-width: 100%;
    margin-bottom: 1.15rem;
    font-size: clamp(3rem, 13vw, 3.55rem);
  }

  h2 {
    font-size: clamp(2.5rem, 11vw, 3.8rem);
  }

  .hero-lead {
    margin-bottom: 1.4rem;
    font-size: 1.02rem;
  }

  .hero-actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-actions .button,
  .contact-main .button {
    width: 100%;
  }

  .hero-mark {
    justify-content: flex-start;
  }

  .hero-mark-field {
    width: min(100%, 370px);
    min-height: 330px;
  }

  .hero-mark picture {
    width: min(80%, 280px);
  }

  .section {
    padding-block: clamp(4.5rem, 18vw, 6.5rem);
  }

  .section-heading h2,
  .continuity-copy h2,
  .regions-heading h2,
  .contact-main h2 {
    max-width: 100%;
  }

  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-cell,
  .service-cell-move,
  .service-cell-build,
  .service-cell-office,
  .service-cell-stairs,
  .service-cell-deep {
    grid-column: auto;
    min-height: auto;
    padding: 1.5rem;
  }

  .service-cell-deep {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .service-cell-move,
  .service-cell-office {
    min-height: 300px;
    align-items: flex-end;
    flex-direction: row;
  }

  .service-cell-build {
    min-height: 330px;
  }

  .service-cell img {
    width: 145px;
    height: 145px;
    flex: 0 0 145px;
  }

  .continuity-layout,
  .regions-layout,
  .contact-grid {
    gap: 3rem;
  }

  .process-item,
  .process-item-strong {
    min-height: auto;
    padding: 1.5rem 0;
  }

  .process-item-strong {
    padding-inline: 1.5rem;
  }

  .region-name {
    font-size: clamp(3.1rem, 14vw, 5rem);
  }

  .region-name:last-child {
    padding-left: 1.25rem;
  }

  .contact-grid {
    grid-template-areas:
      "main"
      "links"
      "map";
  }

  .contact-links a {
    overflow-wrap: anywhere;
  }

  .map-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-layout {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .disclaimer {
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 0.84rem;
  }

  .hero-mark-field {
    min-height: 300px;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .hero-grid {
    padding-block: 2.5rem;
  }

  h1 {
    margin-bottom: 1rem;
    font-size: clamp(3.8rem, 5.8vw, 5.35rem);
  }

  .hero-lead {
    margin-bottom: 1.25rem;
  }

  .hero-mark-field {
    min-height: min(49svh, 390px);
  }

  .hero-mark picture {
    width: min(74%, 320px);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
