/* Vested — shared styles for index.html, speak.html, privacy.html */

:root{
  --forest:#183C2C;
  --forest-deep:#102A1E;
  --ink:#1B2721;
  --ink-soft:#3A4640;
  --paper:#F6F1E7;
  --paper-2:#EFE8DA;
  --amber:#D49B45;
  --amber-hi:#E3AC55;
  --amber-ink:#8A5A1E;   /* amber dark enough for small text on paper */
  --rose:#B0603F;
  --muted:#55625C;
  --rule:rgba(27,39,33,.16);
  --rule-light:rgba(246,241,231,.24);
  --serif:"Newsreader",Georgia,serif;
  --sans:"IBM Plex Sans",system-ui,sans-serif;
  --display:"Space Grotesk",system-ui,sans-serif;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:1.0625rem;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;height:auto}
a{color:var(--forest)}
a:hover{color:var(--forest-deep)}
:focus-visible{outline:2px solid var(--amber);outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.wrap{max-width:72rem;margin:0 auto;padding:0 1.75rem}
section{scroll-margin-top:5rem}

/* ---------- type ---------- */
h1,h2,h3{font-family:var(--serif);font-weight:400;margin:0}
h1{
  font-weight:300;
  font-size:clamp(2.6rem,6.2vw,5rem);
  line-height:1.02;
  letter-spacing:-.02em;
  margin:0 0 1.75rem;
  max-width:14ch;
}
h1 em{font-style:italic;font-weight:400;color:var(--amber-hi)}
h2{font-size:clamp(1.875rem,3.4vw,2.625rem);line-height:1.15;margin:0 0 2.5rem;max-width:22ch}
h3{font-size:1.5rem;line-height:1.25;margin:0 0 .75rem}
.eyebrow{
  margin:0 0 .75rem;
  font-family:var(--display);font-weight:500;
  font-size:.8125rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--amber-ink);
}
.dark .eyebrow,.hero .eyebrow{color:var(--amber-hi)}
.standfirst{
  font-family:var(--serif);font-weight:300;
  font-size:clamp(1.1875rem,2.2vw,1.5rem);line-height:1.5;
  color:rgba(246,241,231,.84);
  margin:0 0 2.75rem;max-width:34ch;
}
.lead{
  font-family:var(--serif);font-weight:300;
  font-size:clamp(1.5rem,2.6vw,1.875rem);line-height:1.4;
  margin:0 0 1.75rem;max-width:22ch;
}
.intro{max-width:40rem;color:var(--ink-soft);margin:-1.25rem 0 3.5rem}
p{margin:0 0 1.25rem}
p:last-child{margin-bottom:0}

/* ---------- sections ---------- */
.band{padding:6.5rem 0}
.band.tint{background:var(--paper-2)}
.dark{background:var(--forest-deep);color:var(--paper)}
.dark h2{color:var(--paper)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:3.25rem;padding:0 1.75rem;
  font:inherit;font-weight:500;text-decoration:none;
  background:var(--amber);color:#17150E;border:0;cursor:pointer;
  transition:background .18s ease;
}
.btn:hover{background:var(--amber-hi);color:#17150E}
.btn.ghost{background:transparent;color:var(--paper);border:1px solid rgba(246,241,231,.4)}
.btn.ghost:hover{border-color:var(--amber);color:var(--paper)}
.btn.solid{background:var(--forest);color:var(--paper)}
.btn.solid:hover{background:var(--forest-deep);color:var(--paper)}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem}

/* ---------- hero + nav ---------- */
.hero{
  background:
    linear-gradient(100deg, rgba(16,42,30,.97) 0%, rgba(24,60,44,.93) 52%, rgba(24,60,44,.80) 100%),
    url("images/09.jpg") center/cover no-repeat,
    var(--forest);
  color:var(--paper);
  position:relative;overflow:hidden;
}
.hero.deep{background:var(--forest-deep)}
.hero::after{
  content:"";position:absolute;right:-14rem;top:-14rem;width:38rem;height:38rem;border-radius:50%;
  background:radial-gradient(circle at 40% 40%, rgba(212,155,69,.20), rgba(212,155,69,0) 62%);
  pointer-events:none;
}
.hero .wrap{position:relative;z-index:1;padding-top:4.5rem;padding-bottom:5.5rem}

