/*
Theme Name: BackOffice by CSA
Description: Services, tutorials and cohort website for BackOffice by CSA Inc.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: backoffice-csa
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Sans:wght@400;500;600;700&display=swap');
:root{--navy:#0c1b32;--dark:#071426;--gold:#e8bf73;--cream:#f8f6f0;--ink:#14223a;--muted:#526072;--line:#e2ded4;--wrap:1240px}
*{box-sizing:border-box}
body{margin:0;font-family:"DM Sans",Arial,sans-serif;color:var(--ink);background:var(--cream);line-height:1.6}
img{max-width:100%;display:block}
a{color:inherit;text-underline-offset:4px}
:focus-visible{outline:3px solid #3586f5;outline-offset:4px}
h1,h2,h3,p{margin:0 0 16px}
h1,h2,h3{font-family:"Instrument Sans",Arial,sans-serif;line-height:1.04;letter-spacing:-.045em}
h1{font-size:clamp(3.05rem,6vw,6rem);font-weight:700}
h2{font-size:clamp(2.15rem,4.4vw,4.1rem)}
h3{font-size:1.5rem;letter-spacing:-.035em}
.wrap{width:min(var(--wrap),calc(100% - 96px));margin-inline:auto}
.skip{position:absolute;left:12px;top:-100px;z-index:9;background:white;padding:12px}.skip:focus{top:8px}
.notice{text-align:center;background:var(--dark);color:#f8edda;padding:8px 16px;font-size:.82rem;font-weight:600}
.notice a{text-decoration:none}.notice a:hover{text-decoration:underline}.notice span{color:var(--gold);margin-left:8px}
.header{background:#fff}.nav{min-height:86px;display:flex;align-items:center;gap:34px;justify-content:space-between}
.logo img{width:92px;height:auto}.logo{flex:none}.links{display:flex;align-items:center;gap:27px}.links a{font-weight:700;font-size:.91rem;text-decoration:none}.links a:hover,.links a[aria-current=page]{color:#795319}
.button{display:inline-flex;gap:13px;align-items:center;justify-content:center;min-height:51px;padding:11px 19px;border:1px solid transparent;border-radius:5px;background:var(--gold);color:var(--dark);text-decoration:none;font-weight:700;font-size:.91rem;line-height:1.25;cursor:pointer;font-family:inherit}
.button:hover{background:#f4d49b}.button.dark{background:var(--navy);color:white}.button.dark:hover{background:#253b59}.button.outline{border-color:#8290a2;background:transparent;color:white}.button.outline:hover{background:#ffffff16}
.hero{position:relative;background:var(--navy);color:white;overflow:hidden;isolation:isolate}
.hero-grid{display:grid;grid-template-columns:1.04fr .96fr;align-items:center;min-height:570px}
.hero-copy{padding:64px 0 74px;position:relative;z-index:2}.hero h1{font-size:clamp(3.2rem,5.55vw,5.5rem);max-width:690px}.hero h1 em{color:var(--gold);font-style:normal}.hero-copy>p:not(.eyebrow){max-width:505px;color:#d9e0ea;font-size:1.1rem;margin-bottom:27px}
.eyebrow{display:flex;align-items:center;gap:10px;color:#785114;text-transform:uppercase;letter-spacing:.14em;font-size:.73rem;font-weight:700;margin-bottom:16px}.eyebrow:before{content:"";display:block;width:26px;height:1px;background:currentColor}
.hero .eyebrow,.dark-section .eyebrow,.podcast .eyebrow{color:var(--gold)}
.actions{display:flex;flex-wrap:wrap;gap:12px}
.hero-visual{position:absolute;top:0;right:0;width:53%;height:100%;z-index:-1}
.hero-visual img{height:100%;width:100%;object-fit:cover;object-position:78% center}
.hero-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0c1b32 0%,rgba(12,27,50,.75) 13%,transparent 47%),linear-gradient(0deg,#071426b0,transparent 38%)}
.photo-label{position:absolute;right:max(48px,calc((100% - var(--wrap))/2));bottom:29px;color:white;border-left:2px solid var(--gold);padding-left:12px;font-weight:700;font-size:.83rem;text-shadow:0 1px 6px #000}.photo-label small{display:block;font-weight:500}
.audience{background:#f0e9da;border-bottom:1px solid var(--line)}.audience .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:72px;flex-wrap:wrap;padding-block:14px}.audience strong{text-transform:uppercase;letter-spacing:.13em;font-size:.69rem;color:#715629}.audience span{font-size:.92rem;font-weight:700}
.section{padding:82px 0}.white{background:#fff}.heading-row{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.heading-row h2{margin-bottom:0}.intro{max-width:660px;color:var(--muted);font-size:1.09rem}.text-link{color:#795319;font-weight:700;text-decoration:none}.text-link:hover{text-decoration:underline}.heading-row .text-link{flex:none}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.cards.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.card{background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden;display:flex;flex-direction:column}.card-body{padding:24px;flex:1;display:flex;flex-direction:column;align-items:flex-start}.card p{color:var(--muted)}.card .text-link{margin-top:auto}.kicker{color:#785114!important;font-size:.72rem;text-transform:uppercase;letter-spacing:.115em;font-weight:700}
.mock{min-height:144px;background:#dce6f3;display:grid;place-items:center;padding:19px;color:#1f3a60}.mock.warm{background:#eee2cd;color:#674817}.mock.slate{background:#dce1ea;color:#25344a}.sheet{width:78%;max-width:243px;background:#fff;border:1px solid #ffffffb0;box-shadow:0 9px 22px #1c315221;border-radius:6px;padding:12px 14px;font-size:.73rem;line-height:1.5;transform:rotate(-4deg)}.warm .sheet{transform:rotate(3deg)}.sheet b{display:block;border-bottom:1px solid #ddd;padding-bottom:5px;margin-bottom:5px}.sheet span{display:block}
.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:55px}.split img{width:100%;border-radius:9px;object-fit:cover}.dark-section{background:var(--navy);color:white}.dark-section .intro{color:#d9e0ea}.dark-section .text-link{color:var(--gold)}
.sprint-panel{border:1px solid #ffffff40;background:#ffffff09;border-radius:8px;padding:27px}.price{font-family:"Instrument Sans",Arial,sans-serif;font-size:3.45rem;font-weight:700;line-height:1.05;color:var(--gold)}.price small{font:500 .9rem "DM Sans",sans-serif;color:white}
.steps{list-style:none;padding:0;margin:16px 0 0}.steps li{padding:10px 0;border-top:1px solid #ffffff30}.steps b{color:var(--gold);margin-right:8px}
.band{background:#efe5d1}.band .wrap{display:flex;gap:28px;align-items:center;justify-content:space-between}.band h2{font-size:clamp(2rem,3.7vw,3.2rem)}.band p:last-child{margin-bottom:0}.band .button{flex:none}
.page-hero{padding:67px 0;background:var(--navy);color:white}.page-hero h1{font-size:clamp(2.85rem,6vw,5.5rem);max-width:850px}.page-hero .eyebrow{color:var(--gold)}.page-hero .intro{color:#dce5ef}.stack>*+*{margin-top:22px}.reading{max-width:780px}.lesson{border:1px solid var(--line);border-radius:7px;background:white;padding:clamp(20px,4vw,40px);scroll-margin-top:24px}.lesson h2{font-size:2.15rem}.lesson li+li{margin-top:7px}.lesson blockquote{margin:20px 0;background:#f1eadb;padding:18px 22px;border-left:3px solid #a6772e}
.podcast{background:#4c1d29;color:white}.podcast p:not(.eyebrow){color:#f1e2df}.podcast img{aspect-ratio:3/2}
.form{display:grid;gap:13px}.form label{font-weight:700}.form input,.form textarea,.form select{display:block;margin-top:4px;width:100%;font:inherit;color:var(--ink);background:white;border:1px solid #9ba4af;border-radius:4px;padding:9px}.form button{justify-self:start}.form-note{font-size:.86rem;color:var(--muted)}
.footer{background:var(--dark);color:#e4eaf2;padding:48px 0 24px}.foot-grid{display:grid;grid-template-columns:1.3fr .8fr 1fr;gap:24px}.footer img{width:112px;height:auto}.footer p{margin-bottom:8px}.footer h2{font-size:1.05rem;letter-spacing:0}.footer a:hover{color:var(--gold)}.copyright{border-top:1px solid #ffffff26;margin-top:30px;padding-top:17px;font-size:.8rem;color:#c3cfdf}
@media(max-width:1080px){.links{gap:15px}.nav{gap:15px}.wrap{width:calc(100% - 64px)}.cards.four{grid-template-columns:repeat(2,1fr)}}
@media(max-width:860px){.nav{flex-wrap:wrap;min-height:72px;padding-block:8px}.links{order:3;width:100%;flex-wrap:wrap;padding:7px 0 15px}.nav>.button{display:none}.hero-grid{grid-template-columns:1fr;min-height:510px}.hero-copy{padding:58px 0;max-width:540px}.hero-visual{width:70%;opacity:.73}.photo-label{display:none}.cards{gap:12px}.card-body{padding:16px}.split{gap:25px}.section{padding:58px 0}}
@media(max-width:620px){.wrap{width:calc(100% - 34px)}.hero-grid{min-height:auto}.hero-copy{padding:39px 0 27px}.hero-visual{position:relative;width:100%;height:305px;opacity:1;z-index:0}.hero-visual img{object-position:78% 37%}.hero-visual:after{background:linear-gradient(180deg,#0c1b32,transparent 25%)}.hero h1{font-size:clamp(2.8rem,11vw,4.15rem)}.audience .wrap{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px}.audience strong{grid-column:span 2}.cards,.cards.four,.split,.foot-grid{grid-template-columns:1fr}.heading-row,.band .wrap{align-items:flex-start;flex-direction:column}.section{padding:46px 0}.page-hero{padding:48px 0}.mock{min-height:125px}}

.footer-resource{border:0;background:none;color:inherit;text-decoration:underline;text-underline-offset:4px;font:inherit;padding:0;cursor:pointer;text-align:left}
.footer-resource:hover{color:var(--gold)}
.resource-dialog{width:min(490px,calc(100% - 32px));max-height:calc(100% - 32px);margin:auto;border:1px solid var(--line);border-radius:12px;padding:clamp(20px,5vw,36px);color:var(--ink);background:var(--cream);box-shadow:0 20px 80px #07142655}
.resource-dialog::backdrop{background:#071426bb}
.resource-dialog h2{font-size:clamp(1.9rem,5vw,2.75rem);max-width:365px}
.resource-dismiss{position:absolute;top:8px;right:12px}
.resource-dismiss button{background:transparent;border:0;cursor:pointer;color:var(--ink);font-size:1.7rem;line-height:1;padding:4px 9px}
.resource-form{gap:10px}
.resource-form p{margin:0}
.resource-form .resource-optin{display:flex;align-items:baseline;gap:8px;font-size:.88rem;font-weight:500}
.resource-optin input{width:auto;margin:0;accent-color:var(--navy)}
.resource-trap{position:absolute;left:-9999px}
.resource-downloads{display:grid;gap:12px;justify-items:start;margin-top:18px}
.resource-dialog [hidden]{display:none}
.resource-dialog [role=status]:empty{display:none}

@media (min-width:621px) and (max-width:860px){.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Founder biography */
.bio-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(330px, 37vw, 500px);
  isolation: isolate;
  overflow: hidden;
  background: #efe1d5;
  color: var(--ink);
}
.bio-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 31%;
}
.bio-hero .wrap { padding-block: 48px; }
.bio-hero-copy { width: 58%; }
.bio-hero h1 { font-size: clamp(2.9rem, 6vw, 5.25rem); }
.bio-hero-copy p:last-child { margin-bottom: 0; }
.bio-details .actions { margin-bottom: 12px; }
@media (max-width: 620px) {
  .bio-hero { min-height: 0; }
  .bio-hero-photo {
    position: static;
    z-index: auto;
    order: 1;
    height: clamp(200px, 62vw, 310px);
    object-position: right 30%;
  }
  .bio-hero .wrap { padding-block: 34px; }
  .bio-hero-copy { width: 100%; }
}
