@font-face {
  font-family: 'Overused Grotesk';
  src: url('https://raw.githubusercontent.com/RandomMaerks/Overused-Grotesk/master/fonts/otf/OverusedGrotesk-Roman.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #fff;
  color: #000;
  -webkit-font-smoothing: antialiased;
}

/* ─── Header ─── */

header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 40px;
  gap: 16px;
  position: relative;
}

.logo {
  text-decoration: none;
  color: #000;
  display: flex;
  align-items: center;
}

.logo svg {
  height: 34px;
  width: auto;
}

.nav-label {
  font-size: 24px;
}

.hamburger {
  position: fixed;
  right: 40px;
  top: 40px;
  z-index: 50;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #000;
  transition: background 0.2s;
}

/* ─── Menu overlay ─── */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  color: #fff;
  z-index: 100;
  display: none;
  flex-direction: column;
}

.menu-overlay.open {
  display: flex;
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 40px;
  gap: 16px;
  position: relative;
}

.menu-header .logo {
  color: #fff;
}

.menu-header .nav-label {
  color: #fff;
}

.menu-close {
  position: fixed;
  right: 40px;
  top: 40px;
  z-index: 101;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-close span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: background 0.2s;
}

.menu-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.menu-content p {
  font-size: 24px;
  line-height: 1.3;
  max-width: 500px;
}

.menu-content a {
  color: #fff;
}

/* ─── Product sections ─── */

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 100px;
  gap: 60px;
}

.product-wide-img {
  grid-template-columns: 1fr 1.126fr;
}

.product.reverse {
  direction: rtl;
}

.product.reverse > * {
  direction: ltr;
}

.product-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product.reverse .product-text {
  text-align: right;
}

.tagline {
  font-size: 24px;
  line-height: 1.4;
}

.subtitle {
  font-size: 24px;
  line-height: 1.4;
}

.buy-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product.reverse .buy-row {
  justify-content: flex-end;
}

.buy-btn {
  display: inline-block;
  padding: 8px 20px;
  border: 2px solid #000;
  background: none;
  color: #000;
  font-family: inherit;
  font-size: 24px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.buy-btn:hover {
  background: #000;
  color: #fff;
}

.price {
  font-size: 24px;
}

.product-image {
  width: 100%;
}

.product-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Responsive ─── */

@media (max-width: 860px) {
  header {
    padding: 24px 32px;
  }

  .hamburger {
    right: 32px;
    top: 24px;
  }

  .menu-header {
    padding: 24px 32px;
  }

  .menu-close {
    right: 32px;
    top: 24px;
  }

  .menu-content p {
    font-size: 18px;
  }

  .product {
    grid-template-columns: 1fr;
    padding: 48px 32px;
    gap: 32px;
  }

  .product.reverse {
    direction: ltr;
  }

  .product.reverse .product-text {
    text-align: left;
  }

  .product.reverse .buy-row {
    justify-content: flex-start;
  }

  /* On mobile, always show text first, image second */
  .product-text {
    order: 1;
  }

  .product-image {
    order: 2;
  }

  .tagline,
  .subtitle,
  .price,
  .buy-btn {
    font-size: 20px;
  }

  .logo svg {
    height: 26px;
  }

}
