:root {
  --bark: #221d17;
  --parchment: #efe8d6;
  --eucalypt: #46583f;
  --dam: #57726c;
  --ember: #a8402c;
  --timber: #b98552;
  --line: rgba(239, 232, 214, 0.18);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bark);
  color: var(--parchment);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--timber);
}
h1,
h2 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.duotone {
  position: relative;
  overflow: hidden;
  background: var(--bark);
}
.duotone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05) brightness(0.85);
  mix-blend-mode: luminosity;
}
.duotone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(70, 88, 63, 0.55),
    rgba(34, 29, 23, 0.75)
  );
  mix-blend-mode: multiply;
}
.duotone.ember::after {
  background: linear-gradient(
    160deg,
    rgba(168, 64, 44, 0.35),
    rgba(34, 29, 23, 0.8)
  );
}
.duotone.teal::after {
  background: linear-gradient(
    160deg,
    rgba(87, 114, 108, 0.5),
    rgba(34, 29, 23, 0.78)
  );
}

/* HEADER */
.hero-logo {
  width: min(220px, 42vw);
  height: auto;
  display: block;
  margin-bottom: 24px;
}

/* HERO */
.hero {
  position: relative;
  height: 88svh;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
}
.hero .duotone {
  position: absolute;
  inset: 0;
}
.hero .duotone img {
  transform: scale(1.06);
}
.hero-container {
  padding: 0 8vw 7vh;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}
.hero-fog {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    0deg,
    var(--bark) 2%,
    rgba(34, 29, 23, 0.15) 45%,
    rgba(34, 29, 23, 0.55) 100%
  );
}
.hero h1 {
  font-size: clamp(36px, 5.6vw, 60px);
  margin: 14px 0 18px;
  color: var(--parchment);
}
.hero p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(239, 232, 214, 0.82);
  margin-bottom: 22px;
}
.scroll-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--parchment);
  text-decoration: none;
  border-bottom: 1px solid var(--ember);
  padding-bottom: 4px;
}

/* SURROUNDS */
.surrounds {
  padding: 9vh 8vw 8vh;
}
.surrounds-intro {
  max-width: 560px;
  margin-bottom: 6vh;
}
.surrounds-intro h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-top: 10px;
}
.surrounds-intro p {
  color: rgba(239, 232, 214, 0.72);
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.65;
}
.surrounds-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.trail-svg {
  position: absolute;
  top: -20px;
  left: 0;
  width: 60%;
  height: 30px;
  z-index: 0;
}
.surrounds-grid .duotone {
  z-index: 1;
  border-radius: 2px;
}
.s-tall {
  aspect-ratio: 4/5;
}
.s-wide {
  aspect-ratio: 4/5;
}

/* REGISTER */
.register {
  padding: 10vh 8vw 11vh;
  text-align: center;
  background: var(--eucalypt);
  background: linear-gradient(
    180deg,
    rgba(70, 88, 63, 0.28),
    rgba(70, 88, 63, 0.05)
  );
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.register .label {
  margin-bottom: 16px;
}
.register h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  max-width: 640px;
  margin: 0 auto 16px;
}
.register .sub {
  color: rgba(239, 232, 214, 0.72);
  font-size: 15.5px;
  max-width: 440px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.form-row {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto 18px;
}
.form-row input {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(239, 232, 214, 0.3);
  color: var(--parchment);
  padding: 14px 16px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  border-radius: 2px;
}
.form-row input::placeholder {
  color: rgba(239, 232, 214, 0.4);
}
.form-row input:focus {
  outline: none;
  border-color: var(--timber);
}
.form-row button {
  background: var(--ember);
  color: var(--parchment);
  border: none;
  padding: 14px 22px;
  font-size: 13px;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.form-row button:hover {
  background: #8f3624;
}
.form-row button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.form-msg {
  min-height: 18px;
  font-size: 13px;
  margin: -6px auto 14px;
  max-width: 420px;
}
.form-msg.success {
  color: #a9c4a0;
}
.form-msg.error {
  color: #e0958a;
}
.perk {
  font-size: 12.5px;
  color: var(--timber);
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.03em;
}

/* CABINS */
.cabins {
  padding: 10vh 8vw 10vh;
}
.cabins-intro {
  max-width: 560px;
  margin-bottom: 6vh;
}
.cabins-intro h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-top: 10px;
}
.cabins-intro p {
  color: rgba(239, 232, 214, 0.72);
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.65;
}
.cabin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.cabin-frame {
  aspect-ratio: 4/5;
  border-radius: 2px;
  margin-bottom: 16px;
}
.cabin h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--parchment);
}
.cabin p {
  font-size: 13.5px;
  color: rgba(239, 232, 214, 0.65);
  margin-top: 8px;
  line-height: 1.55;
}

footer {
  padding: 26px 8vw;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(239, 232, 214, 0.4);
}

@media (max-width: 760px) {
  .surrounds-grid {
    grid-template-columns: 1fr;
  }
  .cabin-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .form-row {
    flex-direction: column;
  }
  .trail-svg {
    display: none;
  }
}
