:root {
  --navy: #071d35;
  --navy-2: #12365a;
  --charcoal: #f2ede4;
  --slate: #a8b0bc;
  --gold: #c99a3d;
  --gold-2: #f0c66d;
  --white: #ffffff;
  --soft: #111417;
  --panel: #161a1f;
  --panel-2: #1d2229;
  --ink: #050607;
  --line: rgba(255, 255, 255, 0.11);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(201, 154, 61, 0.12), transparent 28%),
    linear-gradient(180deg, #050607 0%, #0a0c0f 100%);
  color: var(--charcoal);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(5, 6, 7, 0.88);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  left: 0;
  padding: 12px clamp(20px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.footer strong {
  color: var(--navy);
  display: block;
  font-weight: 800;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: 16px;
  min-width: 0;
}

.header-brand {
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(240, 198, 109, 0.18);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  display: inline-flex;
  max-width: fit-content;
  min-width: 0;
  padding: 10px 16px;
}

.header-logo {
  display: block;
  filter: drop-shadow(0 0 18px rgba(240, 198, 109, 0.28));
  height: 92px;
  object-fit: contain;
  width: auto;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 700;
}

.header-cta,
.mobile-cta {
  background: var(--gold);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  padding: 11px 16px;
}

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

.menu-button {
  align-items: center;
  background: var(--navy);
  border: 0;
  color: var(--white);
  cursor: pointer;
  display: none;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.mobile-nav {
  display: none;
}

.hero {
  background: linear-gradient(110deg, rgba(7, 29, 53, 0.9), rgba(7, 29, 53, 0.66)), url("media/projects/main-hero.jpeg");
  background-position: center;
  background-size: cover;
  color: var(--white);
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  min-height: calc(100vh - 82px);
  overflow: hidden;
  padding: clamp(60px, 9vw, 120px) clamp(20px, 5vw, 72px) 56px;
}

.hero-content {
  align-self: center;
  max-width: 850px;
}

.hero-logo-mark {
  display: inline-flex;
  margin: 0 0 24px;
  max-width: min(480px, 78vw);
}

.hero-logo-mark img {
  display: block;
  height: auto;
  max-width: 100%;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

h1 {
  font-size: clamp(46px, 8vw, 94px);
  max-width: 950px;
}

h2 {
  color: var(--white);
  font-size: clamp(34px, 4.8vw, 62px);
  max-width: 840px;
}

h3 {
  color: var(--white);
  font-size: 20px;
  line-height: 1.2;
  margin: 18px 0 10px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
  margin: 28px 0 0;
  max-width: 780px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: #0e1115;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #0e1115;
}

.button.secondary.dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  margin-top: 30px;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.hero-media {
  align-self: end;
  min-height: 420px;
  position: relative;
}

.hero-gallery {
  background: rgba(7, 17, 31, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: var(--shadow);
  height: min(58vh, 560px);
  margin-left: auto;
  max-width: 540px;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.hero-gallery-slides,
.hero-gallery-slide {
  height: 100%;
  width: 100%;
}

.hero-gallery-slide {
  background: #101419;
  display: block;
  min-height: 360px;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: opacity 800ms ease;
}

.hero-gallery-slide.is-active {
  opacity: 1;
}

.hero-gallery-dots {
  bottom: 22px;
  display: flex;
  gap: 8px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-gallery-dots span {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  height: 7px;
  width: 7px;
}

.hero-gallery-dots span.is-active {
  background: var(--gold);
  width: 22px;
}

.section,
.page-hero {
  padding: clamp(72px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.page-hero {
  background: linear-gradient(110deg, rgba(5, 6, 7, 0.94), rgba(12, 15, 19, 0.8)), url("media/projects/colonial-finish.jpeg");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.page-hero h1 {
  max-width: 980px;
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
  max-width: 760px;
}

.split-section {
  align-items: start;
  display: grid;
  gap: clamp(32px, 5vw, 86px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.stats-section {
  background:
    linear-gradient(180deg, rgba(10, 12, 15, 0.98), rgba(15, 18, 22, 0.98)),
    radial-gradient(circle at top left, rgba(201, 154, 61, 0.09), transparent 24%);
}

.stats-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 40px;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  min-height: 164px;
  padding: 28px 24px;
}

.stat-card-accent {
  background: linear-gradient(180deg, rgba(201, 154, 61, 0.16), rgba(201, 154, 61, 0.08)), var(--panel);
  border-color: rgba(240, 198, 109, 0.34);
}

.stat-value {
  color: var(--white);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1;
  margin: 0;
}

.stat-label {
  color: var(--slate);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 16px 0 0;
  text-transform: uppercase;
}

.projects-section {
  background:
    linear-gradient(180deg, rgba(11, 13, 16, 0.98), rgba(5, 6, 7, 1)),
    radial-gradient(circle at top right, rgba(201, 154, 61, 0.1), transparent 26%);
}

.body-copy {
  color: var(--slate);
  font-size: 18px;
}

.body-copy p:first-child {
  margin-top: 0;
}

.positioning-line {
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 18px 0 0;
  text-transform: uppercase;
}

.navy-band {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.navy-band h2,
.navy-band h3 {
  color: var(--white);
}

.section-heading {
  max-width: 850px;
}

.section-heading p:not(.eyebrow) {
  color: var(--slate);
  font-size: 18px;
}

.navy-band .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.card-grid,
.mission-grid,
.value-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
}

.feature-card,
.mission-card,
.value-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 250px;
  padding: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.08);
}

.feature-card svg,
.feature-card .icon {
  color: var(--gold-2);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.72);
}

.process-line {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 52px;
  padding-top: 30px;
}

.process-section {
  background: linear-gradient(180deg, rgba(7, 29, 53, 0.96), rgba(5, 6, 7, 1));
}

.process-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.process-item span {
  color: var(--gold-2);
  font-weight: 800;
}

.process-item p {
  color: rgba(255, 255, 255, 0.76);
  margin: 8px 0 0;
}

.partners-section {
  align-items: stretch;
  background: linear-gradient(180deg, rgba(15, 18, 22, 0.98), rgba(8, 10, 12, 1));
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
}

.partner-panel {
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: clamp(34px, 5vw, 58px);
}

.partner-panel p {
  color: var(--slate);
  font-size: 18px;
}

.check-list {
  align-content: center;
  display: grid;
  gap: 14px;
}

.check-item {
  align-items: center;
  background: var(--panel);
  border-left: 4px solid var(--gold);
  color: var(--white);
  display: flex;
  font-weight: 800;
  gap: 12px;
  padding: 20px;
}

.mission-section {
  background: linear-gradient(180deg, rgba(8, 10, 12, 1) 0%, rgba(5, 6, 7, 1) 100%);
}

.mission-card,
.value-card {
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.mission-card p,
.value-card p {
  color: var(--slate);
}

.project-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.project-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.project-card img {
  background: linear-gradient(180deg, rgba(29, 34, 41, 0.92), rgba(19, 23, 28, 0.92));
  display: block;
  height: 250px;
  object-fit: contain;
  padding: 8px;
  width: 100%;
}

.project-placeholder {
  align-items: center;
  background:
    radial-gradient(circle at top, rgba(201, 154, 61, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(22, 26, 31, 0.98), rgba(12, 15, 19, 0.98));
  border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.76);
  display: flex;
  height: 250px;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.project-placeholder span {
  border: 1px solid rgba(240, 198, 109, 0.28);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 12px 16px;
  text-transform: uppercase;
}

.project-card-fullshot img {
  background: linear-gradient(180deg, rgba(29, 34, 41, 0.92), rgba(19, 23, 28, 0.92));
  object-fit: contain;
  object-position: center;
  padding: 10px 0;
}

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

.project-card-large img {
  height: 420px;
}

.project-card-soon {
  position: relative;
}

.project-card-soon img {
  filter: brightness(0.62) saturate(0.82);
}

.project-card-soon::before {
  background: linear-gradient(180deg, rgba(7, 29, 53, 0.08), rgba(7, 29, 53, 0.72));
  content: "";
  inset: 0 auto auto 0;
  height: 250px;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

.project-card-soon::after {
  background: rgba(7, 29, 53, 0.72);
  color: var(--gold-2);
  content: "Under Construction";
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 10px 14px;
  position: absolute;
  right: 16px;
  text-transform: uppercase;
  top: 16px;
}

.project-copy {
  padding: 22px 22px 24px;
}

.project-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.project-metrics {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.project-copy h3 {
  margin-top: 0;
}

.project-copy p:last-child {
  color: var(--slate);
  margin-bottom: 0;
}

.project-link {
  margin-top: 20px;
  width: fit-content;
}

.updates-section {
  background: linear-gradient(180deg, rgba(14, 17, 21, 1), rgba(8, 10, 12, 1));
}

.updates-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
}

.update-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  min-height: 240px;
  padding: 28px;
}

.update-card p:last-of-type {
  color: var(--slate);
  margin-bottom: 24px;
}

.button-disabled {
  cursor: default;
  opacity: 0.8;
  pointer-events: none;
}

.contact-section {
  background: linear-gradient(180deg, rgba(10, 12, 15, 1), rgba(5, 6, 7, 1));
  color: var(--white);
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
}

.contact-section h2 {
  color: var(--white);
}

.contact-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.contact-methods {
  display: grid;
  gap: 13px;
  margin-top: 30px;
}

.contact-methods a,
.contact-methods span {
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  gap: 12px;
}

.contact-methods a {
  text-decoration: underline;
  text-decoration-color: rgba(240, 198, 109, 0.75);
  text-underline-offset: 4px;
}

.contact-form {
  background: var(--panel-2);
  color: var(--white);
  display: grid;
  gap: 16px;
  padding: clamp(28px, 4vw, 42px);
}

.contact-form label {
  color: var(--white);
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 7px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 13px 14px;
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  margin: -2px 0 2px;
}

.footer {
  align-items: center;
  background: #040506;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 72px);
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 14px;
}

.footer-logo {
  display: block;
  height: 84px;
  object-fit: contain;
  width: auto;
}

.footer p {
  color: rgba(255, 255, 255, 0.72);
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.icon {
  color: var(--gold);
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
}

.icon-check {
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(201, 154, 61, 0.14);
  flex: 0 0 auto;
  height: 12px;
  min-width: 12px;
  width: 12px;
}

@media (max-width: 1040px) {
  .header-actions,
  .header-cta {
    display: none;
  }

  .site-header {
    justify-content: space-between;
  }

  .menu-button {
    display: inline-flex;
    justify-self: end;
  }

  .mobile-nav {
    background: rgba(10, 12, 15, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid;
    gap: 2px;
    left: 0;
    opacity: 0;
    padding: 16px 20px 22px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: calc(100% - 1px);
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

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

  .mobile-nav a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 800;
    padding: 12px 0;
  }

  .hero,
  .split-section,
  .partners-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 320px;
  }

  .hero-gallery {
    height: 360px;
    margin-left: 0;
    max-width: none;
  }

  .card-grid,
  .mission-grid,
  .stats-grid,
  .project-grid,
  .updates-grid,
  .value-grid,
  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .project-card-large img {
    height: 320px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 18px;
  }

  .header-logo {
    height: 62px;
  }
  .hero {
    padding-top: 48px;
  }

  .hero-copy,
  .body-copy,
  .section-heading p:not(.eyebrow),
  .partner-panel p,
  .contact-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .cta-row,
  .button {
    width: 100%;
  }

  .hero-logo-mark {
    margin-bottom: 18px;
    max-width: min(340px, 78vw);
  }

  .card-grid,
  .mission-grid,
  .stats-grid,
  .project-grid,
  .updates-grid,
  .value-grid,
  .process-line {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .mission-card,
  .project-card,
  .update-card,
  .value-card {
    min-height: 0;
  }

  .project-card-large {
    grid-column: span 1;
  }

  .project-card img,
  .project-card-large img {
    height: 240px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}
