/* Cranborne Education. Built to Brand Book draft 0.1 */
@font-face{font-family:'Marcellus';src:url('/fonts/marcellus-regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Public Sans';src:url('/fonts/public-sans-var.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}

:root{
  --forest:#1B3629;
  --ivory:#F3F4EB;
  --gold:#B08D3E;
  --emerald:#124E32;
  --pistachio:#D0DBB4;
  --pale:#D4B574;
  --night:#0F2019;
  --ink:#17211B;
  --max:1180px;
  --serif:'Marcellus',Georgia,serif;
  --sans:'Public Sans',Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--ivory);color:var(--ink);font-family:var(--sans);font-size:1.125rem;line-height:1.65;font-weight:400;-webkit-font-smoothing:antialiased;font-synthesis:none}
img{max-width:100%;display:block}
a{color:inherit}
p{margin:0 0 1.1em}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.14;margin:0 0 .5em;color:var(--forest)}
h1{font-size:clamp(2.3rem,4.8vw,4rem)}
h2{font-size:clamp(1.8rem,3.4vw,2.6rem)}
h3{font-size:clamp(1.3rem,2vw,1.55rem)}
ul,ol{margin:0;padding:0;list-style:none}
:focus-visible{outline:3px solid var(--emerald);outline-offset:3px}
.on-dark :focus-visible,.site-header :focus-visible,.site-footer :focus-visible{outline-color:var(--pale)}
.skip{position:absolute;left:-999px;top:0;background:var(--gold);color:var(--forest);font-weight:600;padding:.7rem 1rem;z-index:100}
.skip:focus{left:0}
.wrap{max-width:var(--max);margin:0 auto;padding:0 clamp(1.25rem,4vw,2.5rem)}
.narrow{max-width:46rem}

/* dark grounds: Forest, with Ivory text. Small text uses Ivory or Pale Gold, never plain Gold */
.on-dark{background:var(--forest);color:var(--ivory)}
.on-dark h1,.on-dark h2,.on-dark h3{color:var(--ivory)}
.on-emerald{background:var(--emerald);color:var(--ivory)}
.on-emerald h2{color:var(--ivory)}
.on-pistachio{background:var(--pistachio);color:var(--ink)}

/* device 1: the Rule. A short gold bar above a heading. One per layout */
.rule{width:4.5rem;height:4px;background:var(--gold);margin:0 0 1.6rem}
/* device 2: the Tab. Forest label with a squared base */
.tab{display:inline-block;background:var(--forest);color:var(--ivory);font-weight:600;font-size:.9rem;line-height:1;letter-spacing:.06em;text-transform:uppercase;padding:.6rem .85rem;border-radius:6px 6px 0 0;margin-bottom:1.2rem}
.on-dark .tab{background:var(--ivory);color:var(--forest)}

/* header: Forest */
.site-header{position:sticky;top:0;z-index:50;background:var(--forest);color:var(--ivory)}
.bar{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:5rem}
.brand{display:block;line-height:0;padding:.4rem 0}
.brand img{width:3.9rem;height:auto;max-width:none}
.nav{display:flex;align-items:center;gap:clamp(1rem,2.4vw,2.2rem)}
.nav a{text-decoration:none;font-size:1rem;font-weight:400;padding:.4rem 0;border-bottom:2px solid transparent}
.nav a:hover{border-bottom-color:var(--pale)}
.nav a[aria-current="page"]{border-bottom-color:var(--gold)}
.nav .btn{border-bottom:2px solid var(--ivory);padding:.7rem 1.2rem}
.menu-btn{display:none;background:none;border:2px solid var(--ivory);color:var(--ivory);font:600 1rem var(--sans);padding:.55rem 1rem;border-radius:12px;cursor:pointer}

/* buttons: Public Sans SemiBold, 12px corners. One Gold button per screen */
.btn{display:inline-block;text-decoration:none;font-family:var(--sans);font-weight:600;font-size:1.0625rem;line-height:1.2;padding:.95rem 1.6rem;border-radius:12px;border:2px solid var(--gold);background:var(--gold);color:var(--forest);cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.btn:hover{background:var(--pale);border-color:var(--pale)}
.btn.ghost{background:transparent;color:var(--forest);border-color:var(--forest)}
.btn.ghost:hover{background:var(--forest);color:var(--ivory)}
.on-dark .btn.ghost,.on-emerald .btn.ghost,.site-header .btn.ghost{background:transparent;color:var(--ivory);border-color:var(--ivory)}
.on-dark .btn.ghost:hover,.on-emerald .btn.ghost:hover,.site-header .btn.ghost:hover{background:var(--ivory);color:var(--forest)}
.actions{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:2rem}

/* hero */
.hero{padding:clamp(3rem,6vw,5rem) 0 clamp(2.5rem,5vw,4rem)}
.hero-top{display:grid;grid-template-columns:minmax(0,8fr) minmax(0,3fr);gap:clamp(2rem,5vw,4rem);align-items:center}
.hero h1{max-width:20ch}
.hero .lede{max-width:40rem;font-size:1.25rem;margin-top:1.4rem}
.hero-logo{justify-self:end;padding:3rem}
.hero-logo img{width:clamp(11rem,19vw,15rem);height:auto;max-width:none}
.page-hero{padding:clamp(3rem,7vw,5.5rem) 0 clamp(2.5rem,5vw,4rem)}
.page-hero h1{font-size:clamp(2.2rem,4.4vw,3.6rem);max-width:20ch}
.page-hero .lede{max-width:42rem;font-size:1.25rem}

/* stage ruler */
.ruler{display:grid;grid-template-columns:repeat(14,1fr);margin-top:clamp(2.5rem,4vw,3.5rem);background-image:linear-gradient(to right,rgba(243,244,235,.16) 1px,transparent 1px);background-size:calc(100% / 14) 100%;border-right:1px solid rgba(243,244,235,.16)}
.axis{display:contents}
.axis span{grid-row:1;font-size:.9rem;color:var(--pale);padding:0 0 .6rem .45rem}
.bar-stage{display:block;text-decoration:none;border-top:1px solid var(--pale);padding:.9rem .8rem 1.2rem .45rem;margin-bottom:.7rem;transform-origin:left;animation:draw .9s cubic-bezier(.2,.7,.2,1) both}
.bar-stage:nth-of-type(1){animation-delay:.15s}
.bar-stage:nth-of-type(2){animation-delay:.3s}
.bar-stage:nth-of-type(3){animation-delay:.45s}
.bar-stage:nth-of-type(4){animation-delay:.6s}
.bar-stage:hover{background:rgba(243,244,235,.08)}
.bar-stage b{display:block;font-family:var(--serif);font-weight:400;font-size:1.6rem;line-height:1.1;color:var(--ivory)}
.bar-stage i{display:block;font-style:normal;font-size:.95rem;color:var(--pale);margin:.25rem 0 .45rem}
.bar-stage span{display:block;font-size:1rem;line-height:1.5;color:var(--ivory)}
@keyframes draw{from{opacity:0;transform:scaleX(.2)}to{opacity:1;transform:none}}

/* sections */
.section{padding:clamp(3.5rem,8vw,6.5rem) 0}
.split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(2rem,6vw,5rem);align-items:start}
.split h2{max-width:14ch}
.lead{font-family:var(--serif);font-size:clamp(1.35rem,2.1vw,1.7rem);line-height:1.35;margin-bottom:1.2rem;max-width:36rem;color:var(--forest)}
.principles li{padding:1.2rem 0;border-top:1px solid var(--pistachio)}
.principles li:last-child{border-bottom:1px solid var(--pistachio)}
.principles strong{display:block;font-family:var(--serif);font-weight:400;font-size:1.45rem;margin-bottom:.15rem;color:var(--forest)}
.on-pistachio .principles li{border-color:var(--forest)}

/* device 3: the Step. Numbered circle for a real sequence */
.steps{counter-reset:step;display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.5rem,4vw,3rem);margin-top:2.5rem}
.steps li{counter-increment:step}
.steps li::before{content:counter(step);display:grid;place-items:center;width:3.4rem;height:3.4rem;border-radius:50%;background:var(--forest);color:var(--gold);font-family:var(--serif);font-size:1.7rem;margin-bottom:1rem}
.steps h3{margin-bottom:.35em}
.steps p{margin:0}

