:root {
  --navy: #0b3048;
  --navy-dark: #071f30;
  --blue-soft: #dfeaf0;
  --cream: #f6f1e7;
  --sand: #d8c29b;
  --stone: #6f6a5f;
  --text: #14212b;
  --muted: #5f6d75;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(7, 31, 48, 0.16);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(246, 241, 231, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 48, 72, 0.12);
}

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

.brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(7, 31, 48, .14);
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  letter-spacing: .02em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.2;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--navy);
}

nav a {
  position: relative;
}

nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--navy);
  transition: width .2s ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  min-height: calc(100vh - 84px);
  padding: clamp(48px, 8vw, 104px) clamp(18px, 5vw, 80px);
  background:
    radial-gradient(circle at 20% 20%, rgba(216, 194, 155, .34), transparent 30%),
    linear-gradient(135deg, var(--cream) 0%, #ffffff 100%);
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 800;
  color: var(--stone);
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  max-width: 900px;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  font-size: clamp(1.06rem, 2vw, 1.25rem);
  color: var(--muted);
}

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

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.primary,
button {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(11, 48, 72, .22);
}

.secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid rgba(11, 48, 72, .14);
}

.light {
  background: var(--white);
  color: var(--navy);
}

.hero-card {
  overflow: hidden;
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.hero-card-text {
  padding: 20px 22px 24px;
}

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

.hero-card-text strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.hero-card-text span {
  color: var(--muted);
  margin-top: 4px;
}

.strip {
  margin: 0 clamp(18px, 5vw, 80px);
  padding: 22px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow);
}

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

.strip span {
  color: rgba(255,255,255,.78);
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 80px);
}

.muted {
  background: #ffffff;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

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

.service-card {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(11,48,72,.10);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 14px 38px rgba(7,31,48,.07);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--navy);
  font-weight: 900;
}

.service-card p,
.project-card p,
.process-list p,
.quote-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid rgba(11,48,72,.10);
  box-shadow: 0 14px 34px rgba(7,31,48,.08);
}

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

.project-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

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

.project-card div {
  padding: 18px;
}

.placeholder-card img {
  object-fit: cover;
}

.gallery-heading {
  max-width: 820px;
  margin: clamp(38px, 6vw, 70px) 0 24px;
}

.gallery-heading p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 0 12px 28px rgba(7,31,48,.08);
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

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

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

.gallery-item figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(7,31,48,.84);
  color: var(--white);
  font-size: .92rem;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.split p {
  color: var(--muted);
  font-size: 1.05rem;
}

.note,
.placeholder-text {
  color: var(--stone) !important;
  font-style: italic;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 12px 32px rgba(7,31,48,.08);
}

.process-list span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.testimonial-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
}

.quote-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.quote-card p {
  color: rgba(255,255,255,.82);
  font-size: 1.15rem;
  margin-top: 0;
}

.quote-card strong {
  color: var(--sand);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, 620px);
  gap: clamp(26px, 5vw, 70px);
  background: linear-gradient(135deg, #ffffff 0%, var(--blue-soft) 100%);
}

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

.contact-box {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(7,31,48,.08);
}

.contact-box strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.contact-box span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 11px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  font-weight: 800;
  color: var(--navy);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(11,48,72,.22);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: #fbfbfb;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(11,48,72,.18);
  border-color: var(--navy);
}

textarea {
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 80px);
  background: var(--navy-dark);
  color: rgba(255,255,255,.78);
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .hero {
    min-height: auto;
  }

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

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

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

@media (max-width: 680px) {
  .brand small {
    display: none;
  }

  nav {
    gap: 14px;
    font-size: .93rem;
  }

  .nav-cta {
    padding: 8px 12px;
  }

  .strip,
  .testimonial-section,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .strip,
  .testimonial-section {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-card img,
  .project-card.large img,
  .project-card img,
  .gallery-item,
  .gallery-item img {
    height: 260px;
    min-height: 260px;
  }

  h1 {
    font-size: clamp(2.25rem, 14vw, 3.7rem);
  }
}
