:root {
  --sw-blue: #122a4a;
  --sw-blue-deep: #091c37;
  --sw-gold: #af8a00;
  --sw-gold-soft: #cfb24e;
  --sw-white: #f4f6fb;
  --sw-ink: #0e1a2b;
  --sw-muted: #c2c8d3;
  --sw-container: 1120px;
  --sw-horizon: 254px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--sw-blue);
  color: var(--sw-white);
  line-height: 1.55;
  font-size: 18px;
}

body.sw-age-gate-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.sw-container {
  width: min(var(--sw-container), calc(100% - 2rem));
  margin-inline: auto;
}

.sw-hero {
  position: relative;
  /* background: linear-gradient(to bottom, transparent 0 var(--sw-horizon), var(--sw-blue) var(--sw-horizon) 100%); */
  /* min-height: 720px; */
  overflow: clip;
}

.sw-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.sw-hero__media::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: var(--sw-blue);
  opacity: 0.5;
  mix-blend-mode: multiply;
  top: 0;
  left: 0;
  z-index: 1;
}

.sw-hero__media::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 39.8%;
  background: var(--sw-blue);
  bottom: 0;
  left: 0;
  z-index: 2;
}

.sw-hero__video {
  width: 100%;
  height: 80%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center -200px;
  object-position: center -200px;
}

.sw-hero__content {
  position: relative;
  z-index: 2;
  /* Keep copy close to the bottle while preventing overlap. */
  /* padding-right: clamp(11rem, 23vw, 18rem); */
}

.sw-hero__bg {
  position: absolute;
  inset: auto 0px 50px auto;
  width: min(52vw, 1000px);
  height: min(52vw, 680px);
  z-index: 1;
  opacity: 0.45;
  pointer-events: none;
  background-image: url('../images/wave-artwork.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.sw-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
}

.sw-pill-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.sw-pill {
  font-family: "League Spartan", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #0c1d38;
  background: #fff;
  border-radius: 999px;
  padding: 0.78rem 1.5rem;
  text-transform: lowercase;
}

.sw-pill--active {
  background: var(--sw-gold);
  color: #fff;
}

.sw-kiwanis {
  width: min(240px, 40vw);
}

.sw-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  padding-top: 22.6rem;
  padding-bottom: 4rem;
}

.sw-hero__text {
  max-width: 610px;
}

.sw-title {
  margin: 0;
  font-family: "League Spartan", sans-serif;
  font-size: clamp(5rem, 8vw, 8rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

.sw-subtitle {
  margin: 0.5rem 0 1.5rem;
  font-family: "League Spartan", sans-serif;
  font-size: clamp(1rem, 2vw, 1.55rem);
  letter-spacing: 0.3em;
  color: var(--sw-gold);
  text-transform: uppercase;
}

.sw-lead {
  font-weight: 800;
}

.sw-bottle-wrap {
  position: fixed;
  top: 140px;
  right: max(1rem, calc((100vw - min(var(--sw-container), calc(100% - 2rem))) / 2));
  width: min(28vw, 450px);
  z-index: 6;
  pointer-events: none;
  will-change: transform;
}

.sw-bottle-card {
  position: relative;
  pointer-events: auto;
  text-align: center;
  animation: bottle-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sw-bottle {
  width: auto;
  max-height: 70vh;
  margin-inline: auto;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.35));
}

.sw-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.6rem;
  font-size: 1.2rem;
  line-height: 1;
  border-radius: 999px;
  text-decoration: none;
  font-family: "League Spartan", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: #fff;
  background: var(--sw-gold);
  border: 0;
  cursor: pointer;
}

.sw-cta--dark {
  background: var(--sw-blue-deep);
}

.sw-section {
  padding: clamp(3rem, 7vw, 5.4rem) 0;
}

.sw-section--dark {
  background: var(--sw-blue);
}

.sw-section--light {
  background: #ececec;
  color: var(--sw-blue);
}

.sw-section--gold {
  background: var(--sw-gold);
  color: #fff;
  position: relative;
}

.sw-section--gold::before {
  display: none;
}

.sw-age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 1rem;
}

.sw-age-gate.is-visible {
  display: grid;
}

.sw-age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 24, 0.82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.sw-age-gate__panel {
  position: relative;
  width: min(100%, 460px);
  background: #f6f1dd;
  color: #1f1a0c;
  border: 2px solid #d7b95c;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.sw-age-gate__logo {
  display: block;
  width: 100%;
  max-width: 165px;
  height: auto;
  margin: 0 auto 0.55rem;
}

.sw-age-gate__panel h2 {
  font-size: clamp(1.5rem, 3.3vw, 2rem);
  margin-top: 0.15rem;
  margin-bottom: 0.65rem;
}

.sw-age-gate__eyebrow {
  margin: 0;
  font-family: "League Spartan", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8e6f00;
}

.sw-age-gate__panel p {
  margin-top: 0;
}

.sw-age-gate__panel label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.sw-age-gate__panel input[type="date"] {
  width: 100%;
  padding: 0.72rem;
  border-radius: 8px;
  border: 1px solid #c9b36d;
  margin-bottom: 0.65rem;
  font: inherit;
  color: inherit;
  background: #fff;
}

.sw-age-gate__error {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: #931f1f;
}

