/* =====================================================================
   WealthFile — home.css
   MVP Week 2 P0-2 rewrite.

   Scope: styles for front-page.php sections (wf-home, wf-pulse, wf-hero,
   wf-lockgate, wf-tape, wf-recent, wf-news, wf-newsletter) plus a small
   set of shared primitives (.wf-btn, .wf-section__*, .wf-tier-badge).

   Design rules enforced:
   - No 3-col symmetrical grids. Every grid is asymmetric (2fr 1fr, 65/35,
     7/3) or list-based.
   - No section background colors. Sections separated by a single
     border-top: 1px solid var(--gray-200).
   - No emoji. All icons are inline SVG in the PHP template.
   - No Inter font. System stack for body, Playfair Display for headlines,
     JetBrains / IBM Plex Mono for numbers.
   - Only --gold, --black, --white and greys. Gold is used sparingly:
     headline underline, dots, primary CTA background only.
   - Hover = transform:translateY(-2px), transition 200ms only.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Local tokens — fall back to style.css :root but alias for readability
   --------------------------------------------------------------------- */
.wf-home {
  --wf-black:  var(--black, #0a0a0a);
  --wf-white:  var(--white, #ffffff);
  --wf-gold:   var(--gold,  #c9a84c);
  --wf-g-50:   #fafafa;
  --wf-g-100:  var(--gray-100, #f5f5f5);
  --wf-g-200:  var(--gray-200, #e5e5e5);
  --wf-g-300:  var(--gray-300, #d4d4d4);
  --wf-g-400:  var(--gray-400, #a3a3a3);
  --wf-g-500:  var(--gray-500, #737373);
  --wf-g-600:  var(--gray-600, #525252);
  --wf-g-700:  var(--gray-700, #404040);
  --wf-g-800:  var(--gray-800, #262626);
  --wf-g-900:  var(--gray-900, #171717);
  --wf-red:    #dc2626;
  --wf-green:  #16a34a;
  --wf-sans:   -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wf-serif:  var(--font-serif, 'Playfair Display', Georgia, serif);
  --wf-mono:   "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  --wf-ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --wf-shell:  1280px;
  --wf-gutter: 32px;

  font-family: var(--wf-sans);
  color: var(--wf-black);
  background: var(--wf-white);
  display: block;
  width: 100%;
}

.wf-home *,
.wf-home *::before,
.wf-home *::after {
  box-sizing: border-box;
}

.wf-home a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms var(--wf-ease), transform 200ms var(--wf-ease);
}

.wf-home img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* ---------------------------------------------------------------------
   Shared primitives: buttons, section headers, tier badges
   --------------------------------------------------------------------- */
.wf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--wf-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 200ms var(--wf-ease),
              background-color 200ms var(--wf-ease),
              color 200ms var(--wf-ease),
              border-color 200ms var(--wf-ease);
  line-height: 1;
  white-space: nowrap;
  will-change: transform;
}

.wf-btn--primary {
  background: var(--wf-gold);
  color: var(--wf-black);
  border-color: var(--wf-gold);
}
.wf-btn--primary:hover {
  background: #b89538;
  border-color: #b89538;
  color: var(--wf-black);
  transform: translateY(-2px);
}

.wf-btn--ghost {
  background: transparent;
  color: var(--wf-black);
  border-color: var(--wf-g-300);
}
.wf-btn--ghost:hover {
  border-color: var(--wf-black);
  transform: translateY(-2px);
}

.wf-btn--block {
  width: 100%;
  justify-content: center;
}

.wf-section__eyebrow {
  font-family: var(--wf-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wf-g-500);
  margin-bottom: 10px;
}

.wf-section__eyebrow--light {
  color: var(--wf-g-400);
}

.wf-section__title {
  font-family: var(--wf-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--wf-black);
  margin: 0;
}

.wf-section__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--wf-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wf-g-600);
  padding: 8px 0;
  align-self: flex-end;
}
.wf-section__more:hover {
  color: var(--wf-black);
}
.wf-section__more svg {
  transition: transform 200ms var(--wf-ease);
}
.wf-section__more:hover svg {
  transform: translateX(3px);
}

.wf-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--wf-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
}
.wf-tier-badge--pro {
  color: var(--wf-gold);
  border-color: var(--wf-gold);
  background: rgba(201,168,76,0.08);
}
.wf-tier-badge--free {
  color: var(--wf-g-600);
  border-color: var(--wf-g-300);
  background: transparent;
}
.wf-tier-badge--sm {
  font-size: 0.58rem;
  padding: 3px 6px;
  letter-spacing: 0.12em;
}

/* ---------------------------------------------------------------------
   1. DAILY PULSE
   --------------------------------------------------------------------- */
.wf-pulse {
  border-bottom: 1px solid var(--wf-g-200);
  background: var(--wf-white);
}
.wf-pulse__inner {
  max-width: var(--wf-shell);
  margin: 0 auto;
  padding: 14px var(--wf-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--wf-mono);
  font-size: 0.72rem;
  color: var(--wf-g-600);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
}
.wf-pulse__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-weight: 600;
}
.wf-pulse__date {
  color: var(--wf-black);
}
.wf-pulse__label {
  color: var(--wf-g-500);
}
.wf-pulse__stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.wf-pulse__stat strong {
  color: var(--wf-black);
  font-weight: 700;
  margin-right: 4px;
}
.wf-pulse__stat--muted {
  color: var(--wf-g-500);
  font-style: normal;
}
.wf-pulse__sep {
  color: var(--wf-g-300);
  font-weight: 400;
}

/* ---------------------------------------------------------------------
   2. HERO — asymmetric 2fr 1fr (≈ 65% / 35%), left-aligned
   --------------------------------------------------------------------- */
.wf-hero {
  background: var(--wf-white);
  border-bottom: 1px solid var(--wf-g-200);
}
.wf-hero__grid {
  max-width: var(--wf-shell);
  margin: 0 auto;
  padding: 80px var(--wf-gutter) 72px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 72px;
  align-items: flex-start;
  text-align: left;
}

.wf-hero__lead {
  text-align: left;
  align-items: flex-start;
  max-width: 760px;
}

.wf-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--wf-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wf-g-600);
  margin-bottom: 28px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--wf-g-200);
  border-radius: 999px;
  background: var(--wf-g-50);
}
.wf-hero__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wf-gold);
  box-shadow: 0 0 8px rgba(201,168,76,0.55);
  animation: wfPulse 2s ease-in-out infinite;
}
@keyframes wfPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.wf-hero__headline {
  font-family: var(--wf-serif);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--wf-black);
  margin: 0 0 28px;
}
.wf-hero__underline {
  position: relative;
  display: inline-block;
  color: var(--wf-black);
}
.wf-hero__underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.28em;
  background: var(--wf-gold);
  opacity: 0.85;
  z-index: -1;
  border-radius: 2px;
}

