/* ==========================================================================
   The Coding Firm - shared styles
   Tokens lifted from the Duda theme (--color_1..8). Contrast measured
   2026-10-23 (WCAG 2.1):
     --coral      #FE8366  Duda color_1. Decorative fills, borders, button
                           background. White on it is 2.43:1 (fails), so the
                           button label is navy: 4.96:1 (AA).
     --coral-text #DB5A3B  coral for LARGE headings only: 3.79:1 on white,
                           3.46:1 on blush (AA large, 24px+ / 19px bold).
     --coral-ink  #B94A2B  coral for small text and links: 5.2:1 on white,
                           4.71:1 on blush.
     --gold       #FFBD59  Duda color_2. Top bar ground (navy text 7.27:1) and
                           gold text on the navy footer (7.27:1). 1.66:1 on
                           white, so never gold text on a light ground.
     --gold-text  #B97A12  the gold eyebrow on light grounds, large only:
                           3.59:1 on white, 3.28:1 on blush.
     --navy       #203850  Duda color_3. Body text 12.4:1 on white.
     --blush      #FFF2EE  Duda color_8 (coral at 10%), the banded sections.
   ========================================================================== */

@font-face {
  font-family: 'Jost';
  src: url('/fonts/jost-var.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto-var.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Jost Fallback'; src: local('Arial');
  size-adjust: 93%; ascent-override: 112%; descent-override: 38%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Roboto Fallback'; src: local('Arial');
  size-adjust: 100%; ascent-override: 92.7%; descent-override: 24.4%; line-gap-override: 0%;
}

:root {
  --coral: #FE8366;
  --coral-text: #DB5A3B;
  --coral-ink: #B94A2B;
  --gold: #FFBD59;
  --gold-text: #B97A12;
  --navy: #203850;
  --navy-deep: #182b3e;
  --gray: #777777;
  --line: #e6e1de;
  --tint: #f4f4f4;
  --blush: #FFF2EE;
  --white: #ffffff;
  --font-head: 'Jost', 'Jost Fallback', Arial, sans-serif;
  --font-body: 'Roboto', 'Roboto Fallback', Arial, sans-serif;
  --container: 1008px;   /* Duda's 960px content row + 24px gutters */
  --narrow: 900px;
  --radius: 4px;
  --shadow: 0 6px 24px rgba(32, 56, 80, .10);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-weight: 300; font-size: 16px; line-height: 1.6;
  color: var(--navy); background: var(--white);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-ink); }
main a:not(.btn):not(.card-link):hover { color: var(--navy); }
strong, b { font-weight: 600; }
:target, [id] { scroll-margin-top: calc(var(--header-h) + 16px); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin: 0 0 .5em; line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }

/* Duda's heading pattern: a gold uppercase eyebrow (h2) over a big navy title
   (h3), or a coral subtitle under a navy title. The outline stays honest:
   the eyebrow is a <p>, the title carries the real heading level. */
.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.25rem, 2.1vw, 1.875rem);
  line-height: 1.2; color: var(--gold-text); margin: 0 0 .35em;
}
.eyebrow--caps { text-transform: uppercase; }
.title-lg { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.subtitle { font-family: var(--font-head); font-weight: 600; color: var(--coral-text); font-size: 1.5rem; line-height: 1.25; margin: -.15em 0 .6em; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--navy); color: #fff; padding: .6em 1em; }
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--narrow); }
.text-center { text-align: center; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 500; font-size: 1rem; line-height: 1.3;
  padding: .8em 1.75em; border-radius: var(--radius); border: 2px solid var(--coral);
  background: var(--coral); color: var(--navy); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s; text-align: center;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.btn--block { width: 100%; }
.btn--outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); padding: .55em 1.1em; font-size: .9375rem; font-weight: 400; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.25rem; }
.text-center .btn-row, .btn-row--center { justify-content: center; }