/* founder */
.founder{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(2rem,6vw,5rem);align-items:start}
.founder .who{font-family:var(--serif);font-size:clamp(1.7rem,2.6vw,2.2rem);line-height:1.15;color:var(--forest)}
.founder .who small{display:block;font-family:var(--sans);font-size:1rem;margin-top:.5rem;color:var(--forest)}
.founder p{max-width:40rem}
.sign{font-family:var(--serif);font-size:1.6rem;color:var(--forest)}

/* faq */
.faq{max-width:48rem}
.faq details{border-top:1px solid var(--forest)}
.faq details:last-child{border-bottom:1px solid var(--forest)}
.faq summary{cursor:pointer;list-style:none;padding:1.2rem 2.5rem 1.2rem 0;font-family:var(--serif);font-size:1.4rem;position:relative;color:var(--forest)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:.4rem;top:1rem;font-family:var(--sans);font-size:1.7rem;color:var(--forest);transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{padding-bottom:1.3rem;margin:0}

/* cta band */
.cta h2{max-width:18ch}
.cta p{max-width:36rem}

/* stage pages */
.stage{padding:clamp(3rem,6vw,5rem) 0;border-top:1px solid var(--pistachio)}
.stage:first-of-type{border-top:0}
.stage-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(2rem,6vw,5rem);align-items:start}
.stage h2{font-size:clamp(2.2rem,4vw,3.3rem);margin-bottom:.35em}
.spec{display:grid;gap:.9rem;margin:0}
.spec div{border-top:1px solid var(--pistachio);padding-top:.6rem}
.spec dt{font-size:.95rem;font-weight:600;color:var(--forest)}
.spec dd{margin:0}
.covers{margin:1.5rem 0}
.covers h3{font-family:var(--sans);font-size:1.0625rem;font-weight:600;margin-bottom:.6rem}
.covers li{position:relative;padding:.42rem 0 .42rem 1.5rem;max-width:40rem}
.covers li::before{content:"";position:absolute;left:0;top:1.05em;width:.6rem;height:.6rem;background:var(--emerald)}
.leave{background:var(--forest);color:var(--ivory);padding:1.6rem 1.8rem;max-width:40rem;border-radius:12px}
.leave h3{font-family:var(--sans);font-size:1.0625rem;font-weight:600;color:var(--pale);margin-bottom:.4rem}
.leave p{margin:0}
.pill-nav{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:2rem}
.pill-nav a{border:2px solid var(--ivory);padding:.55rem 1.1rem;border-radius:12px;text-decoration:none;font-weight:600;font-size:1rem}
.pill-nav a:hover{background:var(--ivory);color:var(--forest)}