.wf-hero__sub {
  font-family: var(--wf-sans);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--wf-g-600);
  margin: 0 0 36px;
  max-width: 560px;
}

.wf-hero__cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.wf-hero__tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--wf-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--wf-g-500);
}
.wf-hero__sep {
  color: var(--wf-g-300);
}

/* --- Hero rail (live quotes) --- */
.wf-hero__rail {
  background: var(--wf-black);
  color: var(--wf-white);
  padding: 20px 22px 18px;
  border-radius: 6px;
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wf-hero__rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.wf-hero__rail-title {
  font-family: var(--wf-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.wf-hero__rail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16,185,129,0.7);
  animation: wfPulse 1.6s ease-in-out infinite;
}
.wf-hero__rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.wf-hero__rail-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wf-hero__rail-item:last-child {
  border-bottom: none;
}
.wf-hero__rail-sym {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.wf-hero__rail-ticker {
  font-family: var(--wf-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--wf-white);
}
.wf-hero__rail-name {
  font-family: var(--wf-sans);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wf-hero__rail-num {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
  min-width: 0;
}
.wf-hero__rail-price {
  font-family: var(--wf-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wf-white);
  letter-spacing: 0.01em;
}
.wf-hero__rail-chg {
  font-family: var(--wf-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.55);
}
.wf-hero__rail-chg.is-up {
  color: #10B981;
}
.wf-hero__rail-chg.is-down {
  color: #f87171;
}
.wf-hero__rail-chg.is-loading {
  color: rgba(255,255,255,0.3);
}

.wf-hero__rail-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-family: var(--wf-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------
   3. LOCK GATE TEASER — 65/35 asymmetric
   --------------------------------------------------------------------- */
.wf-lockgate {
  border-bottom: 1px solid var(--wf-g-200);
  background: var(--wf-white);
}
.wf-lockgate__grid {
  max-width: var(--wf-shell);
  margin: 0 auto;
  padding: 64px var(--wf-gutter);
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 48px;
  align-items: center;
}
.wf-lockgate__body {
  max-width: 640px;
}
.wf-lockgate__eyebrow {
  font-family: var(--wf-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wf-gold);
  margin-bottom: 14px;
}
.wf-lockgate__title {
  font-family: var(--wf-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--wf-black);
  margin: 0 0 28px;
}
.wf-lockgate__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.wf-lockgate__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--wf-sans);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--wf-g-700);
}
.wf-lockgate__list li strong {
  color: var(--wf-black);
  font-weight: 600;
}
.wf-check {
  flex: 0 0 auto;
  color: var(--wf-gold);
  margin-top: 3px;
}
.wf-lockgate__cta {
  background: var(--wf-g-50);
  border: 1px solid var(--wf-g-200);
  border-radius: 6px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.wf-lockgate__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--wf-serif);
  color: var(--wf-black);
  line-height: 1;
}
.wf-lockgate__price-currency {
  font-size: 1.5rem;
  font-weight: 600;
}
.wf-lockgate__price-num {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.wf-lockgate__price-period {
  font-family: var(--wf-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wf-g-500);
  margin-left: 6px;
}
.wf-lockgate__fine {
  font-family: var(--wf-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--wf-g-500);
  line-height: 1.5;
}

/* ---------------------------------------------------------------------
   4. LIVE TICKER TAPE
   --------------------------------------------------------------------- */
.wf-tape {
  border-bottom: 1px solid var(--wf-g-200);
  background: var(--wf-black);
  color: var(--wf-white);
  overflow: hidden;
}
.wf-tape__rail {
  width: 100%;
  overflow: hidden;
  padding: 14px 0;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.wf-tape__track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: wfTapeScroll 60s linear infinite;
  will-change: transform;
}
@keyframes wfTapeScroll {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.wf-tape:hover .wf-tape__track {
  animation-play-state: paused;
}
.wf-tape__item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--wf-mono);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.03em;
}
.wf-tape__item:hover {
  color: var(--wf-white);
}
.wf-tape__sym {
  color: var(--wf-white);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.wf-tape__price {
  color: rgba(255,255,255,0.8);
  font-variant-numeric: tabular-nums;
}
.wf-tape__chg,
.ticker-change {
  color: rgba(255,255,255,0.5);
  font-variant-numeric: tabular-nums;
}
.ticker-change.positive,
.wf-tape__chg.positive {
  color: #10B981;
}
.ticker-change.negative,
.wf-tape__chg.negative {
  color: #f87171;
}

/* ---------------------------------------------------------------------
   5. RECENT ANALYSIS
   --------------------------------------------------------------------- */
.wf-recent {
  border-bottom: 1px solid var(--wf-g-200);
}
.wf-recent__head {
  max-width: var(--wf-shell);
  margin: 0 auto;
  padding: 72px var(--wf-gutter) 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.wf-recent__grid {
  max-width: var(--wf-shell);
  margin: 0 auto;
  padding: 0 var(--wf-gutter) 72px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Feature card */
.wf-recent__feature {
  display: block;
  color: inherit;
  border: 1px solid var(--wf-g-200);
  border-radius: 4px;
  overflow: hidden;
  background: var(--wf-white);
  transition: transform 200ms var(--wf-ease),
              border-color 200ms var(--wf-ease);
  will-change: transform;
}
.wf-recent__feature:hover {
  transform: translateY(-2px);
  border-color: var(--wf-g-400);
}
.wf-recent__feature-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--wf-g-100);
  overflow: hidden;
}
.wf-recent__feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wf-recent__feature-media--placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--wf-g-100) 0%, var(--wf-g-200) 100%);
}
.wf-recent__feature-media--placeholder span {
  font-family: var(--wf-serif);
  font-weight: 800;
  font-size: 3.5rem;
  color: rgba(0,0,0,0.18);
  letter-spacing: -0.04em;
}
.wf-recent__feature-media .wf-tier-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--wf-white);
}
.wf-recent__feature-body {
  padding: 24px 24px 26px;
}
.wf-recent__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--wf-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wf-g-500);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.wf-recent__meta-ticker {
  color: var(--wf-black);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.wf-recent__meta-type {
  color: var(--wf-gold);
}
.wf-recent__meta-sep {
  color: var(--wf-g-300);
}
.wf-recent__meta-time {
  color: var(--wf-g-500);
}
.wf-recent__feature-title {
  font-family: var(--wf-serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--wf-black);
  margin: 0 0 14px;
}
.wf-recent__feature-deck {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--wf-g-600);
  margin: 0 0 18px;
}
.wf-recent__feature-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--wf-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-black);
  border-bottom: 1px solid var(--wf-black);
  padding-bottom: 2px;
  transition: gap 200ms var(--wf-ease);
}
.wf-recent__feature:hover .wf-recent__feature-read {
  gap: 10px;
}

