/* VERICA — Black Week 2026 landing pages
   Standalone from style.css: these two pages use their own campaign art
   direction (Cormorant Garamond / Karla, pill buttons, rounded panels) and
   deliberately do not inherit the main site's chrome.
   Fonts are self-hosted — the live CSP sets font-src 'self'. */

/* ---------- Fonts (SIL Open Font License 1.1, see provenance/assets.json) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/karla-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bw-ink: #1F3326;
  --bw-head: #2E4A3A;
  --bw-body: #3B4E41;
  --bw-muted: #4A5E50;
  --bw-green: #3F6B47;
  --bw-green-dark: #2A4A31;
  --bw-sage: #A8C69F;
  --bw-sage-soft: #9CAF88;
  --bw-pale: #EEF4EA;
  --bw-soft: #F7FAF5;
  --bw-line: #DCE6D8;
  --bw-dark: #111411;
  --bw-dark-panel: #1F241F;
  --bw-gold: #F3D774;
  --bw-on-dark: #D5DDD3;
  --bw-on-dark-2: #E6EBE4;
  --bw-on-dark-3: #C3CCC1;
  --bw-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --bw-sans: 'Karla', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --bw-gap: clamp(64px, 8vw, 96px);
}

/* ---------- Base ---------- */
.bw-page {
  margin: 0;
  background: #FFFFFF;
  color: var(--bw-ink);
  font-family: var(--bw-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
.bw-page * { box-sizing: border-box; }
.bw-page img { display: block; max-width: 100%; }
.bw-page p { margin: 0; }
.bw-page h1, .bw-page h2, .bw-page h3 {
  font-family: var(--bw-serif);
  font-weight: 600;
  margin: 0;
  color: var(--bw-head);
  line-height: 1.15;
}
.bw-page a { color: var(--bw-green); }
.bw-page a:hover { color: var(--bw-green-dark); }
.bw-page :focus-visible {
  outline: 3px solid var(--bw-green);
  outline-offset: 3px;
  border-radius: 4px;
}
.bw-dark :focus-visible { outline-color: var(--bw-gold); }

.bw-wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.bw-section { padding-top: var(--bw-gap); padding-bottom: var(--bw-gap); }
.bw-soft { background: var(--bw-soft); }
.bw-pale { background: var(--bw-pale); }
.bw-dark { background: var(--bw-dark); color: #FFFFFF; }
.bw-dark h2, .bw-dark h3 { color: #FFFFFF; }

.bw-stack { display: flex; flex-direction: column; }
.bw-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--bw-green);
  text-transform: uppercase;
}
.bw-eyebrow-gold { color: var(--bw-gold); letter-spacing: 0.16em; }
.bw-lead { font-size: clamp(17px, 2vw, 19px); color: var(--bw-body); }
.bw-body { color: var(--bw-body); }

.bw-h1 { font-size: clamp(36px, 6.4vw, 65px); line-height: 1.08; color: var(--bw-ink); }
.bw-h1-center { font-size: clamp(34px, 6vw, 60px); line-height: 1.08; }
.bw-h2 { font-size: clamp(30px, 4.6vw, 46px); }
.bw-h2-sm { font-size: clamp(28px, 4.2vw, 42px); }
.bw-h2-xs { font-size: clamp(26px, 3.8vw, 38px); }
.bw-h2-lg { font-size: clamp(32px, 5vw, 50px); }
.bw-h3 { font-size: clamp(22px, 2.4vw, 26px); }
.bw-h3-sm { font-size: clamp(20px, 2.2vw, 23px); }
.bw-h3-lg { font-size: clamp(26px, 3.2vw, 33px); }

/* ---------- Buttons ---------- */
.bw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 16px 30px;
  min-height: 52px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.bw-btn-green { background: var(--bw-green); color: #FFFFFF; }
.bw-btn-green:hover { background: var(--bw-green-dark); color: #FFFFFF; }
.bw-btn-gold { background: var(--bw-gold); color: var(--bw-dark); }
.bw-btn-gold:hover { background: #E9C94F; color: var(--bw-dark); }
.bw-btn-sm { font-size: 15px; padding: 13px 22px; min-height: 46px; }

/* ---------- Black Week band ---------- */
.bw-band { background: var(--bw-dark); color: #FFFFFF; padding: 14px 24px; }
.bw-band-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
}
.bw-band-label {
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--bw-gold);
}
.bw-band-text { font-size: 15px; color: var(--bw-on-dark-2); }
.bw-band-text strong { color: #FFFFFF; font-variant-numeric: tabular-nums; }

/* ---------- Page header ---------- */
.bw-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.bw-tagline { font-size: 14px; color: var(--bw-muted); }
.bw-wordmark {
  font-family: var(--bw-serif);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.06em;
  color: var(--bw-head);
  text-decoration: none;
}
.bw-wordmark:hover { color: var(--bw-green-dark); }

/* ---------- Hero ---------- */
.bw-hero { position: relative; overflow: hidden; }
.bw-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px clamp(56px, 7vw, 88px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.bw-hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
/* The cap is load-bearing. Without it this item is unbounded, so the moment
   the flex line wraps (~976px) it sits alone on its row and grows to the full
   container — 928x1160, below its own source resolution. Capped at 360 the
   wrap step is 360 -> 360, i.e. no step at all, and the photo supports the
   headline instead of competing with it. */
/* margin-inline:auto centres the photo once the line wraps and it sits alone
   on its row. It is inert side by side: .bw-hero-copy's flex-grow consumes all
   the positive free space before auto margins are resolved, so there is none
   left for them to absorb and the desktop layout does not move. */
.bw-hero-media { flex: 0 1 360px; min-width: 0; max-width: 360px; margin-inline: auto; }
.bw-hero-media img {
  width: 100%;
  /* Square, because a portrait rectangle read as "long" at every size we
     tried. The file itself is cropped to 1:1, so this box crops nothing,
     object-position has no work to do, and the photo stays square even if
     aspect-ratio is unsupported. Reframing means re-cropping the file. */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 24px;
  background: var(--bw-pale);
}
.bw-pill {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--bw-green);
  background: var(--bw-pale);
  padding: 8px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}
.bw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}
.bw-hero-note { font-size: 15px; color: var(--bw-muted); }

/* ---------- Generic card rows ---------- */
.bw-row { display: flex; flex-wrap: wrap; gap: 24px; }
.bw-row-stretch { align-items: stretch; }
.bw-card {
  flex: 1 1 300px;
  min-width: 0;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bw-card-lg { border-radius: 24px; padding: clamp(28px, 3.4vw, 40px); gap: 16px; }
.bw-card-gold { border: 2px solid var(--bw-gold); }
.bw-card-green { border: 2px solid var(--bw-green); }
.bw-card-soft { background: var(--bw-soft); }
.bw-card-step { flex: 1 1 320px; border-radius: 24px; padding: 36px; gap: 14px; }

.bw-topline {
  flex: 1 1 240px;
  min-width: 0;
  border-top: 2px solid var(--bw-sage);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bw-topline-gold { border-top-color: var(--bw-gold); }

.bw-num {
  font-family: var(--bw-serif);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  color: var(--bw-green);
  margin: 0;
}
.bw-num-sm { font-size: 39px; }

.bw-tag {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--bw-dark);
  background: var(--bw-gold);
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.bw-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--bw-muted);
  text-transform: uppercase;
}

.bw-pullquote {
  font-size: clamp(20px, 2.6vw, 24px);
  font-family: var(--bw-serif);
  font-weight: 600;
  color: var(--bw-ink);
  max-width: 760px;
}

/* ---------- Ticked list ---------- */
.bw-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bw-ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--bw-ink); }
.bw-ticks svg { flex: none; margin-top: 5px; color: var(--bw-green); }

/* ---------- Price panel ---------- */
.bw-price-panel {
  position: relative;
  overflow: hidden;
  background: var(--bw-dark);
  color: #FFFFFF;
  border-radius: 24px;
  padding: clamp(28px, 3.4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.bw-price-left { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; flex: 1 1 320px; }
.bw-price-right { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; flex: 1 1 320px; }
.bw-price {
  font-family: var(--bw-serif);
  font-weight: 600;
  font-size: clamp(38px, 5vw, 48px);
  line-height: 1.1;
}
.bw-price-note { color: var(--bw-on-dark); font-size: 15px; }
.bw-fineprint { font-size: 13px; color: var(--bw-on-dark-3); }

/* ---------- Countdown ---------- */
.bw-count { display: flex; flex-wrap: wrap; gap: 10px; font-variant-numeric: tabular-nums; }
.bw-count-cell {
  background: var(--bw-dark-panel);
  border-radius: 12px;
  padding: 10px 14px;
  text-align: center;
  min-width: 56px;
}
.bw-count-num { font-size: 26px; font-weight: 600; color: var(--bw-gold); }
.bw-count-label { font-size: 11px; letter-spacing: 0.12em; color: var(--bw-on-dark-3); }
.bw-count-inline { font-size: 16px; color: var(--bw-gold); font-variant-numeric: tabular-nums; }

/* The countdown states ship hidden and are revealed by the script, which
   removes the `hidden` attribute. !important because several of these
   elements set their own `display` (e.g. .bw-count is a flex row), which
   would otherwise win over the UA stylesheet's rule for [hidden]. */
[hidden] { display: none !important; }

/* ---------- FAQ ---------- */
.bw-faq { max-width: 860px; }
.bw-faq-item {
  border-bottom: 1px solid var(--bw-line);
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------- Centred blocks ---------- */
.bw-center {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.bw-center-narrow { max-width: 780px; gap: 22px; }

.bw-check-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bw-green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bw-signature {
  font-family: var(--bw-serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--bw-head);
}

/* ---------- About ---------- */
.bw-about { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 56px); align-items: center; }
.bw-about img {
  /* 340 matches the height of the copy beside it (~331px), so the circle sits
     level with the text instead of overhanging it top and bottom. */
  flex: 0 1 340px;
  min-width: 0;
  max-width: 340px;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  /* The file is cropped to 1:1 with the eyeline already in the upper third,
     so this crops nothing and the circle is a true circle, not an ellipse,
     regardless of aspect-ratio support. */
  object-position: 50% 50%;
  border-radius: 50%;
  background: var(--bw-pale);
}
/* Capped at 620px: the narrower circle frees width, and without this the
   paragraphs would run to ~79 characters a line, past the 75 reading limit. */
.bw-about-copy { flex: 1 1 480px; min-width: 0; max-width: 620px; display: flex; flex-direction: column; gap: 18px; }

/* ---------- Thank-you: question cards ---------- */
.bw-q { background: #FFFFFF; border-radius: 18px; padding: 24px 28px; font-size: 18px; }

/* ---------- Footer ---------- */
.bw-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--bw-muted);
}

/* ---------- Snowfall (decorative) ---------- */
.bw-snow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bw-flake { position: absolute; top: -30px; pointer-events: none; animation: bw-fall linear infinite; }
@keyframes bw-fall {
  0%   { transform: translateY(-40px) rotate(0deg); }
  100% { transform: translateY(var(--bw-fall, 800px)) rotate(200deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bw-snow { display: none; }
  .bw-page * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Narrow screens ---------- */
@media (max-width: 560px) {
  .bw-page { font-size: 16px; }
  .bw-header-inner { padding: 20px 24px; }
  .bw-tagline { display: none; }
  .bw-count-cell { min-width: 48px; padding: 8px 10px; }
  .bw-count-num { font-size: 22px; }
  .bw-card { padding: 26px; }
  .bw-card-step { padding: 28px; }
  .bw-q { padding: 20px 22px; font-size: 17px; }
  .bw-btn { width: 100%; }
  .bw-hero-actions { gap: 14px; }
}

/* ---------- Build-time notice (removed before publishing) ---------- */
.bw-todo {
  background: #FFF4D6;
  border-bottom: 3px solid #C99A00;
  color: #3A2D00;
  font-family: var(--bw-sans);
  font-size: 14px;
  line-height: 1.5;
  padding: 14px 24px;
}
.bw-todo strong { display: block; margin-bottom: 4px; }
.bw-todo ul { margin: 6px 0 0; padding-left: 20px; }