/* contact */
.contact-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(2rem,6vw,5rem);align-items:start}
.form{display:grid;gap:1.2rem}
.field label{display:block;font-weight:600;margin-bottom:.35rem}
.field small{font-weight:400;font-size:1rem}
.field input,.field select,.field textarea{width:100%;font:inherit;padding:.8rem .9rem;border:2px solid var(--forest);background:#fff;color:var(--ink);border-radius:12px}
.field textarea{min-height:9rem;resize:vertical}
.check{display:flex;gap:.7rem;align-items:flex-start}
.check input{margin-top:.4rem;width:1.2rem;height:1.2rem;accent-color:var(--forest)}
.hidden{position:absolute;left:-9999px}
.side a.link{font-weight:600;color:var(--forest)}
.plain{max-width:44rem}
.plain h2{font-size:1.7rem;margin-top:2rem}

/* footer: Forest, so the reversed logo sits on its own ground */
.site-footer{background:var(--forest);color:var(--ivory);padding:3.5rem 0 2.5rem;border-top:1px solid rgba(243,244,235,.2)}
.foot{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,3fr) minmax(0,3fr);gap:2.5rem;align-items:start}
.foot-logo{padding:2.4rem 0}
.foot-logo img{width:8.5rem;height:auto;max-width:none}
.foot h2{font-family:var(--sans);font-size:1.0625rem;font-weight:600;color:var(--pale);margin-bottom:.7rem}
.foot li{margin-bottom:.45rem}
.foot a{text-decoration:none}
.foot a:hover{text-decoration:underline}
.legal{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid rgba(243,244,235,.2);font-size:.95rem}

