/* ==========================================================================
   Mena Badros — static design source (converted to the WP theme later)
   ========================================================================== */

/* ---------- Palette: Navy & Brass ---------- */
:root {
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --ink: #0B1626;
  --muted: #5B6577;
  --line: #E3E6EC;
  --dark: #0B1626;
  --dark-2: #16243B;
  --on-dark: #FFFFFF;
  --on-dark-muted: #A9B4C6;
  --accent: #E2AE4A;
  --on-accent: #0B1626;
}

:root {
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(56px, 7.5vw, 104px);
  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --shadow: 0 1px 2px rgba(11, 22, 38, .04), 0 12px 32px rgba(11, 22, 38, .06);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; margin: 0; letter-spacing: -0.03em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.dark { background: var(--dark); color: var(--on-dark); }
.surface { background: var(--surface); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--pill); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--pill);
  padding: 8px 14px;
  line-height: 1;
  margin: 0 0 20px;
}
.dark .eyebrow { color: var(--on-dark-muted); border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); }
.section-title { font-size: clamp(30px, 3.6vw, 46px); max-width: 19ch; }
.accent-text { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--pill);
  font: 800 15px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 24px rgba(226, 174, 74, .28); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--on-dark); }
.btn-ghost:hover { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 800; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--dark);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--accent); color: var(--on-accent);
  font: 800 16px/1 var(--font-display); letter-spacing: -0.02em;
  border-radius: var(--radius-sm);
}
.brand-name { font: 800 19px/1 var(--font-display); letter-spacing: -0.02em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--on-dark-muted); transition: color .15s ease; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--on-dark); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.nav-cta { padding: 12px 20px; box-shadow: none; }
.nav-toggle { display: none; background: none; border: 1.5px solid rgba(255, 255, 255, .35); color: inherit; font: 800 14px/1 var(--font-body); padding: 11px 18px; border-radius: var(--pill); cursor: pointer; }

/* Services dropdown */
.nav-item { position: relative; }
.sub-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--on-dark-muted); font: 700 15px/1 var(--font-body); cursor: pointer; transition: color .15s ease; }
.sub-toggle:hover, .has-sub:focus-within .sub-toggle, .sub-toggle.is-current { color: var(--on-dark); }
.sub-toggle .caret { font-size: 11px; }
.sub-menu {
  display: none;
  position: absolute; top: calc(100% + 16px); left: -18px;
  min-width: 270px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(11, 22, 38, .28);
  padding: 10px;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .sub-toggle[aria-expanded="true"] + .sub-menu { display: grid; }
.site-nav .sub-menu a { color: var(--ink); padding: 12px 14px; border-radius: 10px; text-decoration: none; }
.site-nav .sub-menu a:hover, .site-nav .sub-menu a[aria-current="page"] { color: var(--ink); background: var(--bg); text-decoration: none; }

/* ---------- Hero ---------- */
.hero, .page-hero {
  background:
    radial-gradient(800px 420px at 88% -10%, rgba(64, 108, 190, .34), transparent 65%),
    radial-gradient(600px 360px at 0% 110%, rgba(226, 174, 74, .12), transparent 60%),
    var(--dark);
}
.hero { padding: clamp(36px, 5vw, 64px) 0 clamp(52px, 6vw, 84px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(36px, 4.5vw, 60px); line-height: 1.05; margin-bottom: 22px; }
.hero-title span { display: block; }
.lede { font-size: clamp(17px, 1.4vw, 19px); max-width: 54ch; color: var(--on-dark-muted); margin-bottom: 30px; }
.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 380px; margin-right: 16px; }
.hero-photo::before {
  content: "";
  position: absolute; inset: 16px -16px -16px 16px;
  background: var(--accent);
  border-radius: 28px;
}
.hero-photo img { position: relative; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: 28px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding-bottom: clamp(36px, 5vw, 56px);
}
.stats > div { padding: 22px 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--radius); }
.stats dt { font: 800 clamp(30px, 3.2vw, 42px)/1 var(--font-display); letter-spacing: -0.03em; color: var(--accent); }
.stats dd { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--on-dark-muted); }

