:root {
  --emerald-black: #03110c;
  --emerald: #08261a;
  --emerald-2: #0d3425;
  --green: #08b86f;
  --gold: #d5aa61;
  --gold-soft: #edcf92;
  --ivory: #f4e7cf;
  --ivory-muted: rgba(244, 231, 207, 0.76);
  --wood: #5a351d;
  --line: rgba(213, 170, 97, 0.38);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--emerald-black);
  color: var(--ivory);
  font-family: var(--sans);
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 0%, rgba(213, 170, 97, 0.18), transparent 38%),
    var(--emerald-black);
}

.hero {
  position: relative;
  min-height: 760px;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 76% 26%, rgba(213, 170, 97, 0.14), transparent 34%),
    linear-gradient(90deg, #03110c 0%, #061a12 54%, #071c14 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: auto;
  z-index: -3;
  background-image: url("assets/utopia-wall-sign-lounge-hero.png");
  background-position: center;
  background-size: cover;
  filter: brightness(1.1) saturate(1.03);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 17, 12, 0.62) 0%, rgba(3, 17, 12, 0.46) 31%, rgba(3, 17, 12, 0.1) 62%, rgba(3, 17, 12, 0.02) 100%),
    linear-gradient(180deg, rgba(3, 17, 12, 0.04) 0%, rgba(3, 17, 12, 0.02) 46%, rgba(3, 17, 12, 0.56) 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 220px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(3, 17, 12, 0.72));
}

.site-header {
  display: flex;
  align-items: start;
  justify-content: flex-end;
  gap: 34px;
  width: min(100% - 76px, 1320px);
  margin: 0 auto;
  padding: 34px 0 0;
}

.brand-text {
  display: inline-grid;
  gap: 2px;
  color: var(--gold-soft);
  text-transform: uppercase;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.brand-name {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: 0.16em;
}

.brand-subtitle {
  padding-left: 4px;
  font-size: clamp(12px, 1.25vw, 20px);
  font-weight: 700;
  letter-spacing: 0.32em;
}

.brand-text.small .brand-name {
  font-size: 40px;
}

.brand-text.small .brand-subtitle {
  font-size: 12px;
}

.nav-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  padding-top: 14px;
  color: rgba(244, 231, 207, 0.88);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding-bottom: 10px;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--green);
  transition: width 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.menu-button {
  display: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 610px) 1fr;
  gap: 52px;
  width: min(100% - 76px, 1320px);
  margin: 0 auto;
  padding: 56px 0 118px;
}

.hero-copy {
  align-self: end;
  max-width: 600px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(78px, 8.2vw, 132px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 20px 44px rgba(0, 0, 0, 0.46);
}

.accent-line {
  width: 54px;
  height: 2px;
  margin: 30px 0 24px;
  background: var(--green);
}

.hero-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--ivory-muted);
  font-size: clamp(18px, 1.65vw, 23px);
  line-height: 1.48;
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(220px, 1fr) auto;
  width: min(100%, 760px);
  min-height: 66px;
  margin-top: 34px;
  border: 1px solid rgba(213, 170, 97, 0.7);
  border-radius: 7px;
  overflow: hidden;
  background: rgba(2, 12, 8, 0.58);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
}

.signup-form input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 24px;
  background: transparent;
  border-right: 1px solid rgba(213, 170, 97, 0.34);
  color: var(--ivory);
  font-size: 15px;
}

.signup-form input:nth-of-type(2) {
  border-right: 0;
}

.signup-form input::placeholder {
  color: rgba(244, 231, 207, 0.58);
}

.signup-form input:focus {
  box-shadow: inset 0 0 0 2px rgba(8, 184, 111, 0.35);
}

