:root {
  --navy: #01182c;
  --navy-dark: #0b1830;
  --cream: #f8f1e3;
  --cream-2: #f2e9d8;
  --gold: #c8973f;
  --gold-light: #e0b968;
  --red: #7c2230;
  --text-dark: #1c2a3f;
  --text-muted: #5b6a80;
  --white: #ffffff;
  --radius: 14px;
  --max-width: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'EB Garamond', Georgia, serif;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 0 0 .5em;
  color: var(--navy);
  font-weight: 600;
}

p { margin: 0 0 1em; line-height: 1.6; }

a { color: inherit; text-decoration: none; }

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

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn svg, .perk svg, .journey-panel svg { stroke: currentColor; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-2px); opacity: .92; }

.btn-primary { background: var(--navy); color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-small { padding: 10px 18px; font-size: 13px; }

/* ===== ANNOUNCEMENT BAR ===== */
.announce-bar {
  background: var(--navy);
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 10px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.announce-text { grid-column: 2; text-align: center; }
.announce-bar .star { color: var(--gold); margin: 0 10px; }
span.star { font-size: 1.4rem; }
.announce-icons {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--white);
}
.announce-icons .icon-btn { width: 20px; height: 20px; }
.announce-icons .cart-count { background: var(--gold); color: var(--navy-dark); }

/* ===== HERO (logo + nav + text all sit directly on the photo) ===== */
.hero {
  background-size: cover;
  background-position: center;
  aspect-ratio: 2000 / 853;
  min-height: 480px;
  border-bottom: 6px solid var(--gold);
  padding: 22px 40px 0;
}

.hero-top {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.logo { flex-shrink: 0; margin-top: clamp(20px, 2.6vw, 50px); }
.logo img {
  height: clamp(220px, 29.7vw, 570px);
  width: auto;
  aspect-ratio: 495 / 570;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.18));
}

.hero-mobile-photo { display: none; }
.hero-mobile-overlay { display: none; }

.hero-photo-wrap { cursor: pointer; }

.hero-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hero-nav-row {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 26px;
}

.site-nav {
  display: flex;
  gap: 26px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-nav a { padding: 6px 2px; border-bottom: 2px solid transparent; color: var(--navy); }
.site-nav a.active, .site-nav a:hover { border-color: var(--gold); }

.header-icons { display: flex; align-items: center; gap: 18px; color: var(--navy); }
.icon-btn { width: 22px; height: 22px; position: relative; display: inline-block; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute;
  top: -8px; right: -10px;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-family: 'Montserrat', sans-serif;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px; height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  order: 3;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

/* ===== FEATURE STRIP ===== */
.feature-strip {
  background: var(--navy);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 40px 32px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.feature-icon {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}
.feature-text { min-width: 0; }
.feature-text h3 {
  color: var(--white);
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  margin: 0 0 .3em;
}
.feature-text p { font-size: .9rem; color: #cfd8e6; margin: 0; }

/* ===== SHOP + STORY ===== */
.shop-story-wrap {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 24px;
  padding: 40px;
  align-items: stretch;
}

.shop-panel { display: flex; flex-direction: column; }

.shop-panel {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 30px;
}
.shop-panel h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.product-card {
  background: var(--white);
  border-radius: 10px;
  padding: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(18,35,63,.06);
}
.product-img {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card h4 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 6px;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.product-size { font-size: 1rem; color: var(--text-muted); min-width: 0; }
.product-price { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--red); white-space: nowrap; }
.product-price .was { color: var(--text-muted); text-decoration: line-through; font-weight: 500; font-size: .85em; margin-left: 6px; }
.product-card .btn { margin-top: auto; }
.paypal-button-slot {
  margin-top: auto;
  min-height: 45px;
}
.paypal-order-confirm {
  margin-top: auto;
  background: #eef7ee;
  border: 1px solid #bfe3bf;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: .85rem;
  color: #276029;
  text-align: center;
}
.badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--red);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  line-height: 1.1;
  z-index: 2;
}

.story-column {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.story-cup-panel {
  flex: 1;
  min-height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
}
.story-cup-panel img { width: 100%; height: 100%; object-fit: contain; display: block; }
a.story-cup-panel { transition: opacity .15s ease; }
a.story-cup-panel:hover { opacity: .85; }

.story-panel {
  background: var(--navy);
  color: #dde4ee;
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  gap: 30px;
}
.story-col-1, .story-col-2 {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.story-col-1 { justify-content: flex-start; align-items: center; text-align: center; }
.story-col-1 .btn { margin-top: 18px; }
.story-col-2 p { font-size: 1.2rem; line-height: 1.5; }

.story-panel h2 { color: var(--white); font-size: 2.2rem; line-height: 1.1; }
.script-eyebrow {
  font-family: 'Sacramento', cursive;
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: -4px;
}
.founder-label {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  color: var(--gold-light);
  font-weight: 700;
}
.founder-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
  margin-top: 20px;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }

/* ===== BOTTOM STRIP ===== */
.bottom-strip {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0;
}
.join-panel, .journey-panel, .subscribe-panel {
  padding: 34px 28px;
  background: var(--navy);
  color: var(--white);
}

.journey-panel { display: flex; align-items: flex-start; gap: 14px; }
.journey-panel svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--gold-light); margin-top: 4px; }
.journey-panel strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--white); margin-bottom: 8px; }
.journey-panel p { margin: 0 0 12px; font-size: .95rem; color: #cfd8e6; }

.subscribe-panel { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.subscribe-intro strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--white); margin-bottom: 8px; }
.subscribe-intro p { margin: 0 0 16px; font-size: .95rem; color: #cfd8e6; }

.perks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0 22px;
}
.perk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 78px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  text-align: center;
  color: #dde4ee;
}
.perk svg { width: 26px; height: 26px; color: var(--gold-light); }

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold-light);
}
.footer-phone svg { width: 14px; height: 14px; flex-shrink: 0; }