/* ---------- Trust strip ---------- */
.trust { background: var(--dark-2); color: var(--on-dark); padding: 22px 0; }
.trust-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trust-label { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px 30px; font-weight: 800; font-size: 16px; }

/* ---------- Cards ---------- */
.path-grid, .card-grid, .review-grid, .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.path, .card, .review, .post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}
.surface .card, .surface .review { background: var(--bg); box-shadow: none; }
.placeholder { border-style: dashed; box-shadow: none; }

.path { display: flex; flex-direction: column; text-decoration: none; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.path:hover { background: var(--dark); color: var(--on-dark); transform: translateY(-4px); }
.path-num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg); color: var(--ink);
  font: 800 14px/1 var(--font-body);
  margin-bottom: 36px;
}
.path:hover .path-num { background: var(--accent); color: var(--on-accent); }
.path:hover p { color: var(--on-dark-muted); }
.path h3 { font-size: 24px; margin-bottom: 12px; }
.path p { color: var(--muted); flex: 1; }
.path-link { font-weight: 800; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.path:hover .path-link { color: var(--accent); }

.card { display: flex; flex-direction: column; }
.card > .text-link { margin-top: auto; align-self: flex-start; }
.card h3 { font-size: 23px; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card > :last-child { margin-bottom: 0; }
.card ul { border-top: 1px solid var(--line); margin-top: 20px; }
.card li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split .section-title { margin-bottom: 22px; }
.split p { color: var(--muted); max-width: 56ch; }
.split .btn { margin-top: 10px; }

.invest { background: var(--surface); }
.strategy-list { counter-reset: s; display: grid; gap: 12px; }
.strategy-list li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; padding: 22px 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.section:not(.surface):not(.invest) .strategy-list li { background: var(--surface); }
.strategy-list li::before { content: "0" counter(s); font-weight: 800; font-size: 14px; color: var(--accent); padding-top: 5px; }
.strategy-list h3 { font-size: 21px; margin-bottom: 6px; }
.strategy-list p { grid-column: 2; margin: 0; }

/* ---------- Courses ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.section-intro { max-width: 44ch; margin: 0; color: var(--on-dark-muted); }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course { background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; min-height: 230px; }
.course.placeholder { border: 1px dashed rgba(255, 255, 255, .3); background: transparent; }
.course-tag { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.dark .course-tag { color: var(--accent); }
.course h4 { font-size: 23px; margin: 0 0 10px; }
.course p:not(.course-tag) { color: var(--on-dark-muted); flex: 1; }
.course a { font-weight: 800; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.course a:hover { color: var(--accent); }
.group-title { font: 800 12px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.dark .group-title { color: var(--on-dark-muted); }
.group-title + .review-grid, .group-title + .card-grid, .group-title + .media-grid { margin-top: 0; }
.review-grid + .group-title, .card-grid + .group-title, .media-grid + .group-title { margin-top: 56px; }
.course-grid + .group-title { margin-top: 56px; }
.class-list { border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; }
.class-list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: baseline; padding: 18px 24px; background: rgba(255, 255, 255, .03); }
.class-list li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
.class-list strong { font: 800 20px/1.1 var(--font-display); letter-spacing: -0.02em; }
.class-list span { color: var(--on-dark-muted); }
.class-note { margin: 22px 0 0; color: var(--on-dark-muted); }
.class-note a { color: var(--on-dark); font-weight: 800; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* ---------- Speaking ---------- */
.speaking { background: var(--accent); color: var(--on-accent); padding: var(--section) 0; }
.speaking .eyebrow { color: var(--on-accent); border-color: rgba(11, 22, 38, .25); background: transparent; }
.big-quote { font: 800 clamp(36px, 6vw, 80px)/1.02 var(--font-display); letter-spacing: -0.04em; margin: 0 0 28px; max-width: 14ch; }
.quote-words { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.quote-words li { font: 800 clamp(16px, 1.6vw, 20px)/1 var(--font-display); border: 1.5px solid var(--on-accent); border-radius: var(--pill); padding: 12px 20px; }
.speaking-copy { font-weight: 600; max-width: 48ch; margin-bottom: 24px; }
.speaking .btn-dark { background: var(--on-accent); color: #fff; }

/* ---------- About / credentials ---------- */
.creds { margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.surface .creds { background: var(--bg); }
.creds li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 15px 22px; color: var(--muted); }
.creds li + li { border-top: 1px solid var(--line); }
.creds strong { color: var(--ink); font-weight: 800; }
.creds.wide li { grid-template-columns: 200px 1fr; }
.about-photo img { width: 100%; max-width: 440px; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: 28px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--surface); }
.review { margin: 0; }
.review blockquote { margin: 0 0 20px; font: 600 19px/1.45 var(--font-display); letter-spacing: -0.01em; }
.review blockquote:last-child { margin-bottom: 0; }
.review figcaption { font-size: 14px; font-weight: 700; color: var(--muted); }

/* ---------- Insights + newsletter ---------- */
.insights .section-head { align-items: baseline; margin-bottom: 0; }
.post-card h3 { font-size: 21px; margin-bottom: 10px; }
.post-card p:last-child { color: var(--muted); margin: 0; }
.newsletter {
  margin-top: 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
  background: radial-gradient(600px 300px at 100% 0%, rgba(64, 108, 190, .34), transparent 65%), var(--dark);
  color: var(--on-dark);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
}
.newsletter h3 { font-size: 26px; margin-bottom: 6px; }
.newsletter p { margin: 0; color: var(--on-dark-muted); }
.newsletter-fields { display: flex; gap: 10px; flex: 1 1 380px; max-width: 500px; }
.newsletter input {
  flex: 1; min-width: 0;
  padding: 14px 20px;
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .06); color: var(--on-dark);
  font: 600 16px/1.2 var(--font-body);
}
.newsletter input::placeholder { color: var(--on-dark-muted); }

/* ---------- CTA + footer ---------- */
.cta { padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--dark-2); background: radial-gradient(700px 360px at 12% 120%, rgba(226, 174, 74, .16), transparent 62%), var(--dark); }
.cta h2 { font-size: clamp(32px, 4.4vw, 56px); max-width: 16ch; margin-bottom: 16px; }
.cta p { color: var(--on-dark-muted); font-size: 18px; margin-bottom: 28px; }

.site-footer { padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid p { color: var(--on-dark-muted); margin-top: 16px; }
.site-footer nav, .site-footer address { display: grid; gap: 10px; align-content: start; font-style: normal; font-weight: 600; }
.site-footer nav a, .site-footer address a { text-decoration: none; }
.site-footer nav a:hover, .site-footer address a:hover { color: var(--accent); }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--dark-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.legal a { color: var(--on-dark); font-weight: 700; text-underline-offset: 4px; }
.legal a:hover { color: var(--accent); }
.legal p { margin: 0; font-size: 14px; color: var(--on-dark-muted); }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(36px, 4.5vw, 64px) 0; }
.page-hero h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; max-width: 20ch; margin-bottom: 18px; }
.page-hero .lede { margin-bottom: 26px; }
.page-hero .lede:last-child { margin-bottom: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; counter-reset: step; }
.steps li { counter-increment: step; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.surface .steps li { background: var(--bg); box-shadow: none; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--pill);
  background: var(--accent); color: var(--on-accent);
  font-weight: 800; font-size: 15px;
  margin-bottom: 24px;
}
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }

