@font-face {
  font-family: Calistoga;
  src: url('./assets/Calistoga.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Karla;
  src: url('./assets/Karla.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
}
body {
  margin: 0;
  color: #123b3e;
  background: #fff8ee;
  font-family: Karla, 'Segoe UI', sans-serif;
}
.masthead,
main {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  min-height: 98px;
  padding-block: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font:
    400 clamp(21px, 2vw, 28px)/1.12 Calistoga,
    Georgia,
    serif;
  letter-spacing: -0.04em;
}
.brand img {
  display: block;
}
main {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  padding-block: clamp(30px, 5vh, 72px) 64px;
}
.introduction {
  padding-block: 14px;
}
.status {
  margin: 0 0 22px;
  color: #a53620;
  font-size: 19px;
  font-weight: 750;
}
h1 {
  max-width: 9.5em;
  margin: 0;
  font:
    400 clamp(50px, 5.6vw, 80px)/1.02 Calistoga,
    Georgia,
    serif;
  letter-spacing: -0.047em;
  text-wrap: balance;
}
h1 em {
  color: #c74229;
  font-style: normal;
}
.message {
  max-width: 38ch;
  margin: 24px 0 0;
  color: #3c5658;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.52;
}
.home {
  display: block;
  width: 100%;
  height: clamp(390px, 56vw, 630px);
  border-radius: 30px;
  object-fit: cover;
  object-position: 58% 54%;
}
a {
  color: #123b3e;
  text-underline-offset: 0.2em;
}
a:focus-visible {
  outline: 3px solid #123b3e;
  outline-offset: 4px;
}
.preview {
  display: inline-block;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 700;
}
.skip {
  position: absolute;
  inset: 10px auto auto 10px;
  transform: translateY(-180%);
  padding: 10px;
  background: white;
}
.skip:focus {
  transform: none;
}
@media (max-width: 850px) {
  .masthead,
  main {
    width: calc(100% - 40px);
  }
  .masthead {
    min-height: 78px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 24px 24px;
  }
  .introduction {
    padding: 0;
  }
  .status {
    margin-bottom: 14px;
    font-size: 17px;
  }
  h1 {
    max-width: 10em;
    font-size: clamp(45px, 9.6vw, 72px);
  }
  .message {
    margin-top: 17px;
  }
  .home {
    height: auto;
    aspect-ratio: 1.4;
    border-radius: 20px;
  }
}