/* sticky top bar — stays visible while scrolling */
.topbar{
  position:sticky;top:0;z-index:50;
  background:var(--forest-deep);
  color:var(--paper);
  transition:box-shadow .2s ease;
}
.topbar.is-scrolled{box-shadow:0 1px 0 rgba(246,241,231,.08),0 8px 24px rgba(0,0,0,.18)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:1rem 2rem;min-height:4.5rem}
.nav-menu{display:flex;align-items:center;gap:2rem}
.nav-links{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:2rem;font-size:.9375rem}
.nav-links a{color:rgba(246,241,231,.82);text-decoration:none;display:inline-flex;align-items:center;min-height:2.75rem}
.nav-links a:hover{color:var(--paper)}
.nav-cta{min-height:2.75rem;padding:0 1.25rem;font-size:.9375rem}
.menu-toggle{
  display:none;align-items:center;gap:.625rem;
  min-height:2.75rem;padding:0 .25rem;
  font:inherit;font-size:.9375rem;color:var(--paper);background:none;border:0;cursor:pointer;
}
.menu-icon,.menu-icon::before,.menu-icon::after{display:block;width:18px;height:1.5px;background:currentColor;transition:transform .2s ease, background .2s ease}
.menu-icon{position:relative}
.menu-icon::before,.menu-icon::after{content:"";position:absolute;left:0}
.menu-icon::before{top:-6px}
.menu-icon::after{top:6px}
.menu-open .menu-icon{background:transparent}
.menu-open .menu-icon::before{transform:translateY(6px) rotate(45deg)}
.menu-open .menu-icon::after{transform:translateY(-6px) rotate(-45deg)}
.mark{display:inline-block;color:var(--paper);text-decoration:none}
.mark svg{display:block;overflow:visible;height:auto}
.wm-text{font-family:var(--display);font-weight:500;font-size:26px;letter-spacing:-.94px}

.hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:4.5rem;align-items:end}
.hero-photo{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:2px}
.hero-photo.small{max-width:22rem;justify-self:end}

/* ---------- facts strip ---------- */
.strip{background:var(--forest-deep);color:rgba(246,241,231,.78);font-size:.875rem}
.strip.mid{background:var(--forest)}
.strip .wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.25rem 2rem;padding-top:1.75rem;padding-bottom:1.75rem}
.strip p{margin:0}
.strip strong{display:block;font-family:var(--serif);font-weight:400;font-size:1.375rem;color:var(--paper)}

/* ---------- grids ---------- */
.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4.5rem;align-items:center}
.two.top{align-items:start}
.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}
.four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2rem}

.pillar{border-top:2px solid var(--forest);padding-top:1.5rem}
.pillar .eyebrow{margin-bottom:.25rem}
.pillar p{color:var(--ink-soft)}

.card{background:var(--paper);padding:2rem;display:flex;flex-direction:column;gap:.75rem}
.card h3{font-size:1.875rem;line-height:1.1;color:var(--forest);margin:0}
.card p{color:var(--ink-soft);margin:0}
.card .weeks{font-family:var(--display);font-size:.8125rem;letter-spacing:.1em;color:var(--muted);margin:0}
.card.on{background:var(--forest);color:var(--paper)}
.card.on h3{color:var(--paper)}
.card.on p{color:rgba(246,241,231,.84)}
.card.on .weeks{color:var(--amber-hi)}

.steps{list-style:none;margin:0;padding:0}
.steps li{display:flex;flex-direction:column;gap:.5rem}
.steps .num{font-family:var(--serif);font-size:2.75rem;line-height:1;color:var(--amber)}
.steps h3{font-size:1.375rem;margin:0}
.steps p{color:var(--ink-soft);font-size:1rem;margin:0}

