* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #dae0cc;
  color: #253629;
  font:
    16px Arial,
    sans-serif;
}
header,
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 22px 4%;
  font: 12px/1.4 monospace;
  border-bottom: 1px solid #a7b09e;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
main {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 4%;
  align-items: center;
  max-width: 1700px;
  margin: auto;
  min-height: 77vh;
}
.picture {
  height: 100%;
  min-height: 490px;
}
.picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.deck {
  padding: 6% 8% 6% 0;
}
.eyeline,
legend {
  font: 12px monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.deck h1 {
  font:
    normal clamp(55px, 7.8vw, 126px) / 1 Georgia,
    serif;
  letter-spacing: -0.095em;
  margin: 12px 0 18px;
}
.deck h1 span {
  color: #916a35;
}
.intro {
  line-height: 1.55;
  font-size: 18px;
  max-width: 36ch;
}
fieldset {
  margin: 35px 0 25px;
  padding: 0;
  border: 0;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
legend {
  margin-bottom: 12px;
}
fieldset label {
  position: relative;
}
fieldset input {
  position: absolute;
  opacity: 0;
}
fieldset span {
  display: block;
  padding: 10px 13px;
  border: 1px solid #8b9989;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
}
fieldset input:checked + span {
  background: #f4f5e9;
  border-color: #293d28;
}
fieldset input:focus-visible + span,
:focus-visible {
  outline: 3px solid #31669b;
  outline-offset: 3px;
}
.transport {
  display: flex;
  align-items: center;
  gap: 18px;
}
.transport button {
  border: 0;
  border-radius: 30px;
  padding: 14px 20px;
  background: #24372a;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}
.transport label {
  display: grid;
  gap: 5px;
  font-size: 12px;
}
.transport input {
  accent-color: #284530;
  max-width: 120px;
}
#state {
  min-height: 22px;
  font: 12px monospace;
}
footer {
  border-top: 1px solid #a7b09e;
  border-bottom: 0;
}
@media (max-width: 750px) {
  main {
    display: block;
  }
  .picture {
    min-height: 0;
    height: 35vh;
  }
  .picture img {
    object-position: center 57%;
  }
  .deck {
    padding: 24px 5%;
  }
  .deck h1 {
    font-size: clamp(68px, 15vw, 100px);
  }
  fieldset {
    margin: 20px 0;
  }
  .intro {
    font-size: 16px;
  }
}
