:root {
  --ink: #151719;
  --muted: #626970;
  --paper: #f6f4ef;
  --surface: #ffffff;
  --steel: #2d3439;
  --steel-2: #111416;
  --line: rgba(21, 23, 25, 0.12);
  --accent: #d74b2a;
  --accent-2: #f2a51f;
  --cool: #5d7d86;
  --shadow: 0 22px 60px rgba(17, 20, 22, 0.16);
  --radius: 8px;
  --header-height: 78px;
}

* {
  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(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 56px);
  color: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease, min-height 0.25s ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  min-height: 66px;
  background: rgba(17, 20, 22, 0.94);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

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

.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.site-nav .nav-cta {
  color: #151719;
  background: #fff;
}

.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  padding: calc(var(--header-height) + 80px) 0 34px;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 14, 15, 0.9), rgba(12, 14, 15, 0.54) 46%, rgba(12, 14, 15, 0.18)),
    linear-gradient(0deg, rgba(12, 14, 15, 0.88), rgba(12, 14, 15, 0.05) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: clamp(2.65rem, 6vw, 6.15rem);
}

.hero-content > p:not(.eyebrow) {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--accent);
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(17, 20, 22, 0.72);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-stats div {
  padding: 22px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
}

.hero-stats span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.section {
  padding: clamp(72px, 9vw, 124px) 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 86px);
}

.section-intro h2,
.feature-copy h2,
.section-heading h2,
.cta-layout h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.intro-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-copy p {
  margin: 0;
}

.intro-copy p + p {
  margin-top: 18px;
}

.dark-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(215, 75, 42, 0.12), transparent 36%),
    var(--steel-2);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.04rem;
}

.section-heading.compact p:not(.eyebrow) {
  color: var(--muted);
}

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

.service-card {
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
}

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05);
}

.service-card h3 {
  padding: 22px 22px 0;
  font-size: 1.18rem;
}

.service-card p {
  margin: 10px 0 0;
  padding: 0 22px 24px;
  color: rgba(255, 255, 255, 0.68);
}

.feature-section {
  background: #fff;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.feature-image {
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.reason-list {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.reason-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.reason-list span {
  color: var(--accent);
  font-weight: 900;
}

.reason-list h3 {
  font-size: 1.18rem;
}

.reason-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.projects-section {
  background: var(--paper);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  position: relative;
  min-height: 0;
  aspect-ratio: 1 / 1.08;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--steel);
  color: #fff;
  box-shadow: 0 18px 42px rgba(17, 20, 22, 0.14);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.05) 58%);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-card div {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 16px;
}

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

.project-card h3 {
  margin-top: 5px;
  font-size: clamp(1.02rem, 1.35vw, 1.32rem);
  line-height: 1.08;
}

.testimonials {
  color: #fff;
  background: var(--steel);
}

.reviews-track {
  display: grid;
  grid-template-columns: 1fr;
}

.review-card {
  grid-area: 1 / 1;
  max-width: 920px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.review-card.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.review-card p {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 2.1rem);
  line-height: 1.25;
}

.review-card footer {
  margin-top: 26px;
  font-weight: 900;
}

.review-card footer span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 600;
}

.review-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
}

.review-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.cta-section {
  padding: clamp(72px, 9vw, 118px) 0;
  background:
    linear-gradient(120deg, rgba(215, 75, 42, 0.08), transparent 42%),
    #fff;
}

.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.cta-layout > div > p:not(.eyebrow) {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-points span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
  background: var(--paper);
  font-weight: 800;
  font-size: 0.88rem;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(21, 23, 25, 0.16);
  border-radius: var(--radius);
  background: #fff;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(215, 75, 42, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  padding: 30px 0;
  color: #fff;
  background: var(--steel-2);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-layout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

.gallery-page {
  background: #fff;
}

.gallery-page .site-header,
.thank-you-page .site-header {
  background: rgba(17, 20, 22, 0.96);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

.gallery-hero {
  padding: calc(var(--header-height) + 58px) 0 26px;
  text-align: center;
}

.gallery-hero h1 {
  max-width: 1220px;
  margin: 0 auto;
  color: #1b2347;
  font-size: clamp(2.4rem, 5vw, 5.15rem);
}

.gallery-hero p {
  max-width: 1080px;
  margin: 28px auto 0;
  color: #2d3a62;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.45;
}

.gallery-section {
  padding: 20px 0 96px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
  margin: 0 auto 18px;
  padding: 0 0 8px;
}

.gallery-filters button {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #002542;
  cursor: pointer;
  padding: 12px 4px 10px;
  font-weight: 900;
  white-space: nowrap;
}

.gallery-filters button:hover,
.gallery-filters button:focus-visible,
.gallery-filters button.is-active {
  color: #020817;
  border-bottom-color: #1594d2;
}

.gallery-note {
  margin: 0 0 22px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.gallery-item {
  position: relative;
  min-height: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--steel);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  text-align: left;
  box-shadow: 0 18px 46px rgba(17, 20, 22, 0.12);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0) 52%);
}

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

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

.gallery-item span {
  position: absolute;
  z-index: 1;
  left: 14px;
  right: 14px;
  bottom: 13px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.12;
}

.lightbox {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: none;
  place-items: center;
  padding: 72px 20px 28px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1120px, 100%);
  max-height: 78vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.lightbox p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.thank-you-page {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(215, 75, 42, 0.08), transparent 42%),
    var(--paper);
}

.thank-you-main {
  display: grid;
  align-content: center;
  min-height: 100vh;
  padding: calc(var(--header-height) + 70px) 0 80px;
}

.thank-you-main h1 {
  max-width: 760px;
  color: #1b2347;
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.thank-you-main p:not(.eyebrow) {
  max-width: 690px;
  margin: 24px 0 0;
  color: #2d3a62;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.dark-btn {
  color: var(--ink);
  border-color: rgba(21, 23, 25, 0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 22;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 21;
    display: grid;
    gap: 8px;
    padding: 96px 20px 24px;
    background: rgba(17, 20, 22, 0.98);
    transform: translateY(-100%);
    transition: transform 0.25s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    border-radius: var(--radius);
    padding: 15px 16px;
    font-size: 1.08rem;
  }

  .two-column,
  .feature-layout,
  .cta-layout {
    grid-template-columns: 1fr;
  }

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

  .feature-image,
  .feature-image img {
    min-height: 400px;
  }

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

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

  .gallery-item img {
    height: 230px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 18px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 14, 15, 0.88), rgba(12, 14, 15, 0.62)),
      linear-gradient(0deg, rgba(12, 14, 15, 0.92), rgba(12, 14, 15, 0.15) 50%);
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 4.2rem);
  }

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

  .hero-actions .btn {
    width: 100%;
  }

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

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

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

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-hero {
    padding-top: calc(var(--header-height) + 40px);
    text-align: left;
  }

  .gallery-hero p {
    margin-top: 18px;
  }

  .gallery-filters {
    justify-content: flex-start;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-item img {
    height: 190px;
  }

  .project-card div {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .project-card h3 {
    font-size: 1rem;
  }

  .review-controls {
    align-items: flex-start;
    flex-wrap: wrap;
  }

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

@media (max-width: 460px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 260px;
  }
}
