/*
Theme Name: Candid
Theme URI: https://candidcoaching.nl
Author: Martijn de Visser
Author URI: https://martijndevisser.nl
Description: Custom theme for Candid Coaching — Lea-Jade's private coaching practice in Amsterdam. Editorial pacing, quiet depth aesthetic.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: candid
Tags: one-page, custom-colors, custom-menu, threaded-comments, translation-ready
*/

:root{
  --dark:#322a22;
  --darkest:#1f1a15;
  --light:#ece5d8;
  --light-alt:#f1ece1;
  --on-dark:#ece5d8;
  --on-dark-soft:#b3a890;
  --on-light:#2e2a25;
  --on-light-soft:#6b6357;
  --accent-light:#6b5d4a;
  --accent-dark:#a89c88;
}

*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Hanken Grotesk',sans-serif;
  font-weight:400;
  font-size:17px;
  line-height:1.7;
  color:var(--on-light);
  background:var(--light);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

h1,h2,h3{
  font-family:'Spectral',serif;
  font-weight:300;
  line-height:1.25;
  letter-spacing:-0.005em;
}

a{color:inherit;}
img{display:block;max-width:100%;height:auto;}
button{font:inherit;color:inherit;}

/* ---------- Layout helpers ---------- */
.wrap{
  max-width:1080px;
  margin:0 auto;
  padding:0 28px;
}

section{
  padding:128px 0;
}

.eyebrow{
  font-size:12px;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:0.14em;
  margin-bottom:22px;
}
.eyebrow.on-light{color:var(--accent-light);}
.eyebrow.on-dark{color:var(--accent-dark);}

.section-dark{background:var(--dark);color:var(--on-dark);}
.section-darkest{background:var(--darkest);color:var(--on-dark);}
.section-light{background:var(--light);color:var(--on-light);}
.section-light-alt{background:var(--light-alt);color:var(--on-light);}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;
  font-family:'Hanken Grotesk',sans-serif;
  font-size:14px;
  font-weight:500;
  letter-spacing:0.04em;
  padding:15px 28px;
  border-radius:2px;
  border:1px solid transparent;
  cursor:pointer;
  text-decoration:none;
  transition:opacity .25s ease, background .25s ease, color .25s ease;
}
.btn-on-dark{background:var(--light);color:var(--dark);}
.btn-on-dark:hover{opacity:.82;}
.btn-on-light{background:var(--dark);color:var(--light);}
.btn-on-light:hover{opacity:.85;}

.link-quiet{
  font-size:14px;
  font-weight:500;
  letter-spacing:0.04em;
  text-decoration:none;
  border-bottom:1px solid currentColor;
  padding-bottom:3px;
  transition:opacity .25s ease;
}
.link-quiet:hover{opacity:.65;}