/* ---------- curve ---------- */
figure{margin:0}
.curve svg{width:100%;height:auto;display:block;max-width:56rem}
.curve figcaption{margin-top:1.5rem;color:var(--muted);font-size:.9375rem;max-width:56ch}
.s-zone{fill:var(--forest);opacity:.05}
.s-axis{stroke:var(--rule);stroke-width:1}
.s-build,.s-hold{stroke:var(--forest);stroke-width:3;fill:none;stroke-linecap:round}
.s-decline{stroke:var(--rose);stroke-width:2;fill:none;stroke-dasharray:6 6;stroke-linecap:round}
.s-tick{fill:var(--muted);font-family:var(--sans);font-size:13px}
.s-zone-label{font-family:var(--display);font-size:12px;letter-spacing:1.6px}
.s-zone-label.a{fill:var(--forest)}
.s-zone-label.b{fill:var(--amber-ink)}
.s-note{fill:var(--forest);font-family:var(--serif);font-size:18px;font-style:italic}
.s-note-r{fill:var(--rose);font-family:var(--serif);font-size:18px;font-style:italic}
.s-marker{stroke:var(--amber);stroke-width:1.5;stroke-dasharray:4 5}
.draw{stroke-dasharray:1000;stroke-dashoffset:1000;transition:stroke-dashoffset 1.5s ease-out}
.drawn .draw{stroke-dashoffset:0}
.draw-2{transition-delay:.5s}
.no-js .draw{stroke-dashoffset:0}

/* ---------- argument ---------- */
.argument p{max-width:36rem}
.argument .strong{font-weight:500}
.pull{
  margin:0;padding:2.5rem 0 2.5rem 2rem;border-left:3px solid var(--amber);
  font-family:var(--serif);font-style:italic;
  font-size:clamp(1.75rem,3.4vw,2.75rem);line-height:1.25;color:var(--forest);
  max-width:18ch;
}

/* ---------- definition list ---------- */
dl.facts{margin:0;display:grid;grid-template-columns:10rem minmax(0,1fr);column-gap:2.5rem}
dl.facts dt{font-family:var(--serif);font-style:italic;font-size:1.1875rem;color:var(--forest);padding:1.125rem 0;border-top:1px solid var(--rule)}
dl.facts dd{margin:0;padding:1.125rem 0;border-top:1px solid var(--rule)}
dl.facts dt:last-of-type,dl.facts dd:last-of-type{border-bottom:1px solid var(--rule)}
.caption{margin-top:.875rem;font-size:.8125rem;color:var(--muted);letter-spacing:.02em}

/* ---------- for / not for ---------- */
.fit{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.25rem}
.fit > div{padding:2.5rem}
.fit h2{font-size:1.875rem;margin:0 0 1.25rem}
.fit ul{margin:0;padding-left:1.25rem;display:flex;flex-direction:column;gap:.75rem}
.fit .yes{background:var(--forest);color:var(--paper)}
.fit .yes h2{color:var(--paper)}
.fit .yes li{color:rgba(246,241,231,.88)}
.fit .no{background:var(--paper-2)}
.fit .no li{color:var(--ink-soft)}

/* ---------- people ---------- */
.portrait{width:100%;max-width:24rem;aspect-ratio:4/5;object-fit:cover;border-radius:2px}
.creds{list-style:none;margin:2rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.625rem}
.creds li{font-size:.875rem;padding:.5rem .875rem;border:1px solid rgba(24,60,44,.3);color:var(--forest)}

/* ---------- organiser teaser ---------- */
.teaser{border:1px solid var(--rule);padding:3rem;gap:3rem}
.teaser h2{font-size:clamp(1.75rem,3vw,2.375rem);margin:0;max-width:24ch}
.teaser p{color:var(--ink-soft);margin:0 0 1.75rem}

/* ---------- faq ---------- */
.faq{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 4rem}
.faq div{border-top:1px solid var(--rule);padding:1.5rem 0}
.faq h3{font-family:var(--sans);font-size:1.0625rem;font-weight:500;margin:0 0 .5rem}
.faq p{color:var(--ink-soft);margin:0}

