:root {
  --bg: #0f1722;
  --panel: #f4efe4;
  --panel-alt: #dce8e8;
  --text-dark: #1c1f24;
  --text-light: #f8f8f8;
  --accent: #ca5b2b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Work Sans", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-light);
  line-height: 1.65;
}

h1,
h2 {
  font-family: "DM Serif Display", Georgia, serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.3rem, 8vw, 5rem);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
}

p {
  max-width: 70ch;
}

.hero,
.strip {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.hero .content,
.strip .content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(10 15 25 / 25%) 0%,
    rgb(10 15 25 / 70%) 100%
  );
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #ffd39e;
}

.narrow {
  max-width: 900px;
}

.text-panel {
  background: var(--panel);
  color: var(--text-dark);
  padding: clamp(4rem, 8vw, 8rem) min(9vw, 6rem);
  display: grid;
  gap: 1.25rem;
}

.text-panel.alt {
  background: var(--panel-alt);
}

.layer-1 {
  background-image: url("https://images.unsplash.com/photo-1469474968028-56623f02e42e?auto=format&fit=crop&w=2200&q=80");
}

.layer-2 {
  background-image: url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=2200&q=80");
}

.layer-3 {
  background-image: url("https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?auto=format&fit=crop&w=2200&q=80");
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: #0a111b;
  color: #9bb0c8;
}

@media (max-width: 900px) {
  .hero,
  .strip {
    background-attachment: scroll;
    min-height: 80vh;
  }
}
