/* BUILT Leaders — single stylesheet. Tokens first; edit these to re-theme the whole site. */
:root {
  --navy-950: #070d19;
  --navy-900: #0b1220;
  --navy-800: #0f172a;
  --navy-700: #1e293b;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --orange: #f97316;
  --orange-600: #ea580c;
  --blue: #1372d3;
  --text: #1e293b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .08);
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; color: var(--navy-800); margin: 0 0 .6em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.container.reading { max-width: 740px; }
.center { text-align: center; }
.muted { color: var(--slate-500); }
.eyebrow { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); margin-bottom: .6rem; }
.crumb { display: inline-block; font-size: .9rem; font-weight: 600; text-decoration: none; margin-bottom: 1rem; color: inherit; opacity: .8; }
.crumb:hover { opacity: 1; text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 10px; font: 700 1rem/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-600); }
.btn-ghost { background: transparent; color: var(--navy-800); border-color: var(--slate-300); }
.btn-ghost:hover { border-color: var(--navy-800); }
.on-dark .btn-ghost, .hero .btn-ghost, .cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover, .cta-band .btn-ghost:hover { border-color: #fff; }
.btn-sm { padding: .6rem 1.1rem; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.center .btn-row, .hero.center .btn-row { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 18, 32, .94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav > a, .sub-toggle { color: #e2e8f0; text-decoration: none; font: 600 .95rem/1 var(--font); padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.site-nav > a:hover, .sub-toggle:hover, .site-nav > a[aria-current] { color: #fff; background: rgba(255, 255, 255, .08); }
.site-nav > a.nav-cta { margin-left: 8px; color: #fff; background: var(--orange); }
.site-nav > a.nav-cta:hover { background: var(--orange-600); }
.has-sub { position: relative; }
.sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--navy-800); text-decoration: none; font-weight: 600; font-size: .95rem; }
.sub a:hover { background: var(--slate-100); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: .2s; }
.bars { margin: 0 auto; }
.bars::before, .bars::after { content: ''; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-open .bars { background: transparent; }
.nav-open .bars::before { top: 0; transform: rotate(45deg); }
.nav-open .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 920px) {
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header { backdrop-filter: none; background: var(--navy-900); }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 72px 0 0 0; background: var(--navy-900); flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; visibility: hidden; }
  .nav-open .site-nav { transform: none; visibility: visible; }
  .site-nav > a, .sub-toggle { font-size: 1.1rem; padding: 16px 8px; width: 100%; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 8px 12px; display: none; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; } .has-sub.open:hover .sub { display: block; }
  .sub a { color: #cbd5e1; }
  .sub a:hover { background: rgba(255, 255, 255, .06); }
  .site-nav > a.nav-cta { margin: 20px 0 0; justify-content: center; text-align: center; border-bottom: 0; border-radius: 10px; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; }
.hero h1, .hero h2 { color: #fff; }
.hero .container { position: relative; z-index: 1; padding-top: clamp(72px, 12vw, 150px); padding-bottom: clamp(72px, 12vw, 150px); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 13, 25, .78), rgba(7, 13, 25, .88)); }
.hero .lead { font-size: clamp(1.15rem, 2vw, 1.4rem); color: #e2e8f0; max-width: 40ch; }
.hero.center .lead { margin-inline: auto; }
.hero-sm .container { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-sm { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.hero-sm::before { content: ''; position: absolute; right: -10%; top: -40%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(249, 115, 22, .28), transparent 65%); }
.hero .eyebrow { color: #fdba74; }
.hero em, h1 em { font-style: normal; color: var(--orange); }
.hero h1 strong { color: var(--orange); font-weight: 900; }
.rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: .92rem; color: #cbd5e1; }
.rating .stars { color: #fbbf24; letter-spacing: 2px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--slate-50); }
.section-dark { background: var(--navy-900); color: #cbd5e1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.15rem; color: var(--slate-500); }
.section-dark .section-head p { color: #94a3b8; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.section-alt .card { border-color: transparent; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card-link:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 23, 42, .06), 0 16px 36px rgba(15, 23, 42, .12); }
.card-link .more { margin-top: auto; color: var(--orange-600); font-weight: 700; }
.card-link p { color: var(--slate-500); }
.service-card { padding: 0; overflow: hidden; }
.service-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; border-radius: 0; box-shadow: none; }
.service-card .body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.checks li::before { content: ''; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.includes { display: grid; gap: 20px; margin: 2rem 0; }
.callout { background: #fff7ed; border-left: 4px solid var(--orange); padding: 18px 22px; border-radius: 0 10px 10px 0; }

/* Stats */
.stats { margin-top: 2rem; }
.stat { background: var(--navy-900); color: #cbd5e1; border-radius: var(--radius); padding: 28px; }
.stat-num { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 900; color: var(--orange); line-height: 1; margin-bottom: .4rem; }
.stat p { margin: 0; }
.stat-band .stat { text-align: center; }

.problems { margin-top: 1.5rem; }
.problem { background: var(--navy-900); color: #cbd5e1; border-radius: var(--radius); padding: 26px 26px 26px 30px; border-left: 5px solid var(--orange); }
.problem p { margin: 0; }
.problem .hl { color: var(--orange); font-size: 1.35em; font-weight: 900; white-space: nowrap; }

/* Logos */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 56px; opacity: .85; }
.logos img { height: 44px; width: auto; filter: grayscale(1); transition: .2s; }
.logos img:hover { filter: none; }
.logos-title { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 20px; }

/* Quotes */
.section-dark .big-quote, .section-dark .quote figcaption strong { color: #fff; }
.section-dark .quote figcaption { color: #94a3b8; }
.section-dark .logos { opacity: 1; }
.section-dark .logos img { filter: brightness(0) invert(1); opacity: .8; }
.section-dark .logos img:hover { opacity: 1; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 12px; font-size: 1.12rem; line-height: 1.6; }
.quote figcaption { font-size: .92rem; color: var(--slate-500); }
.quote figcaption strong { color: var(--navy-800); }
.big-quote { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.4; color: var(--navy-800); text-wrap: balance; }

/* Steps / timeline */
.steps { counter-reset: step; display: grid; gap: 20px; }
.steps > * { counter-increment: step; position: relative; padding-left: 72px; }
.steps > *::before { content: counter(step); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; font: 800 1.2rem/48px var(--font); text-align: center; }
.steps h3 { margin-bottom: .2em; }
.steps.weeks > *::before { content: 'W' counter(step); font-size: 1rem; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 820px) { .cols-3 { grid-template-columns: 1fr; } }

/* Topics (speaking) */
.topic { padding: 32px 0; border-bottom: 1px solid #e2e8f0; }
.topic:last-child { border-bottom: 0; }
.topic h3 { font-size: 1.5rem; }
.topic h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-600); margin: 1.4rem 0 .6rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy-900), #172554); color: #cbd5e1; padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { font-size: 1.15rem; max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* Forms */
.signup { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; }
.center .signup, .cta-band .signup { margin-inline: auto; justify-content: center; }
.signup input[type=email], .signup input[type=text], .field { flex: 1 1 220px; padding: .9rem 1rem; border-radius: 10px; border: 2px solid var(--slate-300); font: inherit; background: #fff; color: var(--text); }
.signup input:focus, .field:focus { border-color: var(--orange); outline: none; }
.form-stack { display: grid; gap: 12px; max-width: 460px; }
.form-note { font-size: .88rem; color: var(--slate-500); margin-top: 10px; }
.form-ok { padding: 14px 18px; border-radius: 10px; background: #ecfdf5; color: #065f46; font-weight: 600; }
.hp { position: absolute; left: -9999px; }

/* Posts */
.post-grid { margin-top: 8px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card img, .post-card-ph { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--slate-100); }
.post-card-body { padding: 18px 20px 22px; }
.post-card h3 { font-size: 1.08rem; line-height: 1.3; margin: 0; }
.post-card .eyebrow { font-size: .72rem; margin-bottom: .5rem; }
.post-hero { border-radius: var(--radius); margin: 1.5rem 0 2rem; width: 100%; }
.reading h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.prose { font-size: 1.12rem; line-height: 1.75; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; } .prose h3 { margin-top: 1.6em; }
.prose img { border-radius: 10px; margin: 1.5rem 0; }
.prose iframe, iframe.wp-embedded-content { width: 100%; min-height: 200px; border: 0; border-radius: 10px; margin: 0 0 1rem; }
.prose figure { margin: 0 0 1rem; }
.prose blockquote { border-left: 4px solid var(--orange); margin: 1.5rem 0; padding: .2rem 0 .2rem 1.2rem; color: var(--slate-500); font-style: italic; }
.filter-bar { display: flex; gap: 16px; align-items: center; margin-bottom: 28px; flex-wrap: wrap; }
.filter-bar input { flex: 1 1 280px; max-width: 460px; padding: .9rem 1.1rem; border-radius: 10px; border: 2px solid var(--slate-300); font: inherit; }
.filter-bar input:focus { border-color: var(--orange); outline: none; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: .65rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; }
.badge:hover { background: rgba(255, 255, 255, .2); }
.light .badge { background: var(--slate-100); border-color: #e2e8f0; color: var(--navy-800); }

/* Footer */
.site-footer { background: var(--navy-950); color: #94a3b8; padding: 64px 0 0; font-size: .96rem; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer-grid img { height: 48px; width: auto; align-self: flex-start; }
.footer-h { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 6px; }
.muted-light { color: #94a3b8; max-width: 32ch; margin: 0; }
.footer-base { margin-top: 48px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Book */
.book-cover { max-width: 380px; margin-inline: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); border-radius: 0 !important; box-shadow: none !important; }

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