/* ---------- Nav ---------- */
.nav{
  position:fixed;
  top:0;left:0;right:0;
  z-index:100;
  transition:background .35s ease, border-color .35s ease, box-shadow .35s ease;
  background:transparent;
  border-bottom:1px solid transparent;
}
.nav-inner{
  max-width:1080px;
  margin:0 auto;
  padding:18px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.nav-brand{
  font-family:'Spectral',serif;
  font-weight:400;
  font-size:20px;
  letter-spacing:0.01em;
  color:var(--on-dark);
  text-decoration:none;
  transition:color .35s ease;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:34px;
  list-style:none;
}
.nav-links a{
  font-size:14px;
  font-weight:400;
  letter-spacing:0.03em;
  text-decoration:none;
  color:var(--on-dark);
  transition:color .35s ease, opacity .2s ease;
}
.nav-links a:hover{opacity:.65;}
.nav-cta{
  font-size:13px !important;
  font-weight:500 !important;
  letter-spacing:0.04em;
  padding:11px 20px;
  border-radius:2px;
  border:1px solid var(--on-dark);
  background:transparent;
  color:var(--on-dark) !important;
  text-decoration:none;
  transition:background .3s ease, color .3s ease;
}
.nav-cta:hover{background:var(--on-dark);color:var(--dark) !important;opacity:1 !important;}

.nav.scrolled{
  background:var(--dark);
  border-bottom:1px solid rgba(168,156,136,0.22);
}

.nav-toggle{display:none;}

/* Inner-page nav variants (when page background is light) */
.nav.inner{background:var(--dark);border-bottom:1px solid rgba(168,156,136,0.22);}

/* ---------- Hero ---------- */
.hero{
  background:var(--dark);
  color:var(--on-dark);
  padding:184px 0 128px;
}
.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.hero h1{
  font-size:54px;
  margin:24px 0 26px;
  max-width:12ch;
}
.hero-sub{
  color:var(--on-dark-soft);
  font-weight:300;
  font-size:19px;
  max-width:36ch;
  margin-bottom:38px;
}
.hero-actions{
  display:flex;
  align-items:center;
  gap:30px;
  flex-wrap:wrap;
}
.hero-figure{
  position:relative;
}
.hero-figure img{
  width:100%;
  aspect-ratio:3/2;
  object-fit:cover;
  border-radius:2px;
  border:1px solid rgba(168,156,136,0.28);
}

/* ---------- About ---------- */
.about-grid{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:64px;
  align-items:center;
}
.about-figure img{
  width:100%;
  aspect-ratio:3/4;
  object-fit:cover;
  border-radius:2px;
}
.about h2{
  font-size:38px;
  margin-bottom:26px;
}
.about p{margin-bottom:20px;color:var(--on-light);}
.about p.soft{color:var(--on-light-soft);}
.smallprint{
  margin-top:30px;
  padding-top:24px;
  border-top:1px solid rgba(107,93,74,0.32);
  font-style:italic;
  font-size:15px;
  line-height:1.6;
  color:var(--on-light-soft);
}

/* ---------- Section heading block ---------- */
.head-block{
  max-width:30ch;
  margin-bottom:64px;
}
.head-block h2{
  font-size:38px;
}
.head-block.centered{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

/* ---------- How I Can Help — pillars ---------- */
.pillars{
  display:grid;
  grid-template-columns:1fr 1fr;
}
.pillar{
  padding:42px 40px;
  border-top:1px solid rgba(168,156,136,0.26);
}
.pillar:nth-child(1),
.pillar:nth-child(2){border-top:none;}
.pillar:nth-child(odd){padding-left:0;}
.pillar:nth-child(even){
  padding-right:0;
  border-left:1px solid rgba(168,156,136,0.26);
}
.pillar-num{
  font-family:'Spectral',serif;
  font-size:14px;
  color:var(--accent-dark);
  margin-bottom:14px;
}
.pillar h3{
  font-size:23px;
  margin-bottom:12px;
}
.pillar p{
  color:var(--on-dark-soft);
  font-weight:300;
  font-size:16px;
}
.who-for{
  margin-top:60px;
  padding-top:34px;
  border-top:1px solid rgba(168,156,136,0.26);
  font-size:16px;
  color:var(--on-dark-soft);
  font-weight:300;
  max-width:62ch;
}
.who-for strong{
  color:var(--on-dark);
  font-weight:500;
}

/* ---------- What to Expect ---------- */
.expect-grid{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:64px;
  align-items:center;
}
.expect h2{font-size:38px;margin-bottom:24px;}
.expect-body{
  color:var(--on-dark-soft);
  font-weight:300;
  margin-bottom:30px;
}
.expect-list{
  list-style:none;
  margin-bottom:34px;
}
.expect-list li{
  padding:13px 0;
  border-bottom:1px solid rgba(168,156,136,0.22);
  font-size:16px;
  display:flex;
  gap:14px;
  align-items:baseline;
}
.expect-list li:first-child{border-top:1px solid rgba(168,156,136,0.22);}
.expect-list li::before{
  content:"";
  flex:0 0 5px;
  width:5px;height:5px;
  border-radius:50%;
  background:var(--accent-dark);
  transform:translateY(-2px);
}
.descriptors{
  font-family:'Spectral',serif;
  font-weight:300;
  font-size:18px;
  color:var(--on-dark);
  line-height:1.8;
}
.descriptors .mid{
  color:var(--accent-dark);
  margin:0 9px;
}
.expect-figure img{
  width:100%;
  aspect-ratio:3/4;
  object-fit:cover;
  border-radius:2px;
  border:1px solid rgba(168,156,136,0.26);
}

/* ---------- Coaching Experiences ---------- */
.coaching-intro{
  max-width:54ch;
  margin:0 auto 56px;
  text-align:center;
  color:var(--on-light-soft);
  font-weight:300;
}
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.card{
  border:1px solid rgba(107,93,74,0.34);
  border-radius:2px;
  padding:38px 32px;
  display:flex;
  flex-direction:column;
  background:var(--light-alt);
}
.card h3{
  font-size:24px;
  margin-bottom:6px;
}
.card-tag{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.13em;
  color:var(--accent-light);
  margin-bottom:20px;
  font-weight:500;
}
.card-desc{
  font-size:15px;
  color:var(--on-light-soft);
  font-weight:300;
  margin-bottom:22px;
}
.card-includes{
  font-size:14px;
  color:var(--on-light);
  line-height:1.65;
  padding-top:22px;
  border-top:1px solid rgba(107,93,74,0.28);
}
.card-includes .lbl{
  display:block;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:0.12em;
  color:var(--on-light-soft);
  margin-bottom:8px;
}
.card-price{
  margin-top:auto;
  padding-top:24px;
  font-family:'Spectral',serif;
  font-size:26px;
  font-weight:300;
}
.card-price span{
  font-family:'Hanken Grotesk',sans-serif;
  font-size:14px;
  color:var(--on-light-soft);
}
.coaching-close{
  margin-top:50px;
  text-align:center;
  font-family:'Spectral',serif;
  font-weight:300;
  font-size:21px;
  color:var(--on-light);
}

/* ---------- Discovery Call section (on home) ---------- */
.discovery-cta{text-align:center;}
.discovery-cta .wrap{max-width:680px;}
.discovery-cta h2{
  font-size:40px;
  margin-bottom:24px;
}
.discovery-body{
  color:var(--on-dark-soft);
  font-weight:300;
  margin-bottom:24px;
}
.discovery-small{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:0.12em;
  color:var(--accent-dark);
  margin-bottom:34px;
}

/* ---------- FAQ ---------- */
.faq .wrap{max-width:760px;}
.faq-list{
  border-top:1px solid rgba(107,93,74,0.3);
}
.faq-item{
  border-bottom:1px solid rgba(107,93,74,0.3);
}
.faq-q{
  width:100%;
  background:none;
  border:none;
  cursor:pointer;
  text-align:left;
  font-family:'Spectral',serif;
  font-weight:300;
  font-size:21px;
  color:var(--on-light);
  padding:26px 40px 26px 0;
  position:relative;
  display:block;
}
.faq-q .sign{
  position:absolute;
  right:2px;
  top:50%;
  transform:translateY(-50%);
  width:16px;height:16px;
  transition:transform .3s ease;
}
.faq-q .sign::before,
.faq-q .sign::after{
  content:"";
  position:absolute;
  background:var(--accent-light);
  left:50%;top:50%;
}
.faq-q .sign::before{
  width:14px;height:1px;
  transform:translate(-50%,-50%);
}
.faq-q .sign::after{
  width:1px;height:14px;
  transform:translate(-50%,-50%);
  transition:opacity .3s ease;
}
.faq-item.open .faq-q .sign::after{opacity:0;}
.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease;
}
.faq-a-inner{
  padding:0 48px 28px 0;
  color:var(--on-light-soft);
  font-weight:300;
  font-size:16px;
}

/* ---------- Closing CTA / Footer ---------- */
.closing{
  background:var(--darkest);
  color:var(--on-dark);
  text-align:center;
  padding:140px 0;
}
.closing h2{
  font-size:46px;
  max-width:18ch;
  margin:0 auto 26px;
}
.closing-sub{
  color:var(--on-dark-soft);
  font-weight:300;
  max-width:46ch;
  margin:0 auto 40px;
}
/* Footer rail — always its own dark band so muted text keeps strong contrast. */
.site-footer{
  background:var(--darkest);
  color:var(--on-dark);
  border-top:1px solid rgba(168,156,136,0.16);
  padding:48px 0 56px;
}
.footer-inner{
  display:flex;
  flex-wrap:wrap;
  gap:18px 40px;
  align-items:center;
  justify-content:space-between;
  font-size:14px;
  color:var(--on-dark-soft);
}
.footer-inner a{text-decoration:none;border-bottom:1px solid rgba(168,156,136,0.4);padding-bottom:2px;}
.footer-inner a:hover{color:var(--on-dark);}
.footer-brand{
  font-family:'Spectral',serif;
  font-size:18px;
  color:var(--on-dark);
}
.footer-fine{
  margin-top:26px;
  font-size:12.5px;
  color:#9a8e7a; /* lifted from #7a7060 to meet WCAG AA on the dark footer */
  line-height:1.7;
  text-align:center;
}
.footer-fine p{margin-bottom:4px;}
.footer-fine a{color:#9a8e7a;text-decoration:none;border-bottom:1px solid rgba(168,156,136,0.3);padding-bottom:1px;}
.footer-fine a:hover{color:var(--on-dark);}
.placeholder-note{
  margin-top:18px;
  font-size:12px;
  font-style:italic;
  color:#948a76; /* lifted from #6b6254 to meet WCAG AA on the dark footer */
  line-height:1.7;
  max-width:70ch;
  margin-left:auto;
  margin-right:auto;
}

/* ---------- Subpage (Discovery Call booking page, Privacy) ---------- */
.subpage{
  background:var(--light);
  color:var(--on-light);
  padding:160px 0 96px;
  min-height:60vh;
}
.subpage .wrap{max-width:780px;}
.subpage h1{
  font-size:46px;
  margin-bottom:24px;
}
.subpage .lead{
  color:var(--on-light-soft);
  font-size:19px;
  font-weight:300;
  margin-bottom:40px;
  max-width:50ch;
}
.subpage-body p{margin-bottom:18px;}
.subpage-body h2{font-size:28px;margin:40px 0 16px;}
.subpage-body h3{font-size:22px;margin:32px 0 12px;}
.subpage-body ul,
.subpage-body ol{margin:0 0 20px 22px;}
.subpage-body li{margin-bottom:8px;}
.subpage-body a{border-bottom:1px solid rgba(107,93,74,0.4);text-decoration:none;}
.subpage-body a:hover{border-color:var(--on-light);}

.booking-shell{
  background:var(--light-alt);
  border:1px solid rgba(107,93,74,0.24);
  border-radius:3px;
  padding:36px;
  margin:32px 0;
}
.booking-shell-empty{
  text-align:center;
  color:var(--on-light-soft);
  font-style:italic;
}
.booking-fallback{text-align:center;padding:14px 0;}
.booking-fallback-lead{
  font-family:'Spectral',serif;
  font-size:22px;
  font-weight:300;
  color:var(--on-light);
  margin-bottom:14px;
}
.booking-fallback-body{
  color:var(--on-light-soft);
  font-weight:300;
  max-width:46ch;
  margin:0 auto 26px;
}
.booking-fallback-body a{border-bottom:1px solid rgba(107,93,74,0.4);text-decoration:none;}
.booking-admin-hint{
  margin-top:26px;
  padding-top:18px;
  border-top:1px dashed rgba(107,93,74,0.3);
  font-size:13px;
  color:var(--on-light-soft);
  text-align:center;
}
.booking-admin-hint a{border-bottom:1px solid rgba(107,93,74,0.4);text-decoration:none;}

/* ---------- WordPress generic content (Privacy etc.) ---------- */
.subpage-body img{margin:18px 0;border-radius:2px;}
.subpage-body blockquote{
  border-left:2px solid var(--accent-light);
  padding-left:20px;
  margin:24px 0;
  color:var(--on-light-soft);
  font-style:italic;
}
.subpage-body code{
  background:rgba(107,93,74,0.08);
  padding:2px 6px;
  border-radius:2px;
  font-size:0.92em;
}

/* ---------- 404 ---------- */
.notfound{
  background:var(--dark);
  color:var(--on-dark);
  min-height:100vh;
  display:flex;
  align-items:center;
  text-align:center;
  padding:120px 0;
}
.notfound h1{font-size:64px;margin-bottom:18px;}
.notfound p{color:var(--on-dark-soft);margin-bottom:30px;font-weight:300;}

/* ---------- WordPress admin bar offset ---------- */
body.admin-bar .nav{top:32px;}
@media(max-width:782px){
  body.admin-bar .nav{top:46px;}
}

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta{
  display:none;
}
@media(max-width:860px){
  .sticky-cta{
    display:block;
    position:fixed;
    left:14px;right:14px;bottom:14px;
    z-index:90;
    transform:translateY(140%);
    transition:transform .4s cubic-bezier(.2,.7,.3,1);
  }
  .sticky-cta.show{transform:translateY(0);}
  .sticky-cta a{
    display:block;
    text-align:center;
    background:var(--dark);
    color:var(--on-dark);
    font-family:'Hanken Grotesk',sans-serif;
    font-size:15px;
    font-weight:500;
    letter-spacing:0.03em;
    padding:16px 22px;
    border-radius:3px;
    text-decoration:none;
    box-shadow:0 8px 28px rgba(31,26,21,0.38);
    border:1px solid rgba(168,156,136,0.3);
  }
}

/* ---------- Skip link (a11y) ---------- */
.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip-link:focus{
  position:fixed;
  top:10px;left:10px;
  width:auto;height:auto;
  padding:10px 16px;
  background:var(--on-dark);
  color:var(--dark);
  z-index:9999;
  text-decoration:none;
  border-radius:2px;
}

/* ---------- Responsive ---------- */
@media(max-width:860px){
  section{padding:72px 0;}
  .hero{padding:132px 0 72px;}

  .nav-links{
    position:fixed;
    top:0;right:0;
    height:100vh;
    width:74%;
    max-width:320px;
    background:var(--dark);
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:28px;
    padding:0 36px;
    transform:translateX(100%);
    transition:transform .35s ease;
    border-left:1px solid rgba(168,156,136,0.22);
  }
  .nav-links.open{transform:translateX(0);}
  .nav-links a{color:var(--on-dark);font-size:18px;}
  .nav-cta{color:var(--on-dark);border-color:var(--on-dark);}
  .nav-toggle{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    width:34px;height:34px;
    background:none;border:none;cursor:pointer;
    z-index:120;
  }
  .nav-toggle span{
    display:block;
    height:1.5px;
    width:24px;
    background:var(--on-dark);
    transition:transform .3s ease, opacity .3s ease;
  }
  .nav-toggle.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
  .nav-toggle.open span:nth-child(2){opacity:0;}
  .nav-toggle.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}

  .hero-grid,
  .about-grid,
  .expect-grid{
    grid-template-columns:1fr;
    gap:44px;
  }
  .hero h1{font-size:38px;}
  .hero-sub,.hero h1{max-width:none;}
  .about-figure{order:-1;}
  .about-figure img,
  .expect-figure img{aspect-ratio:3/2;}
  .about h2,.expect h2,.head-block h2{font-size:30px;}
  .discovery-cta h2{font-size:32px;}
  .closing h2{font-size:33px;}
  .subpage h1{font-size:32px;}

  .pillars{grid-template-columns:1fr;}
  .pillar{padding:34px 0;border-top:1px solid rgba(168,156,136,0.26);border-left:none !important;}
  .pillar:nth-child(1){border-top:none;}
  .pillar:nth-child(2){border-top:1px solid rgba(168,156,136,0.26);}

  .cards{grid-template-columns:1fr;}
  .head-block{margin-bottom:44px;}
  .closing{padding:88px 0;}
  .site-footer{padding:40px 0 48px;}
}

@media(max-width:480px){
  .hero h1{font-size:32px;}
  .nav-inner{padding:16px 22px;}
  .wrap{padding:0 22px;}
  .subpage{padding:120px 0 72px;}
  .booking-shell{padding:24px;}
}
