/* Bramwell Global — single stylesheet. Mobile-first. No framework. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-400.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-600.woff2) format('woff2')}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/source-serif-4-600.woff2) format('woff2')}
@font-face{font-family:'Inter Fallback';src:local('Arial');size-adjust:107%;ascent-override:90%;descent-override:22%;line-gap-override:0%}
@font-face{font-family:'Serif Fallback';src:local('Georgia');size-adjust:98%;ascent-override:92%;descent-override:24%;line-gap-override:0%}

/* ---------- Tokens ---------- */
:root{
  --navy:#0B1F3A;--navy-deep:#071529;--navy-soft:#13294B;
  --gold:#C9A24A;--gold-light:#E3C77C;--gold-text:#8A6D1F;--gold-tint:#FBF6E8;
  --paper:#F7F5F0;--white:#fff;--ink:#111827;--ink-2:#374151;--muted:#5B6B7F;
  --line:#E2E5EA;--line-dark:rgba(255,255,255,.14);
  --green:#166B41;--green-tint:#E8F5EE;--red:#9B1C1C;--red-tint:#FDECEC;
  --fs-0:clamp(.875rem,.84rem + .2vw,.95rem);--fs-1:1rem;
  --fs-2:clamp(1.1rem,1.02rem + .4vw,1.25rem);--fs-3:clamp(1.3rem,1.15rem + .8vw,1.65rem);
  --fs-4:clamp(1.75rem,1.4rem + 1.6vw,2.5rem);--fs-5:clamp(2.25rem,1.5rem + 3vw,3.5rem);
  --lh-tight:1.12;--lh-body:1.6;--radius:8px;--max:1200px;
  --font-head:'Source Serif 4','Serif Fallback',Georgia,serif;
  --font-body:'Inter','Inter Fallback',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--font-body);font-size:var(--fs-1);line-height:var(--lh-body);color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%}