/* Compact list */
.wf-recent__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.wf-recent__item {
  border-top: 1px solid var(--wf-g-200);
}
.wf-recent__item:first-child {
  border-top: none;
}
.wf-recent__item-link {
  display: block;
  padding: 18px 0;
  color: inherit;
  transition: color 200ms var(--wf-ease);
}
.wf-recent__item-link:hover {
  color: var(--wf-black);
}
.wf-recent__item-link:hover .wf-recent__item-title {
  color: var(--wf-black);
}
.wf-recent__item-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--wf-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wf-g-500);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.wf-recent__item-ticker {
  color: var(--wf-black);
  font-weight: 700;
}
.wf-recent__item-type {
  color: var(--wf-gold);
}
.wf-recent__item-time {
  margin-left: auto;
  color: var(--wf-g-400);
  font-weight: 500;
}
.wf-recent__item-title {
  font-family: var(--wf-serif);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--wf-g-700);
  margin: 0;
  transition: color 200ms var(--wf-ease);
}

/* ---------------------------------------------------------------------
   6. MONEY NEWS PREVIEW
   --------------------------------------------------------------------- */
.wf-news {
  border-bottom: 1px solid var(--wf-g-200);
}
.wf-news__head {
  max-width: var(--wf-shell);
  margin: 0 auto;
  padding: 72px var(--wf-gutter) 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.wf-news__list {
  list-style: none;
  margin: 0;
  padding: 0 var(--wf-gutter) 72px;
  max-width: var(--wf-shell);
  margin: 0 auto;
  padding-left: var(--wf-gutter);
  padding-right: var(--wf-gutter);
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-auto-rows: min-content;
  gap: 0;
}
.wf-news__item {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 200px;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--wf-g-200);
  color: inherit;
  transition: transform 200ms var(--wf-ease);
}
.wf-news__item:first-child {
  border-top: none;
}
.wf-news__item:hover {
  transform: translateY(-1px);
}
.wf-news__item:hover .wf-news__headline {
  color: var(--wf-gold);
}
.wf-news__body {
  min-width: 0;
}
.wf-news__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--wf-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-g-500);
  margin-bottom: 8px;
}
.wf-news__ticker {
  color: var(--wf-black);
  font-weight: 700;
}
.wf-news__chg {
  font-variant-numeric: tabular-nums;
}
.wf-news__chg.is-up {
  color: var(--wf-green);
}
.wf-news__chg.is-down {
  color: var(--wf-red);
}
.wf-news__time {
  color: var(--wf-g-400);
  margin-left: auto;
  font-weight: 500;
}
.wf-news__headline {
  font-family: var(--wf-serif);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--wf-black);
  margin: 0;
  transition: color 200ms var(--wf-ease);
}
.wf-news__source {
  font-family: var(--wf-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--wf-g-400);
  text-transform: uppercase;
  justify-self: end;
}

