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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #1a1a1a;
  font-family: "Cormorant Garamond", "Times New Roman", Times, serif;
  font-weight: 500;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

::selection {
  background: #dbeafe;
  color: #1e3a8a;
}

/* Logo */

.logo {
  position: absolute;
  top: 1.5rem;
  left: 1.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.gem-mark {
  width: 1.15rem;
  height: 1.15rem;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6.5rem 1.5rem 7.5rem;
  background: #fcfbf7;
  text-align: center;
}

.hero h1 {
  max-width: 14ch;
  margin: 3.5rem 0 1.85rem;
  font-size: clamp(2.2rem, 5vw, 3.85rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

/* Phone */

.phone {
  width: min(19.5rem, 78vw);
  filter: drop-shadow(0 28px 50px rgba(40, 28, 12, 0.12)) drop-shadow(0 8px 18px rgba(40, 28, 12, 0.08));
}

.phone__bezel {
  padding: 0.55rem;
  background: linear-gradient(160deg, #2c2c2c, #0a0a0a 42%, #111);
  border-radius: 2.85rem;
  box-shadow: inset 0 0 0 1px #3a3a3a, inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.phone__screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2.3rem;
}

/* CTA */

.cta {
  display: inline-block;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.cta:hover {
  background: #2a2a2a;
}

.finale .cta {
  background: #f4f0e6;
  color: #111;
}

.finale .cta:hover {
  background: #fff;
}

/* Manifesto */

.manifesto {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7rem 1.5rem 8rem;
  background: #f3e6c0;
  text-align: center;
}

.manifesto-gem {
  width: 5.5rem;
  margin-bottom: 2.75rem;
}

.manifesto__copy {
  display: grid;
  gap: 1.85rem;
  width: min(38rem, 100%);
}

.manifesto__copy p {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* Night */

.night {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 42rem;
  padding: 9rem 1.5rem 10rem;
  overflow: hidden;
  background: #07101c;
  color: #f7f4ee;
  text-align: center;
}

.night-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.night__copy {
  position: relative;
  display: grid;
  gap: 1.75rem;
  width: min(40rem, 100%);
}

.night__copy p {
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.night__copy em {
  font-style: italic;
  color: #c9a227;
}

.night__aside {
  margin-top: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 162, 39, 0.35);
  font-size: clamp(1.65rem, 3.2vw, 2.55rem) !important;
  font-style: normal;
  color: #f7f4ee;
}

/* Finale */

.finale {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8rem 1.5rem 0;
  overflow: hidden;
  background: #000;
  color: #f7f4ee;
  text-align: center;
}

.finale h2 {
  max-width: 16ch;
  margin-bottom: 2rem;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.5rem;
  margin-top: 2.75rem;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.footer-nav a {
  color: #9a9a9a;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: #f7f4ee;
}

.finale__meta {
  margin-top: 1.35rem;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #7a7a7a;
}

.finale__brand {
  position: relative;
  display: grid;
  place-items: start center;
  width: 100%;
  margin-top: 5rem;
}

.glow-gem {
  position: absolute;
  top: 0.4rem;
  z-index: 1;
  width: min(11.5rem, 44vw);
}

.finale__wordmark {
  margin-top: 4.8rem;
  font-size: clamp(6rem, 22vw, 18rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.8;
  color: #3a3a3a;
  white-space: nowrap;
  user-select: none;
}

/* Inner pages */

.page {
  background: #fcfbf7;
}

.logo--page {
  position: relative;
  top: auto;
  left: auto;
  margin: 1.5rem 1.75rem 0;
}

.contact {
  display: grid;
  gap: 3.5rem;
  width: min(70rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 3.5rem 0 7rem;
}

.contact__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact__blurb {
  max-width: 22ch;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.contact-form {
  width: 100%;
  min-width: 0;
}

.contact-form iframe {
  display: block;
  width: 100%;
  border: 0;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem 3.5rem;
  background: #000;
  color: #f7f4ee;
  text-align: center;
}

.site-footer .footer-nav {
  margin-top: 0;
}

.site-footer .finale__meta {
  margin-top: 1.35rem;
}

@media (min-width: 56rem) {
  .contact {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 5rem;
    padding-top: 4.5rem;
  }
}

@media (max-width: 40rem) {
  .logo {
    left: 1rem;
    top: 1.15rem;
  }

  .hero {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .manifesto,
  .night,
  .finale {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
}