/* --- Top bar + header ------------------------------------------------------ */
.topbar { background: var(--gold); color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: .9375rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar a { color: var(--navy); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__call a { margin-left: .5em; }
.topbar__links { display: flex; align-items: center; gap: .6em; }
.topbar__links .dot { opacity: .8; }
.topbar__links a.is-strong { text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 rgba(32, 56, 80, .08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.logo img { width: 216px; height: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.nav__item { position: relative; margin: 0; display: flex; align-items: center; }
.nav__link { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav__link:hover { color: var(--coral-ink); }
.nav__link.is-active { color: var(--coral-ink); border-bottom-color: var(--coral); }
.nav__toggle { background: none; border: 0; padding: 4px; margin-left: 2px; color: var(--navy); cursor: pointer; display: inline-flex; }
.nav__toggle svg { width: 16px; height: 16px; }
.nav__sub {
  list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -16px; min-width: 280px;
  background: #fff; box-shadow: var(--shadow); border-top: 3px solid var(--coral); border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub, .nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub li { margin: 0; }
.nav__sub a { display: block; padding: 10px 20px; color: var(--navy); text-decoration: none; font-family: var(--font-head); font-weight: 500; }
.nav__sub a:hover { background: var(--blush); color: var(--coral-ink); }
.nav__extra { display: none; }
.burger { display: none; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; }
.burger svg { width: 28px; height: 28px; }

/* --- Sections -------------------------------------------------------------- */
.section { padding: 80px 0; position: relative; }
.section--tight { padding: 48px 0; }
.section--flush-top { padding-top: 0; }
.section--blush { background: var(--blush); }
.section--texture { background-size: cover; background-position: center; }
.section--center { text-align: center; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head .eyebrow { margin-bottom: .25em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--62 { grid-template-columns: 2fr 1fr; }
.split--top { align-items: start; }
.split--42 { grid-template-columns: 42fr 58fr; align-items: start; }
.split--rings { background-repeat: no-repeat; background-size: contain; background-position: right center; }
.media img { width: 100%; height: auto; }
.media--round img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }

/* Interior page hero: photo with a dark wash on the left, as on Duda. */
.page-hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-deep); }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.page-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .1) 100%); }
.page-hero .container { position: relative; min-height: 308px; display: flex; flex-direction: column; justify-content: center; padding-top: 48px; padding-bottom: 48px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.75rem); margin-bottom: .4em; }
.page-hero__sub { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.125rem, 1.7vw, 1.375rem); margin: 0 0 1em; color: #fff; }
.breadcrumb { font-family: var(--font-head); font-size: .9375rem; display: flex; gap: .75em; align-items: center; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { margin: 0; }
.breadcrumb a { color: #fff; }
.breadcrumb [aria-current] { color: var(--gold); font-weight: 600; }
.breadcrumb .sep { opacity: .8; }

/* Home hero */
.home-hero { padding: 72px 0 80px; }
.home-hero .split { grid-template-columns: 1fr 1fr; }
.home-hero h1 { margin-bottom: .45em; }
.home-hero p { font-size: 1rem; max-width: 520px; }

/* Decorative rings Duda drew as textures behind copy columns. */
.rings { background-repeat: no-repeat; background-position: right top; background-size: 260px auto; }

/* --- Cards ----------------------------------------------------------------- */
.program-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.program-card { background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; }
.program-card__icon { display: block; aspect-ratio: 2 / 1; object-fit: contain; background: #fff; width: 100%; border-bottom: 1px solid var(--line); }
.program-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.program-card h3 { font-size: 1.0625rem; margin-bottom: .4em; }
.program-card p { font-size: .875rem; line-height: 1.5; margin-bottom: 1em; }
.program-card .btn { margin-top: auto; align-self: flex-start; }

.qa-cards { display: grid; gap: 20px; }
.qa-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; }
.qa-card h3 { font-size: 1.375rem; margin-bottom: .6em; }

.assist { display: grid; grid-template-columns: 42fr 58fr; gap: 48px; align-items: center; }
.assist__media { background: var(--blush); border-radius: var(--radius); }
.assist__list { display: grid; gap: 16px; }
.assist-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); padding: 18px 20px; }
.assist-item h3 { font-size: 1.0625rem; margin-bottom: .25em; }
.assist-item p { margin: 0; font-size: .9375rem; color: #4a5a6a; }

.icon-badge { width: 48px; height: 48px; border-radius: 50%; background: #fde0d8; color: var(--coral-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(254, 131, 102, .35); }
.icon-badge svg { width: 22px; height: 22px; }

.values { display: grid; gap: 28px; max-width: 900px; margin: 0 auto; }
.value-item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.value-item h3 { font-size: 1.125rem; text-transform: uppercase; margin-bottom: .35em; }
.value-item p { margin: 0; }
.who-head { text-align: center; padding-bottom: 28px; margin-bottom: 40px; border-bottom: 2px solid #e8b9a8; }
.who-head h2 { text-transform: uppercase; font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: .2em; }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; }
.post-card__img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.post-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.0625rem; line-height: 1.35; margin-bottom: .5em; }
.post-card h3 a { color: var(--coral-ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--navy); }
.post-card__meta { font-size: .8125rem; color: var(--gray); margin-bottom: .5em; }
.post-card__excerpt { font-size: .9375rem; color: #4a5a6a; margin-bottom: .75em; }
.post-card__more { margin-top: auto; font-weight: 500; text-decoration: none; }

/* --- Programs: tabs + FAQ accordions ---------------------------------------- */
.program-intro .media img { max-width: 320px; margin-left: auto; }   /* the circle and badge are baked into the photo */
.tabs { margin-top: 8px; }
.tabs__list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.tabs__list li { margin: 0; }
.tabs__tab { width: 100%; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy); background: #fff; border: 0; padding: 18px 12px; cursor: pointer; }
.tabs__tab[aria-selected="true"] { background: var(--tint); }
.tabs__tab:focus-visible { outline: 3px solid var(--coral); outline-offset: -3px; }
.tabs__panel { background: var(--tint); padding: 28px 32px 32px; }
.tabs__panel h3 { font-size: 1.25rem; }
.tabs__panel[hidden] { display: none; }
.js .tabs__panel.no-js-show { display: block; }

.faq-band .split { align-items: start; }
.faq-list { border-left: 1px solid var(--navy); padding-left: 20px; }
.faq-item { border-bottom: 0; }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 14px 0; font-family: var(--font-body); font-size: 1.1875rem; font-weight: 400; color: var(--navy); line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: ''; width: 8px; height: 8px; margin-top: .45em; border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); transform: rotate(-45deg); transition: transform .2s; justify-self: center; }
.faq-item[open] summary::before { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.faq-item__body { padding: 0 0 14px 32px; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* --- Forms ------------------------------------------------------------------ */
.form-card { background: #fff; }
.form-title { font-family: var(--font-head); color: var(--coral-text); font-size: 1.5rem; }
.form-fields { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.form-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field label, .fieldset legend { display: block; font-family: var(--font-body); font-weight: 500; font-size: .9375rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-weight: 400; color: var(--navy); background: #fff;
  border: 1px solid #8796a5; border-radius: 2px; padding: 10px 12px; min-height: 44px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--coral); outline-offset: 1px; border-color: var(--navy); }
.form--line .field input, .form--line .field textarea { border: 0; border-bottom: 1px solid #8796a5; border-radius: 0; padding-left: 0; }
.fieldset { border: 0; margin: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.choices--stack { flex-direction: column; gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.choice input { width: 18px; height: 18px; accent-color: var(--coral-ink); margin: 0; }
.form-actions { display: flex; justify-content: flex-end; }
.form-error { display: none; margin-top: 14px; padding: 12px 16px; background: #fdecea; color: #8a1f11; border-left: 4px solid #c0392b; }
.form-error.show { display: block; }
.form-success { display: none; padding: 16px 0; }
.form-success.show { display: block; }
.form-note { font-size: .8125rem; color: #55636f; margin: 0; }

.contact-details h3 { font-size: 1.125rem; margin-bottom: .25em; }
.contact-details p { margin-bottom: 1.4em; }
.map-frame { width: 100%; aspect-ratio: 16 / 7; border: 0; display: block; background: var(--tint); }

/* --- Article (blog posts) --------------------------------------------------- */
.post-hero { height: 180px; background: var(--tint); position: relative; overflow: hidden; }
.post-hero img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) brightness(.85); transform: scale(1.04); }
.post-wrap { position: relative; margin-top: -120px; padding-bottom: 56px; }
.post-sheet { background: #fff; max-width: 760px; margin: 0 auto; box-shadow: var(--shadow); padding: 44px 40px 48px; }
.post-sheet h1 { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.2; margin-bottom: .3em; }
.post-meta { font-size: .9375rem; padding-bottom: 18px; border-bottom: 2px solid #8a8a8a; margin-bottom: 32px; }
.post-body h2 { font-size: 1.5rem; margin-top: 1.6em; }
.post-body h3 { font-size: 1.25rem; margin-top: 1.4em; }
.post-body img { margin: 1.5em 0; }
.post-more { max-width: 760px; margin: 40px auto 0; }
.post-more h2 { font-size: 1.375rem; }

/* --- Thank you / misc -------------------------------------------------------- */
.thanks-band { background: var(--gold); padding: 56px 0; }
.thanks-card { background: #fff; max-width: 900px; margin: 0 auto; text-align: center; padding: 40px 32px; }
.thanks-card h1 { font-size: clamp(2rem, 3.4vw, 2.75rem); }

/* --- Footer ------------------------------------------------------------------ */
.site-footer .container { max-width: 1400px; }
.site-footer { background: var(--navy); color: #fff; padding: 56px 0 24px; font-size: .9375rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 24px; margin-bottom: 36px; }
.footer-top .logo img { width: 216px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 4px; font-family: var(--font-head); font-weight: 600; font-size: .875rem; }
.footer-nav a.is-active { color: var(--coral); border-bottom: 2px solid var(--coral); }
.footer-nav .dot { opacity: .7; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-grid h2 { color: #fff; font-size: 1.0625rem; margin-bottom: .9em; }
.footer-grid p { color: rgba(255, 255, 255, .88); line-height: 1.75; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin-bottom: .2em; }
.footer-programs { list-style: none; padding: 0; margin: 0; }
.footer-programs li { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .55); }
.footer-programs a { display: block; padding: 14px 8px; }
.footer-bottom { border-top: 2px solid var(--gold); margin-top: 40px; padding-top: 20px; text-align: center; font-size: .8125rem; color: rgba(255, 255, 255, .85); }

/* --- Reveal (fails safe: hidden only via a class JS adds) --------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* --- Responsive ---------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__list { gap: 20px; }
  .logo img { width: 180px; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; top: calc(var(--header-h) + 36px); left: 0; right: 0; bottom: 0; background: #fff;
    padding: 12px 24px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; z-index: 99;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; padding: 16px 0; border-bottom: 0; }
  .nav__toggle { padding: 12px; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; width: 100%; padding: 0 0 8px; min-width: 0; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__extra { display: block; margin-top: 16px; }
  .nav__extra a { display: block; padding: 10px 0; color: var(--navy); font-family: var(--font-head); font-weight: 600; text-decoration: none; }
  .split, .split--62, .split--42, .assist, .home-hero .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .program-intro .media img { margin: 0 auto; }
  .section { padding: 56px 0; }
}
@media (max-width: 640px) {
  .topbar .container { font-size: .875rem; }
  .topbar__links .hide-sm { display: none; }
  .program-cards, .post-grid { grid-template-columns: minmax(0, 1fr); }
  .form-row, .form-row--2 { grid-template-columns: minmax(0, 1fr); }
  .tabs__panel { padding: 22px 18px 26px; }
  .tabs__tab { padding: 14px 6px; font-size: .9375rem; }
  .post-sheet { padding: 28px 20px 32px; }
  .value-item, .assist-item { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .container { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Post pager (Duda's Older / Newer links inside the article sheet). */
.post-pager { display: flex; justify-content: space-between; margin-top: 48px; font-size: .9375rem; }
.post-card__excerpt { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ==========================================================================
   Consulting-first revision (2026-10-29): Vontresa's mockup sections in our
   look. Same tokens; cream band from her mockup (#FFF8EC, navy text 12.0:1).
   ========================================================================== */
:root { --cream: #FFF8EC; }
.section--cream { background: var(--cream); }
.lead { font-size: 1.125rem; line-height: 1.7; }
.eyebrow--sm { font-size: .8125rem; letter-spacing: .08em; }
.btn--sm { padding: .55em 1.2em; font-size: .9375rem; }
.btn--ghost { background: #fff; border: 1px solid var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.hero-note { font-size: .875rem; color: #4a5a6a; margin-top: 1.25rem; }

/* Top bar strap + logo tagline */
.topbar__left { display: flex; align-items: center; gap: 18px; }
.topbar__strap { text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; }
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.logo__tagline { font-family: var(--font-head); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); max-width: 90px; line-height: 1.35; }
.nav__item--cta { margin-left: 4px; }
.nav__item--cta .btn { color: var(--navy); }
.nav__item--cta .btn:hover { color: #fff; }

/* Home hero badge */
.hero-media { position: relative; }
.approach-badge { position: absolute; left: -24px; bottom: 28px; background: #fff; box-shadow: var(--shadow); border-left: 4px solid var(--coral); padding: 14px 18px; max-width: 260px; border-radius: var(--radius); }
.approach-badge p { margin: 0; font-family: var(--font-head); font-weight: 600; }
.approach-badge .eyebrow { margin-bottom: 4px; }

/* Service cards */
.split--head { align-items: end; margin-bottom: 2.5rem; }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.svc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.svc-card { background: #fff; border-top: 4px solid var(--gold); box-shadow: var(--shadow); border-radius: var(--radius); padding: 26px 26px 28px; display: flex; flex-direction: column; }
.svc-card:nth-child(even) { border-top-color: var(--coral); }
.svc-card__num { font-family: var(--font-head); font-weight: 600; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 14px; }
.svc-card .icon-badge { margin-bottom: 14px; }
.svc-card h3 { font-size: 1.25rem; }
.svc-card h3 a { color: var(--navy); text-decoration: none; }
.svc-card h3 a:hover { color: var(--coral-ink); }
.svc-card p { font-size: .9375rem; color: #4a5a6a; }
.svc-card__link { margin-top: auto; font-weight: 600; font-family: var(--font-head); color: var(--coral-ink); text-decoration: none; }
.svc-card__link:hover { color: var(--navy); }
.svc-grid--4 .svc-card { padding: 22px; }
.svc-grid--4 .svc-card h3 { font-size: 1.0625rem; }

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid #e8c9bd; margin: 0; }
.step:last-child { border-bottom: 0; }
.step__num { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--gold-text); }
.step h3 { font-size: 1.25rem; margin-bottom: .2em; }
.step p { margin: 0; }
.steps--wide .step { grid-template-columns: 72px 1fr; padding: 24px 0; }
.steps--wide { max-width: 860px; margin: 0 auto; }

/* Checklists, tags, captions */
.checks { list-style: none; padding: 0; margin: 1.25rem 0; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-bottom: .6em; }
.checks svg { width: 20px; height: 20px; color: var(--coral-ink); margin-top: 2px; }
.tags { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { margin: 0; background: #fff; border: 1px solid #e3d6c7; border-radius: 999px; padding: 6px 14px; font-size: .875rem; }
.media--caption { margin: 0; }
.media--caption figcaption { text-align: center; font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8125rem; color: var(--gold-text); margin-top: 10px; }
.founder-id { display: flex; align-items: center; gap: 16px; margin-top: 1.25rem; }
.founder-photo { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }

/* Feature grid (service pages) */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.feature .icon-badge { margin-bottom: 12px; }
.feature h3 { font-size: 1.125rem; }
.feature p { margin: 0; font-size: .9375rem; color: #4a5a6a; }
.feature-grid--compact .feature { box-shadow: none; border: 1px solid var(--line); }
.faq-list--plain { border-left: 0; padding-left: 0; }
.faq-list--plain .faq-item { border-bottom: 1px solid var(--line); }

/* Consultation card */
.consult-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 28px 30px; border-top: 4px solid var(--gold); }
.consult-card h3 { font-size: 1.5rem; }
.field select { width: 100%; font: inherit; font-weight: 400; color: var(--navy); background: #fff; border: 1px solid #8796a5; border-radius: 2px; padding: 10px 12px; min-height: 44px; }
.contact-lines { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 16px; }
.contact-lines li { display: flex; gap: 14px; align-items: center; margin: 0; }

.footer-grid--4 { grid-template-columns: 1.3fr 1fr 1fr .8fr; }
.footer-strap { font-family: var(--font-head); letter-spacing: .12em; text-transform: uppercase; font-size: .8125rem; color: var(--gold); margin: 0; justify-self: end; }

@media (max-width: 1180px) {
  .logo__tagline { display: none; }
  .nav__list { gap: 18px; }
  .nav__link { font-size: .9375rem; }
}
@media (max-width: 960px) {
  .svc-grid, .svc-grid--4, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid--4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-strap { justify-self: start; }
  .approach-badge { left: 12px; }
  .nav__item--cta { border-bottom: 0; padding-top: 12px; }
}
@media (max-width: 640px) {
  .svc-grid, .svc-grid--4, .feature-grid, .footer-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .approach-badge { position: static; margin-top: 12px; max-width: none; }
}

/* Header + top bar run wider than the 960px content column: the consulting nav
   carries five links, two dropdowns and the Let's Talk button. */
.topbar .container, .site-header .container { max-width: 1280px; }
.nav__link { white-space: nowrap; }
@media (max-width: 1320px) { .logo__tagline { display: none; } }

.home-hero h1 { font-size: clamp(2.25rem, 3.6vw, 3.25rem); }

/* Faint coral line art behind bands, matching Duda's q-and-a backgrounds
   (#F9C9BB line on blush/cream; decorative, aria-hidden). */
.has-wm { overflow: hidden; }
.has-wm > .container { position: relative; z-index: 1; }
.watermark { position: absolute; z-index: 0; color: #F7C3B3; opacity: .55; pointer-events: none; line-height: 0; }
.watermark svg { width: 300px; height: 300px; stroke-width: 1.1; }
.watermark--tr { top: 32px; right: 4%; }
.watermark--br { bottom: 24px; right: 4%; }
.watermark--bl { bottom: 24px; left: 3%; }
.section--qa { background-size: cover; background-position: right center; background-repeat: no-repeat; }
.faq-list--plain .faq-item { border-bottom-color: #efd3c9; }
@media (max-width: 960px) {
  .watermark svg { width: 180px; height: 180px; }
  .watermark { opacity: .4; }
}