.signup-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 250px;
  border: 0;
  padding: 0 28px;
  background: linear-gradient(135deg, #b9863c 0%, #f0cf8c 100%);
  color: #0b130d;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.signup-form button:hover,
.signup-form button:focus-visible {
  filter: brightness(1.07);
}

.signup-form button:disabled {
  cursor: wait;
  filter: saturate(0.7);
}

.signup-form button:active {
  transform: translateY(1px);
}

.signup-form svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.form-message {
  min-height: 22px;
  margin: 14px 0 0;
  color: #7ce1ad;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.experience {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(330px, 0.78fr) minmax(530px, 1.12fr);
  min-height: 340px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 50%, rgba(8, 184, 111, 0.2), transparent 38%),
    linear-gradient(90deg, #0d3324 0%, #0f3f2d 50%, #0b3023 100%);
}

.kava-photo {
  min-height: 340px;
  background-image: url("assets/brown-kava-still-life.png");
  background-position: 45% 50%;
  background-size: cover;
  filter: brightness(1.2) saturate(1.04);
}

.experience-copy {
  align-self: center;
  padding: 48px 48px;
}

.experience-copy h2 {
  margin: 0;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: clamp(40px, 3.7vw, 60px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.experience-copy p {
  max-width: 430px;
  margin: 0;
  color: rgba(244, 231, 207, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  padding: 46px 54px 42px 8px;
}

.feature-list article {
  display: grid;
  justify-items: center;
  gap: 16px;
  min-height: 210px;
  padding: 0 30px;
  text-align: center;
}

.feature-list article + article {
  border-left: 1px solid var(--line);
}

.feature-list svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.feature-list h3 {
  margin: 0 0 10px;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-list p {
  max-width: 210px;
  margin: 0 auto;
  color: rgba(244, 231, 207, 0.68);
  font-size: 13px;
  line-height: 1.65;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
  min-height: 122px;
  width: min(100% - 76px, 1320px);
  margin: 0 auto;
}

.footer-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
}

.footer-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.site-footer p {
  justify-self: end;
  margin: 0;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1120px) {
  .hero {
    min-height: 720px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .experience {
    grid-template-columns: 0.82fr 1.18fr;
  }

  .kava-photo {
    grid-row: span 2;
  }

  .experience-copy {
    padding: 44px 42px 20px;
  }

  .feature-list {
    grid-column: 2;
    padding: 18px 34px 48px;
  }

  .feature-list article {
    padding: 0 22px;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 838px;
  }

  .hero-bg {
    inset: 0;
    height: auto;
    background-position: 64% 0;
    background-size: 720px auto;
    background-repeat: no-repeat;
    border: 0;
    box-shadow: none;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(3, 17, 12, 0.04) 0%, rgba(3, 17, 12, 0.08) 26%, rgba(3, 17, 12, 0.62) 56%, rgba(3, 17, 12, 0.9) 100%),
      linear-gradient(90deg, rgba(3, 17, 12, 0.42), rgba(3, 17, 12, 0.02));
  }

  .site-header,
  .hero-inner,
  .site-footer {
    width: min(100% - 36px, 1320px);
  }

  .site-header {
    justify-content: flex-end;
    padding-top: 28px;
  }

  .brand-name {
    font-size: 34px;
  }

  .brand-subtitle {
    font-size: 11px;
    letter-spacing: 0.24em;
  }

  .nav-links {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border: 0;
    padding: 6px 0;
    background: transparent;
    color: var(--gold-soft);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }

  .menu-button i,
  .menu-button i::before,
  .menu-button i::after {
    display: block;
    width: 32px;
    height: 2px;
    background: currentColor;
    content: "";
  }

  .menu-button i {
    position: relative;
  }

  .menu-button i::before {
    position: absolute;
    top: -9px;
    left: 0;
  }

  .menu-button i::after {
    position: absolute;
    top: 9px;
    left: 0;
  }

  .hero-inner {
    display: block;
    padding: 288px 0 44px;
  }

  .hero-copy h1 {
    font-size: clamp(70px, 19vw, 92px);
  }

  .hero-copy p {
    font-size: 18px;
  }

  .signup-form {
    grid-template-columns: 1fr;
    min-height: 202px;
    margin-top: 30px;
  }

  .signup-form input {
    min-height: 66px;
    border-right: 0;
    border-bottom: 1px solid rgba(213, 170, 97, 0.34);
  }

  .signup-form button {
    min-width: 100%;
    min-height: 68px;
  }

  .experience {
    grid-template-columns: 1fr;
  }

  .kava-photo {
    min-height: 300px;
  }

  .experience-copy {
    padding: 42px 30px 14px;
  }

  .feature-list {
    grid-column: auto;
    grid-template-columns: 1fr;
    padding: 0 30px 48px;
  }

  .feature-list article {
    grid-template-columns: 86px 1fr;
    justify-items: start;
    align-items: center;
    min-height: auto;
    gap: 24px;
    padding: 26px 0;
    text-align: left;
  }

  .feature-list article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-list svg {
    justify-self: center;
  }

  .feature-list h3 {
    font-size: 29px;
  }

  .feature-list p {
    max-width: none;
    margin: 0;
    font-size: 15px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    padding: 34px 0;
    text-align: center;
  }

  .site-footer p {
    justify-self: center;
    letter-spacing: 0.34em;
  }
}

@media (max-width: 390px) {
  .hero-inner {
    padding-top: 320px;
  }

  .hero-copy h1 {
    font-size: 66px;
  }

  .feature-list article {
    grid-template-columns: 72px 1fr;
    gap: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
