:root {
  --bg: #f4efe5;
  --ink: #5d818a;
  --line: #b8b6a8;
  --text: #4f6368;
  font-family: 'Inter', 'Manrope', 'DM Sans', 'Poppins', 'Montserrat', 'Raleway', 'Nunito', 'Work Sans', 'Source Sans 3', 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

body.route-home {
  overflow-x: hidden;
  font-family: "Federo", sans-serif;
}

.hero-shell {
  min-height: 100dvh;
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1rem, 4vw, 4rem) clamp(1rem, 4.5vw, 5rem);
}

.hero-gridline {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero-gridline-v-left {
  left: clamp(1rem, 4.5vw, 4rem);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.hero-gridline-v-right {
  right: clamp(1rem, 4.5vw, 4rem);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.hero-gridline-h-top,
.hero-gridline-h-bottom {
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.hero-gridline-h-top {
  top: 20%;
}

.hero-gridline-h-bottom {
  top: 85%;
}

.hero-content,
.hero-image-wrap {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
  padding: clamp(0.5rem, 1.8vw, 2rem);
}

.hero-kicker {
  font-family: "Poiret One", sans-serif;
  margin: 0 0 0.8rem;
  font-size: clamp(1.4rem, 1.8vw, 2.2rem);
  color: var(--text);
}

.hero-name {
  font-family: "Limelight", sans-serif;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 0.95;
  font-size: clamp(3rem, 7.5vw, 9.2rem);
}

.hero-copy {
  font-family: "Poiret One", sans-serif;
  margin: clamp(1rem, 4vh, 3rem) 0 0;
  max-width: 44ch;
  font-size: clamp(1rem, 1.7vw, 2.9rem);
  line-height: 1.2;
}

.hero-copy a,
.hero-copy a:visited {
  color: inherit;
  text-decoration-style: dotted;
  text-decoration-color: currentColor;
}

.hero-copy a:hover,
.hero-copy a:focus-visible {
  color: #b7410e;
  text-decoration-color: #b7410e;
}

.hero-image-wrap {
  margin: 0;
  justify-self: center;
  width: 100%;
  height: 100%;
  max-width: 560px;
  max-height: 75dvh;
  min-height: 380px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

@media (orientation: landscape) {
  body.route-home {
    overflow: hidden;
    height: 100dvh;
  }

  .hero-shell {
    height: 100dvh;
    min-height: 100dvh;
  }
}

@media (max-width: 980px),
(orientation: portrait) {
  .hero-shell {
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: max(2rem, env(safe-area-inset-top));
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }

  .hero-gridline-h-top {
    display: none;
  }

  .hero-gridline-h-bottom {
    top: auto;
    bottom: 8%;
  }

  .hero-content {
    order: 2;
    max-width: 100%;
  }

  .hero-image-wrap {
    order: 1;
    width: 80%;
    height: auto;
    max-width: 520px;
    max-height: 52dvh;
    min-height: 300px;
  }

  .hero-name {
    font-size: clamp(2.6rem, 17vw, 5rem);
  }

  .hero-copy {
    font-size: clamp(1rem, 5vw, 1.45rem);
  }
}

.content {
  max-width: 860px;
  margin: 2rem auto;
  padding: 0 1rem;
  color: #222;
  font-family: "Poiret One", sans-serif;
}

.content a,
.content a:visited {
  color: inherit;
}

.content a:hover,
.content a:focus-visible {
  color: #b7410e;
}
