/* jeffparker.love shared design system
   One place for colour, type and chrome. Every hand-authored page links this,
   so a change here moves the whole site.

   Palette is taken from the Win Together cover: a deep teal-navy ground that
   reads as authority, gold for the things you want clicked, and teal and
   purple demoted to accents rather than the whole identity. */

:root{
  /* ground, from the book cover */
  --ink:        #072a33;   /* deepest, page background */
  --ink-2:      #093441;   /* the cover blue itself */
  --panel:      #0b4251;   /* raised surfaces */
  --panel-2:    #0d4c5e;   /* hover / borders */

  /* action */
  --gold:       #f0a830;
  --gold-hi:    #ffbb4a;

  /* accents, deliberately secondary */
  --teal:       #2ecad4;
  --purple:     #955a90;

  /* text */
  --fg:         #ffffff;
  --fg-soft:    rgba(255,255,255,.80);
  --fg-mute:    rgba(255,255,255,.58);
  --hair:       rgba(255,255,255,.13);

  --font:       'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --wrap:       1140px;
  --radius:     12px;
}


/* The shared chrome declares its own colours rather than inheriting the page's.
   A light page that redefines --fg on body was leaking dark text into the dark
   footer, which made half the footer unreadable. Chrome is now immune. */
.jp-hd, .jp-ft{
  --fg:#ffffff;
  --fg-soft:rgba(255,255,255,.80);
  --fg-mute:rgba(255,255,255,.62);
  --hair:rgba(255,255,255,.13);
  color:var(--fg);
}


/* A page whose hero is full-bleed video sets data-clear-nav. The bar then sits
   invisible over the footage and only takes its colour once you scroll, which
   is what the old site did and what Jeff wants back. */
body[data-clear-nav] .jp-hd{position:fixed;left:0;right:0;top:0;
  background:transparent;backdrop-filter:none;border-bottom-color:transparent;
  transition:background .25s ease,border-color .25s ease,backdrop-filter .25s ease}
body[data-clear-nav] .jp-hd.stuck{background:rgba(17,37,51,.95);backdrop-filter:blur(10px);
  border-bottom-color:var(--hair)}

/* ---------------------------------------------------------------- header */
.jp-hd{position:sticky;top:0;z-index:900;background:rgba(17,37,51,.95);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--hair)}
.jp-hd-in{max-width:var(--wrap);margin:0 auto;padding:12px 20px;
  display:flex;align-items:center;gap:18px}
.jp-logo{display:flex;align-items:center;gap:10px;text-decoration:none;flex:0 0 auto}
.jp-logo img{height:30px;width:auto;display:block;flex:0 0 auto}
.jp-logo b{font-family:var(--font);font-weight:800;font-size:.86rem;letter-spacing:.05em;
  color:var(--fg);line-height:1.1;white-space:nowrap}
.jp-logo b span{color:var(--teal);font-weight:600}
.jp-nav{margin-left:auto;display:flex;align-items:center;gap:19px}
.jp-nav a{font-family:var(--font);font-size:.735rem;font-weight:700;letter-spacing:.085em;
  text-transform:uppercase;color:var(--fg-soft);text-decoration:none;white-space:nowrap}
.jp-nav a:hover{color:var(--teal)}
.jp-nav a[aria-current="page"]{color:var(--teal)}
.jp-cta{background:var(--gold);color:#141414 !important;padding:10px 17px;border-radius:8px;
  letter-spacing:.07em !important}
.jp-cta:hover{background:var(--gold-hi);color:#141414 !important}
.jp-burger{display:none;margin-left:auto;background:none;border:0;color:var(--fg);
  font-size:1.6rem;line-height:1;cursor:pointer;padding:4px 6px}
@media (max-width:1080px){
  .jp-burger{display:block}
  .jp-nav{position:fixed;inset:54px 0 auto 0;flex-direction:column;align-items:stretch;
    gap:0;background:var(--ink-2);border-bottom:1px solid var(--hair);
    padding:8px 0 16px;margin:0;display:none}
  .jp-nav.open{display:flex}
  .jp-nav a{padding:15px 24px;border-bottom:1px solid var(--hair);font-size:.9rem}
  .jp-cta{margin:14px 24px 0;text-align:center;border-bottom:0 !important}
}

/* ---------------------------------------------------------------- footer
   Quiet by design. The page above it has already sold the book and already
   asked for the call, so this is a way out, not a second pitch. What it does
   carry is the spine: the six words the whole business runs on. */
.jp-ft{background:#0d1f2b;border-top:1px solid rgba(201,162,74,.5);
  font-family:var(--font);color:var(--fg-mute);font-size:.88rem;margin-top:0;
  text-align:center}
.jp-ft-in{max-width:var(--wrap);margin:0 auto;padding:40px 22px 30px}

/* Seen · Heard · Understood · Felt · Respected · Loved.
   Words in the JEFF PARKER white, dots in the LOVE gold. */
.jp-spine{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;
  gap:0;margin:0 0 26px;padding:0}
.jp-spine span{color:var(--fg);font-size:.74rem;font-weight:700;letter-spacing:.26em;
  text-transform:uppercase;white-space:nowrap;padding:3px 0}
.jp-spine span + span::before{content:"\00B7";color:var(--gold-hi);font-weight:700;
  letter-spacing:0;padding:0 .95em;display:inline-block}
@media (max-width:560px){
  .jp-spine span{font-size:.66rem;letter-spacing:.2em}
  .jp-spine span + span::before{padding:0 .6em}
}

.jp-ft-mark{display:inline-block;font-family:var(--font);font-weight:800;font-size:1rem;
  letter-spacing:.06em;color:var(--fg);text-decoration:none;margin-bottom:22px}
.jp-ft-mark b{color:var(--gold-hi);font-weight:600}

.jp-ft-nav{display:flex;justify-content:center;gap:26px;flex-wrap:wrap;margin-bottom:20px}
.jp-ft-nav a{color:var(--fg-soft);text-decoration:none;font-size:.93rem}
.jp-ft-nav a:hover{color:var(--gold-hi)}

.jp-ft-social{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;
  padding-top:20px;border-top:1px solid rgba(255,255,255,.1);
  max-width:620px;margin:0 auto}
.jp-ft-social a{color:var(--fg-mute);text-decoration:none;font-size:.74rem;
  letter-spacing:.13em;text-transform:uppercase;font-weight:700}
.jp-ft-social a:hover{color:var(--gold-hi)}

.jp-ft-btm{padding:16px 22px 28px;text-align:center;font-size:.78rem;
  color:rgba(255,255,255,.42)}

@media (max-width:420px){.jp-logo b{display:none}}