.note { margin-top: 28px; padding: 18px 22px; border: 1px dashed var(--muted); border-radius: var(--radius-sm); color: var(--muted); font-weight: 600; }
.dark .note { border-color: var(--on-dark-muted); color: var(--on-dark-muted); }

.course-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; font-weight: 700; font-size: 15px; color: var(--on-dark-muted); }
.course-hero-meta span { border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); border-radius: var(--pill); padding: 10px 16px; line-height: 1; }
.course-hero-meta strong { color: var(--accent); font-weight: 800; margin-right: 6px; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg); color: var(--ink);
  font: 500 16px/1.4 var(--font-body);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.field textarea { min-height: 150px; resize: vertical; }
.form .btn { justify-self: start; }
.booking-slot { display: grid; place-items: center; min-height: 300px; text-align: center; padding: 32px; border: 1px dashed var(--muted); border-radius: var(--radius); color: var(--muted); font-weight: 600; margin-top: 28px; }
.contact-details { display: grid; gap: 12px; }
.contact-details > div { padding: 20px 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-details h3 { font: 800 12px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact-details a, .contact-details p { font: 800 19px/1.3 var(--font-display); letter-spacing: -0.02em; margin: 0; text-decoration: none; overflow-wrap: anywhere; }
.contact-details a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Home: paths, credibility, proof, inquiry ---------- */
.path-grid.four, .steps.four { grid-template-columns: repeat(4, 1fr); }
.path-grid.four .path { padding: 26px; }
.path-grid.four .path h3 { font-size: 21px; }

.cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 40px; }
.cred { padding: 26px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--radius); }
.cred.placeholder { border: 1px dashed rgba(255, 255, 255, .3); background: transparent; }
.cred h3 { font: 800 12px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.cred .big { display: block; font: 800 44px/1 var(--font-display); letter-spacing: -0.03em; margin-bottom: 10px; }
.cred p { margin: 0; color: var(--on-dark-muted); }
.cred li { font-weight: 700; }
.cred li + li { margin-top: 10px; }
.cred li span { display: block; font-weight: 500; font-size: 14px; color: var(--on-dark-muted); }

.review .course-tag { margin-bottom: 14px; }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.media-slot { aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 20px; border: 1px dashed var(--muted); border-radius: var(--radius); color: var(--muted); font-weight: 600; }
.media-slot.wide { aspect-ratio: 16 / 9; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(24px, 3.5vw, 40px); }
.inquiry .contact-details { margin-top: 28px; }
.inquiry .contact-details > div { background: var(--surface); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: var(--pill); padding: 10px 16px; font-weight: 700; font-size: 14px; line-height: 1; }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

.faq { display: grid; gap: 12px; margin-top: 40px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; }
.surface .faq details { background: var(--bg); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font: 800 18px/1.3 var(--font-display); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--pill); background: var(--accent); color: var(--on-accent); font: 800 18px/1 var(--font-body); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0; padding-bottom: 22px; color: var(--muted); max-width: 70ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .path-grid.four, .steps.four, .cred-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1040px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dark);
    padding: 8px var(--gutter) 24px;
    border-top: 1px solid var(--dark-2);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--dark-2); font-size: 17px; color: var(--on-dark); }
  .nav-cta { margin-top: 20px; }
  .sub-toggle { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--dark-2); font-size: 17px; color: var(--on-dark); }
  .sub-toggle .caret { display: none; }
  .sub-menu, .has-sub:hover .sub-menu { display: grid; position: static; min-width: 0; background: transparent; box-shadow: none; border-radius: 0; padding: 6px 0 6px 16px; border-bottom: 1px solid var(--dark-2); }
  .sub-menu::before { display: none; }
  .site-nav .sub-menu a { color: var(--on-dark-muted); padding: 10px 0; border-bottom: 0; font-size: 16px; }
  .site-nav .sub-menu a:hover, .site-nav .sub-menu a[aria-current="page"] { background: transparent; color: var(--on-dark); }
}
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; max-width: 320px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .path-grid, .course-grid, .review-grid, .post-grid, .card-grid, .card-grid.two, .steps, .contact-grid, .media-grid { grid-template-columns: 1fr; }
  .path-num { margin-bottom: 24px; }
  .course { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .newsletter-fields { flex-direction: column; flex-basis: 100%; }
  .btn-row .btn { width: 100%; }
  .class-list li, .creds.wide li { grid-template-columns: 1fr; gap: 4px; }
  .path-grid.four, .steps.four, .cred-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .path { transition: none; }
}

