:root {
  --bg: #050505;
  --bg-elevated: #111111;
  --ink: #f3f1ee;
  --muted: rgba(243, 241, 238, 0.72);
  --gold: #c4a484;
  --gold-soft: rgba(196, 164, 132, 0.35);
  --line: rgba(196, 164, 132, 0.28);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

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

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

button,
input {
  font: inherit;
}

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

/* Header */

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}

.logo__mark {
  width: 2rem;
  height: auto;
  color: var(--gold);
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo__store {
  margin-top: 0.15rem;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(243, 241, 238, 0.65);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.6rem;
}

.nav__link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243, 241, 238, 0.78);
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-social a,
.footer-follow a {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  color: rgba(243, 241, 238, 0.85);
  transition: color 0.2s ease;
}

.header-social a:hover,
.footer-follow a:hover {
  color: var(--gold);
}

.header-social svg,
.footer-follow svg {
  width: 100%;
  height: 100%;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  overflow: hidden;
  background: var(--bg);
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem clamp(1.25rem, 4vw, 3rem) 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--gold);
}

.hero__lede {
  margin: 1.25rem 0 0;
  max-width: 24rem;
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  margin-top: 2rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  color: var(--gold);
}

.btn:hover {
  background: var(--gold);
  color: #111;
}

.btn:hover svg {
  color: #111;
}

.hero__media {
  position: relative;
  min-height: 55vh;
  overflow: hidden;
  background: #000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.hero__swap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 55vh;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.hero__swap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse 78% 72% at 50% 50%,
    transparent 45%,
    rgba(0, 0, 0, 0.55) 78%,
    #000 100%
  );
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero__img.is-active {
  opacity: 1;
}

.hero__fade {
  display: none;
}

/* Features */

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #0d0d0d;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.feature {
  padding: 2rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.feature:last-child {
  border-bottom: 0;
}

.feature__icon {
  width: 2.4rem;
  height: 2.4rem;
  margin: 0 auto 1rem;
  color: var(--gold);
}

.feature h2 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.feature p {
  margin: 0 auto;
  max-width: 16rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
}

/* Newsletter */

.newsletter {
  display: grid;
  background: var(--bg);
}

.newsletter__media {
  position: relative;
  min-height: 50vh;
  overflow: hidden;
  background: #000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.newsletter__swap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 45vh;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.newsletter__swap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse 78% 72% at 50% 50%,
    transparent 45%,
    rgba(0, 0, 0, 0.55) 78%,
    #000 100%
  );
}

.newsletter__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.newsletter__img.is-active {
  opacity: 1;
}

.newsletter__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem);
}

.newsletter__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
}

.newsletter__lede {
  margin: 1.15rem 0 0;
  max-width: 28rem;
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
}

.signup {
  margin-top: 1.75rem;
  max-width: 28rem;
}

.signup__field {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.35rem 0.35rem 0.95rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.signup__field > svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gold);
}

.signup__field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 0.7rem 0;
}

.signup__field input::placeholder {
  color: rgba(243, 241, 238, 0.4);
}

.signup__field button {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: var(--gold);
  color: #111;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.signup__field button:hover {
  filter: brightness(1.08);
}

.signup__field button svg {
  width: 1.15rem;
  height: 1.15rem;
}

.signup__note {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--gold);
}

/* Footer */

.site-footer {
  position: relative;
  padding: 4rem clamp(1.25rem, 4vw, 3rem) 1.5rem;
  background:
    radial-gradient(ellipse 40% 50% at 8% 85%, var(--gold-soft), transparent 60%),
    radial-gradient(ellipse 35% 45% at 92% 80%, var(--gold-soft), transparent 55%),
    var(--bg);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 20% 0 30%;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0 18px,
      rgba(196, 164, 132, 0.04) 18px 19px
    );
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}

.footer-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 3rem;
}

.logo--footer .logo__mark {
  width: 2.4rem;
}

.logo--footer .logo__name {
  font-size: 1.45rem;
}

.logo--footer .logo__store {
  font-size: 0.68rem;
}

.footer-soon {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(243, 241, 238, 0.55);
}

.footer-soon span {
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--line);
}

.footer-bar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-follow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(243, 241, 238, 0.45);
  text-transform: uppercase;
}

@media (min-width: 760px) {
  .nav {
    display: flex;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature {
    border-right: 1px solid var(--line);
  }

  .feature:nth-child(2n) {
    border-right: 0;
  }

  .feature:nth-child(n + 3) {
    border-bottom: 0;
  }
}

@media (min-width: 980px) {
  .site-header {
    padding-top: 1.6rem;
  }

  .hero {
    grid-template-columns: minmax(22rem, 0.95fr) minmax(0, 1.15fr);
    align-items: stretch;
  }

  .hero__copy {
    padding: 8rem clamp(2.5rem, 6vw, 5.5rem) 4rem;
  }

  .hero__media {
    min-height: 100svh;
    padding: 4.5rem 1.5rem 1.5rem;
  }

  .hero__swap {
    min-height: calc(100svh - 6rem);
  }

  .features {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature {
    padding: 2.5rem 1.5rem;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .feature:last-child {
    border-right: 0;
  }

  .newsletter {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    min-height: 70vh;
  }

  .newsletter__media {
    min-height: 100%;
    padding: 2rem;
  }

  .newsletter__swap {
    min-height: calc(70vh - 4rem);
  }

  .footer-bar {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

  .hero__img {
    transition: none;
  }

  .newsletter__img {
    transition: none;
  }
}
