/* ============================================================
   ODD SOCK — Brand system
   Cobalt · Yellow · White. Bold graphic typography, modern,
   gender-neutral leaning slightly masculine.
   ============================================================ */

:root {
  --cobalt:        #1E3AE0;
  --cobalt-deep:   #142696;
  --cobalt-ink:    #0B1660;
  --yellow:        #FFCB2E;
  --yellow-deep:   #F2B60A;
  --white:         #FFFFFF;
  --paper:         #FBFBFE;
  --cloud:         #EDF0FF;   /* light cobalt tint */
  --ink:           #10131F;
  --ink-soft:      #4A4F63;
  --line:          #E4E6F2;

  --font: "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 10px rgba(16,19,31,.06);
  --shadow-md: 0 14px 40px rgba(20,38,150,.12);
  --shadow-lg: 0 28px 70px rgba(20,38,150,.20);
  --radius: 14px;
  --wrap: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; text-transform: uppercase; }
.display {
  font-weight: 800;
  font-size: clamp(2.8rem, 8.5vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
h2.section-title { font-size: clamp(1.9rem, 4.5vw, 3.4rem); letter-spacing: -0.03em; }
.eyebrow {
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.78rem; color: var(--cobalt);
}
.lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--ink-soft); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 0.95rem; padding: 0.9em 1.6em; border-radius: 999px;
  border: 2.5px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: 1.05rem; padding: 1.05em 2em; }
.btn-cobalt { background: var(--cobalt); color: #fff; }
.btn-cobalt:hover { background: var(--cobalt-deep); box-shadow: var(--shadow-md); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-deep); box-shadow: 0 14px 40px rgba(242,182,10,.3); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--cobalt); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cobalt); }
.btn-block { width: 100%; }

/* ---------- Wordmark ---------- */
.logo {
  display: inline-flex; align-items: baseline; gap: 0.28em;
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em;
  font-size: 1.5rem; line-height: 1; color: var(--cobalt); user-select: none;
}
.logo-odd { color: var(--cobalt); }
.logo-sock { color: var(--cobalt); position: relative; }
.logo-o {
  display: inline-block; color: var(--yellow);
  transform: rotate(-26deg) translateY(-0.02em);
  margin: 0 0.08em;
}
.footer-brand .logo { font-size: 1.8rem; }
.footer-brand .logo-odd, .footer-brand .logo-sock { color: #fff; }
.footer-brand .logo-o { color: var(--yellow); }

/* ---------- Header ---------- */
#site-header { position: sticky; top: 0; z-index: 50; }
.ann-bar {
  background: var(--ink); color: #fff; text-align: center;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 0.6em 1em; text-transform: uppercase;
}
.nav { background: rgba(251,251,254,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.nav-links { display: flex; gap: 1.8rem; margin-left: 1.5rem; }
.nav-link {
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem;
  color: var(--ink); padding: 0.3em 0; position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 0;
  background: var(--yellow); transition: width .2s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }
.cart-btn { position: relative; color: var(--ink); display: inline-flex; padding: 6px; }
.cart-count {
  position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--cobalt); color: #fff; border-radius: 999px; font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.5);
  transition: .2s var(--ease);
}
.cart-count.has { opacity: 1; transform: scale(1); }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-drawer { display: none; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); }
.nav-drawer.open { display: flex; }
.nav-drawer .nav-link { padding: 1rem 24px; border-top: 1px solid var(--line); }

/* ---------- Hero ---------- */
/* Two zones: copy and illustration never overlap. The image sits in its own
   grid cell; its background is the exact same blue (#0930C4) so it blends into
   the section with no visible box edge. */
.hero { position: relative; color: #fff; overflow: hidden; background: #0930C4; padding-block: 0; }
.hero-grid {
  max-width: var(--wrap); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  gap: 0;
  padding-inline: 24px;
  min-height: clamp(560px, 50vw, 700px);
}
.hero-copy { align-self: center; max-width: 600px; padding-block: 1rem; }
/* The illustration fills its column; cover trims only the empty blue sky off the
   top. translateX nudges it left to close the gap with the copy (its left edge is
   blue, so the shift is invisible). The machine, monster, and socks stay fully shown. */
.hero-media { position: relative; align-self: stretch; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transform: translateX(-4%); display: block; }
.hero-eyebrow { color: var(--yellow); }
/* Slightly smaller than the global display size so the whole hero fits on screen. */
.hero h1 { color: #fff; margin: 0.2rem 0 0.7rem; font-size: clamp(2.5rem, 6.6vw, 5.75rem); }
.hero h1 .hl { color: var(--yellow); }
.hero-lead { color: rgba(255,255,255,.9); max-width: 35ch; margin-bottom: 1.1rem; font-size: clamp(1.02rem,1.5vw,1.22rem); }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; margin-top: 1.75rem; }
.hero-stat b { display: block; font-size: 1.9rem; font-weight: 800; color: var(--yellow); letter-spacing: -0.02em; }
.hero-stat span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,.75); }

