:root {
  --sky: #72dff2;
  --sky-soft: #b9f2f5;
  --cream: #fff8df;
  --sand: #f2c57b;
  --sand-dark: #d88948;
  --wood: #bd5d22;
  --wood-dark: #3b1c14;
  --ink: #321812;
  --yellow: #ffc22d;
  --blue: #39c7e5;
  font-family: "Courier New", Courier, monospace;
  color: var(--ink);
  background: var(--cream);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 8% 32%, rgba(236, 178, 73, 0.16), transparent 18rem),
    radial-gradient(ellipse at 94% 58%, rgba(236, 178, 73, 0.16), transparent 20rem),
    var(--cream);
}

a,
button {
  color: inherit;
  font: inherit;
}

button {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 26px max(28px, 5vw) 78px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 40%, rgba(255, 255, 255, 0.9), transparent 19rem),
    radial-gradient(ellipse at 12% 8%, rgba(255, 255, 255, 0.45), transparent 15rem),
    radial-gradient(ellipse at 90% 12%, rgba(255, 255, 255, 0.42), transparent 14rem),
    linear-gradient(180deg, #60d8ec 0%, var(--sky-soft) 58%, var(--sand) 58%, var(--sand-dark) 78%, var(--cream) 78%);
}

.hero::after,
.sand-transition::before,
.section::before {
  content: "";
  position: absolute;
  left: -4vw;
  right: -4vw;
  height: 74px;
  background: var(--cream);
  border-radius: 50% 45% 0 0 / 80% 75% 0 0;
}

.hero::after {
  bottom: -28px;
}

.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.topbar a,
.hero-actions a,
.ca-strip button,
.wanted-board a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 0 18px;
  color: #111;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.topbar a:nth-child(1) {
  background: var(--blue);
  color: white;
}

.topbar a:nth-child(2) {
  background: #f49a3d;
}

.topbar a:nth-child(3) {
  background: #e994ce;
}

.topbar a:nth-child(5),
.hero-actions a:nth-child(2) {
  background: white;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(100%, 1240px);
  min-height: calc(100vh - 130px);
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  margin: 34px auto 0;
}

.hero-copy {
  max-width: 510px;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 20px;
  letter-spacing: 0.18em;
  color: #4a2118;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  letter-spacing: 0.03em;
  color: #3c1d16;
}

h1 {
  font-size: clamp(70px, 8vw, 132px);
  line-height: 0.82;
  text-shadow: 4px 5px 0 rgba(255, 255, 255, 0.38);
}

h2 {
  font-size: clamp(48px, 5.4vw, 86px);
  line-height: 0.88;
}

.lead {
  max-width: 420px;
  margin: 24px 0 0;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 900;
}

.ca-strip {
  display: flex;
  width: min(100%, 500px);
  margin-top: 28px;
}

.ca-strip button:first-child {
  flex: 1;
  overflow: hidden;
  border-radius: 8px 0 0 8px;
  background: white;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ca-strip button:last-child {
  width: 96px;
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: #e6f36f;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.hero-actions a:first-child {
  background: var(--yellow);
}

.hero-art {
  position: relative;
  margin: 0;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 8% -6% -7% 7%;
  border-radius: 24px;
  background: rgba(45, 20, 12, 0.12);
  transform: rotate(2deg);
}

.hero-art img {
  position: relative;
  display: block;
  width: 100%;
  border: 5px solid rgba(50, 24, 18, 0.92);
  border-radius: 20px;
  box-shadow: 12px 12px 0 rgba(50, 24, 18, 0.22);
  transform: rotate(-1.5deg);
}

.sand-transition {
  position: relative;
  height: 64px;
  margin-top: -32px;
  background: var(--cream);
}

.sand-transition::before {
  top: -42px;
}

.section {
  position: relative;
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
  padding: 105px 0;
}

.section::before {
  top: -38px;
  z-index: -1;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  gap: clamp(46px, 7vw, 110px);
  align-items: center;
}

.portrait-card {
  margin: 0;
  transform: rotate(-2deg);
}

.portrait-card img {
  display: block;
  width: 100%;
  filter: drop-shadow(12px 14px 0 rgba(57, 24, 16, 0.12));
  mix-blend-mode: multiply;
}

.section-copy p:not(.eyebrow),
.faq-list p {
  max-width: 500px;
  margin: 22px 0 0;
  font-size: 21px;
  line-height: 1.14;
  font-weight: 900;
}

.how {
  padding-top: 74px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.how-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 42px 100px;
}

.how-grid::before,
.how-grid::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 230px;
  height: 64px;
  border-top: 10px solid #9da7aa;
  border-right: 10px solid #9da7aa;
  border-radius: 0 80px 0 0;
  opacity: 0.95;
}

