/* =========================================================================
   <FounderNote /> — §4 of /contact
   Build Packet 22 — Section 6.
   Gold band. Personal letter from the founder — inverted to navy ink on the
   brand gold band (var(--gold-band)), matching the .fcta closer and the .co-alt
   gold surface. A bright, high-attention pause between the navy sections around
   it. NO white text sits on the gold: the only light ink (#f6f3e8 + avatar
   icon) lives *inside* navy elements.
   ========================================================================= */

.co-note {
  position: relative;
  /* Premium layered gold band (mirrors .fcta): top sheen + lower-edge deepen
     over the metallic gold, so the letter reads dimensional and lit. */
  background:
    radial-gradient(135% 90% at 50% -16%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 56%),
    radial-gradient(120% 80% at 50% 120%, rgba(120, 86, 8, 0.30), rgba(120, 86, 8, 0) 60%),
    var(--gold-band);
  color: var(--color-primary);
  overflow: hidden;
  isolation: isolate;
}
.co-note::before {
  content: "";
  position: absolute;
  inset: 0;
  /* subtle navy depth wash — keeps dimensionality without any glow */
  background:
    radial-gradient(800px 480px at 18% 12%, rgba(10,26,63,0.05), transparent 70%),
    radial-gradient(700px 420px at 92% 100%, rgba(10,26,63,0.04), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.co-note__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 128px var(--container-pad);
}

.co-note__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.co-note__eyebrow::before,
.co-note__eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-primary);
  opacity: 0.55;
}
.co-note__eyebrow::before { display: none; }   /* lead-in line off; trailing rule only, eyebrow is left-aligned */

.co-note__title {
  margin: 0 0 36px;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  text-wrap: balance;
}
/* Inverted navy marker — the highlighted name now sits in a deep-navy box on
   the gold band, with warm off-white ink (AAA on navy). Mirrors .fcta__mark. */
.co-note__title em {
  font-style: normal;
  background: var(--color-primary);
  color: #f6f3e8;
  font-weight: 900;
  padding: 0.04em 0.22em;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: 0 8px 22px -10px rgba(4, 13, 46, 0.55);
}

.co-note__body p {
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.7;
  color: rgba(10,26,63,0.92);
  text-wrap: pretty;
}
.co-note__body p:last-child { margin-bottom: 0; }
/* the close ("you should hire us") — full navy ink + a soft underline accent to
   pull the eye to the decision (mirrors .fcta__heading em::after) */
.co-note__body strong {
  position: relative;
  color: var(--color-primary);
  font-weight: 700;
}
.co-note__body strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.10em;
  border-radius: 2px;
  background: rgba(10, 26, 63, 0.28);
}

.co-note__seeyou {
  margin: 36px 0 0 !important;
  font-style: italic;
  color: rgba(10,26,63,0.9) !important;
}

.co-note__signoff {
  margin: 48px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid rgba(10,26,63,0.18);
  display: flex;
  align-items: center;
  gap: 20px;
}
.co-note__signoff-text { display: flex; flex-direction: column; gap: 4px; }
/* "Signature image" placeholder — stylised script line, navy on gold (premium,
   high-contrast handwritten feel). */
.co-note__signoff-sig {
  font-family: "Brush Script MT", "Snell Roundhand", "Apple Chancery", cursive;
  font-size: 34px;
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  opacity: 0.92;
  margin-top: -2px;
}
.co-note__signoff-role {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(10,26,63,0.7);
}

@media (max-width: 720px) {
  .co-note__inner { padding: 88px 22px; }
  .co-note__signoff { gap: 16px; }
}

/* -------------------------------------------------------------------------
   Scroll-in entrance — pure-CSS progressive enhancement (no JS). The letter,
   then the sign-off, rise as the section enters view. Falls back to static.
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .co-note__eyebrow,
    .co-note__title,
    .co-note__body,
    .co-note__signoff {
      animation: co-note-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 26%;
    }
    .co-note__body    { animation-range: entry 6%  cover 32%; }
    .co-note__signoff { animation-range: entry 12% cover 38%; }
  }
}
@keyframes co-note-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
