:root {
  --obsidian: #11110f;
  --graphite: #1b1a17;
  --stone: #d7d0c2;
  --ivory: #f5efe4;
  --gold: #c8a15a;
  --red: #b5121b;
  --charcoal: #27231d;
  --muted: #a89f90;
  --line: rgba(245, 239, 228, 0.18);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ivory);
  background:
    radial-gradient(circle at 20% 10%, rgba(181, 18, 27, 0.18), transparent 28rem),
    linear-gradient(135deg, #0f0f0d 0%, #1d1a15 44%, #0f0f0d 100%);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

body.loaded .preloader {
  opacity: 0;
  visibility: hidden;
}

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

img {
  display: block;
  width: 100%;
}

.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(200, 161, 90, 0.22), transparent 64%);
  filter: blur(6px);
  opacity: 0.7;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: opacity 0.35s ease;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(200, 161, 90, 0.16), transparent 18rem),
    #0b0b0a;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.preloader-mark {
  display: grid;
  width: 5rem;
  height: 5rem;
  place-items: center;
  border: 1px solid rgba(200, 161, 90, 0.75);
  border-radius: 0.55rem;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  box-shadow: 0 0 4rem rgba(200, 161, 90, 0.22);
  animation: markReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.preloader-line {
  position: absolute;
  bottom: 22%;
  left: 50%;
  width: min(22rem, 70vw);
  height: 1px;
  overflow: hidden;
  background: rgba(245, 239, 228, 0.16);
  transform: translateX(-50%);
}

.preloader-line::after {
  display: block;
  width: 48%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loaderSweep 1.4s ease-in-out infinite;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: linear-gradient(180deg, rgba(17, 17, 15, 0.86), rgba(17, 17, 15, 0.2));
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand > span:last-child {
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(200, 161, 90, 0.55);
  border-radius: 0.45rem;
  color: var(--gold);
  background: rgba(17, 17, 15, 0.78);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  white-space: nowrap;
}

.brand small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  color: rgba(245, 239, 228, 0.76);
  font-size: 0.9rem;
}

.site-nav a {
  position: relative;
}

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

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

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 25rem);
  align-items: end;
  gap: 2rem;
  padding: 8rem clamp(1rem, 5vw, 5rem) 5rem;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  --move-x: 0px;
  --move-y: 0px;
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.94) 0%, rgba(17, 17, 15, 0.62) 48%, rgba(17, 17, 15, 0.82) 100%),
    url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=2200&q=80") center/cover;
  transform: scale(1.04);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.aurora-layer {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.aurora-layer::before,
.aurora-layer::after {
  position: absolute;
  width: 50vw;
  height: 50vw;
  min-width: 28rem;
  min-height: 28rem;
  content: "";
  border-radius: 999px;
  filter: blur(44px);
  opacity: 0.34;
  mix-blend-mode: screen;
  animation: auroraDrift 12s ease-in-out infinite alternate;
}

.aurora-layer::before {
  top: 5%;
  right: -14%;
  background: radial-gradient(circle, rgba(200, 161, 90, 0.52), transparent 62%);
}

.aurora-layer::after {
  bottom: 2%;
  left: -16%;
  background: radial-gradient(circle, rgba(181, 18, 27, 0.44), transparent 64%);
  animation-delay: -4s;
}

.blueprint-orbit {
  position: absolute;
  right: clamp(1rem, 8vw, 8rem);
  bottom: clamp(8rem, 18vh, 16rem);
  z-index: -1;
  width: clamp(14rem, 30vw, 30rem);
  aspect-ratio: 1;
  border: 1px solid rgba(245, 239, 228, 0.16);
  border-radius: 50%;
  animation: orbitFloat 9s ease-in-out infinite;
}

.blueprint-orbit::before,
.blueprint-orbit::after,
.blueprint-orbit span {
  position: absolute;
  inset: 13%;
  content: "";
  border: 1px solid rgba(200, 161, 90, 0.22);
  border-radius: 50%;
}

.blueprint-orbit::after {
  inset: 31%;
  border-color: rgba(181, 18, 27, 0.28);
}

.blueprint-orbit span {
  inset: auto;
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  background: var(--gold);
  box-shadow: 0 0 2rem rgba(200, 161, 90, 0.8);
  transform-origin: calc(clamp(14rem, 30vw, 30rem) / 2) calc(clamp(14rem, 30vw, 30rem) / 2);
  animation: orbitPoint 7s linear infinite;
}

.blueprint-orbit span:nth-child(1) {
  top: 0;
  left: 50%;
}

.blueprint-orbit span:nth-child(2) {
  top: 50%;
  left: 100%;
  animation-duration: 10s;
  animation-direction: reverse;
}

.blueprint-orbit span:nth-child(3) {
  top: 82%;
  left: 18%;
  animation-duration: 13s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(245, 239, 228, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 228, 0.06) 1px, transparent 1px);
  background-size: 5.5rem 5.5rem;
  mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
  animation: gridSlide 16s linear infinite;
}

