/* ==========================================================================
   Wind-down styles — farewell homepage, sitewide notice, retired sales CTAs
   ========================================================================== */

:root {
  --wd-ink: #000B1F;
  --wd-ink-soft: #3b4456;
  --wd-muted: #6b7385;
  --wd-line: #e6e8ee;
  --wd-paper: #ffffff;
  --wd-wash: #f7f8fb;
  --wd-violet: #834AE2;
  --wd-indigo: #4A65E2;
  --wd-blue: #4A90E2;
  --wd-sky: #4AADE2;
  --wd-serif: 'Source Serif 4', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --wd-sans: 'Inter-Var-Web', 'Inter-Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Retire sales calls-to-action everywhere ---------------------------- */
.action-block,
a[href="schedule.html"],
a[href="contact.html"],
.take-action-subline,
.take-action-subline-bottom { display: none !important; }

/* ---- Sitewide notice bar ------------------------------------------------- */
.wd-notice {
  display: block;
  position: relative;
  z-index: 10;
  background: var(--wd-ink);
  color: #fff;
  font-family: var(--wd-sans);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 11px 16px;
  text-decoration: none;
}
.wd-notice::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--wd-violet), var(--wd-indigo) 40%, var(--wd-blue) 70%, var(--wd-sky));
}
.wd-notice span { opacity: 0.78; }
.wd-notice b { font-weight: 600; margin-left: 6px; white-space: nowrap; }
.wd-notice:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Farewell page ------------------------------------------------------- */
.wd { color: var(--wd-ink); font-family: var(--wd-sans); }
.wd a { color: inherit; }

.wd-eyebrow {
  font-family: var(--wd-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wd-muted);
}

/* Hero */
.wd-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 24px 56px;
  clear: both; /* legacy header floats its nav without clearing */
  text-align: center;
}
.wd-hero::before {
  content: "";
  position: absolute; inset: -40% -10% auto -10%; height: 140%;
  background:
    radial-gradient(40% 50% at 30% 40%, rgba(131, 74, 226, 0.10), transparent 70%),
    radial-gradient(45% 55% at 70% 35%, rgba(74, 173, 226, 0.12), transparent 70%);
  pointer-events: none;
}
.wd-hero > * { position: relative; }
.wd-hero h1 {
  font-family: var(--wd-serif);
  font-weight: 500;
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 22px auto 0;
  color: var(--wd-ink);
}
.wd-hero h1 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--wd-violet), var(--wd-blue) 55%, var(--wd-sky));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.wd-hero .wd-lede {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
  color: var(--wd-ink-soft);
  max-width: 620px;
  margin: 28px auto 0;
}

/* Letter */
.wd-letter {
  max-width: 660px;
  margin: 0 auto;
  padding: 8px 24px 120px;
  font-family: var(--wd-serif);
  font-size: 21px;
  line-height: 1.7;
  color: #1c2333;
  text-align: left;
}
.wd-letter p { margin: 0 0 1.15em; }
.wd-letter p:first-of-type::first-letter {
  float: left;
  font-size: 3.6em;
  line-height: 0.82;
  padding: 0.08em 0.1em 0 0;
  font-weight: 500;
  color: var(--wd-indigo);
}
.wd-letter .wd-signoff { margin-top: 3em; font-style: italic; color: var(--wd-ink-soft); text-align: center; }
.wd-signoff strong { display: block; font-style: normal; font-family: var(--wd-sans); font-size: 16px; font-weight: 600; color: var(--wd-ink); margin-top: 4px; letter-spacing: 0.01em; }

/* Farewell page: header sits flush on the hero (no shadow, no gap) */
.wd-farewell .top-section { margin-bottom: 0; box-shadow: none; }
/* Sticky footer: fill the viewport so there is no blank space below the footer */
body.wd-farewell { display: flex; flex-direction: column; min-height: 100vh; }
.wd-farewell > main { flex: 1 0 auto; }

/* Simplified footer: mark + copyright only */
footer { padding: 0 !important; }
.wd-footer { display: flex; align-items: center; justify-content: flex-end; gap: 16px; height: 80px; padding: 0 60px; box-sizing: border-box; }
.wd-footer img { display: block; width: 32px; height: 32px; }
.wd-footer-copy { color: #fff; opacity: 0.5; font-size: 12px; line-height: 1.4; text-align: right; }
@media (max-width: 600px) { .wd-footer { padding: 0 20px; } }

/* Contact page */
.static-form textarea { width: 100%; min-height: 120px; font: inherit; padding: 10px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 4px; }

/* Responsive */
@media (max-width: 600px) {
  .wd-hero { padding: 48px 20px 40px; }
  .wd-hero h1 { font-size: 31px; }
  .wd-letter { font-size: 19px; padding-left: 20px; padding-right: 20px; }
}
