.niubbe-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  min-height: calc(100vh - 87px);
}

.niubbe-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 72px 56px 76px max(24px, calc((100vw - 1120px) / 2));
}

.niubbe-hero-title {
  max-width: 8.4ch;
}

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

.niubbe-hero-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #e7dfd3;
}

.niubbe-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.niubbe-hero-mark {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 22px;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(247, 243, 236, 0.72);
  pointer-events: none;
}

.niubbe-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 26px 0;
  border-bottom: 1px solid #e4dacd;
}

.niubbe-facts span {
  display: block;
  margin-bottom: 6px;
  color: #6d5130;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.niubbe-facts strong {
  display: block;
  font-family: "Fraunces", "Iowan Old Style", serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.niubbe-facts em {
  display: block;
  margin-top: 4px;
  color: #5c564e;
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.niubbe-home-services,
.niubbe-home-path {
  padding: 88px 0;
}

.niubbe-home-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.niubbe-home-head p {
  color: #5c564e;
  max-width: 36rem;
}

.niubbe-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.niubbe-card {
  background: #fffdfb;
  border: 1px solid #e7ddd0;
  border-radius: 4px;
  padding: 26px 24px 24px;
  box-shadow: 0 10px 30px rgba(28, 25, 21, 0.05);
}

.niubbe-card:nth-child(2) {
  margin-top: 42px;
}

.niubbe-card:nth-child(3) {
  margin-top: 84px;
}

.niubbe-card i {
  color: #6d5130;
  font-size: 1.15rem;
}

.niubbe-card h3 {
  margin: 16px 0 10px;
}

.niubbe-card p {
  color: #5c564e;
  margin-bottom: 18px;
}

.niubbe-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.niubbe-steps li {
  padding-top: 16px;
  border-top: 1px solid #e4dacd;
}

.niubbe-steps b {
  display: block;
  margin-bottom: 12px;
  color: #b0873f;
  font-family: "Fraunces", "Iowan Old Style", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.niubbe-steps p {
  margin-top: 8px;
  color: #5c564e;
}

.niubbe-band {
  background: #1c1915;
  color: #f3eee6;
  padding: 76px 0;
}

.niubbe-band h2 {
  color: #f7f3ec;
  max-width: 14ch;
}

.niubbe-band-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

.niubbe-kicker-light {
  color: #e6d3b0;
}

@media (max-width: 980px) {
  .niubbe-card:nth-child(2),
  .niubbe-card:nth-child(3) {
    margin-top: 0;
  }

  .niubbe-card-grid,
  .niubbe-steps,
  .niubbe-facts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .niubbe-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .niubbe-hero-copy {
    padding: 40px 24px 12px;
  }

  .niubbe-hero-media {
    min-height: 420px;
    order: 2;
  }

  .niubbe-home-head,
  .niubbe-band-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .niubbe-home-services,
  .niubbe-home-path {
    padding: 64px 0;
  }
}

@media (max-width: 640px) {
  .niubbe-facts,
  .niubbe-card-grid,
  .niubbe-steps {
    grid-template-columns: 1fr;
  }
}