@media (max-width:900px){
  .split,.founder,.stage-grid,.contact-grid,.foot,.hero-top{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .hero-logo{justify-self:start;padding:1rem 0;order:-1}
  .hero-logo img{width:8rem}
}
@media (max-width:760px){
  .ruler{display:block;background:none;border:0}
  .axis{display:none}
  .bar-stage{margin-bottom:1rem}
  .menu-btn{display:block}
  .js .nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--forest);flex-direction:column;align-items:flex-start;padding:1rem clamp(1.25rem,4vw,2.5rem) 1.5rem;gap:.4rem;border-top:1px solid rgba(243,244,235,.2)}
  .js .nav.open{display:flex;box-shadow:0 14px 24px rgba(15,32,25,.55);border-bottom:1px solid rgba(243,244,235,.25)}
  .nav a{padding:.8rem 0}
  .foot a{display:inline-block;padding:.65rem 0}
  .foot li{margin-bottom:0}
  .legal a,.field-note a,p a{padding:.2rem 0}
  .nav{flex-wrap:wrap}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .bar-stage{animation:none}
  *{transition:none!important}
}

/* founder photo and testimonials */
.founder-photo{width:100%;max-width:18rem;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:12px;margin-bottom:1.2rem}
.quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(18rem,1fr));gap:clamp(1.5rem,4vw,3rem);margin-top:2rem}
.quote{margin:0;border-top:1px solid var(--forest);padding-top:1.2rem}
.quote blockquote{margin:0}
.quote blockquote p{font-family:var(--serif);font-size:1.35rem;line-height:1.4;color:var(--forest);margin:0 0 .8rem}
.quote figcaption{font-size:1rem;font-weight:600;color:var(--forest)}

.subhead{font-family:var(--serif);font-size:clamp(1.4rem,2.4vw,1.9rem);color:var(--pale);margin:0 0 1rem}
.steps.four{grid-template-columns:repeat(4,1fr)}
.steps.stack{grid-template-columns:1fr;gap:1.6rem;margin:1.8rem 0 2rem}
@media (max-width:1000px){.steps.four{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){.steps.four{grid-template-columns:1fr}}

/* ---- interaction and flourish layer: calm, slow, reduced-motion safe ---- */
:root{interpolate-size:allow-keywords}
a{transition:text-underline-offset .2s,text-decoration-color .2s}
main p a:hover{text-underline-offset:.35em;text-decoration-color:var(--gold)}
.btn{transition:background .15s,border-color .15s,color .15s,transform .2s,box-shadow .2s}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(15,32,25,.22)}
.btn:active{transform:none;box-shadow:none}
/* stage ruler: focus one stage, quieten the rest */
.bar-stage{transition:background .25s,filter .25s,translate .25s,border-color .25s}
.bar-stage b::after{content:"\2192";display:inline-block;margin-left:.5rem;font-family:var(--sans);font-size:1.1rem;color:var(--pale);opacity:0;transform:translateX(-6px);transition:opacity .25s,transform .25s}
.bar-stage:hover b::after,.bar-stage:focus-visible b::after{opacity:1;transform:none}
.bar-stage:hover,.bar-stage:focus-visible{border-top-color:var(--gold);translate:0 -3px}
@media (hover:hover){.ruler:has(.bar-stage:hover) .bar-stage:not(:hover){filter:opacity(.5)}}
/* FAQ: smooth open and close where the browser supports it */
.faq details::details-content{block-size:0;overflow:hidden;opacity:0;transition:block-size .35s ease,opacity .35s ease,content-visibility .35s allow-discrete}
.faq details[open]::details-content{block-size:auto;opacity:1}
.faq summary{transition:color .2s}
.faq summary:hover{color:var(--emerald)}
/* mobile menu slides in */
@keyframes navin{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.js .nav.open{animation:navin .25s ease-out}
/* scroll reveals (class added by site.js, so no JS means no hidden content) */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d,0s)}
.js .reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:no-preference){
  /* the Rule device draws itself */
  .rule{transform-origin:left;animation:ruledraw .9s .15s cubic-bezier(.2,.7,.2,1) both}
  @keyframes ruledraw{from{transform:scaleX(0)}to{transform:scaleX(1)}}
}
@media (prefers-reduced-motion:reduce){
  .js .reveal{opacity:1;transform:none;transition:none}
  .btn:hover,.bar-stage:hover{transform:none}
  .js .nav.open{animation:none}
}

