/* ===========================================================
   Steamy Beanie — retail site styles
   Palette pulled from the logo badge:
     Johnson blue, warm gold, beanie red, snow cream
   =========================================================== */

:root {
  --blue: #1f4e8c;
  --blue-dark: #163a69;
  --blue-light: #2b62a8;
  --gold: #e8a13c;
  --gold-dark: #cf8a25;
  --red: #d23b2a;
  --red-dark: #b22f20;
  --cream: #fdfbf6;
  --ink: #243042;
  --muted: #5d6b7e;
  --line: #e6e0d4;
  --white: #ffffff;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(31, 78, 140, 0.08);
  --shadow: 0 12px 30px rgba(31, 78, 140, 0.14);
  --shadow-lg: 0 24px 60px rgba(31, 78, 140, 0.2);
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-name {
  font-family: "Fredoka", "Nunito", sans-serif;
  line-height: 1.1;
  color: var(--blue-dark);
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1.08rem; }

.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 18px rgba(210, 59, 42, .3); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }

.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

.btn-ghost { background: rgba(255,255,255,.85); color: var(--blue-dark); border-color: rgba(31,78,140,.15); }
.btn-ghost:hover { background: #fff; color: var(--red); }

/* ===== Announcement bar ===== */
.announce {
  background: var(--gold);
  color: #4a3008;
  text-align: center;
  font-size: .92rem;
  font-weight: 700;
  padding: 9px 16px;
}
.announce strong { color: var(--blue-dark); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 246, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; }
.brand-name { font-size: 1.3rem; font-weight: 700; color: var(--blue-dark); }

.nav-links { display: flex; gap: 22px; }
.nav-links a {
  font-weight: 700;
  color: var(--ink);
  font-size: .98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--red); border-color: var(--gold); }
.nav-cta { padding: 10px 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--blue-dark); border-radius: 3px; transition: .25s; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.mobile-menu a { padding: 10px 6px; font-weight: 700; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 10px; }
.mobile-menu.open { display: flex; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(43, 98, 168, .18), transparent 60%),
    linear-gradient(160deg, #eaf1fa 0%, var(--cream) 70%);
  padding: 64px 0 72px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--gold); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