.hero-content {
  max-width: 58rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 54rem;
  margin-bottom: 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8.5vw, 7.8rem);
  font-weight: 500;
  line-height: 0.92;
}

h2 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.hero-copy {
  max-width: 42rem;
  color: rgba(245, 239, 228, 0.8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

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

.button.primary {
  border-color: rgba(200, 161, 90, 0.72);
  color: #171410;
  background: linear-gradient(135deg, #f1d98f, var(--gold) 58%, #9d7131);
  box-shadow: 0 0 2.2rem rgba(200, 161, 90, 0.18);
}

.button.ghost {
  background: rgba(245, 239, 228, 0.08);
}

.button.dark {
  background: var(--obsidian);
}

.hero-panel,
.contact-card,
.map-embed {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(17, 17, 15, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  padding: 1.4rem;
  transform-style: preserve-3d;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.hero-panel:hover {
  border-color: rgba(200, 161, 90, 0.58);
  transform: perspective(900px) rotateX(3deg) rotateY(-5deg) translateY(-0.35rem);
}

.panel-kicker {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.hero-panel p {
  color: rgba(245, 239, 228, 0.75);
  line-height: 1.6;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.metric-row span {
  min-height: 4.5rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 0.8rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.metric-row b {
  display: block;
  color: var(--ivory);
  font-size: 1.25rem;
}

.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  display: grid;
  width: 2rem;
  height: 3.4rem;
  place-items: start center;
  border: 1px solid rgba(245, 239, 228, 0.34);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 0.35rem;
  height: 0.35rem;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: var(--gold);
  animation: scrollDot 1.8s ease infinite;
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 5vw, 5rem);
}

.split {
  display: grid;
  grid-template-columns: minmax(17rem, 0.85fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 5vw, 5rem);
  background: linear-gradient(180deg, var(--obsidian), var(--graphite));
  overflow: hidden;
}

.kinetic-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.kinetic-lines span {
  position: absolute;
  left: -20%;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 161, 90, 0.65), transparent);
  transform: rotate(-18deg);
  animation: kineticSweep 7s ease-in-out infinite;
}

.kinetic-lines span:nth-child(1) {
  top: 24%;
}

.kinetic-lines span:nth-child(2) {
  top: 52%;
  animation-delay: 1.8s;
}

.kinetic-lines span:nth-child(3) {
  top: 78%;
  animation-delay: 3.5s;
}

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

.service-card {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 1.4rem;
  background:
    linear-gradient(180deg, rgba(245, 239, 228, 0.08), rgba(245, 239, 228, 0.02)),
    rgba(245, 239, 228, 0.035);
  transition:
    transform 0.45s ease,
    border-color 0.45s ease,
    background 0.45s ease;
}

.service-card::before {
  position: absolute;
  inset: auto 1.4rem 1.4rem auto;
  width: 7rem;
  height: 7rem;
  content: "";
  border: 1px solid rgba(200, 161, 90, 0.32);
  transform: rotate(45deg);
  transition: transform 0.5s ease;
}

.service-card:hover {
  border-color: rgba(200, 161, 90, 0.58);
  background:
    linear-gradient(180deg, rgba(200, 161, 90, 0.14), rgba(245, 239, 228, 0.03)),
    rgba(245, 239, 228, 0.04);
  transform: translateY(-0.65rem);
}

.service-card:hover::before {
  transform: rotate(135deg) scale(1.12);
}

.card-number {
  display: block;
  margin-bottom: 6rem;
  color: var(--red);
  font-weight: 900;
}

.service-card p,
.standard-content p {
  color: rgba(245, 239, 228, 0.72);
  line-height: 1.7;
}

.section-heading {
  max-width: 58rem;
  margin-bottom: 2rem;
}

.projects {
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 161, 90, 0.16), transparent 28rem),
    #151411;
}

.project-showcase {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-auto-rows: minmax(16rem, auto);
  gap: 1rem;
}

.project-card {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #000;
  box-shadow: 0 0 0 rgba(200, 161, 90, 0);
  transition:
    box-shadow 0.5s ease,
    transform 0.5s ease;
}

.project-card:hover {
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(200, 161, 90, 0.36);
  transform: translateY(-0.45rem);
}

.project-card.large {
  grid-row: span 2;
}

.project-card img {
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transform: scale(1.04);
  transition:
    transform 0.7s ease,
    opacity 0.7s ease;
}

.project-card:hover img {
  opacity: 0.95;
  transform: scale(1.1);
}

.project-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 1.4rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.86));
}

