/* ============================================================
   COACHING PEOPLE — brand tokens sampled from logo (LOGO.jpg)
   amber  #F5B629  (conversion accent — buttons, key links only)
   navy   #1C2A45  (structure: nav text, bands, footer)
   ============================================================ */
:root{
  --bg:        #FAF7F1;   /* warm off-white */
  --ink:       #1E2433;   /* near-black body, navy-leaning */
  --navy:      #1C2A45;
  --navy-deep: #16213A;
  --amber:     #F5B629;
  --amber-dk:  #D89B0E;   /* hover / text-on-light */
  --muted:     #5C6474;
  --line:      #E8E1D3;
  --paper:     #FFFFFF;
  --max: 1120px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  background:var(--bg);
  color:var(--ink);
  font-family:'Inter', system-ui, -apple-system, sans-serif;
  font-size:17px; line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:var(--navy); }

h1,h2,h3,.serif{
  font-family:'Newsreader', Georgia, serif;
  font-weight:500; line-height:1.12; color:var(--navy);
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.6rem, 5.8vw, 4.6rem); letter-spacing:-0.02em; line-height:1.06; }
h2{ font-size:clamp(1.7rem, 3.2vw, 2.4rem); }
h3{ font-size:1.25rem; line-height:1.3; }

.wrap{ max-width:var(--max); margin:0 auto; padding:0 24px; }
.eyebrow{
  font-size:.78rem; font-weight:600; letter-spacing:.14em;
  text-transform:uppercase; color:var(--amber-dk); margin-bottom:14px;
}
.muted{ color:var(--muted); }

/* Placeholder highlighting — pending Luca's input */
.ph{ border-bottom:2px dotted var(--amber); cursor:help; }

