/* ==========================================================
   PerspectiveWise — shared styles
   Token system:
   --bg        warm paper (not stark cream)
   --bg-alt    slightly deeper paper for alternating sections
   --surface   card/panel background
   --ink       deep navy-charcoal text (ties to assessment's navy)
   --ink-muted secondary text
   --gold      ochre accent (clarity, the "path")
   --gold-soft lighter gold for washes/backgrounds
   --rose      muted mauve-rose accent (the human, the pain)
   --line      hairline borders/dividers
   ========================================================== */
:root{
  --bg:#f3eee3;
  --bg-alt:#ece4d3;
  --surface:#fffdf9;
  --ink:#22273c;
  --ink-muted:#666c82;
  --gold:#b8863e;
  --gold-soft:#e4c98a;
  --rose:#a85d68;
  --line:#ddd2b9;
  --max:1080px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Inter',sans-serif;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:'Fraunces',serif;
  font-optical-sizing:auto;
  font-weight:500;
  line-height:1.2;
  margin:0;
}
p{margin:0;}
a{color:inherit;}
img{max-width:100%; display:block;}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 24px;
}

.eyebrow{
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:600;
}

/* ---------- Header ---------- */
.site-header{
  padding:22px 0;
  border-bottom:1px solid var(--line);
}
.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{
  font-family:'Fraunces',serif;
  font-weight:500;
  font-size:19px;
  letter-spacing:0.01em;
  text-decoration:none;
  color:var(--ink);
}
.logo span{color:var(--gold);}
.nav-cta{
  background:var(--ink);
  color:var(--surface);
  padding:10px 20px;
  border-radius:8px;
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  transition:background 0.15s ease;
}
.nav-cta:hover{background:var(--gold);}

/* ---------- Path signature (desktop only) ---------- */
.path-page{position:relative;}
.path-rail{
  position:absolute;
  left:calc(50% - var(--max)/2 - 46px);
  top:0;
  height:100%;
  width:40px;
  pointer-events:none;
}
.path-rail svg{width:40px; height:100%; display:block;}
@media (max-width:1240px){
  .path-rail{display:none;}
}

/* ---------- Section base ---------- */
.section{
  padding:88px 0;
  position:relative;
}
.section.alt{background:var(--bg-alt);}
.section-inner{position:relative;}
.waypoint{
  position:absolute;
  left:-52px;
  top:6px;
  width:14px;height:14px;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 0 5px var(--bg);
}
@media (max-width:1240px){
  .waypoint{display:none;}
}

/* ---------- Hero ---------- */
.hero{
  padding:110px 0 90px;
  text-align:center;
}
.hero .eyebrow{margin-bottom:18px;}
.hero h1{
  font-size:clamp(30px,4.6vw,46px);
  max-width:760px;
  margin:0 auto 22px;
}
.hero .sub{
  max-width:560px;
  margin:0 auto 34px;
  color:var(--ink-muted);
  font-size:17px;
  line-height:1.65;
}
.btn-primary{
  display:inline-block;
  background:var(--gold);
  color:#fffdf9;
  padding:16px 32px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  font-size:15px;
  transition:filter 0.15s ease, transform 0.1s ease;
}
.btn-primary:hover{filter:brightness(0.94);}
.btn-primary:active{transform:scale(0.98);}
.microcopy{
  margin-top:14px;
  font-size:13px;
  color:var(--ink-muted);
}

/* ---------- Credibility strip ---------- */
.cred-strip{
  padding:34px 0;
  background:var(--surface);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.cred-strip .wrap{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px 40px;
}
.cred-item{
  font-size:13px;
  letter-spacing:0.03em;
  color:var(--ink-muted);
  text-align:center;
}
.cred-item strong{color:var(--ink); font-weight:600;}

/* ---------- Why this exists ---------- */
.why-grid{
  display:grid;
  grid-template-columns:200px 1fr;
  gap:48px;
  align-items:start;
}
.why-portrait{
  width:200px; height:200px;
  border-radius:50%;
  background:linear-gradient(160deg, var(--gold-soft), var(--rose));
  display:flex; align-items:center; justify-content:center;
  color:#fffdf9;
  font-family:'Fraunces',serif;
  font-size:15px;
  text-align:center;
  padding:20px;
}
.why-grid h2{font-size:28px; margin-bottom:16px;}
.why-grid p{color:var(--ink-muted); margin-bottom:14px; font-size:16px;}
.why-grid p:last-of-type{margin-bottom:22px;}
.why-grid .signature{
  font-family:'Fraunces',serif;
  font-style:italic;
  color:var(--ink);
}
.inline-cta{
  display:inline-block;
  color:var(--gold);
  text-decoration:none;
  font-weight:600;
  font-size:15px;
  border-bottom:1px solid var(--gold);
  padding-bottom:2px;
}
@media (max-width:680px){
  .why-grid{grid-template-columns:1fr; text-align:center;}
  .why-portrait{margin:0 auto;}
}

/* ---------- Two paths ---------- */
.paths-heading{text-align:center; margin-bottom:44px;}
.paths-heading .eyebrow{display:block; margin-bottom:12px;}
.paths-heading h2{font-size:28px; max-width:600px; margin:0 auto;}
.path-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px;
}
.path-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:16px;
  padding:32px 28px;
}
.path-card h3{font-size:20px; margin-bottom:12px;}
.path-card p{color:var(--ink-muted); font-size:15px;}
.path-card.rose-accent{border-top:3px solid var(--rose);}
.path-card.gold-accent{border-top:3px solid var(--gold);}
.paths-footer{
  text-align:center;
  margin-top:36px;
}
.paths-footer p{color:var(--ink-muted); font-size:14px; margin-bottom:16px;}
@media (max-width:680px){
  .path-cards{grid-template-columns:1fr;}
}

/* ---------- Book mention ---------- */
.book-band{
  display:flex;
  align-items:center;
  gap:32px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:16px;
  padding:32px;
}
.book-cover{
  width:110px; height:150px;
  flex-shrink:0;
  border-radius:6px;
  background:linear-gradient(160deg, var(--ink), #3a4166);
  display:flex; align-items:center; justify-content:center;
  color:var(--gold-soft);
  font-family:'Fraunces',serif;
  font-size:12px;
  text-align:center;
  padding:12px;
}
.book-band h3{font-size:19px; margin-bottom:8px;}
.book-band p{color:var(--ink-muted); font-size:14px; margin-bottom:14px;}
@media (max-width:560px){
  .book-band{flex-direction:column; text-align:center;}
}

/* ---------- Footer ---------- */
.site-footer{
  padding:40px 0;
  border-top:1px solid var(--line);
  text-align:center;
}
.site-footer .wrap{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-links{
  display:flex;
  gap:20px;
  justify-content:center;
  flex-wrap:wrap;
  font-size:13px;
}
.footer-links a{text-decoration:none; color:var(--ink-muted);}
.footer-links a:hover{color:var(--gold);}
.footer-copy{font-size:12px; color:var(--ink-muted);}

/* ---------- Simple content pages (privacy policy etc) ---------- */
.content-page{padding:70px 0 100px;}
.content-page h1{font-size:32px; margin-bottom:24px;}
.content-page h2{font-size:20px; margin:32px 0 12px;}
.content-page p, .content-page li{color:var(--ink-muted); font-size:15px; margin-bottom:14px;}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  .btn-primary, .nav-cta{transition:none;}
}