.hero h1 .hl { color: var(--red); }
.lead { font-size: 1.18rem; color: var(--muted); margin: 18px 0 26px; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-points { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hero-points li { font-weight: 700; color: var(--blue-dark); }

.hero-art { position: relative; display: flex; justify-content: center; }
.hero-badge {
  width: min(380px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #fff, #eef3fb);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  animation: bob 5s ease-in-out infinite;
}
.hero-badge img { width: 100%; height: 100%; object-fit: contain; }

@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.float-flake { position: absolute; color: #9cc0ec; font-size: 2rem; opacity: .8; animation: drift 6s ease-in-out infinite; }
.float-flake.f1 { top: 6%; left: 8%; animation-delay: 0s; }
.float-flake.f2 { bottom: 10%; left: 2%; font-size: 1.4rem; animation-delay: 1.5s; }
.float-flake.f3 { top: 18%; right: 6%; font-size: 1.7rem; animation-delay: 3s; }
@keyframes drift { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(20deg); } }

/* ===== Trust strip ===== */
.trust { background: var(--blue-dark); color: #eaf1fb; padding: 22px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust-grid > div { display: flex; align-items: center; gap: 12px; font-size: .98rem; }
.trust-grid strong { color: #fff; }
.trust-num { font-size: 1.7rem; line-height: 1; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: #f2ede1; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.12rem; margin-top: 10px; }

/* ===== Products ===== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media {
  position: relative;
  height: 180px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fbe7c6, #f6d39b);
}
.product-media.media-blue { background: linear-gradient(135deg, #d7e6fa, #b9d2f2); }
.product-media.media-red { background: linear-gradient(135deg, #f6cabf, #ef9f8f); }
.product-emoji { font-size: 3.4rem; }
.ribbon {
  position: absolute; top: 14px; left: 14px;
  background: var(--red); color: #fff;
  font-family: "Fredoka", sans-serif; font-weight: 600;
  font-size: .8rem; padding: 5px 12px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.ribbon-gold { background: var(--gold); color: #4a3008; }
.ribbon-blue { background: var(--blue); }
.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.32rem; margin-bottom: 8px; }
.product-body > p { color: var(--muted); margin-bottom: 14px; }
.feature-list { list-style: none; margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.feature-list li { position: relative; padding-left: 24px; font-size: .95rem; }
.feature-list li::before { content: "❄"; position: absolute; left: 0; color: var(--blue-light); }
.price-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: "Fredoka", sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--blue-dark); }
.price-muted { font-size: 1.15rem; color: var(--muted); }

/* "Coming Soon" overlay on order buttons */
.buy-wrap { position: relative; display: inline-block; }
.btn-disabled {
  opacity: .55;
  filter: grayscale(.35);
  pointer-events: none;
  cursor: not-allowed;
}
.soon-tag {
  position: absolute;
  top: -12px;
  right: -10px;
  background: var(--gold);
  color: #4a3008;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .02em;
  padding: 4px 11px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transform: rotate(6deg);
  white-space: nowrap;
  pointer-events: none;
}
.fineprint { text-align: center; color: var(--muted); margin-top: 30px; font-size: .95rem; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; box-shadow: var(--shadow-sm);
}
.step-num {
  width: 56px; height: 56px; margin: 0 auto 16px;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  font-family: "Fredoka", sans-serif; font-size: 1.5rem; font-weight: 700;
  border-radius: 50%; box-shadow: 0 8px 18px rgba(210,59,42,.3);
}
.step h3 { margin-bottom: 8px; font-size: 1.25rem; }
.step p { color: var(--muted); }

/* ===== Story ===== */
.story-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.story-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.story-copy p { color: var(--muted); margin-bottom: 16px; font-size: 1.06rem; }
.story-copy .btn { margin-top: 6px; }
.story-card {
  background: var(--blue-dark); color: #eaf1fb;
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow);
}
.story-card h3 { color: #fff; margin-bottom: 18px; }
.timeline { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.timeline li { position: relative; padding-left: 18px; border-left: 2px solid var(--gold); padding-bottom: 4px; }
.t-date { display: block; font-family: "Fredoka", sans-serif; font-weight: 600; color: var(--gold); font-size: .9rem; }

/* ===== Partner ===== */
.section-blue {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(232,161,60,.18), transparent 60%),
    var(--blue);
  color: #eaf1fb;
}
.section-blue h2 { color: #fff; }
.partner-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 44px; align-items: center; }
.partner-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.partner-copy p { color: #cfe0f4; margin-bottom: 14px; font-size: 1.06rem; }
.partner-fact { display: grid; gap: 16px; }
.fact {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 18px 22px; text-align: center;
}
.fact-num { display: block; font-family: "Fredoka", sans-serif; font-size: 2rem; font-weight: 700; color: var(--gold); }
.fact-label { color: #cfe0f4; font-size: .92rem; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.contact-copy p { color: var(--muted); margin-bottom: 18px; font-size: 1.06rem; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; font-weight: 700; }
.contact-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .92rem; color: var(--blue-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; background: var(--cream); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-light); background: #fff;
  box-shadow: 0 0 0 3px rgba(43,98,168,.15);
}
.contact-form .btn { width: 100%; }
.form-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 10px; }

/* ===== Footer ===== */
.site-footer { background: var(--blue-dark); color: #cfe0f4; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-logo { width: 64px; height: 64px; object-fit: contain; margin-bottom: 10px; }
.tagline { font-family: "Fredoka", sans-serif; font-size: 1.4rem; color: var(--gold); font-weight: 600; }
.footer-small { font-size: .9rem; margin-top: 6px; max-width: 32ch; }
.footer-col h4 { color: #fff; margin-bottom: 14px; }
.footer-col a { display: block; color: #cfe0f4; padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: .88rem; color: #9fb6d4;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-art { order: 1; }
  .lead, .hero-points { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-points li { text-align: center; }
  .product-grid, .steps { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .story-grid, .partner-inner, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .product-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 50px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}