/* ---------- closing ---------- */
.closing{padding:7rem 0}
.closing h2{font-size:clamp(2rem,4vw,3.25rem);line-height:1.1;margin:0 0 1rem;max-width:18ch}
.closing .intro{color:rgba(246,241,231,.74);max-width:44ch;margin:0 0 2.5rem}

/* ---------- footer ---------- */
footer{padding:2.5rem 0 3.5rem;color:var(--muted);font-size:.875rem}
footer a{color:var(--muted)}
.foot-row{display:flex;flex-wrap:wrap;gap:1rem 2rem;align-items:center;justify-content:space-between}
.foot-row p{margin:0}
.foot-links{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.5rem}
.social{display:flex;gap:1.25rem;align-items:center}
.social a{display:inline-flex;color:var(--muted);transition:color .18s ease}
.social a:hover{color:var(--forest)}
.social svg{width:20px;height:20px;display:block;fill:currentColor}

/* ---------- MailerLite embed, restyled to the brand ----------
   The embed injects its own CSS; these overrides win on specificity + !important. */
.ml-embedded{max-width:36rem}
.ml-embedded .ml-form-embedContainer,
.ml-embedded .ml-form-embedWrapper,
.ml-embedded .ml-form-embedBody{background:transparent !important;padding:0 !important;margin:0 !important;border:0 !important;box-shadow:none !important;max-width:100% !important;width:100% !important}
.ml-embedded .ml-form-align-center{text-align:left !important}
.ml-embedded .ml-form-embedContent{display:none !important}
.ml-embedded .ml-block-form{margin:0 !important}
.ml-embedded .ml-form-formContent.horozintalForm{float:none !important;padding:0 !important;margin:0 !important;width:100% !important}
.ml-embedded .ml-form-formContent.horozintalForm .ml-form-horizontalRow{display:flex !important;flex-wrap:wrap !important;gap:.75rem !important;float:none !important;width:100% !important;height:auto !important}
.ml-embedded .ml-form-formContent.horozintalForm .ml-form-horizontalRow .ml-input-horizontal{display:flex !important;flex-wrap:wrap !important;gap:.75rem !important;flex:1 1 100% !important;width:100% !important;float:none !important}
.ml-embedded .ml-form-formContent.horozintalForm .ml-form-horizontalRow .horizontal-fields{flex:1 1 9rem !important;width:auto !important;float:none !important;padding:0 !important;margin:0 !important}
.ml-embedded .ml-form-formContent.horozintalForm .ml-form-horizontalRow .ml-input-horizontal > div{padding:0 !important}
.ml-embedded .ml-field-group{margin:0 !important}
.ml-embedded .ml-form-horizontalRow input.form-control{
  font-family:var(--sans) !important;font-size:1rem !important;line-height:1.4 !important;
  color:var(--paper) !important;background:rgba(246,241,231,.06) !important;
  border:1px solid rgba(246,241,231,.28) !important;border-radius:0 !important;
  min-height:3.25rem !important;padding:0 1rem !important;width:100% !important;margin:0 !important;
}
.ml-embedded .ml-form-horizontalRow input.form-control:focus{border-color:var(--amber) !important;outline:none !important}
.ml-embedded .ml-form-horizontalRow input.form-control::placeholder{color:rgba(246,241,231,.5) !important}
.ml-embedded .ml-error input.form-control{border-color:#F0B49C !important}
.ml-embedded .ml-form-formContent.horozintalForm .ml-button-horizontal{display:block !important;flex:0 0 auto !important;width:auto !important;float:none !important;padding:0 !important}
.ml-embedded .ml-form-horizontalRow button.primary,
.ml-embedded .ml-form-horizontalRow button.loading{
  font-family:var(--sans) !important;font-size:1rem !important;font-weight:500 !important;line-height:1 !important;
  background:var(--amber) !important;border:0 !important;border-radius:0 !important;color:#17150E !important;
  min-height:3.25rem !important;padding:0 1.75rem !important;width:auto !important;white-space:nowrap !important;
}
.ml-embedded .ml-form-horizontalRow button.primary:hover{background:var(--amber-hi) !important}
.ml-embedded .ml-mobileButton-horizontal{display:none !important}
.ml-embedded .ml-form-embedPermissions{float:none !important;margin:1rem 0 0 !important}
.ml-embedded .ml-form-embedPermissionsContent{margin:0 !important}
.ml-embedded .ml-form-embedPermissionsContent p,
.ml-embedded .ml-form-embedPermissionsContent.privacy-policy p{font-family:var(--sans) !important;font-size:.8125rem !important;line-height:1.5 !important;color:rgba(246,241,231,.62) !important;margin:0 !important}
.ml-embedded .ml-form-embedPermissionsContent p a{color:rgba(246,241,231,.85) !important}
.ml-embedded .ml-form-checkboxRow{margin:.875rem 0 0 !important;float:none !important}
.ml-embedded .ml-form-checkboxRow label p{font-family:var(--sans) !important;font-size:.875rem !important;line-height:1.5 !important;color:rgba(246,241,231,.75) !important}
.ml-embedded .ml-form-checkboxRow .label-description::before{background-color:transparent !important;border:1px solid rgba(246,241,231,.5) !important;border-radius:2px !important}
.ml-embedded .ml-form-checkboxRow input[type=checkbox]:checked~.label-description::before{background-color:var(--amber) !important;border-color:var(--amber) !important}
.ml-embedded .ml-form-checkboxRow.ml-error .label-description p{color:#F0B49C !important}
.ml-embedded .ml-form-successContent h4{font-family:var(--serif) !important;font-weight:400 !important;font-size:1.75rem !important;color:var(--amber-hi) !important;margin:0 0 .5rem !important}
.ml-embedded .ml-form-successContent p{font-family:var(--sans) !important;font-size:1rem !important;line-height:1.5 !important;color:rgba(246,241,231,.78) !important}

/* ---------- prose page (privacy) ---------- */
.prose{max-width:42rem}
.prose h2{font-size:1.5rem;margin:2.5rem 0 .75rem}
.prose ul{padding-left:1.25rem}
.prose li{margin-bottom:.5rem}

/* ---------- responsive ---------- */
@media (max-width:56rem){
  .hero-grid,.two,.fit{grid-template-columns:minmax(0,1fr);gap:2.5rem}
  .hero-photo{max-width:26rem}
  .hero-photo.small{justify-self:start;max-width:18rem}
  .three{grid-template-columns:minmax(0,1fr)}
  .four,.strip .wrap{grid-template-columns:repeat(2,minmax(0,1fr))}
  .faq{grid-template-columns:minmax(0,1fr)}
  .menu-toggle{display:inline-flex}
  .nav{flex-wrap:wrap;align-content:flex-start;min-height:4rem}
  .nav .mark,.menu-toggle{min-height:4rem;display:inline-flex;align-items:center}
  .nav-menu{display:none;flex-basis:100%;flex-direction:column;align-items:stretch;gap:.5rem;padding:.25rem 0 1.25rem}
  .menu-open .nav-menu{display:flex}
  .nav-links{flex-direction:column;align-items:stretch;gap:0}
  .nav-links a{display:flex;min-height:3rem;border-bottom:1px solid rgba(246,241,231,.12);font-size:1.0625rem}
  .nav-cta{margin-top:.75rem;width:100%}
  .hero .wrap{padding-top:3rem}
  .band{padding:4.5rem 0}
  .teaser{padding:2rem}
  .portrait{max-width:18rem}
}
@media (max-width:36rem){
  .four{grid-template-columns:minmax(0,1fr)}
  dl.facts{grid-template-columns:minmax(0,1fr)}
  dl.facts dt{padding-bottom:0}
  dl.facts dd{padding-top:.25rem;border-top:0}
  .fit > div{padding:1.75rem}
  .ml-embedded .ml-form-formContent.horozintalForm .ml-button-horizontal,
  .ml-embedded .ml-form-horizontalRow button.primary{width:100% !important}
  .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none !important;animation:none !important}
  .draw{stroke-dashoffset:0}
}
