@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@300;400;700;900&family=Playfair+Display:ital,wght@0,400;1,400;1,700&display=swap");

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

.pg {
  background: #fff;
  font-family: "League Spartan", sans-serif;
  overflow: hidden;
}

/* 
   NAV
 */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    backdrop-filter 0.25s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(18, 44, 58, 0.08);
}

.nav-logo {
  line-height: 1;
}

.logo-top {
  font-family: "League Spartan", sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  text-decoration: none;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

#navLinks {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
  position: fixed;
  top: 0;
  right: 48px;
  height: 66px;
  z-index: 31;
  margin: 0;
  padding: 0;
}

#navLinks a {
  font-size: 18px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
}

.nav-shop {
  background: rgba(22, 63, 86, 0.33) !important;
  color: #fff !important;
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  padding: 9px 22px;
  border-radius: 100px;
  box-shadow: 0 10px 24px rgba(7, 24, 35, 0.18);
}

.nav.scrolled ~ #navLinks a {
  color: #1a4055;
}

.nav-hamburger {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.nav-hamburger span {
  position: absolute;
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    background 0.25s ease;
}

.nav-hamburger span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-hamburger span:nth-child(2) {
  transform: translateY(0);
}

.nav-hamburger span:nth-child(3) {
  transform: translateY(6px);
}

.nav.scrolled .logo-top {
  color: #163f56;
  text-shadow: none;
}

.nav.scrolled .nav-hamburger span {
  background: #163f56;
}

.nav-hamburger.nav-open span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-hamburger.nav-open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.nav-open span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-hamburger.nav-open {
  opacity: 0;
  pointer-events: none;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.nav-close {
  display: none;
}

/* 
   HERO
 */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 35, 45, 0.58) 0%, rgba(15, 35, 45, 0.25) 42%, transparent 68%);
}

.hero-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 35, 0.5) 0%, transparent 45%);
}

.hero-text {
  position: absolute;
  bottom: 80px;
  left: 48px;
  max-width: 400px;
  z-index: 20;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.eyebrow-line {
  width: 28px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.7);
}

.eyebrow-text {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.headline {
  font-family: "League Spartan", sans-serif;
  font-weight: 900;
  font-size: 80px;
  line-height: 0.88;
  letter-spacing: -3px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.headline .script {
  display: block;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 68px;
  letter-spacing: -1px;
  text-transform: none;
  color: rgba(255, 255, 255, 0.93);
}

.hero-body {
  font-family: "Playfair Display", serif;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  max-width: 320px;
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  color: #1a4055;
  border: none;
  border-radius: 100px;
  padding: 14px 32px;
  font-family: "League Spartan", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

/* rotating CTA button */
.btn-main-static {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
}

.btn-main-rotator {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  height: 1.2em;
  overflow: hidden;
  flex: 0 0 auto;
  width: 11ch;
  transition: width 0.4s ease;
}

.btn-main-sizer {
  position: absolute;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
}

.btn-main-text {
  position: absolute;
  top: 50%;
  left: 0;
  white-space: nowrap;
  transform: translateY(calc(-50% + 100%));
  opacity: 0;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.btn-main-text.is-current {
  transform: translateY(-50%);
  opacity: 1;
}

.btn-main-text.is-next {
  transform: translateY(calc(-50% + 100%));
  opacity: 0;
}

.btn-main-text.is-exit {
  transform: translateY(calc(-50% - 100%));
  opacity: 0;
}

.btn-main-text.is-enter {
  transform: translateY(-50%);
  opacity: 1;
}

.btn-main-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn-main-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-main-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.btn-ghost {
  font-family: "League Spartan", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 20;
  opacity: 0.55;
}

.scroll-hint-text {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
}

.scroll-arrow {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.6);
}

/* 
   FLAVOR PILLS (shared / reusable)
 */
.flavor-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fpill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  padding: 7px 16px 7px 10px;
  cursor: pointer;
}

.fpill.active {
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.65);
}

.fdot-group {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.fdot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fname {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
}

/* 
   FEATURE STRIP
 */
.strip {
  background: #fff;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid rgba(78, 143, 168, 0.12);
}

.sfeat {
  padding: 22px 16px;
  text-align: center;
  border-right: 1px solid rgba(78, 143, 168, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.sfeat:last-child {
  border-right: none;
}

.sfeat-icon {
  font-size: 16px;
  line-height: 1;
}

.sfeat-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a6a7a;
  font-weight: 600;
  line-height: 1.5;
}

/* 
   PROMO TAB
 */
.promo-tab {
  position: fixed;
  left: 0;
  top: 40%;
  transform: translateY(-40%);
  z-index: 40;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.promo-tab.hidden {
  display: none;
}

.promo-dismiss {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 999px;
  background: rgba(17, 52, 70, 0.92);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(8, 25, 34, 0.18);
  margin-top: 6px;
  order: 2;
  margin-left: -10px;
  position: relative;
  z-index: 2;
}

.promo-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, #94d6dc 0%, #71bfc8 100%);
  color: #113446;
  font-family: "League Spartan", sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 18px 12px;
  min-height: 176px;
  width: 56px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(20, 72, 95, 0.18);
}

.promo-trigger,
.promo-trigger:visited {
  text-decoration: none;
}

/* 
   MOBILE
 */
@media (max-width: 768px) {
  .nav {
    padding: 18px 24px;
  }

  .nav-hamburger {
    display: flex;
  }

  .logo-top {
    font-size: 17px;
  }

  /* hide desktop nav links on mobile */
  #navLinks {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 20px;
    top: 0;
    bottom: 0;
    left: 68px;
    right: 0;
    height: auto;
    padding: 88px 28px 32px;
    background: rgba(22, 63, 86, 0.96);
    backdrop-filter: blur(18px);
    border: 0;
    border-radius: 0;
    box-shadow: -14px 0 34px rgba(12, 41, 55, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(18px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
    z-index: 102;
  }

  #navLinks.nav-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  #navLinks a {
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 24px;
    line-height: 1;
    text-align: center;
  }

  #navLinks .nav-shop {
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #163f56 !important;
    border-color: rgba(255, 255, 255, 0.2);
  }

  .nav.scrolled ~ #navLinks a {
    color: rgba(255, 255, 255, 0.94) !important;
  }

  .nav.scrolled ~ #navLinks .nav-shop {
    color: #163f56 !important;
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 34px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.92);
    list-style: none;
    cursor: pointer;
  }

  .hero-img {
    object-position: 78% 35%;
  }

  .hero-overlay {
    background: linear-gradient(to top, rgba(10, 25, 35, 0.82) 0%, rgba(10, 25, 35, 0.4) 40%, transparent 70%);
  }

  .hero-text {
    bottom: auto;
    top: 79%;
    transform: translateY(-50%);
    left: 20px;
    right: 20px;
    max-width: 50%;
  }

  .eyebrow-text {
    font-size: 9px;
  }

  .headline {
    font-size: 46px;
    letter-spacing: -2px;
  }

  .headline .script {
    font-size: 40px;
  }

  .hero-body {
    font-size: 13px;
    line-height: 1.65;
    max-width: 100%;
    margin-bottom: 22px;
  }

  .btn-main {
    padding: 12px 22px;
    font-size: 12px;
  }

  .scroll-hint {
    display: none;
  }

  .strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .sfeat:nth-child(4),
  .sfeat:nth-child(5) {
    display: none;
  }

  .promo-tab {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .promo-trigger {
    min-height: 130px;
    width: 46px;
    font-size: 13px;
    padding: 14px 8px;
  }

  .promo-dismiss {
    width: 22px;
    height: 22px;
    font-size: 14px;
  }
}
