/* =========================================================
   PATANGO — homepage v13
   Keeps the v12 layout and fixes only the nav glass effect.
   ========================================================= */

:root {
  --bg: #f9f5ea;
  --ink: #111111;
  --frame-width: 74.05vw;
}

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

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  overflow-x: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

/* =========================
   NAV
   ========================= */

.site-nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--frame-width);
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(17, 17, 17, 0.72);
  isolation: isolate;
}

/*
  The blur is now on a separate layer behind the nav text.
  Lower blur + a cream veil keeps the large black PATANGO
  underneath visible, but prevents it from becoming a near-black band.
*/
.site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(249, 245, 234, 0.34);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.nav-logo,
.nav-links {
  position: relative;
  z-index: 1;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 100%;
  color: inherit;
  text-decoration: none;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}

.nav-links {
  width: min(750px, 50.3vw);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links a {
  display: flex;
  align-items: center;
  height: 100%;
  color: inherit;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: opacity 160ms ease;
}

.nav-links a:hover { opacity: 0.42; }

/* =========================
   HERO
   ========================= */

.hero { min-height: 100svh; }

.hero-inner {
  position: relative;
  width: var(--frame-width);
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
}

.title-row {
  position: absolute;
  z-index: 1;
  top: 76px;
  left: 0;
  width: 100%;
}

.hero-title {
  display: inline-block;
  font-size: 100px;
  font-weight: 400;
  line-height: 0.80;
  letter-spacing: -0.075em;
  white-space: nowrap;
  transform-origin: top left;
  transform: translate(-35px, 5px) scale(1.052, 1.087);
}

.hero-product {
  position: absolute;
  z-index: 5;
  top: 23.4%;
  right: 7%;
  width: clamp(500px, 35vw, 700px);
  pointer-events: none;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: scale(1.35);
  transform-origin: center;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.055));
}

.hero-kicker {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 52.2%;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.hero-bottom {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 26.2%;
  width: 100%;
}

.hero-bottom h2 {
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.72);
  font-size: clamp(28px, 2.3vw, 36px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero-footer {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 14px;
  font-size: 13px;
  line-height: 1;
}

.content-section {
  width: var(--frame-width);
  min-height: 80vh;
  margin: 0 auto;
  padding: 90px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.15);
}

.content-section p {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 400;
  letter-spacing: -0.06em;
}

@media (max-width: 1100px) {
  :root { --frame-width: calc(100vw - 32px); }
  .site-nav { height: 40px; }
  .nav-logo { font-size: 20px; }
  .nav-links {
    width: auto;
    gap: 21px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: 13px; }
  .title-row { top: 62px; }
  .hero-title { transform: none; }
  .hero-product {
    top: 25%;
    right: -3%;
    width: clamp(390px, 62vw, 560px);
  }
  .hero-image { transform: scale(1.13); }
  .hero-kicker { top: 56%; font-size: 14px; }
  .hero-bottom { bottom: 14%; }
  .hero-bottom h2 { padding-bottom: 24px; }
  .hero-footer { padding-top: 10px; font-size: 12px; }
}

@media (max-width: 620px) {
  :root { --frame-width: calc(100vw - 28px); }
  .nav-logo { font-size: 17px; }
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 12px; }
  .nav-links a:nth-child(n + 5) { display: none; }
  .title-row { top: 60px; }
  .hero-product {
    top: 25%;
    right: -17%;
    width: 95vw;
  }
  .hero-image { transform: scale(1.08); }
  .hero-kicker { top: 58%; font-size: 12px; }
  .hero-bottom { bottom: 10%; }
  .hero-bottom h2 { padding-bottom: 18px; font-size: 26px; }
  .hero-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}
