/* ============================================================
   John Golden Executive Coaching & Advisory — shared styles
   Used by resources.html and the Insights article pages.
   (index/about/coaching currently use their own inline styles.)
   ============================================================ */

:root {
  --navy: #0f2138;
  --navy-deep: #0a1726;
  --navy-soft: #1c3454;
  --gold: #c9a35a;
  --gold-bright: #e0bd76;
  --ink: #1a2433;
  --muted: #5a6b80;
  --paper: #ffffff;
  --cloud: #f5f7fa;
  --line: #e3e8ef;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .num { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; font-optical-sizing: auto; }
h1, h2, h3, h4 { line-height: 1.16; margin: 0 0 0.5em; letter-spacing: -0.012em; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 1rem;
}

/* ---------- Header / Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 33, 56, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand .mark {
  width: 36px; height: 36px;
  border-radius: 0;
  background: url("brand/logo/mark-gold-transparent.png") center/contain no-repeat;
  box-shadow: none;
}
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-link {
  color: #c5d2e3;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: #fff; }
.nav-cta {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--gold-bright); transform: translateY(-1px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 10px 30px rgba(201, 163, 90, 0.35);
}
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); }

/* ---------- Page hero ---------- */
.page-hero {
  background:
    radial-gradient(1200px 600px at 82% -10%, rgba(201,163,90,0.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 80px 0 84px;
}
.page-hero .eyebrow { color: var(--gold-bright); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; max-width: 20ch; }
.page-hero .lede {
  font-size: clamp(1.12rem, 2vw, 1.3rem);
  color: #d6e0ee;
  max-width: 60ch;
  font-weight: 400;
  margin: 0;
}
.page-hero .lede strong { color: #fff; font-weight: 700; }

/* Faded JG watermark (shared across hero types) */
.page-hero, .article-head { position: relative; overflow: hidden; }
.page-hero > .wrap, .article-head > .wrap-narrow { position: relative; z-index: 1; }
.hero-photo {
  position: absolute;
  top: 0; right: 2%; bottom: 0;
  width: min(40%, 480px);
  background-position: center right;
  background-size: contain;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 720px) {
  .hero-photo { width: 62%; opacity: 0.45; }
}
.hero-watermark {
  display: none; /* removed: monogram watermark read as a template flourish */
  position: absolute;
  top: 50%;
  left: 56%;
  transform: translate(-50%, -50%);
  width: min(560px, 70vw);
  height: auto;
  opacity: 0.10;
  filter: saturate(1.5) brightness(1.12);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
@media (max-width: 720px) {
  .hero-watermark { left: 62%; width: 92vw; opacity: 0.07; }
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-cloud { background: var(--cloud); }
h2.section-title { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; max-width: 24ch; margin-bottom: 0.5em; }
.section-intro { font-size: clamp(1.04rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 62ch; margin: 0; }

/* ---------- Resource hub cards ---------- */
.res-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.res-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.res-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 33, 56, 0.12);
  border-color: var(--gold);
}
.res-card .kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 12px;
}
.res-card h3 { font-size: 1.22rem; font-weight: 800; color: var(--navy); margin: 0 0 0.4em; }
.res-card p { color: var(--muted); margin: 0 0 18px; font-size: 1rem; }
.res-card .go { margin-top: auto; font-weight: 700; color: var(--navy); font-size: 0.98rem; }
.res-card:hover .go { color: var(--gold); }

/* Media rows (books / podcast / press) */
.media-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.media-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.media-item h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 0 0 0.4em; }
.media-item p { color: var(--muted); font-size: 0.98rem; margin: 0 0 16px; }
.media-item .link { font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; font-size: 0.96rem; }
.media-item .link:hover { color: var(--gold); }

/* Podcast guest appearances */
.guest-block { margin-top: 48px; }
.guest-head { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: 0 0 0.3em; }
.ep-list { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 820px; }
.ep-list li { border-bottom: 1px solid var(--line); }
.ep-list a {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px;
  padding: 16px 2px; text-decoration: none; color: var(--ink); transition: color 0.15s ease;
}
.ep-list .ep-title { font-weight: 700; color: var(--navy); font-size: 1.04rem; }
.ep-list .ep-show { color: var(--muted); font-size: 0.95rem; }
.ep-list a:hover .ep-title, .ep-list a:hover .ep-show { color: var(--gold); }
.ep-all {
  display: inline-block; margin-top: 24px; font-weight: 700; color: var(--navy);
  text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}
.ep-all:hover { color: var(--gold); }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: 0.9rem; color: #9fb0c6; margin: 0 0 14px; }
.crumb a { color: #c5d2e3; text-decoration: none; }
.crumb a:hover { color: #fff; }

/* ---------- Article ---------- */
.article-head { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 64px 0 56px; }
.article-head .eyebrow { color: var(--gold-bright); }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; max-width: 22ch; }
.article-head .standfirst { font-size: clamp(1.1rem, 1.9vw, 1.28rem); color: #d6e0ee; max-width: 58ch; margin: 0.6em 0 1.4em; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: #9fb0c6; font-size: 0.9rem; }
.article-meta .by { color: #e0bd76; font-weight: 700; }

.article-body { padding: 60px 0 72px; }
.article-body p { font-size: 1.14rem; color: #2c3a4d; max-width: 70ch; }
.article-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 800; color: var(--navy); margin: 1.8em 0 0.5em; max-width: 24ch; }
.article-body h3 { font-size: 1.22rem; font-weight: 700; color: var(--navy); margin: 1.4em 0 0.4em; }
.article-body ul, .article-body ol { font-size: 1.14rem; color: #2c3a4d; max-width: 70ch; padding-left: 1.3em; }
.article-body li { margin: 0 0 8px; }
.article-body strong { color: var(--ink); }
.article-body blockquote {
  margin: 1.6em 0;
  padding: 6px 0 6px 26px;
  border-left: 4px solid var(--gold);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
}
.article-body .lead-in { font-size: 1.28rem; color: var(--ink); font-weight: 500; }

.article-cta {
  margin-top: 48px;
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 32px;
}
.article-cta h3 { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin: 0 0 0.4em; }
.article-cta p { font-size: 1.08rem; color: var(--muted); margin: 0 0 20px; max-width: 54ch; }

/* Article FAQ */
.a-faq { margin-top: 50px; }
.a-faq h2 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin: 0 0 0.6em; }
.a-faq .faq-item { border-top: 1px solid var(--line); padding: 22px 0; }
.a-faq .faq-item:last-child { border-bottom: 1px solid var(--line); }
.a-faq .faq-item h3 { font-size: 1.12rem; font-weight: 700; color: var(--navy); margin: 0 0 0.4em; }
.a-faq .faq-item p { font-size: 1.04rem; color: #38465a; margin: 0; max-width: 70ch; }

/* Related / back link */
.more-reading { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 34px; }
.more-reading .eyebrow { margin-bottom: 0.7rem; }

/* ---------- CTA band ---------- */
.cta {
  text-align: center;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; max-width: 18ch; margin: 0 auto 0.6em; }
.cta p { color: #c5d2e3; max-width: 52ch; margin: 0 auto 2rem; font-size: 1.15rem; }

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: #8ea2bd; padding: 36px 0; font-size: 0.9rem; }
.foot { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; }
.foot .brand-sm { color: #fff; font-weight: 700; }
.foot-info { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.foot-social { display: flex; align-items: center; gap: 10px; }
.foot-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: #8ea2bd; border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.foot-social a:hover { color: var(--navy-deep); background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.foot-social svg { width: 18px; height: 18px; display: block; }

@media (max-width: 600px) {
  section { padding: 54px 0; }
  .page-hero { padding: 60px 0 64px; }
  .nav { flex-wrap: wrap; height: auto; min-height: 68px; padding: 10px 0; row-gap: 8px; }
  .nav-right { gap: 12px; flex-wrap: wrap; }
  .nav-link { font-size: 0.9rem; }
  .nav-cta { padding: 9px 15px; font-size: 0.84rem; }
  .article-body p, .article-body ul, .article-body ol { font-size: 1.08rem; }
}
