:root {
  color-scheme: light;
  --paper: #f7f2ea;
  --ink: #323232;
  --muted: #62605b;
  --line: rgba(31, 54, 92, 0.16);
  --green: #496b57;
  --heja-blue: #1f365c;
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

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

.app-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.hero {
  min-height: clamp(560px, 82vh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
  overflow: hidden;
  background: var(--white);
}

.hero__media {
  min-height: 360px;
  background: url("assets/heja-digital-publishing.png");
  background-position: center;
  background-size: cover;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: clamp(28px, 6vw, 70px);
}

.kicker {
  margin: 0;
  color: var(--heja-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  max-width: 14ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 5.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero__actions {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  border-bottom: 1px solid rgba(31, 54, 92, 0.42);
  color: var(--heja-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 400;
  letter-spacing: 0;
}

.button:hover,
.button:focus-visible {
  outline: 1px solid var(--heja-blue);
  outline-offset: 5px;
}

@media (max-width: 820px) {
  .app-shell {
    width: min(100% - 20px, 620px);
    padding-top: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__media {
    min-height: 360px;
  }

  h1 {
    max-width: 13ch;
  }
}
