:root {
  color-scheme: dark;
  --black: #000;
  --ink: #080808;
  --graphite: #111;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --soft: #d2d2d7;
  --gold: #d0aa62;
  --max: 1180px;
  --side: 28px;
  --header: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

p {
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.72;
}

::selection {
  background: rgba(208, 170, 98, 0.32);
  color: #fff;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header);
  padding: 16px var(--side);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(24px) saturate(140%);
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.82);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  color: rgba(245, 245, 247, 0.72);
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 76svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #000;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: brightness(0.9) contrast(1.08) saturate(1.08);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.42) 46%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--side) 72px;
}

.hero h1 {
  max-width: 840px;
  color: #fff;
  font-size: 5rem;
  font-weight: 650;
  line-height: 0.96;
}

.hero p {
  max-width: 650px;
  margin-top: 28px;
  color: rgba(245, 245, 247, 0.82);
  font-size: 1.16rem;
}

.section {
  position: relative;
  padding: 96px var(--side);
  scroll-margin-top: 96px;
}

.section::before {
  position: absolute;
  top: 0;
  right: var(--side);
  left: var(--side);
  height: 1px;
  max-width: var(--max);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  content: "";
}

.section-grid,
.service-grid,
.choose-layout,
.mission-layout,
.address-layout,
.section-heading {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 68px;
  align-items: start;
}

.section-copy {
  max-width: 690px;
}

.section-copy h2,
.section-heading h2,
.choose-content h2,
.mission-copy h2 {
  color: #fff;
  font-size: 2.6rem;
  font-weight: 650;
  line-height: 1.04;
}

.section-copy h2::after,
.section-heading h2::after,
.choose-content h2::after,
.mission-copy h2::after {
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 20px;
  background: var(--gold);
  content: "";
}

.section-copy p {
  margin-top: 26px;
}

.image-panel,
.choose-media,
.address-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.image-panel {
  aspect-ratio: 4 / 5;
}

.image-panel img,
.choose-media img,
.address-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}

.section-services {
  background: #050505;
}

.section-heading {
  margin-bottom: 44px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  overflow: hidden;
  min-height: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  transition: border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(208, 170, 98, 0.52);
}

.service-card img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 18px;
}

.service-image-pipes {
  object-position: 18% center;
}

.service-card div {
  padding: 24px 0 0;
}

.service-card h3,
.reason-list h3 {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 650;
  line-height: 1.18;
}

.service-card p,
.reason-list p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

.choose-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 68px;
  align-items: stretch;
}

.choose-media {
  min-height: 560px;
}

.choose-content {
  align-self: center;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.reason-list article {
  min-height: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.section-mission {
  overflow: hidden;
  background: #000;
}

.mission-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.mission-copy {
  min-height: 300px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.mission-copy p {
  margin-top: 30px;
  font-size: 1.04rem;
}

.section-address {
  padding-bottom: 64px;
}

.address-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 40px;
  align-items: center;
}

.address-image {
  aspect-ratio: 16 / 9;
}

.address-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 34px 0;
  color: #fff;
  font-size: 1.42rem;
  font-weight: 600;
  font-style: normal;
  line-height: 1.38;
}

.address-copy a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.address-copy a:hover,
.address-copy a:focus-visible {
  color: var(--gold);
}

.address-copy::before {
  display: block;
  width: 68px;
  height: 1px;
  margin-bottom: 8px;
  background: var(--gold);
  content: "";
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 640ms ease, transform 640ms ease;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 0.74rem;
  }

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

@media (max-width: 980px) {
  :root {
    --side: 22px;
    --header: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(22px) saturate(130%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 15px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(245, 245, 247, 0.88);
    font-size: 0.95rem;
    white-space: normal;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 74svh;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-grid,
  .choose-layout,
  .mission-layout,
  .address-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .image-panel,
  .choose-media {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

  .address-layout {
    gap: 26px;
  }

  .address-copy {
    padding: 0;
  }
}

@media (max-width: 720px) {
  p {
    font-size: 0.98rem;
  }

  .brand {
    font-size: 0.98rem;
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .hero-content::before {
    margin-bottom: 26px;
  }

  .hero h1 {
    font-size: 2.78rem;
    line-height: 1.02;
  }

  .hero p {
    margin-top: 22px;
    font-size: 1.02rem;
  }

  .section-copy h2,
  .section-heading h2,
  .choose-content h2,
  .mission-copy h2 {
    font-size: 1.96rem;
  }

  .service-grid,
  .reason-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card img {
    height: 216px;
  }

  .reason-list article,
  .mission-copy {
    min-height: auto;
  }

  .mission-copy {
    padding: 28px;
  }

  .address-copy {
    font-size: 1.28rem;
  }
}

@media (max-width: 430px) {
  :root {
    --side: 18px;
  }

  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero h1 {
    font-size: 2.42rem;
  }

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .section-copy h2,
  .section-heading h2,
  .choose-content h2,
  .mission-copy h2 {
    font-size: 1.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .hero-media {
    display: none;
  }

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