.signup-form { display: flex; flex-direction: column; gap: 10px; }
.signup-form input {
  padding: 12px 16px;
  border-radius: 4px;
  border: none;
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
}
.signup-form .btn { white-space: nowrap; }

.footer-social { display: flex; gap: 16px; align-self: flex-end; }
.footer-social .icon-btn { width: 22px; height: 22px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .shop-story-wrap { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .bottom-strip { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .site-nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin: 14px 0 0;
    background: var(--navy-dark);
    border-radius: 10px;
    padding: 6px 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
  }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.15); color: var(--white); }
  .site-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-toggle span { background: var(--white); }
  .header-icons { order: 2; color: var(--white); }
  .cart-count { background: var(--gold); color: var(--navy-dark); }
  .announce-icons { display: none; }
  .announce-text { grid-column: 1 / -1; }
  .announce-bar { grid-template-columns: 1fr; }

  /* No badge logo on mobile — the bag/mug photo carries the brand instead */
  .logo { display: none; }
  .hero-top { flex-direction: column; align-items: stretch; }

  .hero {
    background-image: none !important;
    background-color: var(--white);
    aspect-ratio: auto;
    min-height: 0;
    padding: 0;
    border-bottom: none;
  }
  .hero-nav-row {
    display: flex;
    width: 100%;
    background: var(--navy);
    padding: 14px 20px;
  }
  .hero-photo-wrap { position: relative; }
  .hero-mobile-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 75% center;
  }
  .hero-mobile-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 18px 20px;
    text-align: center;
  }
  .hero-mobile-overlay h1 {
    color: var(--navy);
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    line-height: 1.05;
    white-space: nowrap;
    margin: 0;
  }
  .hero-mobile-premium {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 10px auto 0;
  }
  .hero-mobile-shop-btn {
    display: inline-block;
    margin-top: auto;
  }
}

@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .shop-story-wrap { padding: 24px 16px; }
  .feature-strip { grid-template-columns: 1fr; padding: 30px 24px; gap: 18px; }
  .feature { gap: 14px; }
  .feature-icon { width: 56px; height: 56px; }
  .feature-text h3 { font-size: .9rem; }
  .feature-text p { font-size: .82rem; }
  .join-panel, .journey-panel, .subscribe-panel { text-align: center; }
  .journey-panel { flex-direction: column; align-items: center; }
  .perks { justify-content: center; }
  .story-panel { flex-direction: column; }
  .founder-photo { margin-left: auto; margin-right: auto; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-nav-row { padding: 12px 16px; }
}

/* ===== OUR STORY MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 24, 48, .68);
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}
.modal-overlay.open { display: flex; }

.story-modal {
  position: relative;
  background: var(--navy);
  color: #dde4ee;
  border-radius: var(--radius);
  max-width: 1140px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 46px 56px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.story-modal .script-eyebrow { display: block; }
.story-modal h2 {
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: .7em;
}
.story-modal-body {
  columns: 2;
  column-gap: 44px;
}
.story-modal-body p {
  color: #dde4ee;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .92rem;
  line-height: 1.35;
  margin: 0 0 .75em;
  break-inside: avoid;
}

.policy-modal {
  position: relative;
  background: var(--navy);
  color: #dde4ee;
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 46px 44px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.policy-modal h2 {
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: .7em;
  padding-right: 20px;
}
.policy-modal p {
  color: #dde4ee;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .95rem;
  line-height: 1.6;
  margin: 0 0 1em;
}

.subscribe-modal {
  position: relative;
  background: var(--navy);
  color: #dde4ee;
  border-radius: var(--radius);
  max-width: 460px;
  width: 100%;
  padding: 46px 44px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.subscribe-modal h2 {
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: .4em;
  padding-right: 20px;
}
.subscribe-modal-sub {
  font-size: .95rem;
  color: #cfd8e6;
  margin-bottom: 22px;
}
.subscribe-modal .signup-form input { color: var(--text-dark); }

/* Honeypot: invisible to real visitors, still present in the DOM for bots to fill */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  overflow: hidden;
}

.subscribe-status {
  margin: 10px 0 0;
  font-size: .85rem;
  min-height: 1.2em;
}
.subscribe-status.success { color: #8fd694; }
.subscribe-status.error { color: #f2a3a3; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 6px;
}
.modal-close:hover { color: var(--white); }

body.modal-open { overflow: hidden; }

@media (max-width: 900px) {
  .story-modal-body { columns: 1; }
}

@media (max-width: 640px) {
  .story-modal { padding: 40px 24px 32px; max-height: 90vh; }
  .story-modal h2 { font-size: 1.5rem; }
  .story-modal-body p { font-size: 1rem; line-height: 1.45; }
  .policy-modal { padding: 40px 24px 32px; }
  .policy-modal h2 { font-size: 1.35rem; }
  .subscribe-modal { padding: 40px 24px 32px; }
  .subscribe-modal h2 { font-size: 1.3rem; }
}