/* ---------- Marquee ---------- */
.marquee { background: var(--yellow); color: var(--ink); overflow: hidden; border-block: 3px solid var(--ink); }
.marquee-track { display: flex; gap: 0; white-space: nowrap; animation: scroll 26s linear infinite; }
.marquee-track span { font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.15rem; padding: 0.7em 1.2em; display: inline-flex; align-items: center; gap: 1.2em; }
.marquee-track span::after { content: "✦"; color: var(--cobalt); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 0.9rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 2rem 1.6rem; position: relative; box-shadow: var(--shadow-sm); }
.step-num { position: absolute; top: -18px; left: 22px; width: 40px; height: 40px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.step h3 { font-size: 1.25rem; margin: 0.6rem 0; }
.step p { color: var(--ink-soft); }

/* ---------- Product grid / cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem; }
.pcard { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--cobalt); }
.pcard-art { background: #fff; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; }
.pcard-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pcard-tag { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.35em 0.7em; border-radius: 999px; z-index: 1; }
.pcard-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.pcard-body h3 { font-size: 1.2rem; }
.pcard-sub { font-size: 0.85rem; color: var(--ink-soft); flex: 1; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.4rem; }
.pcard-price { font-weight: 800; }
.pcard-swatches { display: flex; align-items: center; gap: 7px; }
.pcard-swatch { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); cursor: pointer; transition: transform .12s var(--ease); }
.pcard-swatch:hover { transform: scale(1.15); }
.pcard-swatch.active { border-color: var(--ink); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.pcard-plus { font-size: 0.74rem; font-weight: 800; color: var(--ink-soft); margin-left: 1px; }

/* ---------- Carousel (homepage featured styles) ---------- */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; gap: 1.4rem;
  grid-auto-columns: calc((100% - 3 * 1.4rem) / 4);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 4px 2px 6px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > .pcard { scroll-snap-align: start; }
.carousel-arrow {
  position: absolute; top: 33%; transform: translateY(-50%); z-index: 6;
  width: 46px; height: 46px; border-radius: 999px; border: 2px solid var(--ink);
  background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  transition: background .15s, color .15s, opacity .15s;
}
.carousel-arrow:hover { background: var(--ink); color: #fff; }
.carousel-arrow[disabled] { opacity: 0; pointer-events: none; }
.carousel-prev { left: -12px; }
.carousel-next { right: -12px; }
@media (max-width: 900px) { .carousel-track { grid-auto-columns: calc((100% - 1.4rem) / 2); } }
@media (max-width: 600px) { .carousel-track { grid-auto-columns: 82%; } .carousel-arrow { display: none; } }

/* ---------- Category chips ---------- */
.chips { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.chip { border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 0.55em 1.1em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.8rem; cursor: pointer; transition: .15s; }
.chip:hover { border-color: var(--cobalt); }
.chip.active { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }

/* ---------- Two-pack banner ---------- */
/* Band background matches Socrates' image background (#0E111C) so he blends in seamlessly. */
.donate-band { background: #0E111C; color: #fff; border-radius: 24px; padding: clamp(2rem,4vw,3.5rem); display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.donate-band .eyebrow { color: var(--yellow); }
.donate-band h2 { color: #fff; margin: 0.6rem 0 1rem; font-size: clamp(1.8rem,3.5vw,2.8rem); }
.donate-band p { color: rgba(255,255,255,.82); }
.donate-visual { display: flex; align-items: center; justify-content: center; }
.donate-visual img { width: 100%; max-width: 460px; height: auto; display: block; }
.donate-chip { background: rgba(255,255,255,.08); border: 2px dashed rgba(255,255,255,.3); border-radius: 16px; padding: 1.2rem; text-align: center; }
.donate-chip b { display: block; font-size: 1.6rem; color: var(--yellow); }
.donate-chip span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,.7); }
.donate-op { font-size: 1.8rem; color: var(--yellow); }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; padding-top: 2.5rem; }
.pdp-media { background: #fff; border: 2px solid var(--line); border-radius: 24px; padding: 1.5rem; position: sticky; top: 92px; }
.pdp-hero { display: flex; align-items: center; justify-content: center; min-height: 340px; }
.pdp-photo { width: 100%; max-width: 460px; height: auto; display: block; object-fit: contain; }
.pdp-thumbs { display: flex; gap: 0.6rem; margin-top: 1rem; justify-content: center; flex-wrap: wrap; }
.pdp-thumb { width: 64px; height: 64px; border-radius: 12px; background: #fff; border: 2px solid var(--line); padding: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pdp-thumb.active { border-color: var(--cobalt); }
.pdp-crumbs { font-size: 0.8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.8rem; }
.pdp h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.pdp-blurb { color: var(--ink-soft); margin: 1rem 0 1.5rem; font-size: 1.05rem; max-width: 42ch; }
.field { margin-bottom: 1.4rem; }
.field-label { font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; margin-bottom: 0.6rem; display: flex; justify-content: space-between; }
.field-label .field-val { color: var(--ink-soft); font-weight: 700; }
.opt-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.color-opt { display: inline-flex; align-items: center; gap: 0.5em; border: 2px solid var(--line); border-radius: 999px; padding: 0.4em 0.9em 0.4em 0.5em; cursor: pointer; font-weight: 700; font-size: 0.85rem; transition: .15s; }
.color-opt .dot { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.color-opt.active { border-color: var(--cobalt); background: var(--cloud); }
.size-opt { min-width: 52px; border: 2px solid var(--line); background: #fff; border-radius: 10px; padding: 0.6em 0.4em; text-align: center; cursor: pointer; font-weight: 800; transition: .15s; }
.size-opt:hover { border-color: var(--cobalt); }
.size-opt.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-fit { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.5rem; min-height: 1.1em; }

/* Pack selector — the star interaction */
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 1.5rem 0; }
.pack {
  position: relative; border: 2.5px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.1rem 1.1rem;
  cursor: pointer; background: #fff; transition: .18s var(--ease); text-align: left;
}
.pack:hover { border-color: var(--cobalt); }
.pack.active { border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(30,58,224,.12); }
.pack.pack-two.active { border-color: var(--cobalt); background: var(--cloud); }
.pack-badge { position: absolute; top: -13px; left: 14px; background: var(--yellow); color: var(--ink); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.35em 0.7em; border-radius: 999px; border: 2px solid var(--ink); }
.pack-qty { font-weight: 800; font-size: 1.05rem; text-transform: uppercase; }
.pack-price { font-size: 1.5rem; font-weight: 800; margin: 0.3rem 0 0.1rem; }
.pack-price small { font-size: 0.85rem; color: var(--ink-soft); font-weight: 700; text-decoration: line-through; margin-left: 0.35em; }
.pack-note { font-size: 0.82rem; color: var(--ink-soft); }
.pack.pack-two .pack-note { color: var(--cobalt); font-weight: 700; }
.pack-check { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; }
.pack.active .pack-check { background: var(--cobalt); border-color: var(--cobalt); }
.pack.active .pack-check::after { content: "✓"; color: #fff; font-size: 0.75rem; font-weight: 800; }

.pdp-add { display: flex; gap: 0.8rem; align-items: center; margin-top: 0.5rem; }
.qty-step { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.qty-step button { width: 40px; height: 46px; background: #fff; border: 0; font-size: 1.2rem; font-weight: 800; cursor: pointer; }
.qty-step input { width: 40px; text-align: center; border: 0; font-weight: 800; font-size: 1rem; }
.pdp-reassure { margin-top: 1.3rem; display: grid; gap: 0.5rem; }
.pdp-reassure li { list-style: none; color: var(--ink-soft); font-size: 0.9rem; display: flex; gap: 0.5em; align-items: center; }
.pdp-reassure li::before { content: "✓"; color: var(--cobalt); font-weight: 800; }

/* ---------- Impact / About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.stat-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.stat-card { background: var(--cobalt); color: #fff; border-radius: var(--radius); padding: 1.8rem 1.4rem; }
.stat-card.alt { background: var(--yellow); color: var(--ink); }
.stat-card.ink { background: var(--ink); color: #fff; }
.stat-card b { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.stat-card span { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; opacity: .85; margin-top: 0.4rem; display: block; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 1.2rem; }
.partner { border: 2px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: #fff; }
.partner .tag { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cobalt); }
.partner h3 { font-size: 1.15rem; margin: 0.5rem 0; text-transform: none; letter-spacing: -0.01em; }
.partner p { color: var(--ink-soft); font-size: 0.9rem; }
.callout { background: var(--cloud); border-radius: 24px; padding: clamp(2rem,4vw,3rem); text-align: center; }
.faq { max-width: 780px; margin-inline: auto; }
.faq details { border-bottom: 2px solid var(--line); padding: 1.2rem 0; }
.faq summary { font-weight: 800; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: -0.01em; }
.faq summary::after { content: "+"; color: var(--cobalt); font-size: 1.5rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin-top: 0.8rem; }

/* ---------- Newsletter block ---------- */
.news-form { display: flex; gap: 0.5rem; flex-wrap: wrap; max-width: 440px; }
.news-form input { flex: 1; min-width: 180px; padding: 0.85em 1em; border: 2px solid var(--line); border-radius: 999px; font: inherit; }
.news-form input:focus { outline: none; border-color: var(--cobalt); }
.news-msg { flex-basis: 100%; color: var(--yellow-deep); font-weight: 700; font-size: 0.9rem; margin-top: 0.3rem; }
.news-band { background: var(--cobalt); color: #fff; }
.news-band .news-inner { text-align: center; max-width: 680px; margin-inline: auto; }
/* Sized + nowrap so each line (esp. "and the occasional") never breaks. */
.news-band h2 { color: #fff; font-size: clamp(1.5rem, 4.6vw, 2.9rem); white-space: nowrap; }
.news-band .news-form { margin: 1.5rem auto 0; justify-content: center; }
.news-band .news-form input { background: #fff; border-color: transparent; }
.news-band .news-msg { color: var(--yellow); }

/* ---------- Footer ---------- */
#site-footer { margin-top: 2rem; }
.footer-cta { background: var(--yellow); border-block: 3px solid var(--ink); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2.5rem 24px; flex-wrap: wrap; }
.footer-cta h2 { font-size: clamp(1.6rem,3.5vw,2.8rem); }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem; padding-block: 3.5rem 2.5rem; }
.footer-main { background: var(--ink); color: #fff; max-width: none; }
.footer-main > * { }
.footer-main.wrap { max-width: none; }
.footer-main-grid {}
.footer-brand p { color: rgba(255,255,255,.65); margin-top: 1rem; font-size: 0.9rem; max-width: 34ch; }
.footer-col h4, .footer-news h4 { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; margin-bottom: 1rem; color: var(--yellow); }
.footer-col a { display: block; color: rgba(255,255,255,.75); padding: 0.3em 0; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-news p { color: rgba(255,255,255,.65); font-size: 0.9rem; margin-bottom: 1rem; }
.footer-news .news-form input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.footer-news .news-form input::placeholder { color: rgba(255,255,255,.5); }
.footer-legal { display: flex; justify-content: space-between; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: 0.82rem; color: rgba(255,255,255,.55); background: var(--ink); max-width: none; }
.footer-legal-links a { margin-left: 1.2rem; }
.footer-main.wrap, .footer-legal.wrap { padding-inline: max(24px, calc((100% - var(--wrap)) / 2)); }

/* fix footer full-bleed with inner max width */
.footer-main.wrap { width: 100%; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; padding-top: 2.5rem; }
.cart-line { display: grid; grid-template-columns: 90px 1fr auto; gap: 1rem; align-items: center; padding: 1.3rem 0; border-bottom: 2px solid var(--line); }
.cart-line-art { background: #fff; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; overflow: hidden; }
.cart-line-art img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cart-line h3 { font-size: 1.1rem; text-transform: none; letter-spacing: -0.01em; }
.cart-line-meta { color: var(--ink-soft); font-size: 0.85rem; margin-top: 0.2rem; }
.cart-line-donate { color: var(--cobalt); font-weight: 700; font-size: 0.82rem; margin-top: 0.35rem; }
.cart-line-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.cart-line-price { font-weight: 800; font-size: 1.1rem; }
.link-remove { background: none; border: 0; color: var(--ink-soft); font-size: 0.82rem; cursor: pointer; text-decoration: underline; }
.summary { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.8rem; position: sticky; top: 92px; }
.summary h2 { font-size: 1.4rem; margin-bottom: 1.2rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; color: var(--ink-soft); }
.summary-row.total { color: var(--ink); font-weight: 800; font-size: 1.25rem; border-top: 2px solid var(--line); margin-top: 0.6rem; padding-top: 1rem; }
.summary-donate { background: var(--cloud); border-radius: 12px; padding: 1rem; margin: 1rem 0; font-size: 0.9rem; display: flex; gap: 0.6rem; align-items: center; }
.summary-donate b { color: var(--cobalt); }
.cart-empty { text-align: center; padding: 4rem 1rem; }
.cart-empty .sock-sad { width: 150px; margin: 0 auto 1.5rem; opacity: .55; }
.cart-empty .sock-sad img { width: 100%; height: auto; display: block; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 1rem 1.4rem; border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 100; opacity: 0; pointer-events: none; transition: .3s var(--ease); font-weight: 600; max-width: 90vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--yellow); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--cloud); padding: clamp(2.5rem,5vw,4rem) 0; }
.page-hero .eyebrow { margin-bottom: 0.6rem; display: block; }
.page-hero h1 { font-size: clamp(2.4rem,6vw,4.5rem); }
.page-hero p { margin-top: 1rem; max-width: 52ch; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  /* Stack: copy on top, illustration grounded full-width below it — the
     characters "stand" on the hero's bottom line, same idea as desktop. */
  .hero-grid { grid-template-columns: 1fr; min-height: 0; row-gap: 0; }
  .hero-copy { align-self: start; max-width: none; padding-block: clamp(2.25rem,7vw,3rem) clamp(1.25rem,4vw,2rem); }
  .hero-media { align-self: stretch; }
  .hero-media img { position: static; width: 100%; height: auto; max-height: 68vh; object-fit: contain; object-position: bottom center; transform: none; }
}
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 1.5rem; }
  .pdp-media { position: static; }
  .donate-band, .split, .cart-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .summary { position: static; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .stat-cards { grid-template-columns: 1fr; }
  .packs { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; gap: 0.5rem; }
}