.project-card span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card p {
  color: rgba(245, 239, 228, 0.76);
}

.standard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.85fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  background: linear-gradient(135deg, #211d17, #11110f);
  overflow: hidden;
}

.material-wheel {
  position: absolute;
  top: 50%;
  right: -8rem;
  width: 28rem;
  aspect-ratio: 1;
  border: 1px solid rgba(245, 239, 228, 0.1);
  border-radius: 999px;
  transform: translateY(-50%);
  animation: wheelSpin 28s linear infinite;
}

.material-wheel span {
  position: absolute;
  display: grid;
  width: 5.6rem;
  height: 5.6rem;
  place-items: center;
  border: 1px solid rgba(200, 161, 90, 0.35);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(17, 17, 15, 0.72);
  font-family: Georgia, "Times New Roman", serif;
}

.material-wheel span:nth-child(1) {
  top: -2.8rem;
  left: calc(50% - 2.8rem);
}

.material-wheel span:nth-child(2) {
  top: calc(50% - 2.8rem);
  right: -2.8rem;
}

.material-wheel span:nth-child(3) {
  bottom: -2.8rem;
  left: calc(50% - 2.8rem);
}

.material-wheel span:nth-child(4) {
  top: calc(50% - 2.8rem);
  left: -2.8rem;
}

.standard-content {
  max-width: 52rem;
}

.standard-list {
  display: grid;
  gap: 0.8rem;
}

.standard-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 1rem;
  background: rgba(245, 239, 228, 0.045);
  transition:
    transform 0.32s ease,
    border-color 0.32s ease;
}

.standard-item:hover {
  border-color: rgba(200, 161, 90, 0.5);
  transform: translateX(-0.35rem);
}

.standard-item span {
  color: var(--gold);
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  gap: 1rem;
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.86), rgba(17, 17, 15, 0.6)),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.contact-card {
  padding: clamp(1.4rem, 4vw, 3rem);
}

address {
  color: rgba(245, 239, 228, 0.76);
  font-style: normal;
  line-height: 1.8;
}

.map-embed {
  position: relative;
  min-height: 26rem;
  overflow: hidden;
  background: #171511;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.9) contrast(1.08) brightness(0.86);
}

.map-overlay {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border: 1px solid rgba(245, 239, 228, 0.18);
  border-radius: 0.45rem;
  padding: 0.9rem 1rem;
  background: rgba(17, 17, 15, 0.84);
  backdrop-filter: blur(14px);
}

.map-overlay strong {
  font-size: 1.1rem;
}

.map-overlay small {
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 5vw, 5rem);
  color: var(--muted);
  background: #0c0c0b;
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

@keyframes slowZoom {
  from {
    transform: scale(1.04) translate3d(var(--move-x), var(--move-y), 0);
  }
  to {
    transform: scale(1.1) translate3d(calc(var(--move-x) - 1.5rem), var(--move-y), 0);
  }
}

@keyframes scrollDot {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0);
  }
  45% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translateY(1.35rem);
  }
}

@keyframes markReveal {
  from {
    opacity: 0;
    transform: scale(0.72) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes loaderSweep {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(260%);
  }
}

@keyframes auroraDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-6vw, 4vh, 0) scale(1.16);
  }
}

@keyframes orbitFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0);
  }
  50% {
    transform: translate3d(-1rem, -1.5rem, 0) rotate(6deg);
  }
}

@keyframes orbitPoint {
  from {
    transform: rotate(0deg) translateX(8rem) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(8rem) rotate(-360deg);
  }
}

@keyframes gridSlide {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 5.5rem 5.5rem;
  }
}