img{height:auto}
h1,h2,h3,h4{font-family:var(--font-head);font-weight:600;line-height:var(--lh-tight);margin:0;letter-spacing:-.01em;text-wrap:balance}
p,ul,ol{margin:0}
a{color:inherit}
:focus-visible{outline:2px solid var(--gold-text);outline-offset:3px}
.container{width:min(var(--max),100% - 2rem);margin-inline:auto}
@media(min-width:48em){.container{width:min(var(--max),100% - 3rem)}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.skip{position:absolute;left:1rem;top:-100px;background:var(--navy);color:#fff;padding:.6rem 1rem;border-radius:var(--radius);z-index:100}
.skip:focus{top:1rem}
.icon{width:24px;height:24px;flex:none}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:.75rem 1.4rem;border-radius:var(--radius);font-weight:600;font-size:var(--fs-0);text-decoration:none;border:1px solid transparent;cursor:pointer;font-family:inherit;transition:background-color .2s,color .2s,border-color .2s}
.btn-gold{background:var(--gold);color:var(--navy)}.btn-gold:hover{background:var(--gold-light)}
.btn-navy{background:var(--navy);color:#fff}.btn-navy:hover{background:var(--navy-soft)}
.btn-ghost{border-color:rgba(255,255,255,.45);color:#fff}.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.06)}
.btn-outline{border-color:#C5CBD4;color:var(--navy);background:#fff}.btn-outline:hover{border-color:var(--navy)}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(247,245,240,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:72px;position:relative}
.logo{display:flex;align-items:center;gap:.65rem;text-decoration:none;color:var(--navy)}
.logo-mark{width:40px;height:40px;flex:none}
.logo-word{font-weight:600;letter-spacing:.14em;font-size:.95rem;line-height:1}
.logo-word small{display:block;font-size:.58rem;letter-spacing:.34em;color:var(--gold-text);margin-top:.25rem;font-weight:600}
.nav{display:none;gap:1.6rem;align-items:center}
.nav a{text-decoration:none;font-size:var(--fs-0);color:var(--ink-2);padding:.3rem 0;border-bottom:2px solid transparent}
.nav a:hover{color:var(--navy)}
.nav a[aria-current="page"]{color:var(--navy);border-color:var(--gold)}
.nav.is-open{display:flex;flex-direction:column;align-items:flex-start;position:absolute;top:100%;left:-1rem;right:-1rem;background:var(--paper);padding:1rem 1.5rem 1.5rem;border-bottom:1px solid var(--line);gap:1rem}
.header-right{display:flex;align-items:center;gap:.75rem}
.header-cta{display:none}
.nav-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;color:var(--navy);cursor:pointer}
@media(min-width:48em){.header-cta{display:inline-flex}}
@media(min-width:64em){.nav{display:flex}.nav-toggle{display:none}}

/* ---------- Hero (home) and page hero (inner) ---------- */
.hero,.page-hero{position:relative;background:var(--navy);color:#fff;overflow:hidden}
.hero{padding-block:clamp(3.5rem,8vw,6.5rem)}
.page-hero{padding-block:clamp(2.75rem,6vw,4.5rem)}
.waves{position:absolute;inset:0;width:100%;height:100%;opacity:.35;pointer-events:none}
.hero-grid{position:relative;display:grid;gap:3rem;align-items:center}
@media(min-width:64em){.hero-grid{grid-template-columns:1.1fr .9fr;gap:4rem}}
.page-hero-inner{position:relative;max-width:62ch}
.eyebrow{display:inline-flex;align-items:center;gap:.6rem;font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-light);font-weight:600}
.eyebrow::before{content:"";width:28px;height:1px;background:var(--gold)}
.eyebrow.on-light{color:var(--gold-text)}
.hero h1{font-size:var(--fs-5);margin-top:1.25rem;max-width:20ch}
.page-hero h1{font-size:var(--fs-4);margin-top:1rem}
.lead{font-size:var(--fs-2);color:rgba(255,255,255,.82);max-width:54ch;margin-top:1.5rem}
.page-hero .lead{margin-top:1.1rem}
.cta-row{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}
.micro{display:flex;flex-wrap:wrap;gap:.9rem 1.75rem;margin-top:2.25rem;padding-top:1.5rem;border-top:1px solid var(--line-dark);font-size:var(--fs-0);color:rgba(255,255,255,.78);list-style:none;padding-left:0}
.micro li{display:flex;align-items:center;gap:.5rem}
.micro .icon{width:18px;height:18px;color:var(--gold)}
.crumbs{display:flex;flex-wrap:wrap;gap:.4rem;list-style:none;padding:0;margin:0 0 1.25rem;font-size:.8rem;color:rgba(255,255,255,.65)}
.crumbs a{text-decoration:none}
.crumbs a:hover{color:#fff}
.crumbs li+li::before{content:"/";margin-right:.4rem;opacity:.5}

/* ---------- Job card (hero visual) ---------- */
.jobcard-wrap{position:relative;max-width:440px;margin-inline:auto}
.jobcard-wrap::before{content:"";position:absolute;inset:1.25rem -1.25rem -1.25rem 1.25rem;background:var(--navy-soft);border:1px solid var(--line-dark);border-radius:10px}
.jobcard{position:relative;background:#fff;color:var(--ink);border-radius:10px;padding:1.5rem;box-shadow:0 30px 60px -24px rgba(0,0,0,.6)}
.jobcard-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding-bottom:1rem;border-bottom:1px solid var(--line)}
.tag{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:600}
.jobcard-head .jobcard-title{font-family:var(--font-body);font-size:1.05rem;font-weight:600;margin-top:.35rem;letter-spacing:0}
.pill{font-size:.72rem;font-weight:600;padding:.3rem .65rem;border-radius:999px;background:var(--green-tint);color:var(--green);white-space:nowrap}
.steps{list-style:none;padding:1rem 0 0;display:grid;gap:.85rem}
.steps li{display:grid;grid-template-columns:24px 1fr auto;gap:.75rem;align-items:center;font-size:.92rem}
.dot{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:#fff}
.dot .icon{width:14px;height:14px}
.steps .is-next .dot{background:#fff;border:2px dashed var(--gold);color:var(--gold-text)}
.steps .is-next{color:var(--muted)}
.when{font-size:.75rem;color:var(--muted)}
.jobcard-foot{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:1rem;font-size:.78rem;color:var(--muted)}

/* ---------- Trust strip ---------- */
.strip{background:#fff;border-bottom:1px solid var(--line)}
.strip-grid{display:grid;gap:1rem;padding-block:1.25rem}
@media(min-width:40em){.strip-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:64em){.strip-grid{grid-template-columns:repeat(4,1fr)}}
.strip-item{display:flex;gap:.75rem;align-items:center;font-size:var(--fs-0);color:var(--ink-2)}
.strip-item .icon{color:var(--gold-text)}

/* ---------- Sections ---------- */
.section{padding-block:clamp(3.5rem,8vw,6.5rem)}
.section-sm{padding-block:clamp(2.5rem,5vw,4rem)}
.section-head{max-width:64ch;margin-bottom:2.5rem}
.section-head h2{font-size:var(--fs-4);margin-top:1rem}
.section-head p{margin-top:1rem;color:var(--muted);font-size:var(--fs-2)}
.section-dark{background:var(--navy);color:#fff}
.section-dark .section-head p{color:rgba(255,255,255,.75)}
.section-white{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* ---------- Capacity gap ---------- */
.gap-grid{display:grid;gap:2.5rem;align-items:center}
@media(min-width:64em){.gap-grid{grid-template-columns:1fr 1fr;gap:5rem}}
.stat{font-family:var(--font-head);font-size:clamp(4.5rem,12vw,8rem);line-height:.95;color:var(--navy);letter-spacing:-.03em}
.stat-caption{font-size:var(--fs-2);color:var(--ink-2);margin-top:1rem;max-width:34ch}
.source{font-size:.8rem;color:var(--muted);margin-top:.75rem}
.gap-text p{color:var(--ink-2);font-size:var(--fs-2)}
.gap-text p+p{margin-top:1rem}
.checks{list-style:none;padding:0;display:grid;gap:.9rem;margin-top:1.5rem}
.checks li{display:flex;gap:.75rem;align-items:flex-start;font-weight:600;color:var(--navy)}
.checks .icon{color:var(--gold-text);margin-top:.1rem}

/* ---------- Cards ---------- */
.cards{display:grid;gap:1.25rem}
@media(min-width:48em){.cards{grid-template-columns:repeat(2,1fr)}}
@media(min-width:64em){.cards-3{grid-template-columns:repeat(3,1fr)}}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.75rem;display:flex;flex-direction:column}
.card .kicker{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-text);font-weight:600;margin-bottom:.6rem}
.card h3{font-size:var(--fs-3)}
.card h3 a{text-decoration:none}
.card h3 a:hover{color:var(--gold-text)}
.card p{margin-top:.75rem;color:var(--muted);font-size:var(--fs-0)}
.card ul{margin-top:1rem;padding:0;list-style:none;display:grid;gap:.5rem;color:var(--ink-2);font-size:var(--fs-0)}
.card li{padding-left:1.1rem;position:relative}
.card li::before{content:"";position:absolute;left:0;top:.62em;width:5px;height:5px;background:var(--gold);border-radius:50%}
.more{margin-top:auto;padding-top:1.25rem;font-weight:600;color:var(--navy);text-decoration:none;font-size:var(--fs-0);display:inline-flex;gap:.4rem;align-items:center}
.more .icon{width:18px;height:18px;transition:transform .2s}
.more:hover .icon{transform:translateX(3px)}
.cards+.cards{margin-top:1.25rem}
.best{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--line);font-size:var(--fs-0)}
.best b{color:var(--navy)}

/* ---------- How it works ---------- */
.hiw{display:grid;gap:2rem}
@media(min-width:40em){.hiw{grid-template-columns:repeat(2,1fr)}}
@media(min-width:64em){.hiw{grid-template-columns:repeat(4,1fr)}}
.step{border-top:1px solid var(--navy);padding-top:1.25rem}
.step .num{font-family:var(--font-head);font-size:2.75rem;color:var(--gold-text);line-height:1}
.step h3{font-size:1.2rem;margin-top:.75rem}
.step p{margin-top:.6rem;color:var(--muted);font-size:var(--fs-0)}

/* ---------- Protect ---------- */
.protect{display:grid;gap:1.25rem}
@media(min-width:40em){.protect{grid-template-columns:repeat(2,1fr)}}
@media(min-width:64em){.protect{grid-template-columns:repeat(3,1fr)}}
.protect-item{padding:1.5rem;border:1px solid var(--line-dark);border-radius:var(--radius);background:rgba(255,255,255,.03)}
.protect-item .icon{color:var(--gold);width:28px;height:28px}
.protect-item h3{font-family:var(--font-body);font-size:1.05rem;font-weight:600;margin-top:1rem;letter-spacing:0}
.protect-item p{color:rgba(255,255,255,.74);font-size:var(--fs-0);margin-top:.5rem}

/* ---------- Deadline calendar ---------- */
.months{display:grid;grid-template-columns:repeat(2,1fr);gap:.6rem;list-style:none;padding:0}
@media(min-width:40em){.months{grid-template-columns:repeat(4,1fr)}}
@media(min-width:64em){.months{grid-template-columns:repeat(6,1fr)}}
.month{background:#fff;border:1px solid var(--line);border-radius:6px;padding:.9rem .85rem;font-size:.78rem;min-height:7.5rem}
.month b{display:block;font-family:var(--font-head);font-size:1rem;color:var(--navy);margin-bottom:.45rem}
.month span{display:block;color:var(--ink-2);line-height:1.35;margin-top:.3rem}
.month span i{font-style:normal;font-weight:600;color:var(--gold-text);letter-spacing:.06em;font-size:.68rem}
.month.peak{border-color:var(--gold);background:var(--gold-tint)}
.cal-note{margin-top:1.25rem;font-size:var(--fs-0);color:var(--muted)}

/* ---------- FAQ ---------- */
.faq{max-width:780px}
.faq details{border-top:1px solid var(--line);padding:1.1rem 0}
.faq details:last-child{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;font-weight:600;font-size:var(--fs-2);list-style:none;display:flex;justify-content:space-between;gap:1rem;font-family:var(--font-head);color:var(--navy)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--gold-text);font-size:1.6rem;line-height:1;flex:none;font-family:var(--font-body)}
.faq details[open] summary::after{content:"\2013"}
.faq p{margin-top:.75rem;color:var(--ink-2);max-width:66ch}

/* ---------- Trial form ---------- */
.trial-grid{display:grid;gap:2.5rem;align-items:start}
@media(min-width:64em){.trial-grid{grid-template-columns:1fr 1fr;gap:5rem}}
.trial-text h2{font-size:var(--fs-4);margin-top:1rem}
.trial-text p{color:var(--ink-2);font-size:var(--fs-2);margin-top:1rem}
.form{display:grid;gap:1rem;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:1.75rem}
.section-white .form{background:var(--paper)}
.form-row{display:grid;gap:1rem}
@media(min-width:40em){.form-row{grid-template-columns:1fr 1fr}}
.field label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.35rem;color:var(--ink)}
.field input,.field select,.field textarea{width:100%;min-height:48px;padding:.7rem .9rem;border:1px solid #C5CBD4;border-radius:6px;font:inherit;color:var(--ink);background:#fff}
.field textarea{min-height:120px;resize:vertical}
.field.has-error input,.field.has-error select,.field.has-error textarea{border-color:#C53030}
.field-error{color:var(--red);font-size:.85rem;margin-top:.35rem}
.fineprint{font-size:.8rem;color:var(--muted)}
.alert{padding:1rem 1.25rem;border-radius:var(--radius);border:1px solid;font-size:var(--fs-0)}
.alert-success{background:var(--green-tint);border-color:#BFE3CC;color:var(--green)}
.alert-error{background:var(--red-tint);border-color:#F5C2C2;color:var(--red)}

/* ---------- Long-form content ---------- */
.content-grid{display:grid;gap:3rem;align-items:start}
@media(min-width:64em){.content-grid{grid-template-columns:minmax(0,1fr) 340px;gap:4rem}}
.prose{max-width:70ch}
.prose h2{font-size:var(--fs-3);margin-top:2.75rem}
.prose h3{font-size:1.2rem;margin-top:1.75rem}
.prose h2:first-child,.prose h3:first-child{margin-top:0}
.prose p,.prose ul,.prose ol{margin-top:1rem;color:var(--ink-2)}
.prose ul,.prose ol{padding-left:1.25rem}
.prose li+li{margin-top:.4rem}
.prose a{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.prose a:hover{color:var(--gold-text)}
.prose strong{color:var(--ink)}
.prose .lead-text{font-size:var(--fs-2);color:var(--ink-2)}
.aside{display:grid;gap:1.25rem}
@media(min-width:64em){.aside{position:sticky;top:5.5rem}}
.aside-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem}
.aside-card h3{font-family:var(--font-body);font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-text);font-weight:600;letter-spacing:.16em}
.aside-card ul{list-style:none;padding:0;margin-top:1rem;display:grid;gap:.6rem;font-size:var(--fs-0)}
.aside-card a{text-decoration:none;color:var(--navy);font-weight:600}
.aside-card a:hover{color:var(--gold-text)}
.aside-card p{margin-top:.75rem;color:var(--ink-2);font-size:var(--fs-0)}
.aside-card .btn{margin-top:1rem;width:100%}
.aside-card .btn-navy{color:#fff}
.aside-card .btn-navy:hover{color:#fff}
.table-wrap{overflow-x:auto;margin-top:1.25rem;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.table{width:100%;border-collapse:collapse;font-size:var(--fs-0)}
.table th,.table td{text-align:left;padding:.8rem 1rem;border-bottom:1px solid var(--line);vertical-align:top}
.table tr:last-child td{border-bottom:0}
.table th{font-weight:600;color:var(--navy);background:var(--paper)}
.table td{color:var(--ink-2)}
.notice{background:var(--gold-tint);border:1px solid #EFE3C2;border-radius:var(--radius);padding:1rem 1.25rem;font-size:var(--fs-0);color:var(--ink-2)}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-deep);color:rgba(255,255,255,.75);padding-block:3.5rem 2rem;font-size:var(--fs-0)}
.footer-grid{display:grid;gap:2.5rem}
@media(min-width:48em){.footer-grid{grid-template-columns:1.6fr 1fr 1fr 1fr}}
.site-footer .logo{color:#fff}
.site-footer .logo-word small{color:var(--gold-light)}
.footer-tag{font-family:var(--font-head);font-size:var(--fs-2);color:#fff;margin-top:1.25rem}
.footer-desc{margin-top:.75rem;max-width:40ch}
.site-footer h4{font-family:var(--font-body);color:#fff;font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;margin:0 0 1rem;font-weight:600}
.site-footer ul{list-style:none;padding:0;display:grid;gap:.55rem}
.site-footer a{text-decoration:none;color:rgba(255,255,255,.75)}
.site-footer a:hover{color:#fff}
.footer-bottom{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid var(--line-dark);display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;font-size:.8rem}
.footer-bottom ul{display:flex;gap:1.25rem}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
