*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #0f172a;
  background: #f8fafc;
  line-height: 1.6;
}

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

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  background: #0f172a;
  color: #f8fafc;
  padding-bottom: 3rem;
}

.site-header.site-header-with-strip {
  padding-bottom: 0;
}

.blueprint {
  background-color: #0f172a;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(249, 115, 22, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 115, 22, 0.06) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 10px 10px, 10px 10px;
  background-position: -1px -1px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4%;
  position: sticky;
  top: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  z-index: 10;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-links a {
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #f8fafc;
  margin: 5px 0;
  transition: transform 0.3s ease;
}

.hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 4% 0;
}

.hero.hero-single {
  grid-template-columns: 1fr;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 3vw + 1.5rem, 3.75rem);
  margin: 0 0 1rem;
}

.hero-content .lead {
  max-width: 520px;
  font-size: 1.05rem;
  color: #cbd5f5;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

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

.btn {
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: #f97316;
  color: #0f172a;
}

.btn.secondary {
  border: 1px solid #94a3b8;
  color: #f8fafc;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}

.hero-media {
  display: flex;
  justify-content: flex-end;
}

.header-photo-strip {
  width: 100%;
  height: 20vh;
  min-height: 140px;
  max-height: 260px;
  margin-top: 1.75rem;
  overflow: hidden;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 24px;
  padding: 2rem;
  max-width: 420px;
}

.media-photo-card {
  padding: 0;
  max-width: 520px;
  width: 100%;
  overflow: hidden;
}

.media-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-label {
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #f8fafc;
}

.media-desc {
  margin-top: 1rem;
  color: #cbd5f5;
}

.trust {
  background: #fff;
  padding: 3rem 0;
}

.trust-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.trust-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.services,
.portfolio,
.gallery,
.process,
.about,
.contact {
  padding: 4rem 0;
}

.section-cta {
  margin-top: 2.5rem;
  display: flex;
  justify-content: flex-start;
}

.service-card i,
.trust-card i {
  color: #f97316;
  margin-right: 0.5rem;
}

.process-step span i {
  color: #f97316;
  margin-right: 0.35rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.75rem, 1.5vw + 1.2rem, 2.5rem);
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.service-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.portfolio {
  background: #0f172a;
  color: #f8fafc;
}

.portfolio-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.portfolio-card {
  background: #111827;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.portfolio-card,
.service-card,
.trust-card,
.process-step,
.about-card,
.contact-form {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.portfolio-image {
  background: rgba(15, 23, 42, 0.5);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-image img,
.portfolio-card:focus-within .portfolio-image img {
  transform: scale(1.04);
}

.portfolio-info {
  padding: 1.25rem 1.5rem 1.75rem;
}

.process {
  background: #fff;
}

.process-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.process-step {
  background: #f8fafc;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

.process-step span {
  font-weight: 700;
  color: #f97316;
}

.about {
  background: #f1f5f9;
}

.about-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.about-list {
  padding-left: 1.2rem;
  margin-top: 1rem;
}

.about-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.about-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.gallery {
  background: #fff;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.gallery-item {
  margin: 0;
  background: #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.03);
}

.contact {
  background: #0f172a;
  color: #f8fafc;
}

.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.contact-form {
  background: #111827;
  padding: 2rem;
  border-radius: 20px;
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid #334155;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
}

.form-note {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0;
}

.footer {
  background: #0b1120;
  color: #94a3b8;
  padding: 2.5rem 0 1.5rem;
}

.footer.blueprint {
  background-color: #0b1120;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 24px;
  padding: 2rem 2.5rem;
  text-align: center;
  color: #f8fafc;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.4);
  min-width: 260px;
}

.loader-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.loader-icons i {
  color: #f97316;
}

.loader-hardhat {
  animation: nod 1.2s ease-in-out infinite;
}

.loader-blueprint {
  animation: roll 1.6s ease-in-out infinite;
}

.loader-text {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5f5;
}

@keyframes nod {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@keyframes roll {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer h3,
.footer h4 {
  color: #f8fafc;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
}

.home-page {
  --home-navy-900: #071a2d;
  --home-navy-800: #0f2a45;
  --home-navy-700: #173a5d;
  --home-steel-500: #7eaed8;
  --home-paper: #f4f6f9;
  --home-text: #13293f;
  --home-muted: #4f6074;
  --home-highlight: #ca8750;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--home-text);
  background: var(--home-paper);
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4,
.home-page .home-logo {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

.home-page .container {
  width: min(1180px, 92%);
}

.home-page .home-header {
  background: linear-gradient(140deg, #071a2d 0%, #102e4a 58%, #1c4367 100%);
  color: #f3f8fd;
  padding-bottom: 4.5rem;
  position: relative;
  overflow: hidden;
}

.home-page .home-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.22;
  pointer-events: none;
}

.home-page .home-nav {
  background: transparent;
  border-bottom: 1px solid rgba(174, 206, 236, 0.25);
  backdrop-filter: none;
  position: relative;
}

.home-page .home-logo {
  font-size: clamp(1.55rem, 1vw + 1.2rem, 2rem);
  letter-spacing: 0.06em;
  line-height: 0.95;
  text-transform: uppercase;
  color: #f0f7ff;
}

.home-page .home-logo span {
  display: block;
  margin-top: 0.5rem;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #9bc0e4;
}

.home-page .home-nav .nav-links {
  gap: 1.15rem;
}

.home-page .home-nav .nav-links a {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c8ddf2;
  opacity: 0.96;
}

.home-page .home-nav .nav-links a:hover,
.home-page .home-nav .nav-links a:focus {
  color: #ffffff;
}

.home-page .nav-connect {
  border-color: #80b0d7;
  color: #dbefff;
  border-radius: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
}

.home-page .nav-connect:hover,
.home-page .nav-connect:focus {
  border-color: #a5c9e9;
  background: rgba(168, 203, 236, 0.12);
}

.home-page .home-hero {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 0;
}

.home-page .home-hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(2rem, 2.8vw, 3.4rem);
  align-items: center;
}

.home-page .home-hero-copy {
  background: rgba(8, 27, 47, 0.62);
  border: 1px solid rgba(154, 193, 227, 0.34);
  border-radius: 20px;
  width: min(118%, 780px);
  margin-left: clamp(-5.4rem, -5vw, -2.4rem);
  padding: clamp(1.6rem, 2vw, 2.5rem);
  box-shadow: 0 28px 50px rgba(1, 11, 20, 0.35);
}

.home-page .home-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #9bc2e8;
  margin-bottom: 0.85rem;
}

.home-page .home-hero-copy h1 {
  margin: 0;
  color: #f6fbff;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.03em;
  font-size: clamp(2.3rem, 4.7vw, 4.75rem);
}

.home-page .home-hero-copy .lead {
  margin-top: 1.1rem;
  max-width: 62ch;
  color: #d5e5f6;
  font-size: 1.02rem;
}

.home-page .hero-actions {
  margin-top: 1.65rem;
}

.home-page .btn.primary {
  background: var(--home-highlight);
  color: #072139;
}

.home-page .btn.secondary {
  border-color: #87b5dc;
  color: #dbefff;
}

.home-page .btn.secondary:hover,
.home-page .btn.secondary:focus {
  background: rgba(135, 181, 220, 0.14);
}

.home-page .hero-badges {
  margin-top: 1.65rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-page .hero-badge {
  border: 1px solid rgba(153, 188, 219, 0.3);
  border-radius: 12px;
  background: rgba(8, 25, 43, 0.58);
  padding: 0.85rem;
}

.home-page .hero-badge h3 {
  margin: 0;
  color: #eff7ff;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

.home-page .hero-badge p {
  margin: 0.3rem 0 0;
  color: #c3d9ef;
  font-size: 0.82rem;
  line-height: 1.45;
}

.home-page .home-hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 760px);
  min-height: 600px;
}

.home-page .hero-image {
  margin: 0;
  border: 1px solid rgba(173, 207, 236, 0.33);
  box-shadow: 0 30px 55px rgba(2, 11, 20, 0.45);
  overflow: hidden;
}

.home-page .hero-image-main {
  width: min(92%, 680px);
  margin-left: clamp(0.5rem, 2vw, 1.6rem);
  aspect-ratio: 4 / 3;
}

.home-page .hero-image-main img,
.home-page .hero-image-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .hero-image-accent {
  position: absolute;
  width: min(46%, 320px);
  aspect-ratio: 3 / 4;
  right: clamp(-6.8rem, -7.5vw, -4rem);
  top: 182px;
  border-width: 8px;
  border-color: #0f2c48;
}

.home-page .hero-note {
  position: absolute;
  left: 2rem;
  bottom: 0.4rem;
  background: rgba(8, 27, 47, 0.9);
  border: 1px solid rgba(152, 191, 226, 0.36);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 320px;
  color: #d9ebfa;
}

.home-page .hero-note i {
  color: #87b7df;
  font-size: 1.05rem;
}

.home-page .hero-note p {
  margin: 0;
  font-size: 0.84rem;
}

.home-page .home-trust {
  padding: 0 0 3rem;
  margin-top: -2.15rem;
  background: transparent;
  position: relative;
  z-index: 2;
}

.home-page .home-trust .trust-card {
  background: #ffffff;
  border: 1px solid #dae4ee;
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(11, 28, 47, 0.11);
}

.home-page .section-header h2 {
  color: #112b44;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

.home-page .section-header p {
  color: var(--home-muted);
  max-width: 640px;
}

.home-page .home-services {
  background: linear-gradient(180deg, #f7f8fb 0%, #f1f4f8 100%);
}

.home-page .home-services .container {
  width: min(1320px, 95%);
}

.home-page .home-services .card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-page .home-services .service-card {
  border: 1px solid #dde7f0;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(8, 28, 47, 0.08);
}

.home-page .home-services .service-card h3 {
  margin-top: 0.2rem;
  color: #132f49;
  font-size: 1.38rem;
}

.home-page .home-portfolio {
  background: linear-gradient(160deg, #0a2137 0%, #163a5d 100%);
  color: #edf4fb;
}

.home-page .home-portfolio .section-header h2 {
  color: #edf5fc;
}

.home-page .home-portfolio .section-header p {
  color: #bdd0e2;
}

.home-page .home-portfolio .portfolio-card {
  background: #112e4a;
  border-color: rgba(165, 200, 231, 0.3);
}

.home-page .home-process {
  background: #ffffff;
}

.home-page .home-process .process-step {
  background: #fafcff;
  border: 1px solid #dce7f1;
}

.home-page .home-about {
  background: #f0f4f9;
}

.home-page .home-about .about-card {
  border: 1px solid #dce7f2;
  padding: 1rem;
}

.home-page .home-about .about-photo {
  border-radius: 10px;
}

.home-page .home-contact {
  background: linear-gradient(155deg, #0a2137 0%, #173d60 100%);
  color: #ecf5fd;
}

.home-page .home-contact .contact-card {
  border: 1px solid rgba(164, 200, 232, 0.25);
}

.home-page .home-contact .contact-form {
  background: rgba(5, 20, 34, 0.78);
  border: 1px solid rgba(164, 199, 231, 0.32);
}

.home-page .home-contact .contact-form input,
.home-page .home-contact .contact-form textarea {
  background: #f7fbff;
  border-color: #bad0e5;
  color: #10283f;
}

.home-page .home-contact .form-note {
  color: #b0cce7;
}

@media (max-width: 1120px) {
  .home-page .hero-badges {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .home-page .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-page .home-hero-copy {
    width: 100%;
    margin-left: 0;
  }

  .home-page .home-hero-visual {
    min-height: 480px;
    width: 100%;
  }

  .home-page .hero-image-main {
    width: min(96%, 760px);
    margin-left: 0;
  }

  .home-page .hero-image-accent {
    right: -10%;
    top: 92px;
  }

  .home-page .home-services .container {
    width: min(1180px, 92%);
  }

  .home-page .home-services .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 840px) {
  .home-page .home-nav {
    background: rgba(8, 24, 41, 0.95);
    backdrop-filter: blur(8px);
  }

  .home-page .nav-connect {
    display: none;
  }

  .home-page .home-hero {
    padding-top: 2.2rem;
  }

  .home-page .home-hero-copy {
    padding: 1.35rem;
  }

  .home-page .home-hero-copy h1 {
    font-size: clamp(1.9rem, 8vw, 3.2rem);
  }

  .home-page .home-hero-visual {
    min-height: 360px;
  }

  .home-page .hero-image-main {
    width: 100%;
  }

  .home-page .hero-image-accent {
    width: 45%;
    right: -14%;
    top: 110px;
    border-width: 5px;
  }

  .home-page .hero-note {
    left: 0.9rem;
    right: 0.9rem;
    max-width: none;
  }

  .home-page .home-trust {
    margin-top: -1rem;
  }
}

@media (max-width: 840px) {
  .nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .nav-links[data-open="true"] {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 841px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* Metallic Theme Overrides */
:root {
  --metal-silver-base: #c0c1c5;
  --metal-silver-light: #eceef1;
  --metal-silver-mid: #a7acb3;
  --metal-silver-dark: #777d87;
  --metal-gold-base: #f8d464;
  --metal-gold-light: #ffe8a7;
  --metal-gold-deep: #b88f2b;
  --metal-ink: #181b21;
  --metal-ink-soft: #262b33;
}

body {
  color: var(--metal-ink);
  background: radial-gradient(circle at 16% 12%, #ffffff 0%, #eef1f4 38%, #d9dde3 100%);
}

.site-header,
.portfolio,
.contact,
.footer,
.home-page .home-header,
.home-page .home-portfolio,
.home-page .home-contact {
  background: linear-gradient(145deg, #1a1e24 0%, #323844 48%, #15181d 100%);
  color: #f3f5f7;
}

.blueprint {
  background-image: linear-gradient(rgba(236, 239, 243, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 239, 243, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(248, 212, 100, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 212, 100, 0.09) 1px, transparent 1px);
}

.nav,
.home-page .home-nav {
  background: linear-gradient(90deg, rgba(20, 24, 30, 0.96), rgba(57, 63, 74, 0.9));
  border-bottom: 1px solid rgba(248, 212, 100, 0.34);
}

.nav-logo,
.home-page .home-logo {
  color: var(--metal-gold-light);
}

.home-page .home-logo span,
.eyebrow,
.home-page .home-kicker {
  color: rgba(248, 212, 100, 0.82);
}

.nav-links a,
.home-page .home-nav .nav-links a {
  color: #d5dae1;
}

.nav-links a:hover,
.nav-links a:focus,
.home-page .home-nav .nav-links a:hover,
.home-page .home-nav .nav-links a:focus {
  color: #fff8db;
}

.btn.primary,
.home-page .btn.primary {
  background: linear-gradient(135deg, #fff3c7 0%, #f8d464 46%, #c79a33 100%);
  color: #2f2710;
  border: 1px solid rgba(157, 117, 21, 0.64);
  box-shadow: 0 12px 24px rgba(124, 90, 12, 0.28);
}

.btn.secondary,
.home-page .btn.secondary {
  background: linear-gradient(140deg, rgba(235, 238, 243, 0.16), rgba(174, 179, 188, 0.07));
  border: 1px solid rgba(232, 236, 242, 0.66);
  color: #eef2f7;
}

.btn.secondary:hover,
.btn.secondary:focus,
.home-page .btn.secondary:hover,
.home-page .btn.secondary:focus {
  background: linear-gradient(140deg, rgba(248, 212, 100, 0.2), rgba(233, 236, 241, 0.1));
}

.nav-connect {
  border-color: rgba(248, 212, 100, 0.72);
  color: #fff0bc;
}

.trust,
.services,
.process,
.about,
.gallery,
.home-page .home-services,
.home-page .home-process,
.home-page .home-about {
  background: linear-gradient(180deg, #f8f9fb 0%, #e3e7ec 100%);
}

.trust-card,
.service-card,
.process-step,
.about-card,
.gallery-item,
.home-page .home-trust .trust-card,
.home-page .home-services .service-card,
.home-page .home-process .process-step,
.home-page .home-about .about-card {
  background: linear-gradient(160deg, #fdfdfe 0%, #d7dbe1 100%);
  border: 1px solid #b8bec7;
  color: #212731;
  box-shadow: 0 14px 30px rgba(24, 31, 41, 0.14);
}

.service-card h3,
.trust-card h3,
.process-step h3,
.about h2,
.section-header h2,
.home-page .section-header h2 {
  color: #1b2430;
}

.service-card i,
.trust-card i,
.process-step span i,
.process-step span {
  color: #c89f39;
}

.portfolio,
.home-page .home-portfolio {
  color: #eef2f7;
}

.portfolio-card,
.home-page .home-portfolio .portfolio-card,
.contact-form,
.home-page .home-contact .contact-form {
  background: linear-gradient(158deg, #2e343f 0%, #171b21 100%);
  border: 1px solid rgba(248, 212, 100, 0.35);
  box-shadow: 0 18px 36px rgba(9, 13, 19, 0.42);
}

.portfolio-image {
  background: linear-gradient(140deg, rgba(238, 241, 245, 0.07), rgba(248, 212, 100, 0.1));
}

.portfolio-info h3,
.portfolio-info p,
.contact h2,
.contact h3,
.contact p,
.contact-form label {
  color: #edf1f6;
}

.contact-card,
.home-page .home-contact .contact-card {
  background: linear-gradient(145deg, rgba(235, 238, 244, 0.12), rgba(179, 184, 193, 0.08));
  border: 1px solid rgba(248, 212, 100, 0.26);
}

.contact-form input,
.contact-form textarea,
.home-page .home-contact .contact-form input,
.home-page .home-contact .contact-form textarea {
  background: linear-gradient(180deg, #fdfdfd 0%, #e5e8ec 100%);
  border: 1px solid #b6bdc6;
  color: #1f2733;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #626d7c;
}

.form-note,
.home-page .home-contact .form-note {
  color: #c8d0db;
}

.footer,
.footer.blueprint {
  background-color: #111419;
  background-image: linear-gradient(140deg, #151a21 0%, #2d323d 45%, #12161b 100%);
  color: #d3d8e0;
}

.footer h3,
.footer h4 {
  color: #ffe8a7;
}

.footer-bottom {
  border-top-color: rgba(248, 212, 100, 0.26);
}

.loading-overlay {
  background: linear-gradient(140deg, #13171d 0%, #2b313a 54%, #11151a 100%);
}

.loader-card {
  background: linear-gradient(155deg, rgba(23, 28, 36, 0.9), rgba(67, 73, 84, 0.72));
  border-color: rgba(248, 212, 100, 0.34);
}

.loader-icons i {
  color: var(--metal-gold-base);
}

.home-page {
  --home-paper: #eef1f4;
  --home-text: #1f2731;
  --home-muted: #5c6674;
  --home-highlight: #f8d464;
}

.home-page .home-header::before {
  opacity: 0.2;
}

.home-page .home-hero-copy,
.home-page .hero-badge,
.home-page .hero-note {
  background: linear-gradient(150deg, rgba(25, 30, 38, 0.88), rgba(72, 78, 89, 0.54));
  border-color: rgba(248, 212, 100, 0.3);
}

.home-page .home-hero-copy h1 {
  color: #fff4ca;
}

.home-page .home-hero-copy .lead,
.home-page .hero-badge p,
.home-page .hero-note p {
  color: #d6dce5;
}

.home-page .hero-badge h3 {
  color: #ffe8a7;
}

.home-page .hero-note i {
  color: #f8d464;
}

/* Home Hero Metallic Accent Refresh */

.home-page .hero-image-main {
  position: relative;
  z-index: 1;
  border-color: rgba(208, 214, 223, 0.42);
}

.home-page .hero-image-accent {
  z-index: 2;
  border-color: #f8d464;
  box-shadow: 0 0 0 10px rgba(171, 132, 34, 0.34),
    0 28px 52px rgba(5, 14, 23, 0.58);
}

/* Portfolio Page Upgrade */
.portfolio-page {
  background: linear-gradient(180deg, #f4f6f9 0%, #e3e7ed 100%);
}

.portfolio-page .site-header {
  background: linear-gradient(145deg, #171b22 0%, #323944 50%, #13171e 100%);
  color: #f0f2f5;
  padding-bottom: 3.2rem;
}

.portfolio-page .nav {
  background: rgba(16, 21, 28, 0.9);
  border-bottom: 1px solid rgba(248, 212, 100, 0.35);
}

.portfolio-page .nav-logo {
  color: #ffe8a7;
}

.portfolio-page .nav-links a {
  color: #d6dde7;
}

.portfolio-page .nav-links a:hover,
.portfolio-page .nav-links a:focus {
  color: #fff3c7;
}

.portfolio-page .hero {
  grid-template-columns: minmax(300px, 0.95fr) minmax(340px, 1.05fr);
  gap: 2.7rem;
  align-items: center;
  padding: 3.2rem 4% 0;
}

.portfolio-page .hero-content h1 {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 0.94;
  font-size: clamp(2.2rem, 3.9vw, 4.1rem);
}

.portfolio-page .hero-content .lead {
  max-width: 57ch;
  color: #ccd3dd;
}

.portfolio-page .portfolio-hero-media {
  position: relative;
  justify-self: center;
  width: min(100%, 760px);
  min-height: 545px;
}

.portfolio-page .portfolio-hero-main {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(92%, 670px);
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(214, 220, 228, 0.44);
  box-shadow: 0 30px 60px rgba(4, 14, 24, 0.45);
  overflow: hidden;
}

.portfolio-page .portfolio-hero-main img,
.portfolio-page .portfolio-hero-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-page .portfolio-hero-accent {
  margin: 0;
  position: absolute;
  z-index: 2;
  width: min(45%, 300px);
  aspect-ratio: 3 / 4;
  right: -2.9rem;
  top: 92px;
  border: 8px solid #f8d464;
  box-shadow: 0 0 0 9px rgba(171, 132, 34, 0.34),
    0 25px 50px rgba(6, 15, 25, 0.5);
  overflow: hidden;
}

.portfolio-page .portfolio-hero-chip {
  position: absolute;
  z-index: 3;
  left: 1.2rem;
  bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 320px;
  background: rgba(20, 24, 31, 0.9);
  border: 1px solid rgba(248, 212, 100, 0.34);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: #dee5ee;
}

.portfolio-page .portfolio-hero-chip i {
  color: #f8d464;
}

.portfolio-page .portfolio-hero-chip p {
  margin: 0;
  font-size: 0.84rem;
}

.portfolio-page .portfolio-intro {
  padding: 0 0 3rem;
  margin-top: -1.6rem;
  position: relative;
  z-index: 2;
}

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

.portfolio-page .portfolio-intro-grid article {
  background: linear-gradient(165deg, #ffffff 0%, #d8dde4 100%);
  border: 1px solid #bcc7d3;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 14px 30px rgba(11, 25, 38, 0.15);
}

.portfolio-page .portfolio-intro-grid span {
  display: block;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7e5f16;
}

.portfolio-page .portfolio-intro-grid p {
  margin: 0.45rem 0 0;
  color: #4b5868;
  font-size: 0.88rem;
}

.portfolio-page .portfolio {
  background: linear-gradient(180deg, #f8f9fb 0%, #e8ebf0 100%);
}

.portfolio-page .portfolio .section-header h2 {
  color: #1f2935;
}

.portfolio-page .portfolio .section-header p {
  color: #566171;
}

.portfolio-page .portfolio-card {
  background: linear-gradient(162deg, #ffffff 0%, #dee3ea 100%);
  border-color: #c3cad3;
  box-shadow: 0 14px 28px rgba(17, 24, 34, 0.14);
}

.portfolio-page .portfolio .portfolio-image {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.75), rgba(213, 219, 227, 0.6));
}

.portfolio-page .portfolio-info.project-writeup {
  padding-bottom: 1.2rem;
}

.portfolio-page .project-title {
  margin: 0;
  color: #b88f2b;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
}

.portfolio-page .project-location {
  margin: 0.2rem 0 0;
  color: #7f8791;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-page .project-description {
  margin: 0.7rem 0 0;
  color: #14181f;
  font-size: 0.95rem;
  line-height: 1.5;
}

.portfolio-page .gallery {
  background: linear-gradient(180deg, #f4f6fa 0%, #e6eaf0 100%);
}

.portfolio-page .gallery .section-header h2 {
  color: #2b323c;
}

.portfolio-page .gallery .section-header p {
  color: #586473;
}

.portfolio-page .portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: -0.2rem 0 1.25rem;
}

.portfolio-page .portfolio-filters span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border: 1px solid #b8c5d2;
  color: #3b434e;
  background: linear-gradient(145deg, #ffffff, #dde2e9);
}

.portfolio-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.9rem;
}

.portfolio-page .gallery-item {
  border: 1px solid #c0cad5;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: auto;
  box-shadow: 0 12px 24px rgba(13, 24, 36, 0.12);
}

.portfolio-page .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.portfolio-page .gallery-item:nth-child(5n) img {
  aspect-ratio: 3 / 4;
}

.portfolio-page .gallery-item:nth-child(7n) img {
  aspect-ratio: 4 / 3;
}

.portfolio-page .gallery-item:nth-child(11n) img {
  aspect-ratio: 16 / 10;
}

/* Services Page Hero Refresh */
.services-page .site-header {
  background: linear-gradient(145deg, #171b22 0%, #323944 50%, #13171e 100%);
  color: #f0f2f5;
}

.services-page .hero-content {
  background: linear-gradient(150deg, rgba(25, 30, 38, 0.88), rgba(72, 78, 89, 0.54));
  border: 1px solid rgba(248, 212, 100, 0.3);
  border-radius: 18px;
  padding: clamp(1.3rem, 2vw, 2rem);
  box-shadow: 0 24px 44px rgba(4, 14, 24, 0.32);
}

.services-page .hero-content h1 {
  color: #fff4ca;
}

.services-page .hero-content .lead {
  color: #d6dce5;
}

.services-page .eyebrow {
  color: rgba(248, 212, 100, 0.86);
}

.services-page .media-photo-card {
  border-color: rgba(248, 212, 100, 0.34);
  box-shadow: 0 26px 48px rgba(5, 14, 23, 0.48);
}

img.click-to-full {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 20, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 2rem;
}

.image-lightbox[data-open="true"] {
  display: flex;
}

.image-lightbox img {
  max-width: min(1400px, 94vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
}

.image-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus {
  background: rgba(255, 255, 255, 0.34);
}

@media (max-width: 1020px) {
  .portfolio-page .hero {
    grid-template-columns: 1fr;
  }

  .portfolio-page .portfolio-hero-media {
    min-height: 450px;
  }

  .portfolio-page .portfolio-hero-main {
    width: min(96%, 720px);
  }

  .portfolio-page .portfolio-hero-accent {
    right: -1.4rem;
    top: 66px;
  }

  .portfolio-page .portfolio-intro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .portfolio-page .portfolio-hero-media {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .portfolio-page .portfolio-hero-main {
    width: 100%;
  }

  .portfolio-page .portfolio-hero-accent {
    display: none;
  }

  .portfolio-page .portfolio-hero-chip {
    position: static;
    margin-top: 0.9rem;
    left: auto;
    right: auto;
    max-width: min(100%, 560px);
  }
}

@media (max-width: 840px) {
  .home-page .home-nav {
    background: linear-gradient(90deg, rgba(19, 23, 29, 0.97), rgba(59, 65, 76, 0.92));
  }
}

@media (max-width: 840px) {
  .home-page .hero-image-accent,
  .home-page .hero-note {
    display: none;
  }

  .home-page .home-hero-visual {
    min-height: 0;
  }
}