@keyframes kineticSweep {
  0% {
    opacity: 0;
    transform: translateX(0) rotate(-18deg);
  }
  20%,
  65% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(170vw) rotate(-18deg);
  }
}

@keyframes wheelSpin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

@media (max-width: 980px) {
  .hero,
  .split,
  .standard,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: center;
    padding-top: 7rem;
  }

  .blueprint-orbit,
  .material-wheel {
    opacity: 0.38;
  }

  .service-grid,
  .project-showcase {
    grid-template-columns: 1fr;
  }

  .project-card.large {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .cursor-glow {
    display: none;
  }

  .preloader-mark {
    width: 4.2rem;
    height: 4.2rem;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header {
    padding: 0.8rem 1rem;
  }

  .nav-toggle {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(17, 17, 15, 0.74);
  }

  .nav-toggle span {
    width: 1.1rem;
    height: 1px;
    background: var(--ivory);
  }

  .site-nav {
    position: fixed;
    inset: 4.5rem 1rem auto;
    display: grid;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: rgba(17, 17, 15, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

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

  .hero {
    min-height: auto;
    padding-bottom: 4rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 18rem;
  }

  .card-number {
    margin-bottom: 4rem;
  }
}

/* Airy construction theme refresh */
:root {
  --obsidian: #1d211f;
  --graphite: #f5f1e8;
  --stone: #d8d0c0;
  --ivory: #fffaf0;
  --gold: #b88a3b;
  --red: #9d1f25;
  --charcoal: #2f332f;
  --muted: #766f63;
  --line: rgba(47, 51, 47, 0.14);
  --shadow: 0 24px 70px rgba(58, 48, 34, 0.16);
}

body {
  color: var(--charcoal);
  background:
    radial-gradient(circle at 10% 0%, rgba(184, 138, 59, 0.14), transparent 30rem),
    linear-gradient(180deg, #fffaf0 0%, #f3eee4 42%, #fffaf0 100%);
}

.site-header {
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 1px 0 rgba(47, 51, 47, 0.08);
}

.brand-mark {
  color: #fffaf0;
  background: linear-gradient(135deg, #262b27, #141614);
}

.brand small,
.site-nav,
.hero-copy,
.service-card p,
.standard-content p,
address,
.project-card p {
  color: rgba(47, 51, 47, 0.72);
}

.site-nav a::after {
  background: var(--gold);
}

.hero {
  min-height: 100svh;
  align-items: center;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.92) 0%, rgba(255, 250, 240, 0.72) 46%, rgba(255, 250, 240, 0.34) 100%),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2200&q=80") center/cover;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(47, 51, 47, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 51, 47, 0.07) 1px, transparent 1px);
}

.eyebrow {
  color: var(--gold);
}

h1,
h2,
h3 {
  color: #252922;
}

.button.ghost {
  background: rgba(255, 250, 240, 0.62);
}

.hero-panel,
.contact-card,
.map-embed {
  background: rgba(255, 250, 240, 0.82);
  border-color: rgba(47, 51, 47, 0.13);
}

.hero-panel strong {
  color: #252922;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

.hero-panel p {
  color: rgba(47, 51, 47, 0.72);
}

.credential-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.credential-list span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-top: 1px solid rgba(47, 51, 47, 0.1);
  padding-top: 0.55rem;
  color: #343831;
  font-size: 0.92rem;
  font-weight: 800;
}

.credential-list span::before {
  width: 0.45rem;
  height: 0.45rem;
  content: "";
  border-radius: 999px;
  background: var(--gold);
}

.metric-row {
  display: none;
}

.split,
.projects,
.standard {
  background: transparent;
}

.section {
  background: #fffaf0;
}

.split {
  border-top: 1px solid rgba(47, 51, 47, 0.08);
}

.service-card,
.standard-item,
.scope-item {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(47, 51, 47, 0.12);
  box-shadow: 0 18px 48px rgba(58, 48, 34, 0.08);
}

.card-number {
  color: var(--gold);
}

.project-card {
  background: #f5f1e8;
  box-shadow: 0 18px 48px rgba(58, 48, 34, 0.12);
  cursor: pointer;
}

.project-showcase {
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  grid-auto-rows: minmax(15rem, auto);
}

.project-card.large {
  grid-row: span 2;
}

.project-card div {
  background: linear-gradient(transparent, rgba(255, 250, 240, 0.92));
}

.project-card span {
  color: #8d6425;
}

.project-card:focus-visible {
  outline: 4px solid rgba(184, 138, 59, 0.24);
  outline-offset: 4px;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.project-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 33, 31, 0.52);
  backdrop-filter: blur(10px);
}

.project-modal-panel {
  position: relative;
  width: min(42rem, 100%);
  border: 1px solid rgba(47, 51, 47, 0.12);
  border-radius: 0.75rem;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 138, 59, 0.14), transparent 14rem),
    #fffaf0;
  box-shadow: 0 32px 90px rgba(29, 33, 31, 0.24);
  transform: translateY(1rem) scale(0.98);
  transition: transform 0.25s ease;
}