/* ---------- Nav ---------- */
.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(250,247,241,.92); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav-in{
  max-width:var(--max); margin:0 auto; padding:14px 24px;
  display:flex; align-items:center; gap:28px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none; margin-right:auto;
}
.brand img{ height:34px; width:auto; }
.brand-word{
  font-family:'Inter'; font-weight:800; font-size:.98rem;
  letter-spacing:.02em;
}
.brand-word .c{ color:var(--amber-dk); }
.brand-word .p{ color:var(--navy); }
.nav a.link{
  text-decoration:none; font-size:.92rem; font-weight:500; color:var(--navy);
}
.nav a.link:hover{ color:var(--amber-dk); }
.btn{
  display:inline-block; background:var(--amber); color:var(--navy-deep);
  font-weight:700; font-size:.95rem; text-decoration:none;
  padding:11px 22px; border-radius:6px;
  transition:background .15s ease, transform .15s ease;
}
.btn:hover{ background:var(--amber-dk); color:#fff; transform:translateY(-1px); }
.btn.big{ padding:15px 30px; font-size:1.02rem; }
.btn-ghost{
  display:inline-block; font-weight:600; font-size:.95rem;
  color:var(--navy); text-decoration:none;
  border-bottom:2px solid var(--amber); padding-bottom:2px;
}
.btn-ghost:hover{ color:var(--amber-dk); }

/* ---------- Hero ---------- */
.hero{ padding:72px 0 84px; overflow:hidden; }
.hero-grid{
  display:grid; grid-template-columns:1.15fr .85fr;
  gap:56px; align-items:center;
}
.hero h1{ margin-bottom:22px; }
.hero .lead{ font-size:1.16rem; color:var(--muted); max-width:34em; margin-bottom:30px; }
.hero-cta{ display:flex; align-items:center; gap:26px; flex-wrap:wrap; }
.hero-note{ font-size:.85rem; color:var(--muted); margin-top:14px; }

.portrait-wrap{ position:relative; }
.portrait-wrap .echo{
  position:absolute; inset:-9% -14% auto auto; width:78%; opacity:.16; z-index:0;
}
.portrait{
  position:relative; z-index:1; border-radius:10px;
  box-shadow:0 24px 60px -24px rgba(28,42,69,.35);
  aspect-ratio:4/5; object-fit:cover; width:100%;
}

/* ---------- Thesis band ---------- */
.thesis{ background:var(--navy); padding:64px 0; }
.thesis p{
  font-family:'Newsreader', Georgia, serif;
  font-size:clamp(1.5rem, 3vw, 2.1rem); line-height:1.35;
  color:#F4EFE4; max-width:22em; margin:0 auto; text-align:center;
}
.thesis em{ font-style:normal; color:var(--amber); }

/* ---------- Sections ---------- */
.section{ padding:88px 0; }
.section.alt{ background:var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.two-col h2{ margin-bottom:18px; }
.two-col .body p{ margin-bottom:16px; }

.checks{ list-style:none; margin:22px 0 30px; }
.checks li{
  padding-left:34px; position:relative; margin-bottom:14px; color:var(--ink);
}
.checks li::before{
  content:""; position:absolute; left:0; top:.32em;
  width:18px; height:18px; border-radius:50%;
  background:var(--amber);
  box-shadow:inset 0 0 0 5px var(--navy);
}
.side-img{
  border-radius:10px; box-shadow:0 20px 50px -22px rgba(28,42,69,.3);
  aspect-ratio:4/5; object-fit:cover; width:100%;
}
.side-img.wide{ aspect-ratio:3/2; }

/* ---------- Footer ---------- */
.footer{ background:var(--navy-deep); color:#B9C1D2; padding:48px 0 40px; font-size:.9rem; }
.footer-in{
  max-width:var(--max); margin:0 auto; padding:0 24px;
  display:flex; align-items:center; gap:24px; flex-wrap:wrap;
}
.footer a{ color:#E8DFC9; text-decoration:none; }
.footer a:hover{ color:var(--amber); }
.footer .spacer{ margin-left:auto; }

/* ---------- Toolkit page hero ---------- */
.lp-hero{ padding:80px 0 64px; text-align:center; }
.lp-hero h1{ max-width:16em; margin:0 auto 20px; }
.lp-hero .lead{ font-size:1.15rem; color:var(--muted); max-width:36em; margin:0 auto 34px; }
.lp-card{
  background:var(--paper); border:1px solid var(--line); border-radius:12px;
  max-width:760px; margin:0 auto; padding:44px 48px; text-align:left;
}

/* ---------- Motion ---------- */
.fade{ opacity:0; transform:translateY(14px); animation:fadeup .7s ease forwards; }
.fade.d1{ animation-delay:.12s } .fade.d2{ animation-delay:.24s }
@keyframes fadeup{ to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){
  .fade{ animation:none; opacity:1; transform:none; }
  html{ scroll-behavior:auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px){
  .hero{ padding:44px 0 56px; }
  .hero-grid, .two-col{ grid-template-columns:1fr; gap:40px; }
  .portrait-wrap{ max-width:420px; }
  .two-col.img-first .col-img{ order:-1; }
  .nav a.link{ display:none; }
  .section{ padding:64px 0; }
  .lp-card{ padding:32px 24px; }
}
:focus-visible{ outline:3px solid var(--amber); outline-offset:2px; }

/* ============================================================
   v1.1 additions
   ============================================================ */

/* --- Mobile menu (no-JS checkbox pattern) --- */
.menu-t{ display:none; }
.menu-btn{ display:none; cursor:pointer; margin-left:6px; }
.menu-btn svg{ display:block; }
.nav-links{ display:flex; align-items:center; gap:28px; }

@media (max-width: 880px){
  .menu-btn{ display:block; }
  .nav-links{
    display:none; position:absolute; top:100%; left:0; right:0;
    background:var(--bg); border-bottom:1px solid var(--line);
    flex-direction:column; align-items:flex-start;
    padding:18px 24px 22px; gap:18px;
  }
  .menu-t:checked ~ .nav-links{ display:flex; }
  .nav a.link{ display:block; font-size:1.05rem; }
  .nav-in{ position:relative; }
}

/* --- Substack embed card --- */
.embed-card{
  background:#fff; border:1px solid var(--line); border-radius:10px;
  padding:10px 12px 6px; max-width:500px;
}
.embed-card iframe{ width:100%; height:320px; border:none; display:block; }
.subscribe-band .embed-card{ margin:26px auto 0; border:none; box-shadow:0 18px 46px -20px rgba(0,0,0,.45); }

/* --- Pre-footer subscribe band (gold-on-deep-blue block per original spec) --- */
.subscribe-band{ background:var(--navy); padding:76px 0 80px; text-align:center; }
.subscribe-band h2{ color:#F4EFE4; margin-bottom:14px; }
.subscribe-band h2 em{ font-style:normal; color:var(--amber); }
.subscribe-band p{ color:#B9C1D2; max-width:36em; margin:0 auto; }

/* --- LinkedIn button (About) --- */
.btn-li{
  display:inline-flex; align-items:center; gap:9px;
  border:1.5px solid var(--navy); border-radius:6px;
  padding:9px 18px; text-decoration:none; font-weight:600; font-size:.92rem;
  color:var(--navy); transition:all .15s ease;
}
.btn-li:hover{ background:var(--navy); color:#fff; }
.btn-li svg{ width:16px; height:16px; fill:currentColor; }


/* --- v1.3 additions --- */
.narrow{ max-width:680px; margin:0 auto; }
.closing-line{
  font-family:'Newsreader', Georgia, serif; font-size:1.4rem;
  color:var(--navy); margin-top:26px;
}
.diag-q{
  font-family:'Newsreader', Georgia, serif; font-style:italic;
  font-size:1.22rem; color:var(--navy); margin:26px 0 18px;
}
.pivot{
  border-left:4px solid var(--amber); padding:6px 0 6px 26px; margin:36px 0;
}
.creds-card{
  background:var(--paper); border:1px solid var(--line); border-radius:12px;
  padding:40px 44px; max-width:780px; margin:0 auto;
}
.creds-card .intro{ font-style:italic; color:var(--muted); margin-bottom:18px; font-size:.95rem; }
.creds-card p{ margin-bottom:14px; }
@media (max-width:880px){ .creds-card{ padding:28px 22px; } }


/* --- embed fallback line --- */
.embed-fallback{
  font-size:.82rem; color:var(--muted); text-align:center;
  margin:8px 0 4px;
}
.embed-fallback a{ color:var(--amber-dk); font-weight:600; }
/* CSS width still wins over the attribute, keeping embeds responsive */
