:root {
  --peach: #d59a82;
  --peach-dark: #bc7f68;

  --cream: #f8f4f1;
  --sand: #eee6df;

  --blue: #315f8b;

  --charcoal: #22313b;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
}

img {
  max-width: 100%;
}

.site-header {
  position: absolute;
  top: 0;
  width: 100%;

  padding: 1.2rem 5%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}



.logo-mark {
  width: 125px;
  height: auto;
  display: block;
  object-fit: contain;

  filter:
    brightness(0) invert(1)
    drop-shadow(0 2px 10px rgba(255,255,255,0.18));
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  color: rgba(255,255,255,0.94);
  text-decoration: none;
  margin-left: 2.2rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 0.7;
}

.hero {
  min-height: 92vh;

  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 28%),
    linear-gradient(
      135deg,
      var(--peach) 0%,
      #cf9077 45%,
      var(--peach-dark) 100%
    );

  display: grid;

  grid-template-columns:
    minmax(420px, 620px)
    minmax(420px, 720px);

  justify-content: space-between;

  align-items: center;

  gap: 4rem;

  padding: 8rem 6% 5rem;

  overflow: hidden;
}

.hero-text {
  max-width: 620px;
  color: white;
  animation: fadeUp 0.9s ease;
}

.eyebrow,
.section-label,
.card-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero .eyebrow {
  color: rgba(255,255,255,0.9);
}

.section-label {
  color: var(--blue);
}

.hero h1 {
  font-size: clamp(4rem, 6vw, 6.5rem);

  line-height: 0.92;

  letter-spacing: -0.07em;

  margin: 1rem 0 1.6rem;
}

.hero-main {
  font-size: 1.15rem;
  line-height: 1.75;
  max-width: 560px;
}

.hero-sub {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.88;
  max-width: 520px;
}

.button {
  display: inline-block;

  margin-top: 2rem;

  padding: 1rem 2rem;

  border-radius: 999px;

  background: white;
  color: var(--charcoal);

  text-decoration: none;
  font-weight: 800;

  box-shadow:
    0 12px 32px rgba(0,0,0,0.12);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

  box-shadow:
    0 18px 44px rgba(0,0,0,0.18);
}

.hero-image-card {
  position: relative;

  border-radius: 34px;

  overflow: hidden;

  box-shadow:
    0 30px 70px rgba(80,40,30,0.22);

  animation: fadeUp 0.9s ease;
}

.hero-image-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 2.5rem;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.65),
      rgba(0,0,0,0.16),
      transparent
    );
}

.image-overlay h2 {
  color: white;

  font-size: 2.2rem;
  line-height: 1.2;

  max-width: 420px;

  margin: 0;
}

.image-overlay .card-label {
  color: rgba(255,255,255,0.84);
  margin-bottom: 1rem;
}

.intro-section {
  background: var(--cream);
  padding: 6rem 7%;
}

.intro-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.split {
  max-width: 1280px;
  margin: 0 auto;

  display: grid;

  grid-template-columns: 1fr 0.8fr;

  gap: 4rem;

  align-items: center;
}

.intro-section h2,
.section h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);

  line-height: 1.05;

  margin: 0 0 1.5rem;
}

.intro-section p,
.section p {
  font-size: 1.08rem;
  line-height: 1.9;
}

.section {
  padding: 6rem 7%;
}

.soft-box,
.card {
  background: white;

  border-radius: 32px;

  padding: 2.7rem;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.08);
}
.soft-box {
  max-width: 520px;
  width: 100%;
  justify-self: end;
}

.services {
  background: var(--sand);
}

.cards {
  margin-top: 3rem;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 1.6rem;
}

.card h3 {
  color: var(--blue);

  font-size: 1.45rem;

  margin-top: 0;
}

.contact {
  background: var(--cream);
  text-align: center;
}

.contact p {
  max-width: 700px;
  margin: auto;
}

footer {
  padding: 3rem 7%;

  text-align: center;

  background: var(--charcoal);

  color: white;
}

footer p {
  opacity: 0.8;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {

  .hero,
  .intro-grid,
  .split,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 7rem;
  }

  .hero-image-card img {
    height: 420px;
  }
}

@media (max-width: 720px) {

  .site-header {
    position: relative;

    background: var(--peach);

    flex-direction: column;

    gap: 1rem;
  }

  nav a {
    margin: 0 0.8rem;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .section,
  .intro-section {
    padding: 4rem 7%;
  }

  .image-overlay h2 {
    font-size: 1.8rem;
  }
}

.about-section {
  background: var(--cream);
}

.about-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.about-wrap h2 {
  max-width: 720px;
}

@media (max-width: 850px) {
  .about-wrap {
    grid-template-columns: 1fr;
  }
}

.hero-text {
  position: relative;
  z-index: 5;
}

/* FINAL DESKTOP HERO FIX */
@media (min-width: 981px) {
  .site-header {
    padding: 1.2rem 6%;
  }

  .logo-mark {
    width: 135px;
    height: auto;
  }

  .hero {
    min-height: 88vh;
    display: grid;
    grid-template-columns: minmax(420px, 0.9fr) minmax(420px, 0.8fr);
    gap: 3.5rem;
    align-items: center;
    padding: 8rem 6% 5rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 5.8vw, 6.2rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
  }

  .hero-text {
    max-width: 620px;
    position: relative;
    z-index: 5;
  }

  .hero-image-card {
    max-width: 620px;
    justify-self: end;
  }

  .hero-image-card img {
    height: 440px;
  }
}