.project-modal.open .project-modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(47, 51, 47, 0.14);
  border-radius: 999px;
  color: #252922;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.project-modal-panel h2 {
  max-width: 34rem;
  margin-bottom: 1rem;
}

.project-modal-detail {
  color: rgba(47, 51, 47, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
}

.modal-scope {
  margin: 1.4rem 0;
  border: 1px solid rgba(47, 51, 47, 0.1);
  border-radius: 0.55rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.58);
}

.modal-scope strong {
  display: block;
  margin-bottom: 0.75rem;
  color: #252922;
}

.modal-scope ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-scope li {
  display: flex;
  gap: 0.55rem;
  color: rgba(47, 51, 47, 0.72);
}

.modal-scope li::before {
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 auto;
  margin-top: 0.55rem;
  content: "";
  border-radius: 999px;
  background: var(--gold);
}

.modal-cta {
  width: fit-content;
}

.section-heading p {
  max-width: 46rem;
  color: rgba(47, 51, 47, 0.7);
  line-height: 1.7;
}

.scope {
  background:
    linear-gradient(180deg, #fffaf0, #f5f1e8);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.scope-item {
  border: 1px solid rgba(47, 51, 47, 0.12);
  border-radius: 0.5rem;
  padding: 1.2rem;
}

.scope-item span {
  display: inline-flex;
  margin-bottom: 2.6rem;
  color: var(--gold);
  font-weight: 900;
}

.scope-item strong {
  display: block;
  margin-bottom: 0.55rem;
  color: #252922;
  font-size: 1.12rem;
}

.scope-item p {
  margin: 0;
  color: rgba(47, 51, 47, 0.68);
  line-height: 1.65;
}

.contact {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.94), rgba(255, 250, 240, 0.84)),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.testimonials {
  background:
    radial-gradient(circle at 90% 10%, rgba(184, 138, 59, 0.12), transparent 24rem),
    #f5f1e8;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card {
  border: 1px solid rgba(47, 51, 47, 0.12);
  border-radius: 0.5rem;
  padding: 1.4rem;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 18px 48px rgba(58, 48, 34, 0.08);
}

.testimonial-card p {
  color: rgba(47, 51, 47, 0.76);
  font-size: 1.02rem;
  line-height: 1.7;
}

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

.testimonial-card strong {
  margin-top: 1.1rem;
  color: #252922;
}