.contact-grid.flip { grid-template-columns: 0.8fr 1.2fr; }

/* ---------- Hero artwork: line art on the right, fading out toward the text ---------- */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }
.hero-art {
  position: absolute; z-index: 0;
  top: 50%; right: max(8px, calc(50vw - 620px));
  height: 88%; width: auto; max-width: none;
  transform: translateY(-50%);
  opacity: .8;
  pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 48%);
  mask-image: linear-gradient(to right, transparent 0%, #000 48%);
}
@media (min-width: 1041px) {
  .page-hero h1 { max-width: 640px; }
  .page-hero .lede { max-width: 560px; }
}
.hero > .hero-art {
  top: auto; bottom: 0; right: 0;
  height: auto; width: min(980px, 78%);
  transform: none;
  opacity: .38;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 55%), linear-gradient(to top, #000 40%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 55%), linear-gradient(to top, #000 40%, transparent 100%);
  mask-composite: intersect;
}
.page-hero { min-height: clamp(240px, 24vw, 330px); display: flex; align-items: center; }
.page-hero > .wrap { width: 100%; }

/* Hero proof points */
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-weight: 700; font-size: 14px; color: var(--on-dark-muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: var(--pill); background: var(--accent); }

/* Icons in path cards */
.path-num svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.path-num { transition: background-color .2s ease, color .2s ease; }

