@font-face {
  font-family: "Manrope";
  src: url("/assets/brand/second-nature/fonts/Manrope-wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/brand/second-nature/fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --campaign: #00201b;
  --surface: #f4f8f4;
  --white: #ffffff;
  --green: #8cfc34;
  --teal: #0aeeb9;
  --blue: #08bfe8;
  --aqua: #00e7ea;
  --text-muted: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.28);
  --page-width: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--campaign);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--campaign);
  color: var(--white);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.page-width {
  width: min(100% - 48px, var(--page-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--white);
  color: var(--campaign);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  min-height: 64px;
  background: var(--campaign);
}

.site-header__inner {
  display: flex;
  min-height: 64px;
  align-items: center;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
  transform: translateX(-7px);
}

.brand img {
  width: min(250px, 58vw);
  height: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  height: 580px;
  min-height: 580px;
  place-items: center;
  overflow: hidden;
  background: var(--campaign);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 32, 27, 0.07), rgba(0, 32, 27, 0.02) 48%, rgba(0, 32, 27, 0.18)),
    radial-gradient(circle at center, transparent 48%, rgba(0, 20, 17, 0.15) 100%);
}

.hero__content {
  padding-block: 72px 92px;
  text-align: center;
  transform: translateY(9px);
}

.hero h1 {
  display: flex;
  margin: 0;
  flex-direction: column;
  align-items: center;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.46);
}

.hero__coming {
  color: var(--white);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(62px, 6vw, 86px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
  transform: translate(12px, 15px);
}

.hero__name {
  margin-top: 20px;
  background: linear-gradient(90deg, var(--green), var(--teal) 48%, var(--blue));
  background-clip: text;
  color: var(--green);
  font-size: clamp(42px, 5.6vw, 66px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  filter: brightness(1.14) saturate(1.08);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__by {
  margin-top: 8px;
  color: var(--white);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 1.08;
  transform: translateY(-3px);
}

.hero__caption {
  position: absolute;
  right: auto;
  bottom: 17px;
  left: 48px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
}

.signup {
  height: 300px;
  padding-block: 46px 31px;
  background:
    radial-gradient(circle at 28% 20%, rgba(0, 231, 234, 0.035), transparent 38%),
    var(--campaign);
}

.signup__grid {
  display: grid;
  height: 100%;
  grid-template-columns: minmax(340px, 471px) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
}

.signup__intro {
  align-self: stretch;
  padding-right: 50px;
  border-right: 1px solid rgba(0, 231, 234, 0.72);
}

.eyebrow {
  margin: 4px 0 10px;
  color: #00fcfe;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.signup h2 {
  max-width: 11.5ch;
  margin: 0;
  color: var(--white);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(48px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.92;
}

.signup__lede {
  max-width: 32ch;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.34;
}

.signup-form {
  position: relative;
}

.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field label span {
  font-weight: 500;
}

.field input {
  width: 100%;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 8px;
  background: var(--white);
  color: var(--campaign);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:hover {
  border-color: var(--teal);
}

.field input:focus-visible,
.consent-row input:focus-visible,
.submit-button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.consent-row {
  display: grid;
  min-height: 24px;
  margin-top: 16px;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.consent-row input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border-radius: 3px;
  accent-color: var(--teal);
}

.consent-row label {
  display: flex;
  min-height: 44px;
  margin-block: -10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.5;
}

.submit-button {
  display: inline-grid;
  width: 100%;
  min-height: 50px;
  margin-top: 14px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--aqua);
  color: var(--campaign);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: background-color 160ms ease, transform 160ms ease;
}

.submit-button:hover:not(:disabled) {
  background: var(--green);
  transform: translateY(-1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.74;
}

.submit-button__busy {
  display: none;
}

.signup-form[data-submitting="true"] .submit-button__idle {
  display: none;
}

.signup-form[data-submitting="true"] .submit-button__busy {
  display: inline;
}

.reservation-note,
.form-status {
  margin: 11px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.reservation-note {
  color: var(--text-muted);
}

.form-status {
  padding: 10px 12px;
  border-radius: 7px;
  font-weight: 650;
}

.form-status--success {
  border: 1px solid rgba(102, 199, 31, 0.72);
  background: rgba(102, 199, 31, 0.12);
  color: var(--white);
}

.form-status--error {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

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

.site-footer {
  background: var(--campaign);
}

.site-footer__inner {
  display: flex;
  position: relative;
  min-height: 80px;
  padding-block: 17px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
}

.site-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-underline-offset: 4px;
}

.site-footer a:hover {
  color: var(--white);
}

.private-login {
  position: absolute;
  left: 160px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .signup {
    height: auto;
  }

  .signup__grid {
    height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .signup__intro {
    padding: 0 0 32px;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 231, 234, 0.72);
  }

  .signup h2,
  .signup__lede {
    max-width: 18ch;
  }
}

@media (max-width: 620px) {
  .page-width {
    width: min(100% - 32px, var(--page-width));
  }

  .site-header,
  .site-header__inner {
    min-height: 60px;
  }

  .brand img {
    width: min(184px, 62vw);
  }

  .hero {
    height: auto;
    min-height: 470px;
  }

  .hero__image {
    object-position: 59% center;
  }

  .hero__content {
    padding-block: 68px 92px;
  }

  .hero__coming {
    font-size: clamp(39px, 12vw, 50px);
    white-space: nowrap;
  }

  .hero__name {
    margin-top: 16px;
    font-size: clamp(39px, 13vw, 56px);
  }

  .hero__by {
    font-size: clamp(23px, 7.5vw, 31px);
  }

  .hero__caption {
    right: 16px;
    left: 16px;
  }

  .form-fields {
    grid-template-columns: 1fr;
  }

  .signup {
    padding-top: 40px;
  }

  .consent-row,
  .consent-row label {
    min-height: 44px;
  }

  .consent-row label {
    margin-block: 0;
  }

  .signup h2 {
    font-size: clamp(46px, 15vw, 58px);
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .site-footer nav {
    gap: 2px 22px;
  }

  .private-login {
    position: static;
    font-size: inherit;
  }
}

@media (forced-colors: active) {
  .hero__name {
    background: none;
    color: CanvasText;
    filter: none;
    -webkit-text-fill-color: currentColor;
  }

  .hero__shade {
    background: rgba(0, 0, 0, 0.56);
  }

  .submit-button {
    border: 2px solid ButtonText;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