/* About: Our approach (two balanced columns) and compact founder teaser */
.approach-intro{position:sticky;top:6.5rem}
.approach-intro h2{max-width:none;margin-bottom:1.2rem}
.steps.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem;margin:0 0 2rem}
.steps.cards li{background:var(--pistachio);border-radius:12px;padding:1.5rem 1.5rem 1.7rem}
.steps.cards li::before{width:2.8rem;height:2.8rem;font-size:1.4rem}
.founder.compact .founder-photo{max-width:13rem}
.founder.compact .lead{max-width:40rem}
.more{font-weight:600}
@media (max-width:900px){.approach-intro{position:static}}
@media (max-width:640px){.steps.cards{grid-template-columns:1fr}}

/* home hero: slogan headline, product tiles. Mentoring: ruler without vertical lines */
.hero h1.slogan{font-size:clamp(3.2rem,8vw,6.2rem);line-height:1.02;max-width:none;margin-bottom:.3em}
.hero .hero-sub{font-family:var(--serif);font-weight:400;font-size:clamp(1.35rem,2.4vw,1.9rem);line-height:1.3;color:var(--pale);max-width:30ch;margin:0 0 1.2rem}
.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,3vw,2rem);margin-top:clamp(2rem,4vw,3.2rem)}
.tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.45rem;text-align:center;min-height:7rem;padding:1.4rem 1.6rem;background:var(--gold);color:var(--night);border-radius:12px;text-decoration:none;transition:background .2s,transform .2s,box-shadow .2s}
.tile span{font-family:var(--serif);font-size:clamp(1.15rem,2.2vw,1.55rem);letter-spacing:.09em;text-transform:uppercase;line-height:1.25}
.tile small{font-size:.95rem;font-weight:500}
.tile:hover,.tile:focus-visible{background:var(--pale);transform:translateY(-3px);box-shadow:0 10px 22px rgba(0,0,0,.28)}
.ruler{background-image:none;border-right:0}
.founder .who .n1,.founder .who .n2{display:block}
.founder .who .n2{white-space:nowrap}
.course-grid{list-style:none;padding:0;margin:2rem 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem}
.course-grid li{background:var(--pistachio);border-radius:12px;padding:1.6rem 1.6rem 1.8rem}
.course-grid h3{margin-bottom:.4em}
.course-grid p{margin:0}
.course-grid .course-cta{background:transparent;border:1.5px solid var(--forest);display:flex;flex-direction:column;align-items:flex-start;gap:.9rem}
.course-grid .course-cta p{margin:0}
@media (max-width:1000px){.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.course-grid{grid-template-columns:1fr}.tiles{grid-template-columns:1fr}}

/* footer brand lockup: compact, side by side */
.foot-brand{display:flex;align-items:center;gap:1.6rem}
.foot-brand img{width:6.75rem;height:auto;max-width:none;flex:none}
.foot-brand p{margin:0;max-width:20rem;font-size:.98rem;line-height:1.55}
.foot-brand .foot-slogan{font-family:var(--serif);font-size:1.4rem;line-height:1.2;color:var(--pale);margin-bottom:.45rem}
@media (max-width:480px){.foot-brand{gap:1.1rem}.foot-brand img{width:5.5rem}}

/* header mark is now the compass */
.brand img{width:3.5rem;height:auto}

/* where next strip */
.next-strip{padding-block:clamp(2rem,5vw,3.5rem)}
.next-strip h2{font-size:1.25rem;margin-bottom:1rem}
.next-links{list-style:none;margin:0;padding:0;display:grid;gap:.9rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}
.next-links a{display:block;padding:1.1rem 1.25rem;border:1px solid rgba(27,54,41,.2);border-radius:.5rem;text-decoration:none;color:inherit;min-height:44px;transition:border-color .2s,transform .2s}
.next-links a:hover,.next-links a:focus-visible{border-color:#B08D3E;transform:translateY(-2px)}
.next-links strong{display:block;font-family:Marcellus,serif;font-weight:400;font-size:1.1rem;color:#1B3629;margin-bottom:.25rem}
.next-links span{font-size:.95rem}

.byline{font-size:.95rem;opacity:.8;margin:0 0 1.5rem}
.plain ul{padding-left:1.25rem}
.next-links em{display:block;font-style:normal;font-size:.85rem;opacity:.7;margin-top:.4rem}