.sw-age-gate__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sw-age-gate__leave {
  color: #2c2614;
  font-weight: 700;
}

/* ── animated wave separator ── */
.sw-wave-top {
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 80px;
  overflow: hidden;
  pointer-events: none;
}

.sw-wave__svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  will-change: transform;
}

.sw-wave__svg--bg1 {
  animation: sw-wave-drift 23s linear infinite;
}

.sw-wave__svg--bg2 {
  animation: sw-wave-drift 31s linear infinite;
}

@keyframes sw-wave-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .sw-wave__svg {
    animation: none;
  }
}

.sw-two-col {
  display: grid;
  grid-template-columns: minmax(0, 620px);
}

h2 {
  margin: 0;
  font-family: "League Spartan", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.sw-section-sub {
  font-size: 1.25rem;
  line-height: 1.2;
  margin-top: 0.4rem;
  margin-bottom: 1.35rem;
  font-family: "League Spartan", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--sw-blue);
  
}

.sw-section--dark .sw-section-sub {
  color: var(--sw-gold);
}

.sw-section--light .sw-section-sub {
  color: #9f870c;
}

.sw-bold {
  font-weight: 800;
}

.sw-two-col img {
  margin: 1rem 0 1.4rem;
}

.sw-form-shell {
  width: min(100%, 620px);
}

.sw-form {
  display: grid;
  gap: 0.65rem;
}

.sw-form-notice {
  padding: 0.9rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sw-form-notice--success {
  background: rgba(11, 88, 45, 0.18);
  color: #f4fff9;
}

.sw-form-notice--info {
  background: rgba(18, 42, 74, 0.16);
  color: var(--sw-white);
}

.sw-form-notice--warning {
  background: rgba(120, 84, 0, 0.22);
  color: #fff7da;
}

.sw-form-notice--error {
  background: rgba(128, 22, 22, 0.2);
  color: #fff1f1;
}

.sw-form .sw-cta {
  width: auto;
  justify-self: start;
}

.sw-form input[type="text"],
.sw-form input[type="email"],
.sw-form input[type="tel"],
.sw-form input[type="number"] {
  width: 100%;
  border: 0;
  border-radius: 5px;
  padding: 0.85rem 0.9rem;
  font: inherit;
  color: var(--sw-ink);
}

.sw-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
}

.sw-check input[type="radio"] {
  accent-color: var(--sw-blue-deep);
}

.sw-order-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.sw-quantity {
  font-weight: 700;
}

#amount {
  width: 90px;
  text-align: center;
}

.sw-price {
  font-family: "League Spartan", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-left: 0.4rem;
}

.sw-total-note {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.sw-availability {
  margin-top: 0.7rem;
  font-family: "League Spartan", sans-serif;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.sw-availability--low {
  color: #ffd969;
}

.sw-availability--soldout {
  color: #ff8f8f;
}

.sw-disclaimer {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  /* max-width: 44ch; */
}

.sw-soldout-panel {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
  background: rgba(14, 26, 43, 0.16);
}

.sw-soldout-panel h3 {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  font-family: "League Spartan", sans-serif;
  letter-spacing: 0.03em;
}

.sw-soldout-panel p {
  margin: 0;
}

.sw-footer {
  background: #ececec;
  color: var(--sw-blue);
  padding: 2rem 0;
}

.sw-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.8rem;
  flex-wrap: wrap;
}

.sw-footer img {
  width: 190px;
}

.sw-footer-links,
.sw-footer-contact {
  display: grid;
  gap: 0.3rem;
  font-size: 0.92rem;
}

.sw-footer a {
  text-decoration: none;
}

body.sw-modal-open {
  overflow: hidden;
}

.sw-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.sw-modal.is-visible {
  display: flex;
}

.sw-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 28, 0.8);
}

.sw-modal__panel {
  position: relative;
  width: min(100%, 760px);
  max-height: min(86vh, 860px);
  overflow: auto;
  background: #f7f7f4;
  color: #0e1a2b;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.sw-modal__panel h2 {
  color: var(--sw-blue-deep);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.8rem;
}

.sw-modal__panel p {
  margin: 0 0 0.8rem;
}

.sw-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #1d2e4f;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

body.admin-bar .sw-bottle-wrap {
  top: 200px;
}

@keyframes bottle-rise {
  from {
    transform: translateY(24px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .sw-hero {
    --sw-horizon: 210px;
    min-height: 540px;
  }

  .sw-hero__bg {
    inset: 180px 0px 50px auto;
    width: min(100vw, 1000px);
    height: min(55vh, 1000px);
    background-position: right center;
    opacity: 1;
  }

  .sw-hero__media::after {
    width: 100%;
    height: 60%;
  }

  .sw-hero__content {
    padding-right: 0;
  }

  .sw-hero__grid {
    padding-top: 4.5rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .sw-hero {
    --sw-horizon: 176px;
    min-height: 0;
  }

  .sw-hero__grid {
    padding-top: 3rem;
  }

  .sw-bottle-wrap {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 380px;
    margin: 80px auto 2rem;
  }

  .sw-bottle {
    width: min(100%, 300px);
  }

  .sw-pill {
    padding: 0.72rem 1.2rem;
  }

  .sw-section-sub,
  .sw-availability {
    letter-spacing: 0.2em;
  }

  .sw-footer__inner {
    flex-direction: column;
  }
}
