:root {
  --navy: #06131f;
  --navy-light: #0b2537;
  --teal: #2e819f;
  --teal-light: #80c4d8;
  --cream: #f5f3ec;
  --paper: #ffffff;
  --ink: #13212a;
  --muted: #687781;
  --line: rgba(19, 33, 42, 0.14);
  --radius: 22px;
  --shadow: 0 24px 70px rgba(4, 19, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 76px);
  color: white;
  background: rgba(6, 19, 31, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  padding: 4px;
  border-radius: 50%;
  background: white;
}

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

.brand strong,
.footer-brand strong {
  font-size: 15px;
  line-height: 1.3;
}

.brand small,
.footer-brand small {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.68;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navigation a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.navigation a:hover {
  color: var(--teal-light);
}

.header-cta {
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
}

.menu-button {
  display: none;
  padding: 8px 14px;
  color: white;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: white;
  padding: 150px clamp(24px, 7vw, 110px) 105px;
}

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

.hero-image {
  background: url("assets/mt-adam-sunset.jpg") center 46% / cover no-repeat;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 12, 20, 0.86) 0%, rgba(3, 12, 20, 0.54) 43%, rgba(3, 12, 20, 0.08) 76%),
    linear-gradient(to top, rgba(3, 12, 20, 0.62), transparent 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 930px;
}

.eyebrow {
  margin: 0;
  color: var(--teal-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal);
}

.hero h1,
.intro h2,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 12px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(50px, 7vw, 98px);
  line-height: 0.98;
}

.hero-copy {
  max-width: 710px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.7vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 35px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: 0.25s ease;
}

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

.button-primary {
  color: white;
  background: var(--teal);
}

.button-primary:hover {
  background: #3794b5;
}

.button-outline {
  color: white;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 7vw, 110px);
  bottom: 28px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.section {
  padding: 105px clamp(24px, 7vw, 110px);
}

.intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8vw;
  align-items: end;
}

.intro h2,
.section-heading h2,
.about h2,
.contact h2 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.05;
}

.intro-copy {
  color: var(--muted);
  font-size: 17px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 44px;
}

.section-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 390px 390px;
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: #d9dfdf;
  box-shadow: var(--shadow);
}

.gallery-wide {
  grid-row: 1 / span 2;
}

.gallery-tall {
  grid-column: 2;
  grid-row: 1;
}

.gallery-landscape {
  grid-column: 2;
  grid-row: 2;
}

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

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 15, 25, 0.82), transparent 55%);
}

.gallery-item figcaption {
  position: absolute;
  z-index: 2;
  left: 26px;
  bottom: 23px;
  color: white;
}

.gallery-item figcaption span,
.gallery-item figcaption strong {
  display: block;
}

.gallery-item figcaption span {
  color: var(--teal-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gallery-item figcaption strong {
  margin-top: 4px;
  font-size: 20px;
}

.portfolio-note {
  margin: 26px 0 0;
  color: var(--muted);
  text-align: center;
}

.services {
  color: white;
  background:
    radial-gradient(circle at 86% 10%, rgba(46, 129, 159, 0.26), transparent 24%),
    var(--navy);
}

.section-heading.light > p {
  color: rgba(255, 255, 255, 0.62);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 315px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
}

.service-card > span {
  color: var(--teal-light);
  font-size: 12px;
  font-weight: 800;
}

.service-card h3 {
  margin: 88px 0 12px;
  font-size: 23px;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
}

.about {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 7vw;
  align-items: center;
}

.about-image {
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 36px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 20%, rgba(128, 196, 216, 0.55), transparent 26%),
    linear-gradient(145deg, #14394c, #06131f);
  box-shadow: var(--shadow);
}

.about-image img {
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 24px 35px rgba(0, 0, 0, 0.30));
}

.about-content > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 34px;
}

.credentials > div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.credentials strong,
.credentials span {
  display: block;
}

.credentials strong {
  font-size: 14px;
}

.credentials span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.process {
  background: #e8ece9;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-grid article {
  padding: 30px;
  border-top: 1px solid var(--ink);
}

.process-grid span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.process-grid h3 {
  margin: 34px 0 10px;
  font-size: 23px;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 7vw;
  padding: 110px clamp(24px, 7vw, 110px);
  color: white;
  background:
    radial-gradient(circle at 10% 10%, rgba(46, 129, 159, 0.30), transparent 24%),
    linear-gradient(145deg, #06131f, #0b2e43);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.68);
}

.contact-links {
  display: grid;
  gap: 11px;
  margin-top: 35px;
}

.contact-links a {
  color: white;
  text-decoration: none;
}

.contact-links span {
  color: rgba(255, 255, 255, 0.56);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  padding: 30px;
  color: var(--ink);
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfcfc;
  border: 1px solid #cad3d7;
  border-radius: 10px;
}

.contact-form textarea {
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

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

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 30px clamp(24px, 7vw, 110px);
  color: white;
  background: #030d15;
  font-size: 12px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 1000px) {
  .menu-button {
    display: block;
  }

  .navigation {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 23px;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
  }

  .navigation.open {
    display: flex;
  }

  .intro,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

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

  .brand small {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding: 130px 20px 85px;
  }

  .hero-image {
    background-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(to top, rgba(3, 12, 20, 0.92) 0%, rgba(3, 12, 20, 0.54) 63%, rgba(3, 12, 20, 0.20) 100%);
  }

  .hero h1 {
    font-size: 51px;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: 78px 20px;
  }

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

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-wide,
  .gallery-tall,
  .gallery-landscape {
    grid-column: auto;
    grid-row: auto;
    min-height: 390px;
  }

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

  .about-image {
    min-height: 420px;
  }

  .contact {
    padding: 85px 20px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form label,
  .full-width {
    grid-column: 1;
  }

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