/* =========================
   RESET
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


/* =========================
   ROOT
========================= */

:root {
  --black: #000000;
  --cream: #fffdef;
  --yellow: #ffe144;
  --text-soft: rgba(255, 253, 239, 0.75);
}


/* =========================
   BASE
========================= */

body {
  font-family: 'Raleway', sans-serif;
  background: var(--black);
  color: var(--cream);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}


/* =========================
   HERO
========================= */

.hero {
  position: relative;

  padding: 50px 0 90px;

  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 55px;
  align-items: center;
}

.hero-image-border {
  border: 4px solid var(--yellow);

  border-radius:
    70px 120px 90px 110px /
    90px 80px 130px 100px;

  overflow: hidden;

  transform: rotate(-1deg);
}

.hero-image-border img,
.hero-image-border video {
  width: 100%;
  height: 620px;

  object-fit: cover;
}

.eyebrow {
  font-size: 18px;

  margin-bottom: 24px;

  opacity: 0.85;
}

.hero h1 {
  font-size: clamp(48px, 6vw, 92px);

  line-height: 0.9;
  letter-spacing: -3px;

  margin: 0 0 28px;

  font-weight: 800;
}

.hero p {
  max-width: 500px;

  font-size: 17px;
  line-height: 1.8;

  color: var(--text-soft);

  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}


/* =========================
   LINES
========================= */

.hero-line {
  position: absolute;

  border: 2px solid var(--yellow);
  border-color:
    var(--yellow)
    transparent
    transparent
    transparent;

  border-radius: 50%;

  opacity: 0.9;
}

.hero-line-top {
  width: 500px;
  height: 500px;

  top: -260px;
  left: -100px;

  transform: rotate(18deg);
}

.hero-line-bottom {
  width: 420px;
  height: 420px;

  right: -120px;
  bottom: -180px;

  transform: rotate(-12deg);
}


/* =========================
   SECTION
========================= */

.section {
  padding: 95px 0;
}

.section-label {
  display: inline-block;

  background: var(--yellow);
  color: var(--black);

  padding: 8px 14px;

  border-radius: 999px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;

  margin-bottom: 20px;
}

.section-heading {
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: clamp(38px, 5vw, 72px);

  line-height: 0.92;
  letter-spacing: -2px;

  margin: 0;
}


/* =========================
   PRODUCTS
========================= */
.products-scale {
  transform: scale(0.82);
  transform-origin: top center;
  width: 100%;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 36px;
}

.product-card {
  background: var(--cream);
  color: var(--black);

  overflow: hidden;

  border: 3px solid var(--yellow);

  border-radius:
    70px 110px 90px 120px /
    90px 80px 120px 100px;

  transition: 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px) rotate(-1deg);
}

.product-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.product-content {
  padding: 28px;
}

.product-tag {
  display: inline-block;

  background: var(--yellow);

  padding: 8px 14px;

  border-radius: 999px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;

  margin-bottom: 22px;
}

.product-content h3 {
  font-size: 30px;
  line-height: 0.98;
  letter-spacing: -1.5px;
  margin: 0 0 16px;
}

.product-content p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(0,0,0,0.75);
  margin-bottom: 22px;
}


/* =========================
   SOON
========================= */

.soon-box {
  background: rgba(195, 191, 166, 0.88);
  color: var(--black);

  border-radius:
    90px 150px 110px 140px /
    100px 80px 150px 120px;

  padding: 60px;
}

.soon-box h2 {
  font-size: clamp(40px, 5vw, 72px);

  line-height: 0.92;
  letter-spacing: -2px;

  margin: 0 0 24px;
}

.soon-box > p {
  max-width: 700px;

  font-size: 17px;
  line-height: 1.8;

  color: rgba(0,0,0,0.75);

  margin-bottom: 45px;
}

.soon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 28px;

  margin-bottom: 45px;
}

.soon-item {
  border-top: 2px solid rgba(0,0,0,0.08);

  padding-top: 22px;
}

.soon-item span {
  display: block;

  color: #d8b800;

  font-size: 13px;
  font-weight: 800;

  margin-bottom: 16px;
}

.soon-item h3 {
  font-size: 30px;

  line-height: 1;
  letter-spacing: -2px;

  margin: 0 0 16px;
}

.soon-item p {
  font-size: 15px;
  line-height: 1.8;

  color: rgba(0,0,0,0.75);
}

.cta-btn {
  display: inline-block;
}


/* =========================
   NEWSLETTER
========================= */

.newsletter-box {
  text-align: center;

  max-width: 800px;
  margin: 0 auto;
}

.newsletter-box h2 {
  font-size: clamp(40px, 6vw, 72px);

  line-height: 0.92;
  letter-spacing: -2px;

  margin: 0 0 24px;
}

.newsletter-box p {
  font-size: 17px;
  line-height: 1.8;

  color: var(--text-soft);

  max-width: 600px;

  margin: 0 auto 34px;
}

.newsletter-form {
  max-width: 520px;
  margin: 0 auto;

  display: flex;
  gap: 14px;
}

.newsletter-form input {
  flex: 1;

  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.08);

  color: var(--cream);

  padding: 18px 20px;

  border-radius: 999px;

  font-size: 16px;
  font-family: inherit;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.45);
}

.newsletter-form input:focus {
  outline: none;

  border-color: var(--yellow);
}


/* =========================
   FOOTER
========================= */

.footer {
  text-align: center;

  padding: 50px 20px;

  color: rgba(255,255,255,0.45);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 1000px) {

  .hero-grid,
  .products-grid,
  .soon-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-border img,
  .hero-image-border video {
    height: 520px;
  }

}

@media (max-width: 768px) {

  .nav {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero h1,
  .section-heading h2,
  .newsletter-box h2,
  .soon-box h2 {
    letter-spacing: -2px;
  }

  .section {
    padding: 70px 0;
  }

  .product-content,
  .soon-box {
    padding: 34px 26px;
  }

  .newsletter-form {
    flex-direction: column;
  }

}