/*
Theme Name: 8CountWeb Theme
Author: 8CountWeb
Description: The Gutenberg-first WordPress theme for 8CountWeb.
Version: 0.8.73
Text Domain: 8countweb-theme
*/

:root {
  --navy: #0f172a;
  --teal: #0f766e;
  --gold: #f59e0b;
  --cloud: #f8fafc;
  --ink: #172033;
  --muted: #526174;
  --line: #dbe3ed;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cloud); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.site-shell { overflow: hidden; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { background: var(--navy); color: var(--white); }
.header-row { align-items: center; display: flex; justify-content: space-between; min-height: 74px; gap: 24px; }
.brand { align-items: center; display: inline-flex; flex: 0 1 260px; gap: 10px; }
.skip-link:focus { background: var(--white); color: var(--navy); display: block; left: 16px; padding: 12px 16px; position: fixed; top: 16px; z-index: 10000; }
.brand img { display: block; height: auto; max-width: 260px; width: 100%; }
.brand__mark { align-items: center; background: linear-gradient(135deg, var(--teal), var(--gold)); border-radius: 10px; color: var(--navy); display: inline-flex; font-size: 1.25rem; font-weight: 900; height: 42px; justify-content: center; width: 42px; }
.brand__text { color: var(--white); font-size: 1.08rem; font-weight: 850; letter-spacing: .01em; }
.site-nav { align-items: center; display: flex; gap: 18px; font-size: 0.94rem; font-weight: 650; }
.site-nav a { color: inherit; text-decoration: none; }
.site-nav > a, .site-nav__primary-link { align-items: center; display: inline-flex; min-height: 44px; min-width: 44px; white-space: nowrap; }
.experience-site .site-nav > a, .experience-site .site-nav__primary-link { min-height: 44px !important; }
.site-nav a:hover, .site-nav__toggle:hover, .site-nav a[aria-current="page"], .site-nav__services.is-current .site-nav__primary-link { color: #99f6e4; }
.site-nav__services { align-items: center; display: inline-flex; gap: 2px; position: relative; }
.site-nav__toggle { align-items: center; appearance: none; background: transparent; border: 0; color: inherit; cursor: pointer; display: inline-flex; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 10px; width: 44px; }
.site-nav__toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.site-nav__toggle svg { fill: none; height: 16px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; transition: transform .18s ease; width: 16px; }
.site-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav__submenu { background: var(--navy); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; box-shadow: 0 18px 32px rgba(3, 10, 22, .34); display: grid; left: -14px; min-width: 220px; padding: 8px; position: absolute; top: calc(100% + 4px); z-index: 30; }
.site-nav__submenu[hidden] { display: none; }
.site-nav__submenu a { align-items: center; border-radius: 7px; display: flex; min-height: 44px; padding: 9px 12px; }
.site-nav__submenu a:hover, .site-nav__submenu a:focus-visible, .site-nav__submenu a[aria-current="page"] { background: rgba(255,255,255,.1); }
.site-nav__utility { border-left: 1px solid rgba(255,255,255,.22); gap: 6px; padding-left: 17px; }
.site-nav__utility svg { fill: none; height: 17px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; width: 17px; }
.menu-toggle { align-items: center; background: transparent; border: 1px solid rgba(255,255,255,.55); border-radius: 8px; color: var(--white); cursor: pointer; display: none; height: 48px; justify-content: center; padding: 0; width: 48px; }
.menu-toggle:hover { background: rgba(255,255,255,.12); }
.menu-toggle__icon, .menu-toggle__icon::before, .menu-toggle__icon::after { background: currentColor; border-radius: 99px; display: block; height: 2px; position: relative; width: 22px; }
.menu-toggle__icon::before, .menu-toggle__icon::after { content: ""; left: 0; position: absolute; }
.menu-toggle__icon::before { top: -7px; }
.menu-toggle__icon::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 0; transform: rotate(-45deg); }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.button { align-items: center; background: var(--teal); border: 2px solid var(--teal); border-radius: 8px; color: var(--white); display: inline-flex; font-weight: 750; justify-content: center; min-height: 48px; padding: 0 21px; transition: 160ms ease; }
.button:hover { background: #0f766e; border-color: #0f766e; transform: translateY(-1px); }
.button--outline { background: transparent; border-color: rgba(255,255,255,.55); }
.button--outline:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.page-hero .button--outline { border-color: var(--teal); color: var(--teal); }
.page-hero .button--outline:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.wp-block-button.button .wp-block-button__link { align-items: center; background: var(--teal); border: 2px solid var(--teal); border-radius: 8px; color: var(--white); display: inline-flex; font-weight: 750; justify-content: center; min-height: 48px; padding: 0 21px; transition: 160ms ease; }
.wp-block-button.button .wp-block-button__link:hover { background: #0f766e; border-color: #0f766e; transform: translateY(-1px); }
.wp-block-button.button--outline .wp-block-button__link { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.wp-block-button.button--outline .wp-block-button__link:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.page-hero .wp-block-button.button--outline .wp-block-button__link, .section--white .wp-block-button.button--outline .wp-block-button__link, .section .wp-block-button.button--outline .wp-block-button__link { border-color: var(--teal); color: var(--teal); }
.page-hero .wp-block-button.button--outline .wp-block-button__link:hover, .section--white .wp-block-button.button--outline .wp-block-button__link:hover, .section .wp-block-button.button--outline .wp-block-button__link:hover { background: var(--teal); color: var(--white); }
.wp-site-main > .wp-block-group { margin-block-start: 0; }
.breadcrumbs { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: .84rem; gap: 8px; padding-bottom: 14px; padding-top: 18px; }
.breadcrumbs a { color: #0f766e; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.wp-block-group.container, .wp-block-group.section-intro { margin-left: auto; margin-right: auto; }
.wp-block-buttons.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero { background: radial-gradient(circle at 84% 12%, rgba(13,148,136,.42), transparent 33%), radial-gradient(circle at 74% 80%, rgba(245,158,11,.16), transparent 26%), var(--navy); color: var(--white); padding: 106px 0 114px; position: relative; }
.hero::after { border: 1px solid rgba(153,246,228,.18); border-radius: 999px; content: ""; height: 460px; position: absolute; right: -240px; top: -180px; width: 460px; }
.hero > .container { position: relative; z-index: 1; }
.hero-grid { align-items: center; display: grid; gap: 56px; grid-template-columns: 1.2fr .8fr; }
.eyebrow { color: #99f6e4; font-size: .78rem; font-weight: 800; letter-spacing: .12em; margin: 0 0 14px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.5rem, 5vw, 4.65rem); letter-spacing: -.055em; line-height: 1.04; margin-bottom: 25px; }
h2 { font-size: clamp(1.9rem, 3vw, 2.85rem); letter-spacing: -.035em; line-height: 1.12; margin-bottom: 18px; }
h3 { font-size: 1.18rem; line-height: 1.25; margin-bottom: 9px; }
.hero-copy { color: #d6e2f1; font-size: 1.14rem; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero-card { background: var(--white); border-radius: 16px; box-shadow: var(--shadow); color: var(--ink); padding: 28px; }
.hero-card__label { color: var(--teal); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-card ul { list-style: none; margin: 18px 0 0; padding: 0; }
.hero-card li { border-top: 1px solid var(--line); padding: 14px 0; }
.hero-card li::before { color: var(--teal); content: "\2713"; font-weight: 900; margin-right: 10px; }
.hero-showcase { background: rgba(255,255,255,.08); border: 1px solid rgba(153,246,228,.22); border-radius: 16px; box-shadow: 0 24px 70px rgba(0,0,0,.22); padding: 18px; }
.hero-showcase .concept-visual { border-radius: 12px; min-height: 280px; }
.hero-showcase__footer { align-items: center; display: flex; gap: 12px; justify-content: space-between; padding: 16px 4px 2px; }
.hero-showcase__footer strong { color: var(--white); display: block; font-size: .95rem; }
.hero-showcase__footer span { color: #d6e2f1; font-size: .82rem; }
.hero-showcase__pill { background: #99f6e4; border-radius: 999px; color: var(--navy); font-size: .72rem; font-weight: 850; padding: 6px 10px; white-space: nowrap; }
.proof-strip { background: #082d35; border-top: 1px solid rgba(153,246,228,.25); color: var(--white); }
.proof-strip__row { align-items: center; display: flex; gap: 24px; justify-content: space-between; padding: 19px 0; }
.proof-strip strong { color: #99f6e4; letter-spacing: .02em; }
.proof-strip p { color: #d6e2f1; font-size: .95rem; margin: 0; }
.mission { background: var(--white); }
.mission__copy { color: var(--muted); font-size: clamp(1.3rem, 2.3vw, 1.85rem); line-height: 1.45; max-width: 880px; }
.mission__copy strong { color: var(--navy); }
.section { padding: 88px 0; }
.section--white { background: var(--white); }
.section-intro { max-width: 710px; }
.section-intro p { color: var(--muted); font-size: 1.08rem; }
.page-hero { background: linear-gradient(135deg, #e8fffb 0%, var(--cloud) 52%, #fff5db 100%); padding: 88px 0 74px; }
.page-hero .section-intro { max-width: 880px; }
.page-hero h1 { color: var(--navy); font-size: clamp(2.5rem, 5vw, 4.25rem); }
.page-hero p:not(.eyebrow) { color: var(--muted); font-size: 1.14rem; max-width: 720px; }
.section-heading { display: flex; gap: 28px; justify-content: space-between; align-items: end; }
.section-heading > * { margin-bottom: 0; }
.section-heading p { color: var(--muted); max-width: 520px; }
.comparison-wrap { border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; margin-top: 32px; }
.comparison-table { border-collapse: collapse; min-width: 680px; width: 100%; }
.comparison-table th, .comparison-table td { border-bottom: 1px solid var(--line); padding: 17px 20px; text-align: left; }
.comparison-table th { background: #edfdfa; color: var(--navy); font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; }
.comparison-table td { background: var(--white); color: var(--muted); }
.comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table td:first-child { color: var(--ink); font-weight: 720; }
@media (max-width: 780px) {
  /* Present pricing comparisons as readable cards instead of a scrollable table. */
  .comparison-wrap { overflow: visible; }
  .comparison-table { min-width: 0; }
  .comparison-table caption { display: block; padding: 16px 16px 0; text-align: left; }
  .comparison-table thead { display: none; }
  .comparison-table, .comparison-table tbody, .comparison-table tr, .comparison-table td { display: block; width: 100%; }
  .comparison-table tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .comparison-table tr:last-child { border-bottom: 0; }
  .comparison-table td { align-items: baseline; border: 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) auto; padding: 10px 16px; }
  .comparison-table td::before { color: var(--navy); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  .comparison-table td:first-child { grid-template-columns: 1fr; padding-bottom: 4px; }
  .comparison-table td:first-child::before { display: none; }
  .comparison-wrap[aria-label] .comparison-table td:nth-child(2)::before { content: "Build"; }
  .comparison-wrap[aria-label] .comparison-table td:nth-child(3)::before { content: "First-year Care"; }
  .comparison-wrap[aria-label] .comparison-table td:nth-child(4)::before { content: "Starting first-year total"; }
  .comparison-wrap:not([aria-label]) .comparison-table td:nth-child(2)::before { content: "From"; }
  .comparison-wrap:not([aria-label]) .comparison-table td:nth-child(3)::before { content: "Typical scope"; }
}
.callout { background: #edfdfa; border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; color: var(--ink); margin-top: 28px; padding: 23px 26px; }
.callout p { margin-bottom: 0; }
.referral-hero { background: linear-gradient(135deg, #e8fffb 0%, #f8fafc 53%, #fff1ce 100%); }
.referral-steps { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; }
.referral-step { background: var(--cloud); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.referral-step span { align-items: center; background: var(--teal); border-radius: 999px; color: var(--white); display: inline-flex; font-size: .9rem; font-weight: 850; height: 32px; justify-content: center; margin-bottom: 18px; width: 32px; }
.referral-step h3, .referral-details__card h3 { color: var(--navy); font-size: 1.3rem; }
.referral-step p, .referral-details__card p { color: var(--muted); margin-bottom: 0; }
.referral-rule { background: var(--navy); border-radius: 16px; color: var(--white); margin-top: 28px; padding: clamp(26px, 4vw, 40px); }
.referral-rule h2 { color: var(--white); font-size: clamp(1.55rem, 3vw, 2.35rem); margin-bottom: 12px; }
.referral-rule p { color: #d6e2f1; font-size: 1.08rem; margin: 0; max-width: 830px; }
.referral-details { align-items: start; display: grid; gap: clamp(28px, 6vw, 84px); grid-template-columns: 1.1fr .9fr; }
.referral-details__card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 30px; }
.referral-details__card p + p { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.referral-form-wrap { max-width: 900px; }
.referral-form { margin-top: 32px; }
.referral-consent { align-items: flex-start; color: var(--ink); display: flex !important; font-weight: 600 !important; gap: 10px; line-height: 1.5; }
.referral-consent input { flex: 0 0 auto; height: 20px; margin: 3px 0 0; width: 20px; }
.article-layout { max-width: 820px; }
.article-layout > * + * { margin-top: 24px; }
.article-layout h2 { color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 56px; }
.article-layout li { color: var(--muted); margin: 9px 0; }
.article-lede { color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.42rem); line-height: 1.65; }
.article-figure { margin: 32px 0; }
.article-figure img { aspect-ratio: 2 / 1; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); display: block; height: auto; object-fit: cover; width: 100%; }
.article-figure figcaption { color: var(--muted); font-size: .9rem; line-height: 1.5; margin-top: 10px; }
.article-answer { background: #edfdfa; border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; margin-top: 32px; padding: 24px 26px; }
.article-answer h2 { margin-top: 8px; }
.article-answer p:last-child { color: var(--ink); margin-bottom: 0; }
.article-cta { background: var(--navy); border-radius: 16px; color: var(--white); margin-top: 58px; padding: clamp(28px, 5vw, 46px); }
.article-cta h2 { color: var(--white); margin-top: 12px; }
.article-cta p:not(.eyebrow) { color: #d6e2f1; }
.article-cta .eyebrow { color: #99f6e4; }
.article-faq { margin-top: 58px; }
.article-sources { border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; padding-top: 24px; }
.related-resource { color: var(--muted); margin-top: 32px; }
.resource-breadcrumb { color: var(--muted); font-size: .92rem !important; margin-bottom: 16px; }
.resource-breadcrumb a { color: var(--teal); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.resource-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; }
.resource-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; min-height: 100%; padding: 28px; }
.resource-card h3 { color: var(--navy); font-size: 1.35rem; }
.resource-card p:not(.eyebrow) { color: var(--muted); }
.resource-card .text-link { margin-top: auto; padding-top: 16px; }
.check-list { list-style: none; margin: 22px 0 0; padding: 0; }
.check-list li { color: var(--muted); padding: 8px 0 8px 27px; position: relative; }
.check-list li::before { color: var(--teal); content: "\2713"; font-weight: 900; left: 0; position: absolute; }
.price-card { display: flex; flex-direction: column; }
.price-card .button { margin-top: auto; }
.plan-note { align-items: center; display: flex; flex-wrap: wrap; gap: 13px 18px; justify-content: center; margin: 28px auto 32px; text-align: center; }
.plan-note span { color: var(--muted); font-size: .92rem; }
.plan-note strong { color: var(--navy); }
.plan-chart { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 34px; }
.plan-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; min-height: 100%; padding: 22px; position: relative; }
.plan-card--featured { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(13,148,136,.12), 0 18px 42px rgba(15,23,42,.08); }
.plan-ribbon { background: #d9f99d; border-radius: 6px; color: #166534; display: inline-flex; font-size: .72rem; font-weight: 850; justify-content: center; letter-spacing: .04em; margin-bottom: 17px; min-height: 27px; padding: 5px 10px; text-transform: uppercase; }
.plan-name { color: var(--navy); font-size: 1.12rem; letter-spacing: -.02em; margin: 0 0 5px; }
.plan-lede { color: var(--muted); font-size: .88rem; line-height: 1.45; margin: 0 0 14px; min-height: 40px; }
.plan-price { color: var(--navy); font-size: 1.85rem; font-weight: 850; letter-spacing: -.04em; line-height: 1; margin: 4px 0 18px; }
.plan-price small { color: var(--muted); font-size: .82rem; font-weight: 650; letter-spacing: 0; }
.plan-includes { border-top: 1px solid var(--line); list-style: none; margin: 0 0 22px; padding: 14px 0 0; }
.plan-includes li { color: var(--muted); font-size: .88rem; padding: 8px 0 8px 24px; position: relative; }
.plan-includes li::before { color: var(--teal); content: "\2713"; font-weight: 900; left: 0; position: absolute; }
.plan-includes strong { color: var(--ink); }
.plan-card .button { margin-top: auto; width: 100%; }
.concept-teaser { background: var(--navy); color: var(--white); }
.concept-teaser .section-intro p { color: #d6e2f1; }
.concept-teaser .text-link { color: #99f6e4; }
.concept-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; }
.concept-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.concept-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; }
.concept-card--dark { background: #111827; border-color: rgba(255,255,255,.14); color: var(--white); }
.concept-card--dark p, .concept-card--dark .concept-meta { color: #d6e2f1; }
.concept-card--dark .text-link { color: #99f6e4; }
.concept-body { padding: 24px; }
.concept-body p { color: var(--muted); margin-bottom: 0; }
.concept-meta { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; margin: 0 0 9px; text-transform: uppercase; }
.concept-swatch-row { display: flex; gap: 7px; margin: 17px 0 0; }
.concept-swatch { border: 1px solid rgba(15,23,42,.12); border-radius: 999px; height: 22px; width: 22px; }
.concept-visual { align-items: stretch; display: flex; min-height: 250px; padding: 22px; }
.concept-visual--performance { background: linear-gradient(135deg, #0f172a, #312e81 52%, #be123c); }
.concept-visual--family { background: linear-gradient(135deg, #ecfeff, #fef9c3 58%, #fb7185); }
.concept-visual--team { background: linear-gradient(135deg, #111827, #0f766e 52%, #84cc16); }
.concept-visual--academy { background: linear-gradient(135deg, #052e2b, #0f766e 58%, #fbbf24); }
.concept-visual--swim { background: linear-gradient(135deg, #e0f2fe, #38bdf8 52%, #facc15); }
.concept-visual--gym { background: linear-gradient(135deg, #fff7ed, #f97316 48%, #0f766e); }
.concept-note { background: #ecfdfa; border: 1px solid #b5ebe2; border-radius: 12px; color: #0f4f4a; margin-top: 28px; padding: 18px 22px; }
.concept-note p { margin: 0; }
.concept-layout { --accent: #0d9488; --photo: none; background: #fff; border: 1px solid rgba(15,23,42,.14); border-radius: 10px; box-shadow: 0 20px 46px rgba(15,23,42,.24); display: grid; grid-template-rows: auto minmax(0,1fr) auto; min-height: 190px; overflow: hidden; position: relative; width: 100%; }
.concept-layout--performance { --accent: #be123c; --photo: url('assets/concepts/performance-studio.webp'); }
.concept-layout--family { --accent: #0d9488; --photo: url('assets/concepts/family-enrollment.webp'); }
.concept-layout--team { --accent: #84cc16; --photo: url('assets/concepts/competitive-team.webp'); }
.concept-layout--academy { --accent: #d7a72f; --photo: url('assets/concepts/premium-academy.webp'); }
.concept-layout--swim { --accent: #0284c7; --photo: url('assets/concepts/swim-school.webp'); }
.concept-layout--gym { --accent: #f97316; --photo: url('assets/concepts/gymnastics-pathway.webp'); }
.concept-site__top { align-items: center; background: #fff; color: #26364a; display: grid; font-size: clamp(.42rem,.8vw,.62rem); gap: 8px; grid-template-columns: auto 1fr auto; min-height: 30px; padding: 7px 10px; }
.concept-site__top > strong { font-size: clamp(.52rem,1vw,.72rem); letter-spacing: .04em; text-transform: uppercase; }
.concept-site__top > span:last-child { color: #64748b; font-weight: 700; white-space: nowrap; }
.concept-site__dots { display: flex; gap: 3px; }
.concept-site__dots i { background: #aeb8c5; border-radius: 50%; display: block; height: 5px; width: 5px; }
.concept-site__hero { align-items: center; background-image: linear-gradient(90deg,rgba(5,15,28,.9) 0%,rgba(5,15,28,.7) 38%,rgba(5,15,28,.08) 72%),var(--photo); background-position: center; background-size: cover; color: #fff; display: flex; min-height: 118px; padding: clamp(12px,2vw,20px); }
.concept-site__hero > div { max-width: 55%; }
.concept-site__hero small { color: #fff; display: block; font-size: clamp(.4rem,.72vw,.56rem); font-weight: 900; letter-spacing: .1em; margin-bottom: 5px; text-transform: uppercase; }
.concept-site__hero h4 { color: #fff; font-size: clamp(.82rem,1.7vw,1.3rem); letter-spacing: -.035em; line-height: 1; margin: 0 0 5px; }
.concept-site__hero p { color: rgba(255,255,255,.9); font-size: clamp(.42rem,.78vw,.62rem); line-height: 1.35; margin: 0 0 8px; }
.concept-site__hero b { background: var(--accent); border-radius: 999px; color: #fff; display: inline-block; font-size: clamp(.4rem,.7vw,.54rem); padding: 6px 9px; }
.concept-site__cards { background: #f8fafc; display: grid; gap: 7px; grid-template-columns: repeat(3,1fr); padding: 8px 10px 10px; }
.concept-site__cards > div { background: #fff; border: 1px solid #e2e8f0; border-radius: 7px; min-width: 0; padding: 7px; }
.concept-site__cards strong,.concept-site__cards small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.concept-site__cards strong { color: #1e293b; font-size: clamp(.43rem,.76vw,.59rem); }
.concept-site__cards small { color: #64748b; font-size: clamp(.36rem,.63vw,.5rem); margin-top: 2px; }
.concept-layout--performance { background: #120b18; border-color: #2b1735; grid-template-rows: auto minmax(0,1fr) auto; }
.concept-layout--performance .concept-site__top { background: #120b18; color: #fff; }
.concept-layout--performance .concept-site__top > span:last-child { color: #e8cfef; }
.concept-layout--performance .concept-site__hero { align-items: end; background-image: linear-gradient(180deg,rgba(18,11,24,.02) 22%,rgba(18,11,24,.94) 94%),var(--photo); min-height: 150px; padding-bottom: 18px; }
.concept-layout--performance .concept-site__hero > div { max-width: 78%; }
.concept-layout--performance .concept-site__hero h4 { font-size: clamp(1.18rem,2.8vw,2rem); text-transform: uppercase; }
.concept-layout--performance .concept-site__cards { background: #120b18; border-top: 1px solid rgba(255,255,255,.16); }
.concept-layout--performance .concept-site__cards > div { background: transparent; border: 0; border-left: 2px solid #be123c; border-radius: 0; }
.concept-layout--performance .concept-site__cards strong { color: #fff; }
.concept-layout--performance .concept-site__cards small { color: #cdbdd3; }
.concept-layout--family { background: #fffaf4; }
.concept-layout--family .concept-site__top { background: #fffaf4; }
.concept-layout--family .concept-site__top > strong { color: #0f766e; font-size: clamp(.6rem,1.2vw,.82rem); text-transform: none; }
.concept-layout--family .concept-site__hero { background-image: linear-gradient(90deg,#fffaf4 0%,#fffaf4 48%,rgba(255,250,244,.18) 70%),var(--photo); color: #17324a; min-height: 136px; }
.concept-layout--family .concept-site__hero > div { max-width: 48%; }
.concept-layout--family .concept-site__hero small { color: #c2410c; }
.concept-layout--family .concept-site__hero h4 { color: #17324a; font-size: clamp(.95rem,2vw,1.45rem); }
.concept-layout--family .concept-site__hero p { color: #526174; }
.concept-layout--family .concept-site__hero b { background: #ea580c; }
.concept-layout--family .concept-site__cards { background: #eaf8f5; }
.concept-layout--family .concept-site__cards > div { border-color: #c8e8e2; border-radius: 999px; padding-inline: 10px; text-align: center; }
.concept-layout--team { background: #07131c; border-color: #193743; }
.concept-layout--team .concept-site__top { background: #07131c; color: #fff; }
.concept-layout--team .concept-site__top > strong { color: #b7ef44; font-style: italic; letter-spacing: -.02em; }
.concept-layout--team .concept-site__top > span:last-child { color: #d5f5e8; }
.concept-layout--team .concept-site__hero { align-items: end; background-image: linear-gradient(110deg,rgba(7,19,28,.96) 0%,rgba(7,19,28,.5) 50%,rgba(7,19,28,.08) 78%),var(--photo); clip-path: polygon(0 0,100% 0,93% 100%,0 100%); min-height: 144px; }
.concept-layout--team .concept-site__hero h4 { font-size: clamp(1rem,2.25vw,1.65rem); font-style: italic; text-transform: uppercase; }
.concept-layout--team .concept-site__hero b { background: #b7ef44; color: #07131c; }
.concept-layout--team .concept-site__cards { background: #07131c; }
.concept-layout--team .concept-site__cards > div { background: #102733; border: 0; border-radius: 2px; text-align: center; }
.concept-layout--team .concept-site__cards strong { color: #b7ef44; font-size: clamp(.52rem,.95vw,.72rem); text-transform: uppercase; }
.concept-layout--team .concept-site__cards small { color: #d7e4e7; }
.concept-layout--academy { background: #f3eee4; grid-template-columns: 29% 71%; grid-template-rows: minmax(0,1fr) auto; }
.concept-layout--academy .concept-site__top { align-content: start; background: #173229; color: #f5eedf; display: flex; flex-direction: column; grid-column: 1; grid-row: 1 / 3; padding: 18px 12px; text-align: left; }
.concept-layout--academy .concept-site__dots { margin-bottom: 18px; }
.concept-layout--academy .concept-site__top > strong { font-family: Georgia,serif; font-size: clamp(.64rem,1.2vw,.9rem); text-transform: none; }
.concept-layout--academy .concept-site__top > span:last-child { color: #d7cdb8; line-height: 2; margin-top: 14px; white-space: normal; }
.concept-layout--academy .concept-site__hero { align-items: end; background-image: linear-gradient(180deg,rgba(10,30,23,.02) 30%,rgba(10,30,23,.78) 100%),var(--photo); grid-column: 2; grid-row: 1; min-height: 160px; }
.concept-layout--academy .concept-site__hero > div { max-width: 88%; }
.concept-layout--academy .concept-site__hero h4 { font-family: Georgia,serif; font-size: clamp(1rem,2vw,1.48rem); font-style: italic; font-weight: 500; }
.concept-layout--academy .concept-site__hero b { background: #f3eee4; border-radius: 0; color: #173229; }
.concept-layout--academy .concept-site__cards { background: #f3eee4; grid-column: 2; grid-row: 2; }
.concept-layout--academy .concept-site__cards > div { background: transparent; border: 0; border-radius: 0; border-top: 1px solid #9f927b; padding-inline: 0; }
.concept-layout--academy .concept-site__cards strong { font-family: Georgia,serif; }
.concept-layout--swim { background: #e7f7fc; grid-template-rows: auto auto minmax(0,1fr); }
.concept-layout--swim .concept-site__top { background: #fff; }
.concept-layout--swim .concept-site__top > strong { color: #0369a1; }
.concept-layout--swim .concept-site__cards { background: #e7f7fc; grid-row: 2; padding-block: 10px; }
.concept-layout--swim .concept-site__cards > div { border: 0; border-radius: 4px; box-shadow: 0 3px 9px rgba(2,132,199,.12); position: relative; }
.concept-layout--swim .concept-site__cards > div::before { background: #38bdf8; border-radius: 50%; content: ""; display: inline-block; height: 6px; margin-right: 4px; width: 6px; }
.concept-layout--swim .concept-site__cards strong { color: #075985; display: inline; }
.concept-layout--swim .concept-site__hero { background-image: linear-gradient(90deg,rgba(3,105,161,.92),rgba(3,105,161,.5) 48%,rgba(3,105,161,.04) 78%),var(--photo); grid-row: 3; min-height: 125px; }
.concept-layout--swim .concept-site__hero > div { max-width: 52%; }
.concept-layout--swim .concept-site__hero b { background: #facc15; color: #0c4a6e; }
.concept-layout--gym { background: #fff7ed; grid-template-columns: 58% 42%; grid-template-rows: auto minmax(0,1fr); }
.concept-layout--gym .concept-site__top { background: #0f766e; color: #fff; grid-column: 1 / 3; grid-row: 1; }
.concept-layout--gym .concept-site__top > span:last-child { color: #d4f5ef; }
.concept-layout--gym .concept-site__hero { background-image: linear-gradient(100deg,rgba(76,29,8,.88),rgba(76,29,8,.12) 76%),var(--photo); clip-path: polygon(0 0,100% 0,88% 100%,0 100%); grid-column: 1; grid-row: 2; min-height: 176px; padding-right: 22%; }
.concept-layout--gym .concept-site__hero > div { max-width: 92%; }
.concept-layout--gym .concept-site__hero h4 { font-size: clamp(.86rem,1.7vw,1.22rem); }
.concept-layout--gym .concept-site__cards { align-content: center; background: #fff7ed; display: grid; grid-column: 2; grid-row: 2; grid-template-columns: 1fr; padding: 10px; }
.concept-layout--gym .concept-site__cards > div { background: #fff; border: 0; border-left: 4px solid #f97316; box-shadow: 0 4px 12px rgba(124,45,18,.09); padding: 9px; }
.concept-layout--gym .concept-site__cards > div:nth-child(2) { margin-left: 7px; }
.concept-layout--gym .concept-site__cards > div:nth-child(3) { margin-left: 14px; }
.concept-grid--gallery { gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.concept-gallery .concept-card { border-radius: 16px; box-shadow: 0 14px 34px rgba(15,23,42,.09); }
.concept-gallery .concept-card:has(.concept-details[open]) { border-color: #71cfc1; box-shadow: 0 18px 40px rgba(13,148,136,.15); }
.concept-details { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 12px; }
.concept-details summary { align-items: center; color: var(--teal); cursor: pointer; display: flex; font-size: .92rem; font-weight: 800; gap: 10px; list-style: none; min-height: 44px; }
.concept-details summary:hover { color: #075e57; }
.concept-details summary::-webkit-details-marker { display: none; }
.concept-details summary::after { border: solid currentColor; border-width: 0 2px 2px 0; content: ''; height: 8px; margin-left: auto; transform: rotate(45deg); transition: transform .18s ease; width: 8px; }
.concept-details[open] summary::after { transform: rotate(225deg); }
.concept-details summary:focus-visible { border-radius: 6px; outline: 3px solid var(--gold); outline-offset: 3px; }
.concept-details__content { color: var(--muted); font-size: .92rem; padding: 8px 0 4px; }
.concept-details__content p { margin: 0 0 12px; }
.concept-details__content strong { color: var(--ink); }
.concept-details__content ul { margin: 0 0 16px; padding-left: 20px; }
.concept-details__content li { margin: 7px 0; }
.concept-details__content .text-link { display: inline-flex; min-height: 44px; align-items: center; }
.concept-gallery .concept-visual { aspect-ratio: 16 / 10; min-height: 0; padding: clamp(18px, 3vw, 28px); }
.concept-gallery .concept-layout { height: 100%; min-height: 0; overflow: hidden; }
.design-principles { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); margin-top: 34px; }
.design-principle { border-top: 4px solid var(--teal); padding-top: 18px; }
.design-principle p { color: var(--muted); margin: 0; }
.visual-callout { background: #0f172a; color: var(--white); overflow: hidden; position: relative; }
.visual-callout::before { background: linear-gradient(90deg, #0d9488, #f59e0b, #be123c); content: ""; display: block; height: 7px; left: 0; position: absolute; right: 0; top: 0; }
.visual-callout .split { align-items: stretch; }
.visual-callout p, .visual-callout .check-list li { color: #d6e2f1; }
.visual-callout .kicker-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.kicker-card { background: var(--navy); border-radius: 16px; color: var(--white); padding: 32px; }
.kicker-card p { color: #d6e2f1; margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); margin-top: 28px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { color: var(--muted); margin: 13px 0 0; }
.grid-2,.grid-3 { align-items: stretch; display: grid; gap: 22px; margin-top: 40px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { align-items: stretch; display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; }
.wp-block-group.grid-2 > *,.wp-block-group.grid-3 > * { margin-block-end: 0 !important; margin-block-start: 0 !important; min-width: 0; }
.wp-block-group.grid-4 > * { margin-block-end: 0 !important; margin-block-start: 0 !important; min-width: 0; }
.process-grid { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 13px; display: flex; flex-direction: column; height: 100%; padding: 27px; }
.card--accent { border-top: 5px solid var(--teal); }
.card p { color: var(--muted); margin-bottom: 0; }
.card .text-link { margin-top: auto; padding-top: 23px; }
.faq-list { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
.faq-list .card { min-height: 100%; }
.page-id-16 .grid-3 .card { border-top: 5px solid var(--teal); }
.page-work .grid-3 .card { overflow: hidden; padding-top: 0; }
.page-work .grid-3 .card::before { background: linear-gradient(135deg, #0f172a, #0d9488 62%, #f59e0b); content: ""; display: block; height: 148px; margin: 0 -27px 25px; }
.page-work .grid-3 .card:nth-child(2)::before { background: linear-gradient(135deg, #fff7ed, #f97316 52%, #0f766e); }
.page-work .grid-3 .card:nth-child(3)::before { background: linear-gradient(135deg, #e0f2fe, #38bdf8 52%, #facc15); }
.price { color: var(--navy); font-size: 1.65rem; font-weight: 850; margin: 15px 0 5px; }
.price small { color: var(--muted); font-size: .88rem; font-weight: 600; }
.price-list { list-style: none; margin: 20px 0 0; padding: 0; }
.price-list li { border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; padding: 11px 0; }
.split { align-items: center; display: grid; gap: 60px; grid-template-columns: .9fr 1.1fr; }
.number { align-items: center; background: var(--teal); border-radius: 999px; color: var(--white); display: inline-flex; font-size: .82rem; font-weight: 850; height: 29px; justify-content: center; margin-right: 10px; width: 29px; }
.process-list { list-style: none; margin: 24px 0 0; padding: 0; }
.process-list li { border-bottom: 1px solid var(--line); padding: 16px 0; }
.text-link { color: var(--teal); display: inline-block; font-weight: 800; margin-top: 23px; }
.text-link:hover { color: #0f766e; text-decoration: underline; }
.hero-card li::before, .check-list li::before { color: var(--teal); content: "\2713"; font-weight: 900; left: 0; position: absolute; }
.quote { background: var(--navy); border-radius: 16px; color: var(--white); padding: 37px; }
.quote p { color: #d6e2f1; font-size: 1.16rem; margin-bottom: 0; }
.cta { background: var(--gold); color: var(--navy); padding: 72px 0; text-align: center; }
.cta h2 { margin: 0 auto 12px; max-width: 760px; }
.cta p { font-size: 1.08rem; margin: 0 auto 25px; max-width: 680px; }
.cta .button { background: var(--navy); border-color: var(--navy); }
.cta .button:hover { background: #1e293b; border-color: #1e293b; }
.page-work .cta { text-align: left; }
.page-work .cta p { margin-left: 0; margin-right: 0; }
.page-work .cta .hero-actions, .page-work .cta .wp-block-buttons { justify-content: flex-start; }
.site-footer { background: #0a1020; color: #bbcadc; padding: 38px 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 9px 18px; justify-content: center; }
.footer-nav a, .footer-meta a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-meta { align-items: center; display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: center; }
.footer-row { align-items: center; display: flex; flex-direction: column; font-size: .9rem; gap: 18px; justify-content: center; text-align: center; }
.footer-row a { color: var(--white); }
.footer-brand { align-items: center; background: #0a1020; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; box-sizing: border-box; display: inline-flex; min-height: 88px; padding: 14px 22px; width: min(520px, 92vw); }
.footer-logo { display: block; height: auto; width: 100%; }
.client-portal-page { background: #f8fafc; }
.client-portal-frame { border: 0; display: block; height: 1000px; width: 100%; }
body.page-client-portal { background: var(--navy); }
body.page-client-portal .site-header, body.page-client-portal .site-footer { display: none; }
body.page-client-portal .site-shell { overflow: visible; }
body.page-client-portal .client-portal-page { min-height: 100vh; }
@media (min-width: 781px) and (max-width: 1020px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-chart { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .concept-grid, .concept-grid--wide, .design-principles, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand { max-width: 230px; }
  .site-nav { gap: 14px; font-size: .9rem; }
}
@media (max-width: 980px) {
  .header-row { align-items: center; flex-direction: row; min-height: 76px; padding: 12px 0; position: relative; }
  .footer-row { align-items: center; flex-direction: column; justify-content: center; padding: 18px 0; }
  .brand { flex: 1 1 auto; max-width: 230px; }
  .menu-toggle { display: inline-flex; flex: 0 0 48px; }
  .site-nav { align-items: stretch; background: var(--navy); border-top: 1px solid rgba(255,255,255,.16); box-shadow: 0 18px 28px rgba(15,23,42,.24); display: none; flex-direction: column; gap: 0; left: 0; max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 18px; position: absolute; right: 0; top: 100%; z-index: 10; }
  .site-nav.is-open { display: flex; }
  .site-nav > a, .site-nav__primary-link { min-height: 48px; padding: 10px 0; width: 100%; }
  .site-nav__services { display: grid; grid-template-columns: 1fr 48px; width: 100%; }
  .site-nav__toggle { min-height: 48px; padding: 10px 0; width: 48px; }
  .site-nav__submenu { background: rgba(255,255,255,.06); border: 0; border-radius: 8px; box-shadow: none; grid-column: 1 / -1; left: auto; min-width: 0; padding: 4px 8px 6px 16px; position: static; width: 100%; }
  .site-nav__submenu a { min-height: 44px; padding: 9px 10px; }
  .site-nav__utility { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); margin-top: 8px; padding-left: 0; padding-top: 12px; }
}
@media (max-width: 780px) {
  .hero { padding: 72px 0; }
  .hero-grid, .split, .grid-2, .grid-3, .grid-4, .process-grid, .plan-chart, .concept-grid, .concept-grid--wide, .design-principles, .faq-list, .resource-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 32px; }
  .section { padding: 62px 0; }
	.section-heading { align-items: flex-start; flex-direction: column; }
	.proof-strip__row { align-items: flex-start; flex-direction: column; gap: 5px; }
	.concept-grid--gallery { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .brand { max-width: 210px; } .site-nav { font-size: 1rem; } .footer-brand { min-height: 72px; padding: 10px 14px; width: 100%; } }


/* Authenticated portal entry. Client authentication is fully front-end branded. */
.portal-auth-page { background: radial-gradient(circle at 90% 10%, rgba(13,148,136,.28), transparent 32%), radial-gradient(circle at 5% 90%, rgba(245,158,11,.16), transparent 30%), var(--navy); min-height: 720px; }
.portal-auth-shell { align-items: center; display: flex; justify-content: center; min-height: 720px; padding: 56px 20px; }
.portal-auth-card { background: var(--white); border: 1px solid rgba(255,255,255,.7); border-radius: 22px; box-shadow: 0 28px 80px rgba(8,19,33,.3); max-width: 560px; padding: 44px; width: 100%; }
.portal-auth-logo { display: block; height: auto; margin-bottom: 30px; max-width: 320px; width: min(100%, 320px); }
.portal-auth-card .eyebrow { color: var(--teal); font-size: .76rem; font-weight: 850; letter-spacing: .12em; margin: 0 0 8px; text-transform: uppercase; }
.portal-auth-card h1 { color: var(--navy); font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.05em; line-height: 1.05; margin: 0 0 14px; }
.portal-auth-card > p:not(.eyebrow):not(.portal-auth-create) { color: var(--muted); margin: 0 0 26px; }
.portal-auth-button { align-items: center; background: var(--white); border: 1px solid #b9c8d5; border-radius: 8px; color: var(--navy); display: flex; font: inherit; font-weight: 750; justify-content: center; min-height: 48px; padding: 10px 16px; text-decoration: none; transition: border-color 180ms ease, color 180ms ease, background 180ms ease; width: 100%; }
.portal-auth-button:hover { background: #f8fafc; border-color: var(--teal); color: #0f766e; }
.portal-auth-alert, .portal-page-notice { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; color: #9a3412; margin-bottom: 18px; padding: 12px 14px; }
.portal-auth-alert.success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.portal-page-notice { margin: 16px auto; max-width: 1120px; }
.portal-page-notice.success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
#eightcountweb-portal-login, #eightcountweb-portal-activation, #eightcountweb-portal-reset { display: grid; gap: 15px; }
#eightcountweb-portal-login p, #eightcountweb-portal-activation p, #eightcountweb-portal-reset p { margin: 0; }
#eightcountweb-portal-login label, #eightcountweb-portal-activation label, #eightcountweb-portal-reset label { color: var(--ink); display: grid; font-size: .88rem; font-weight: 750; gap: 6px; }
#eightcountweb-portal-login input[type="text"], #eightcountweb-portal-login input[type="password"], #eightcountweb-portal-activation input[type="email"], #eightcountweb-portal-reset input[type="password"] { background: var(--white); border: 1px solid #b9c8d5; border-radius: 8px; font: inherit; min-height: 48px; padding: 10px 12px; width: 100%; }
#eightcountweb-portal-login input:focus, #eightcountweb-portal-activation input:focus, #eightcountweb-portal-reset input:focus, #eightcountweb-portal-login button:focus-visible, #eightcountweb-portal-activation button:focus-visible, #eightcountweb-portal-reset button:focus-visible { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,.18); outline: 0; }
#eightcountweb-portal-login button[type="submit"], #eightcountweb-portal-activation button[type="submit"], #eightcountweb-portal-reset button[type="submit"] { background: var(--teal); border: 2px solid var(--teal); border-radius: 8px; color: var(--white); cursor: pointer; font: inherit; font-weight: 800; min-height: 48px; padding: 10px 18px; transition: background 180ms ease, border-color 180ms ease; width: 100%; }
#eightcountweb-portal-login button[type="submit"]:hover, #eightcountweb-portal-activation button[type="submit"]:hover, #eightcountweb-portal-reset button[type="submit"]:hover { background: #0f766e; border-color: #0f766e; }
#eightcountweb-portal-login button[type="submit"]:disabled, #eightcountweb-portal-activation button[type="submit"]:disabled, #eightcountweb-portal-reset button[type="submit"]:disabled { cursor: not-allowed; opacity: .62; }
[data-portal-auth-status] { color: var(--muted); font-size: .84rem; line-height: 1.5; }
[data-portal-auth-status].is-error { color: #9a3412; }
.portal-auth-hint { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.portal-auth-create { color: var(--muted); font-size: .9rem; margin: 20px 0 0; }
.portal-auth-create a { color: #0f766e; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.portal-auth-honeypot { height: 1px; left: -10000px; overflow: hidden; position: absolute; top: auto; width: 1px; }
.portal-auth-links { display: flex; flex-wrap: wrap; font-size: .88rem; font-weight: 700; gap: 12px 24px; justify-content: space-between; margin-top: 20px; }
.portal-auth-links a { color: #0f766e; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 620px) {
  .portal-auth-page, .portal-auth-shell { min-height: 620px; }
  .portal-auth-shell { padding: 28px 14px; }
  .portal-auth-card { border-radius: 16px; padding: 28px 22px; }
  .portal-auth-logo { margin-bottom: 24px; max-width: 260px; }
  .portal-auth-links { align-items: flex-start; flex-direction: column; }
}

.work-preview-grid { align-items: stretch; display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 34px; }
.work-preview-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.work-preview-grid.is-layout-flow > .work-preview-card { margin-block-start: 0; }
.work-preview-card__image { aspect-ratio: 16 / 9; background: #e5edf2; border-bottom: 1px solid var(--line); display: block; margin: 0; overflow: hidden; }
.work-preview-card__image img { display: block; height: 100%; object-fit: cover; object-position: top; width: 100%; }
.work-preview-card__body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 26px; }
.work-preview-card.is-layout-flow > .work-preview-card__body { margin-block-start: 0; }
.work-preview-card__body .eyebrow { color: var(--teal); margin-bottom: 8px; }
.work-preview-card__body h3 { font-size: 1.45rem; letter-spacing: -0.03em; margin-bottom: 10px; }
.work-preview-card__body p { color: var(--muted); margin-bottom: 18px; }
.work-preview-card__body .text-link { margin-top: auto; }
@media (max-width: 780px) { .work-preview-grid { grid-template-columns: 1fr; } .work-preview-card__body { padding: 22px; } }

/* Homepage proof images use the existing Media Library's responsive variants. */
.home-work-proof__image { aspect-ratio: 16 / 9; background: #e5edf2; border: 1px solid var(--line); border-radius: 10px; margin: 0 0 18px; overflow: hidden; }
.home-work-proof__image a { display: block; height: 100%; }
.home-work-proof__image img { display: block; height: 100%; object-fit: cover; object-position: top; width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .portal-auth-button, #eightcountweb-portal-login button[type="submit"], #eightcountweb-portal-activation button[type="submit"], #eightcountweb-portal-reset button[type="submit"] { transition: none; }
}


/* WordPress button wrapper reset: style the inner link only. */
.wp-block-button.button { background: transparent; border: 0; border-radius: 0; min-height: 0; padding: 0; transform: none; }
.wp-block-button.button:hover { background: transparent; border-color: transparent; transform: none; }

/* Homepage: Enrollment Film + Digital Growth Blueprint. */
.home-convergence-hero { background: #081b2d; color: #f7fbff; overflow: hidden; padding: clamp(72px, 9vw, 132px) 0; position: relative; }
.home-convergence-hero::before { background: radial-gradient(circle at 79% 26%, rgba(45, 212, 191, .26), transparent 24%), radial-gradient(circle at 94% 72%, rgba(251, 191, 36, .18), transparent 20%); content: ''; inset: 0; pointer-events: none; position: absolute; }
.home-convergence-grid { align-items: center; display: grid; gap: clamp(40px, 6vw, 90px); grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr); position: relative; }
.home-convergence-copy { display: flex; flex-direction: column; max-width: 680px; min-width: 0; }
.home-convergence-copy > .eyebrow { order: 1; }
.home-convergence-copy h1 { order: 2; }
.home-convergence-copy .hero-actions { flex-wrap: wrap; margin: 0 0 26px; order: 3; }
.home-convergence-copy > p:not(.eyebrow) { order: 4; }
.home-convergence-copy .eyebrow { color: #8ff2e3; }
.home-convergence-copy h1 { color: #fff; font-size: clamp(3rem, 5.9vw, 6.1rem); letter-spacing: -.07em; line-height: .94; margin: 16px 0 26px; max-width: 740px; }
.home-convergence-copy > p:not(.eyebrow) { color: #cae0eb; font-size: clamp(1.06rem, 1.45vw, 1.28rem); line-height: 1.65; max-width: 640px; }
.home-convergence-copy .hero-reassurance { color: #a9c5d4; font-size: .94rem; margin: 18px 0 0; }
.home-convergence-copy .hero-owner-proof { border-left: 3px solid #2dd4bf; color: #f7fbff; font-size: 1rem; font-weight: 700; line-height: 1.55; margin: 22px 0 0; padding-left: 16px; }
.home-convergence-copy .button { box-shadow: 0 14px 28px rgba(0, 0, 0, .24); }
.home-convergence-copy .button--outline { border-color: rgba(255,255,255,.52); color: #fff; }
.home-convergence-copy .button--outline:hover { background: #fff; color: var(--navy); }
.home-convergence-art { aspect-ratio: 1 / .9; min-height: 500px; min-width: 0; position: relative; }
.home-convergence-art::before { border: 1px solid rgba(143, 242, 227, .22); border-radius: 50%; content: ''; height: 80%; left: 10%; position: absolute; top: 3%; width: 80%; }
.home-convergence-browser { background: linear-gradient(150deg, #fff, #d8eff4); border: 1px solid rgba(255, 255, 255, .74); border-radius: 22px; bottom: 6%; box-shadow: 0 32px 70px rgba(0, 0, 0, .35); color: var(--navy); left: 8%; overflow: hidden; padding: 24px; position: absolute; right: 2%; transform: rotate(-4deg); }
.home-convergence-browser__bar { border-bottom: 1px solid #cde1e8; height: 16px; margin: -4px -4px 28px; position: relative; }
.home-convergence-browser__bar::before { background: #fbbf24; border-radius: 50%; box-shadow: 18px 0 #2dd4bf, 36px 0 #b8cbd4; content: ''; height: 8px; left: 0; position: absolute; top: 0; width: 8px; }
.home-convergence-browser__signal { background: linear-gradient(135deg, #e8fbf8, #f7fbff); border: 1px solid #cfe7e8; border-radius: 14px; min-height: 242px; padding: clamp(24px, 4vw, 42px); }
.home-convergence-browser .browser-label { color: #087f78; font-size: .72rem; font-weight: 800; letter-spacing: .12em; margin-bottom: 18px; text-transform: uppercase; }
.home-convergence-browser h2 { font-size: clamp(1.8rem, 3.3vw, 3rem); letter-spacing: -.055em; line-height: 1; margin-bottom: 14px; max-width: 390px; }
.home-convergence-browser p:not(.browser-label) { color: #486273; max-width: 390px; }
.home-convergence-browser__action { background: linear-gradient(90deg, #0d9488, #2dd4bf); border-radius: 999px; height: 13px; margin-top: 28px; width: 44%; }
.home-convergence-node { backdrop-filter: blur(8px); background: rgba(7, 33, 50, .72); border: 1px solid rgba(173, 241, 232, .38); border-radius: 14px; box-shadow: 0 16px 30px rgba(0,0,0,.2); padding: 14px 16px; position: absolute; width: 174px; z-index: 1; }
.home-convergence-node .node-label { color: #9ed8dc; font-size: .68rem; font-weight: 800; letter-spacing: .08em; margin-bottom: 4px; text-transform: uppercase; }
.home-convergence-node .node-title { color: #fff; font-size: .9rem; font-weight: 700; line-height: 1.25; }
.home-convergence-node--discovery { right: 3%; top: 2%; }
.home-convergence-node--enrollment { left: 0; top: 29%; }
.home-convergence-node--care { right: 0; top: 45%; }
.home-convergence-intro { padding-bottom: clamp(68px, 8vw, 112px); padding-top: clamp(68px, 8vw, 112px); }
.home-convergence-intro .section-intro { margin-bottom: 36px; max-width: 760px; }
.home-convergence-intro .section-intro h2 { font-size: clamp(2rem, 3.7vw, 3.7rem); letter-spacing: -.055em; line-height: 1; }
.home-convergence-pathways { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-convergence-pathways > * { margin-block: 0 !important; }
.home-convergence-pathways > .wp-block-group { background: #f6fafb; border: 1px solid #d8e8eb; border-radius: 16px; display: flex; flex-direction: column; min-height: 226px; padding: 24px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.home-convergence-pathways > .wp-block-group:hover { border-color: #76d8cc; box-shadow: 0 18px 38px rgba(15, 84, 92, .12); transform: translateY(-4px); }
.home-convergence-pathways h3 { font-size: 1.28rem; letter-spacing: -.035em; margin-bottom: 10px; }
.home-convergence-pathways p { color: var(--muted); font-size: .94rem; }
.home-convergence-pathways .text-link { margin-top: auto; padding-top: 14px; }
.home-convergence-pathways .text-link a { color: #087f78; font-size: .9rem; font-weight: 800; text-decoration: none; }
.home-convergence-pathways .text-link a::after { content: ' →'; }
@media (max-width: 980px) { .home-convergence-grid { grid-template-columns: 1fr; } .home-convergence-copy { max-width: 760px; } .home-convergence-art { margin: 0 auto; max-width: 650px; width: 100%; } .home-convergence-pathways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .home-convergence-hero { padding: 68px 0 72px; } .home-convergence-copy h1 { font-size: clamp(2.8rem, 14vw, 4.3rem); } .home-convergence-art { min-height: 380px; } .home-convergence-browser { bottom: 4%; left: 3%; padding: 16px; right: 0; } .home-convergence-browser__signal { min-height: 196px; padding: 24px; } .home-convergence-node { padding: 10px 12px; width: 140px; } .home-convergence-node .node-label { font-size: .58rem; } .home-convergence-node .node-title { font-size: .76rem; } .home-convergence-node--discovery { top: -2%; } .home-convergence-node--enrollment { top: 26%; } .home-convergence-node--care { top: 47%; } .home-convergence-pathways { grid-template-columns: 1fr; } .home-convergence-pathways > .wp-block-group { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .home-convergence-pathways > .wp-block-group { transition: none; } .home-convergence-pathways > .wp-block-group:hover { transform: none; } }
@media (min-width: 621px) {
  .home-convergence-hero { padding: clamp(58px, 6.5vw, 96px) 0; }
  .home-convergence-grid { gap: clamp(34px, 4.5vw, 64px); }
  .home-convergence-copy h1 { font-size: clamp(3rem, 5vw, 5.35rem); }
  .home-convergence-art { min-height: 440px; }
  .home-convergence-browser__signal { min-height: 218px; }
}

/* Contact */
.contact-section { background: linear-gradient(135deg, #e8fffb 0%, var(--cloud) 54%, #fff5db 100%); padding: clamp(64px, 9vw, 112px) 0; }
.contact-layout { align-items: start; display: grid; gap: clamp(32px, 6vw, 78px); grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr); }
.contact-details { padding-top: 18px; }
.contact-details .eyebrow { color: #0f766e; }
.contact-details > p:not(.eyebrow) { color: var(--muted); font-size: 1.12rem; max-width: 590px; }
.contact-details__links { display: grid; gap: 12px; margin: 30px 0; }
.contact-details__links a { color: var(--navy); font-size: 1.16rem; font-weight: 800; text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 5px; }
.contact-details__note { border-top: 1px solid var(--line); font-size: .96rem !important; margin-top: 34px; padding-top: 22px; }
.contact-details__note a { color: var(--teal); font-weight: 800; text-decoration: underline; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); display: grid; gap: 18px; padding: clamp(22px, 4vw, 36px); }
.contact-form label { color: var(--ink); display: grid; font-size: .94rem; font-weight: 750; gap: 7px; }
.contact-form__label { align-items: baseline; display: inline-flex; gap: 4px; }
.contact-form input, .contact-form textarea { background: var(--white); border: 1px solid #b9c7d5; border-radius: 8px; color: var(--ink); font: inherit; font-size: 1rem; min-height: 48px; padding: 11px 13px; width: 100%; }
.contact-form textarea { min-height: 148px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13, 148, 136, .2); outline: none; }
.contact-form__grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-form__optional, .contact-form__privacy { color: var(--muted); font-size: .84rem; font-weight: 500; }
.contact-form__privacy { line-height: 1.5; margin: -3px 0 0; }
.contact-form__notice { background: #ecfdfa; border-left: 4px solid var(--teal); color: #0f4f4a; margin: 0; padding: 12px 14px; }
.contact-honeypot { height: 0; left: -9999px; overflow: hidden; position: absolute; width: 0; }
@media (max-width: 780px) { .contact-layout, .contact-form__grid, .referral-steps, .referral-details { grid-template-columns: 1fr; } .contact-details { padding-top: 0; } .contact-details__links a[href^="tel:"] { align-items: center; background: var(--navy); border-radius: 8px; color: var(--white); display: inline-flex; justify-content: center; min-height: 50px; padding: 11px 18px; text-decoration: none; width: min(100%, 280px); } }

/* Search and journey support modules. */
.page-journey-links { background: #f1f8f7; border-block: 1px solid #cfe6e2; padding: clamp(54px, 7vw, 88px) 0; }
.page-journey-links__inner { align-items: start; display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
.page-journey-links h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); letter-spacing: -.045em; line-height: 1.08; margin: 0; max-width: 560px; }
.page-journey-links p { color: var(--muted); margin: 12px 0 0; max-width: 540px; }
.page-journey-links ul { align-content: start; display: grid; gap: 14px clamp(18px, 3vw, 30px); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); list-style: none; margin: 0; padding: 4px 0; }
.page-journey-links a { color: #086b66; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.grid-4 > :last-child:nth-child(5) { grid-column: 2 / span 2; }
.hosting-disclosure-section { background: var(--white); border-top: 1px solid var(--line); padding: clamp(44px, 6vw, 72px) 0; }
.hosting-disclosure { background: #effaf8; border: 1px solid #a9ddd5; border-radius: 16px; max-width: 960px; padding: clamp(24px, 4vw, 38px); }
.hosting-disclosure .eyebrow { color: #08736d; margin: 0 0 8px; }
.hosting-disclosure h2 { color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -.045em; margin: 0 0 12px; }
.hosting-disclosure p { color: var(--ink); font-size: 1.04rem; line-height: 1.65; margin: 0; max-width: 820px; }
.hosting-disclosure .hosting-disclosure__note { color: var(--muted); font-size: .94rem; margin-top: 14px; }
.hosting-disclosure a { color: #086b66; display: inline-block; font-weight: 800; margin-top: 18px; text-decoration: underline; text-underline-offset: 3px; }
.pricing-faq { background: var(--white); border-top: 1px solid var(--line); padding: clamp(52px, 7vw, 84px) 0; }
.pricing-faq .faq-list { margin-top: 28px; }
.payment-terms { background: #f1f8f7; border-block: 1px solid #cfe6e2; padding: clamp(52px, 7vw, 84px) 0; }
.payment-terms .section-intro { max-width: 780px; }
.payment-terms__list { counter-reset: payment-step; display: grid; gap: 12px; list-style: none; margin: 30px 0 0; max-width: 920px; padding: 0; }
.payment-terms__list li { align-items: start; background: var(--white); border: 1px solid #cfe6e2; border-radius: 12px; counter-increment: payment-step; display: grid; gap: 4px 16px; grid-template-columns: 34px 1fr; padding: 18px; }
.payment-terms__list li::before { align-items: center; background: var(--teal); border-radius: 999px; color: var(--white); content: counter(payment-step); display: inline-flex; font-size: .78rem; font-weight: 850; grid-row: span 2; height: 30px; justify-content: center; width: 30px; }
.payment-terms__list strong { color: var(--navy); font-size: 1rem; }
.payment-terms__list span, .payment-terms__note { color: var(--muted); }
.payment-terms__note { margin: 18px 0 0; max-width: 860px; }
@media (max-width: 780px) { .page-journey-links__inner { grid-template-columns: 1fr; } .grid-4 > :last-child:nth-child(5) { grid-column: auto; } }
.decision-support { background: var(--white); border-top: 1px solid var(--line); padding: clamp(54px, 7vw, 88px) 0; }
.decision-support__intro { margin-bottom: 30px; max-width: 790px; }
.decision-support__intro h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); letter-spacing: -.05em; margin: 0 0 12px; }
.decision-support__intro p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.decision-support__grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.decision-support__grid .card { margin: 0; }
.decision-support__grid h3 { font-size: 1.12rem; }
@media (max-width: 780px) { .decision-support__grid { grid-template-columns: 1fr; } }
.page-content-depth { background: #f1f8f7; border-block: 1px solid #cfe6e2; padding: clamp(54px, 7vw, 88px) 0; }
.page-content-depth .container { max-width: 920px; }
.page-content-depth h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); letter-spacing: -.05em; margin: 0 0 16px; }
.page-content-depth p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; line-height: 1.7; max-width: 800px; }
.page-content-depth a { color: #086b66; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.faq-list { align-items: start; display: grid; gap: 12px; }
.faq-list > details { margin: 0 !important; min-width: 0; width: 100%; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: clip; }
.faq-list summary { align-items: flex-start; color: var(--navy); cursor: pointer; display: flex; font-size: 1.03rem; font-weight: 800; gap: 16px; justify-content: space-between; list-style: none; min-height: 58px; padding: 16px 18px; text-align: left; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { color: var(--teal); content: '+'; flex: 0 0 1.5rem; font-size: 1.5rem; font-weight: 500; line-height: 1; margin-top: .04em; text-align: center; }
.faq-list details[open] { border-color: #81d5ca; box-shadow: 0 8px 20px rgba(15, 84, 92, .08); }
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { color: var(--muted); margin: 0; padding: 0 18px 18px; }
.faq-list summary:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }

/* Editorial accountability and review dates for resource pages. */
.article-byline { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: .9rem; font-weight: 650; gap: 8px; line-height: 1.45; margin: 0 0 22px; }
.article-byline__author { color: var(--navy); }
.article-byline time { white-space: nowrap; }
.article-note { color: var(--muted); font-size: .9rem; line-height: 1.5; margin: 24px 0 0; }
.builder-fit-prompt { color: var(--muted); margin: 22px auto 0; max-width: 1120px; padding: 0 24px; }
.builder-fit-prompt a { color: var(--teal); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.section-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
@media (min-width: 981px) and (max-width: 1180px) { .brand { max-width: 220px; } .site-nav { gap: 12px; font-size: .84rem; } .site-nav__utility { padding-left: 12px; } }
@media (prefers-reduced-motion: reduce) { .site-nav__toggle svg { transition: none; } }

@media (prefers-reduced-motion: reduce) { .concept-details summary::after { transition: none; } }

/* P1 release: protect conversion CTA contrast from presentation-layer CSS. */
.page-hero .hero-actions > .button.button--outline { background: #fff !important; border-color: #0f766e !important; color: #0f4f4a !important; }
.page-hero .hero-actions > .button.button--outline:hover, .page-hero .hero-actions > .button.button--outline:focus-visible { background: #0f766e !important; border-color: #0f766e !important; color: #fff !important; }

/* P1 release: keep primary actions and the homepage visual within narrow viewports. */
@media (max-width: 620px) {
	html, body { max-width: 100%; overflow-x: clip; }
	.hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
	.hero-actions > .button { justify-content: center; min-height: 48px; min-width: 0; text-align: center; width: 100%; }
	.home-convergence-grid, .home-convergence-copy, .home-convergence-art { max-width: 100%; min-width: 0; width: 100%; }
	.home-convergence-browser { left: 0; max-width: 100%; right: 0; }
	.home-convergence-art::after { inset-inline: 0; }
}