/* Cards lift slightly on hover */
.card, .review, .post-card, .steps li { transition: transform .2s ease, box-shadow .2s ease; }
.card:not(.placeholder):hover, .review:not(.placeholder):hover, .steps li:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 22, 38, .05), 0 18px 40px rgba(11, 22, 38, .10); }

/* Brass bar that closes the homepage hero */
.hero-bar { background: linear-gradient(90deg, #EDC066 0%, #DDA236 100%); color: var(--ink); }
.hero-bar ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-bar li { padding: 18px 24px; }
.hero-bar li:first-child { padding-left: 0; }
.hero-bar li + li { border-left: 1px solid rgba(11, 22, 38, .18); }
.hero-bar strong { display: block; font: 800 20px/1.15 var(--font-display); letter-spacing: -0.02em; }
.hero-bar span { display: block; margin-top: 3px; font-size: 14px; font-weight: 600; line-height: 1.4; }
@media (max-width: 900px) {
  .hero-bar ul { grid-template-columns: 1fr 1fr; }
  .hero-bar li { padding: 14px 16px 14px 0; }
  .hero-bar li + li { border-left: 0; }
  .hero-bar li:nth-child(n+3) { border-top: 1px solid rgba(11, 22, 38, .18); }
}

/* Promo banner */
.promo-section { padding-top: 0; }
.promo {
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: clamp(24px, 4vw, 56px);
  background: linear-gradient(135deg, #EDC066 0%, #DDA236 100%);
  color: var(--ink);
  border-radius: 28px;
  padding: clamp(28px, 4.5vw, 60px);
  box-shadow: 0 24px 60px rgba(221, 162, 54, .28);
}
.promo .eyebrow { background: rgba(255, 255, 255, .4); border-color: transparent; color: var(--ink); }
.promo h2 { font-size: clamp(30px, 3.8vw, 48px); max-width: 15ch; margin-bottom: 16px; }
.promo p { max-width: 52ch; font-weight: 500; }
.promo-list { display: grid; gap: 10px; margin: 6px 0 28px; font-weight: 700; }
.promo-list li { display: flex; align-items: center; gap: 12px; }
.promo-list li::before { content: "\2713"; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: var(--pill); background: var(--ink); color: var(--accent); font-size: 13px; font-weight: 800; }
.promo .btn-row { align-items: center; gap: 12px 24px; }
.promo-art img { width: 100%; height: auto; }

/* Footer columns */
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; }
.footer-title { font: 800 12px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.site-footer nav a, .site-footer address a, .site-footer address span { color: var(--on-dark-muted); transition: color .15s ease; }
.site-footer nav a:hover, .site-footer address a:hover { color: var(--on-dark); }
.footer-grid .btn { margin-top: 8px; }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .hero-art { opacity: .3; right: -60px; }
  .hero > .hero-art { opacity: .22; right: 0; }
}
@media (max-width: 900px) {
  .promo { grid-template-columns: 1fr; }
  .promo-art { max-width: 340px; margin: 0 auto; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-art { opacity: .2; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 900px) { .contact-grid.flip { grid-template-columns: 1fr; } }

/* ==========================================================================
   WordPress theme: editor content, posts, forms, accounts, LearnDash
   ========================================================================== */

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sticky header sits below the admin bar for logged-in editors */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Content typed into the WordPress editor */
.prose { max-width: 760px; }
.prose.wide { max-width: none; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.7em; }
.prose h3 { font-size: 22px; margin-top: 1.5em; }
.prose h4 { font-size: 18px; margin-top: 1.4em; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { font-weight: 700; text-underline-offset: 4px; }
.prose img { border-radius: var(--radius-sm); }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.prose blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 4px solid var(--accent); font: 600 20px/1.5 var(--font-display); letter-spacing: -0.01em; }
.prose iframe, .prose video { max-width: 100%; border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.split .prose p { color: var(--muted); }
.post-thumb img { width: 100%; border-radius: var(--radius); margin-bottom: 32px; }

/* Insights cards */
.post-card { display: flex; flex-direction: column; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.post-card p:last-child { color: var(--muted); margin: 0; }
.post-card p:not(.course-tag) { color: var(--muted); }
.post-card .text-link { margin-top: auto; align-self: flex-start; }
a.chip { text-decoration: none; transition: border-color .15s ease; }
a.chip:hover { border-color: var(--ink); }

/* Pagination */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); font-weight: 800; font-size: 15px; text-decoration: none; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--ink); }

/* Form feedback and the spam-trap field */
.form-status { padding: 16px 20px; border-radius: var(--radius-sm); font-weight: 700; margin-bottom: 20px; }
.form-status--success { background: #E4F4EA; color: #14592F; }
.form-status--error { background: #FCE9E9; color: #8F1D1D; }
.newsletter .form-status { flex-basis: 100%; margin: 0; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
#form-status { scroll-margin-top: 110px; }

/* Student login */
.login-card { max-width: 480px; }
.login-card form p { margin: 0 0 18px; }
.login-card label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.login-card input[type="text"], .login-card input[type="password"], .login-card input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg); color: var(--ink);
  font: 500 16px/1.4 var(--font-body);
}
.login-card input[type="text"]:focus, .login-card input[type="password"]:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.login-card .login-remember label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; margin: 0; }
.login-card input[type="submit"] {
  padding: 15px 28px;
  border: 0; border-radius: var(--pill);
  background: var(--ink); color: #fff;
  font: 800 15px/1 var(--font-body);
  cursor: pointer;
}
.login-card .login-help { margin: 0; }
.login-note { margin: 24px 0 0; color: var(--muted); }

/* LearnDash output inside the theme */
.ld-content { max-width: 960px; }
.ld-content .learndash-wrapper, .learndash-wrapper { font-family: var(--font-body); }
.prose .learndash-wrapper ul, .prose .learndash-wrapper ol { list-style: none; padding-left: 0; }
.prose .learndash-wrapper li + li { margin-top: 0; }
.prose .learndash-wrapper a { font-weight: inherit; }

/* Comments on articles */
.comments .comment-list, .comments .children { list-style: none; padding-left: 0; }
.comments .children { padding-left: 24px; }
.comments .comment-list li + li { margin-top: 0; }
.comments .comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comments .comment-author img { border-radius: 999px; vertical-align: middle; margin-right: 10px; }
.comments .comment-metadata { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.comments .comment-metadata a { font-weight: 500; }
.comment-form p { margin: 0 0 16px; }
.comment-form label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
  font: 500 16px/1.4 var(--font-body);
}
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 500; }
.comment-form .submit { padding: 15px 28px; border: 0; border-radius: var(--pill); background: var(--ink); color: #fff; font: 800 15px/1 var(--font-body); cursor: pointer; }