.how-grid::before {
  top: 76px;
  transform: translateX(-50%) rotate(9deg);
}

.how-grid::after {
  bottom: 98px;
  transform: translateX(-50%) scaleX(-1) rotate(9deg);
}

.how-grid article {
  position: relative;
  min-height: 214px;
}

.how-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 214px;
  object-fit: fill;
  mix-blend-mode: multiply;
}

.how-grid p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.cta {
  width: min(100% - 48px, 980px);
  padding-top: 70px;
  text-align: center;
}

.wanted-board {
  position: relative;
  margin-top: 32px;
}

.wanted-board img {
  display: block;
  width: 100%;
  border-radius: 18px;
  mix-blend-mode: multiply;
  filter: drop-shadow(10px 12px 0 rgba(57, 24, 16, 0.12));
}

.wanted-board a {
  position: absolute;
  right: 18.2%;
  bottom: 12.5%;
  width: 28%;
  height: 15%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: transparent;
  font-size: 0;
}

.faq {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 58px;
  align-items: start;
  padding-bottom: 42px;
}

.faq-list {
  display: grid;
  gap: 13px;
}

details {
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 9px;
  background:
    linear-gradient(rgba(186, 84, 24, 0.84), rgba(186, 84, 24, 0.84)),
    url("./assets/layers/faq-row.jpg") center / 100% 100%;
  box-shadow: 4px 4px 0 rgba(50, 24, 18, 0.38);
  color: white;
  font-weight: 950;
}

summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 28px;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 5px;
  background: #d66a2b;
  color: var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 30px;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  padding: 0 28px 18px;
  color: #fff4d1;
  font-size: 16px;
}

details button,
details a {
  color: inherit;
  font-weight: 950;
}

.runner {
  position: relative;
  width: min(100% - 48px, 980px);
  height: auto;
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) 0.95fr;
  gap: 34px;
  align-items: center;
  margin: -14px auto 80px;
  padding: 18px;
  overflow: hidden;
  border: 5px solid var(--ink);
  border-radius: 18px;
  background: #c36230;
  box-shadow: 10px 12px 0 rgba(50, 24, 18, 0.18);
  transform: rotate(-0.7deg);
}

.runner::before,
.runner::after {
  display: none;
}

.runner::before {
  left: 8%;
}

.runner::after {
  right: 12%;
  transform: scale(0.72);
}

.runner img {
  display: block;
  width: min(100%, 560px);
  border-radius: 10px;
  animation: runnerBump 0.9s steps(2, end) infinite;
}

.runner div {
  padding: 18px 18px 18px 0;
  color: #fff7d8;
}

.runner .eyebrow,
.runner h2 {
  color: #fff7d8;
}

.runner h2 {
  font-size: clamp(38px, 4vw, 64px);
}

.runner a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  border: 3px solid #6c350d;
  border-radius: 8px;
  background: linear-gradient(#ffe473, #f3a50e);
  box-shadow: 4px 4px 0 #321812;
  padding: 0 30px;
  color: #111;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(28px, calc((100vw - 1120px) / 2)) 38px;
  background: #301a14;
  color: #fff7d8;
  font-weight: 950;
}

@keyframes runnerBump {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

footer span:last-child {
  display: flex;
  gap: 18px;
}

footer a,
footer button {
  color: #fff7d8;
  font-weight: 950;
}

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
  }

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

  .hero-grid {
    min-height: auto;
  }

  .hero-art {
    order: -1;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .how-grid::before,
  .how-grid::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 18px 14px 62px;
  }

  .topbar a {
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 44px;
  }

  .section {
    width: min(100% - 24px, 1120px);
    padding: 70px 0;
  }

  .ca-strip,
  .hero-actions,
  footer {
    flex-direction: column;
  }

  .ca-strip button:first-child,
  .ca-strip button:last-child,
  .hero-actions a {
    width: 100%;
    border-radius: 8px;
    border-left: 3px solid var(--ink);
  }

  .wanted-board a {
    right: 12%;
    bottom: 16%;
    min-width: 126px;
    min-height: 38px;
    font-size: 22px;
  }
}