.testimonial-card span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.38rem;
  color: #343831;
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(47, 51, 47, 0.16);
  border-radius: 0.45rem;
  padding: 0.9rem 1rem;
  color: #252922;
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(184, 138, 59, 0.62);
  box-shadow: 0 0 0 4px rgba(184, 138, 59, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.contact {
  align-items: stretch;
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  min-height: 28rem;
  flex-direction: column;
  padding: clamp(1.4rem, 3.2vw, 2.5rem);
}

.map-embed {
  min-height: 28rem;
}

.contact-actions {
  margin-top: 1.4rem;
}

.contact-form {
  gap: 1rem;
  margin-top: 0;
  border: 1px solid rgba(47, 51, 47, 0.1);
  border-radius: 0.7rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.contact-form-panel {
  grid-column: 1 / -1;
}

.form-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(47, 51, 47, 0.1);
  padding-bottom: 0.9rem;
}

.form-heading strong {
  color: #252922;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.form-heading span {
  color: rgba(47, 51, 47, 0.66);
  font-size: 0.94rem;
}

.contact-form label {
  gap: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 3.15rem;
  padding: 0.82rem 0.95rem;
  background: rgba(255, 250, 240, 0.94);
}

.contact-form textarea {
  min-height: 8rem;
}

.contact-form button {
  margin-top: 0.1rem;
}

.button.dark {
  color: #fffaf0;
  background: #252922;
}

.map-overlay {
  color: #fffaf0;
  background: rgba(29, 33, 31, 0.86);
}

.map-overlay strong {
  color: #fffaf0;
}

.site-footer {
  color: rgba(255, 250, 240, 0.72);
  background: #1d211f;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(18rem, 1.4fr) repeat(3, minmax(10rem, 0.7fr));
  gap: clamp(1.4rem, 4vw, 3rem);
  padding: clamp(2.4rem, 6vw, 4.5rem) clamp(1rem, 5vw, 5rem) 1.4rem;
  color: rgba(255, 250, 240, 0.72);
  background:
    radial-gradient(circle at 20% 0%, rgba(184, 138, 59, 0.18), transparent 24rem),
    #1d211f;
}

.site-footer .brand {
  width: fit-content;
}

.site-footer .brand-mark {
  color: #1d211f;
  background: linear-gradient(135deg, #f3d98a, #c99835);
}

.site-footer .brand strong,
.site-footer .footer-col strong {
  color: #fffaf0;
}

.site-footer .brand small {
  color: rgba(255, 250, 240, 0.58);
}

.footer-brand p {
  max-width: 28rem;
  margin: 1.2rem 0 0;
  color: rgba(255, 250, 240, 0.66);
  line-height: 1.75;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 0.62rem;
}

.footer-col strong {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  color: rgba(255, 250, 240, 0.68);
  line-height: 1.45;
}

.footer-col a:hover {
  color: #f3d98a;
}

.footer-contact a:first-of-type {
  color: #f3d98a;
  font-weight: 900;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 250, 240, 0.12);
  padding-top: 1.2rem;
  color: rgba(255, 250, 240, 0.5);
  font-size: 0.88rem;
}

.aurora-layer::before {
  background: radial-gradient(circle, rgba(184, 138, 59, 0.24), transparent 62%);
}

.aurora-layer::after {
  background: radial-gradient(circle, rgba(157, 31, 37, 0.14), transparent 64%);
}

.blueprint-orbit {
  border-color: rgba(47, 51, 47, 0.12);
  opacity: 0.7;
}

.blueprint-orbit::before,
.blueprint-orbit::after {
  border-color: rgba(184, 138, 59, 0.18);
}

@media (max-width: 720px) {
  .site-nav {
    background: rgba(255, 250, 240, 0.98);
  }

  .nav-toggle {
    background: rgba(255, 250, 240, 0.74);
  }

  .nav-toggle span {
    background: #252922;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .testimonial-grid,
  .form-row,
  .scope-grid {
    grid-template-columns: 1fr;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .contact-form button {
    width: 100%;
  }

  .contact-card,
  .map-embed {
    min-height: auto;
  }

  .form-heading {
    display: grid;
  }
}

/* Final UI polish: one visual language for every component. */
:root {
  --surface: rgba(255, 250, 240, 0.88);
  --surface-strong: #fffaf0;
  --surface-soft: #f5f1e8;
  --ink: #252922;
  --ink-soft: rgba(47, 51, 47, 0.7);
  --border-soft: rgba(47, 51, 47, 0.12);
  --gold-soft: #e6c878;
  --gold-deep: #a97824;
  --radius: 0.65rem;
}

.preloader {
  background:
    radial-gradient(circle at center, rgba(184, 138, 59, 0.18), transparent 18rem),
    linear-gradient(135deg, #fffaf0, #f1eadf);
}

.preloader-mark {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(184, 138, 59, 0.55);
  box-shadow: 0 24px 70px rgba(58, 48, 34, 0.16);
}

.preloader-line {
  background: rgba(47, 51, 47, 0.12);
}

.preloader-line::after {
  background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
}

.site-header {
  background: rgba(255, 250, 240, 0.86);
  border-bottom: 1px solid rgba(47, 51, 47, 0.08);
}

.brand-mark,
.button.dark,
.site-footer {
  background: linear-gradient(135deg, #252922, #161916);
}

.brand small {
  color: rgba(47, 51, 47, 0.62);
}

.button {
  border-radius: 999px;
  box-shadow: none;
}

.button.primary {
  color: #1f211e;
  background: linear-gradient(135deg, #f3d98a, #c99835 58%, #a97824);
  border-color: rgba(169, 120, 36, 0.42);
  box-shadow: 0 14px 34px rgba(169, 120, 36, 0.18);
}

.button.ghost,
.button.dark {
  border-color: var(--border-soft);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.62);
}

.hero-panel,
.service-card,
.scope-item,
.project-card,
.standard-item,
.testimonial-card,
.contact-card,
.contact-form,
.map-embed,
.project-modal-panel {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 20px 58px rgba(58, 48, 34, 0.1);
}

.hero-panel,
.contact-card,
.contact-form,
.project-modal-panel {
  backdrop-filter: blur(18px);
}

.service-card,
.scope-item,
.standard-item,
.testimonial-card {
  background: rgba(255, 255, 255, 0.64);
}

.service-card:hover,
.project-card:hover,
.standard-item:hover {
  border-color: rgba(184, 138, 59, 0.4);
  box-shadow: 0 26px 70px rgba(58, 48, 34, 0.14);
}

.project-card {
  background: #e9e2d6;
}

.project-card img {
  opacity: 0.88;
}

.project-card div {
  background: linear-gradient(transparent 5%, rgba(255, 250, 240, 0.95));
}

.project-card h3,
.project-card p {
  color: var(--ink);
}

.project-card-wide {
  grid-column: 1 / -1;
  min-height: 19rem;
}

.project-card-wide div {
  display: grid;
  align-content: end;
}

.project-card-wide p {
  max-width: 36rem;
  margin-bottom: 0.9rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-tags li {
  border: 1px solid rgba(47, 51, 47, 0.14);
  border-radius: 999px;
  padding: 0.38rem 0.68rem;
  color: rgba(47, 51, 47, 0.76);
  background: rgba(255, 250, 240, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
}

.project-card-feature div {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.75fr);
  align-items: end;
  gap: clamp(1rem, 4vw, 3rem);
}

.project-card-feature .feature-copy {
  display: block;
}

.project-card-feature > div {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.75fr);
  align-items: end;
  gap: clamp(1rem, 4vw, 3rem);
  padding: 1.4rem;
  background: linear-gradient(transparent 5%, rgba(255, 250, 240, 0.95));
}

.project-card-feature .feature-copy {
  position: static;
  inset: auto;
  padding: 0;
  background: transparent;
}

.project-card-feature h3 {
  max-width: 32rem;
}

.project-card-feature p {
  max-width: 34rem;
}

.feature-tags {
  justify-content: flex-end;
}

.feature-tags li {
  background: rgba(255, 250, 240, 0.82);
}

.project-card span,
.card-number,
.scope-item span,
.standard-item span,
.eyebrow {
  color: var(--gold-deep);
}

.contact {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.92), rgba(255, 250, 240, 0.76)),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.contact-form {
  background: rgba(255, 250, 240, 0.9);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 0.5rem;
  border-color: rgba(47, 51, 47, 0.15);
  background: rgba(255, 255, 255, 0.76);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(169, 120, 36, 0.7);
  box-shadow: 0 0 0 4px rgba(184, 138, 59, 0.13);
}

.map-embed {
  overflow: hidden;
  background: var(--surface-soft);
}

.map-overlay {
  border-color: rgba(255, 250, 240, 0.18);
  border-radius: 0.55rem;
  background: rgba(37, 41, 34, 0.88);
}

.project-modal-backdrop {
  background: rgba(37, 41, 34, 0.48);
}

.modal-close {
  border-color: var(--border-soft);
  background: rgba(255, 250, 240, 0.82);
}

.modal-scope {
  border-color: var(--border-soft);
  background: rgba(255, 255, 255, 0.58);
}

.section-heading p,
.hero-copy,
.service-card p,
.scope-item p,
.standard-content p,
.testimonial-card p,
.project-modal-detail,
address {
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .brand small {
    max-width: 11.5rem;
  }

  .hero-panel,
  .contact-card,
  .contact-form,
  .project-modal-panel {
    backdrop-filter: blur(12px);
  }

  .project-modal {
    align-items: end;
    padding: 0.75rem;
  }

  .project-card-wide {
    grid-column: auto;
  }

  .project-card-feature div {
    grid-template-columns: 1fr;
  }

  .project-card-feature > div {
    grid-template-columns: 1fr;
  }

  .feature-tags {
    justify-content: stretch;
  }

  .project-tags {
    display: grid;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

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