.wf-news__skeleton {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--wf-g-200);
}
.wf-news__skeleton:first-child {
  border-top: none;
}
.wf-news__skeleton-line {
  display: block;
  height: 14px;
  background: linear-gradient(90deg, var(--wf-g-100), var(--wf-g-200), var(--wf-g-100));
  background-size: 200% 100%;
  border-radius: 2px;
  animation: wfShimmer 1.6s linear infinite;
}
.wf-news__skeleton-line--short {
  width: 40%;
  height: 10px;
}
@keyframes wfShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------------------------------------------------------------------
   7. NEWSLETTER STRIP
   --------------------------------------------------------------------- */
.wf-newsletter {
  background: var(--wf-black);
  color: var(--wf-white);
  border-bottom: 1px solid var(--wf-g-200);
}
.wf-newsletter__grid {
  max-width: var(--wf-shell);
  margin: 0 auto;
  padding: 80px var(--wf-gutter);
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: center;
}
.wf-newsletter__body {
  max-width: 580px;
}
.wf-newsletter__title {
  font-family: var(--wf-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--wf-white);
  margin: 0 0 20px;
}
.wf-newsletter__title-em {
  color: var(--wf-gold);
  font-style: normal;
}
.wf-newsletter__desc {
  font-family: var(--wf-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.wf-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wf-newsletter__label {
  font-family: var(--wf-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.wf-newsletter__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}
.wf-newsletter__input {
  font-family: var(--wf-sans);
  font-size: 1rem;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: var(--wf-white);
  border-radius: 4px;
  outline: none;
  transition: border-color 200ms var(--wf-ease),
              background-color 200ms var(--wf-ease);
  min-width: 0;
}
.wf-newsletter__input::placeholder {
  color: rgba(255,255,255,0.35);
}
.wf-newsletter__input:focus {
  border-color: var(--wf-gold);
  background: rgba(255,255,255,0.08);
}
.wf-newsletter__submit {
  align-self: stretch;
}
.wf-newsletter__status {
  font-family: var(--wf-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.72);
  min-height: 1.2em;
}
.wf-newsletter__status.is-success {
  color: #6ee7b7;
}
.wf-newsletter__status.is-error {
  color: #fca5a5;
}

/* ---------------------------------------------------------------------
   RESPONSIVE — 1024px and below
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .wf-home {
    --wf-gutter: 24px;
  }
  .wf-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px var(--wf-gutter) 56px;
  }
  .wf-hero__rail {
    max-width: 100%;
  }
  .wf-lockgate__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px var(--wf-gutter);
  }
  .wf-lockgate__list {
    grid-template-columns: 1fr;
  }
  .wf-lockgate__cta {
    max-width: 420px;
  }
  .wf-recent__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .wf-recent__head,
  .wf-news__head {
    padding-top: 56px;
  }
  .wf-newsletter__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px var(--wf-gutter);
  }
  .wf-news__item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .wf-news__source {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .wf-home {
    --wf-gutter: 20px;
  }
  .wf-pulse__inner {
    padding: 12px var(--wf-gutter);
    font-size: 0.66rem;
    gap: 10px;
  }
  .wf-hero__grid {
    padding: 48px var(--wf-gutter) 40px;
  }
  .wf-hero__headline {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }
  .wf-hero__sub {
    font-size: 1rem;
  }
  .wf-hero__cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .wf-btn {
    justify-content: center;
  }
  .wf-recent__head,
  .wf-news__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .wf-section__more {
    align-self: flex-start;
  }
  .wf-lockgate__price-num {
    font-size: 2.75rem;
  }
  .wf-newsletter__row {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .wf-tape__track,
  .wf-hero__dot,
  .wf-hero__rail-dot,
  .wf-news__skeleton-line {
    animation: none !important;
  }
  .wf-home *,
  .wf-home *::before,
  .wf-home *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ---------------------------------------------------------------------
   PRINT — hide tape + lock gate
   --------------------------------------------------------------------- */
@media print {
  .wf-tape,
  .wf-lockgate,
  .wf-newsletter,
  .wf-hero__rail {
    display: none !important;
  }
}
