/*
Theme Name: Billing Morphology Custom Theme
Theme URI: mailto:admissions@billingmorphology.com
Author: Billing Morphology Customizer
Description: A professional discipline of healthcare revenue science — billing, audit, revenue assurance, payer intelligence and financial operations, taught nowhere else in this structured a form. - Custom generated WordPress Theme optimized for fast hosting on BigRock.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: billing-morphology-custom
*/

:root {
  --navy: #0E1B33;
  --navy-2: #16264A;
  --gold: #B8862E;
  --gold-light: #D9A94E;
  --cream: #F6F1E6;
  --cream-2: #EFE7D4;
  --charcoal: #1F2933;
  --white: #FFFFFF;
  --line: rgba(14,27,51,0.14);
}

/* Base resets & styles matching Academy presentation */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
h1, h2, h3, h4 { font-family: 'Merriweather', Georgia, serif; font-weight: 700; color: var(--navy); line-height: 1.15; }

.eyebrow {
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gold); }
section { padding: 96px 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 2px; font-weight: 600; font-size: 14.5px;
  cursor: pointer; border: 1.5px solid transparent; transition: all .2s ease;
  font-family: 'Inter', sans-serif;
}
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,0.5); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.announce { background: var(--navy); color: var(--cream); text-align: center; padding: 10px 16px; font-size: 13.5px; }
.announce span { color: var(--gold-light); font-weight: 600; }

header {
  position: sticky; top: 0; z-index: 50; background: rgba(246,241,230,0.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; max-width: 1180px; margin: 0 auto; }
.logo { font-family: 'Merriweather', Georgia, serif; font-weight: 900; font-size: 20px; color: var(--navy); letter-spacing: 0.3px; }
.logo span { color: var(--gold); }
.navlinks { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.navlinks a { color: var(--navy); opacity: 0.8; }
.navlinks a:hover { opacity: 1; color: var(--gold); }
.header-actions { display: flex; gap: 12px; align-items: center; }
.header-actions .btn { padding: 11px 20px; font-size: 13.5px; }

.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--cream); position: relative; overflow: hidden; padding: 100px 0 80px;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(184,134,46,0.16), transparent 45%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; position: relative; }
.hero h1 { color: var(--white); font-size: 44px; margin: 20px 0 22px; max-width: 600px; }
.hero p.lead { font-size: 17px; color: rgba(246,241,230,0.82); max-width: 520px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-sub-link { font-size: 13.5px; color: var(--gold-light); border-bottom: 1px solid rgba(217,169,78,0.4); padding-bottom: 2px; }
.trust-line { margin-top: 38px; display: flex; gap: 22px; flex-wrap: wrap; font-family: 'Space Mono', monospace; font-size: 11.5px; letter-spacing: 0.04em; color: rgba(246,241,230,0.55); text-transform: uppercase; }
.trust-line b { color: var(--gold-light); }

.bill-diagram {
  background: var(--cream); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px; padding: 26px 26px 22px; position: relative;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  font-family: 'Space Mono', monospace;
}
.bill-diagram .bd-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin-bottom: 14px; }
.bill-diagram .bd-head .bd-title { font-family: 'Merriweather', Georgia, serif; font-weight: 700; font-size: 15px; color: var(--navy); }
.bill-diagram .bd-head .bd-id { font-size: 10.5px; color: var(--gold); }
.bd-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 12px; color: var(--charcoal); align-items: center; }
.bd-row .bd-label { position: relative; padding-left: 14px; }
.bd-row .bd-label::before { content: ''; position: absolute; left: 0; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.bd-row .bd-tag { font-size: 9.5px; background: var(--navy); color: var(--cream); padding: 2px 7px; border-radius: 2px; letter-spacing: 0.05em; text-transform: uppercase; }
.bd-row.flag .bd-tag { background: var(--gold); color: var(--navy); }
.bd-total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--navy); font-weight: 700; color: var(--navy); font-size: 13px; }
.bd-caption { margin-top: 14px; font-family: 'Inter', sans-serif; font-size: 11.5px; color: rgba(246,241,230,0.6); text-align: center; }

.strip { background: var(--cream-2); border-bottom: 1px solid var(--line); padding: 36px 0; }
.strip-grid { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; font-family: 'Space Mono', monospace; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); opacity: 0.75; }

.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.about-grid h2 { font-size: 32px; margin: 16px 0 20px; }
.about-grid p { color: #3d4a57; margin-bottom: 16px; font-size: 15.5px; }

.pathway { background: var(--navy); color: var(--cream); }
.pathway-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.pathway-head h2 { color: var(--white); font-size: 32px; margin: 16px 0; }
.pathway-head p { color: rgba(246,241,230,0.7); font-size: 15.5px; }
.spine { position: relative; max-width: 840px; margin: 0 auto; }
.spine::before {
  content: ''; position: absolute; left: 34px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(184,134,46,0.15) 100%);
}
.vertebra { position: relative; padding: 0 0 40px 84px; }
.vertebra:last-child { padding-bottom: 0; }
.vertebra .v-node {
  position: absolute; left: 22px; top: 2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Mono', monospace; font-size: 11px; font-weight: 700; color: var(--gold-light);
}
.vertebra .v-level { font-family: 'Space Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-light); margin-bottom: 6px; }
.vertebra h3 { color: var(--white); font-size: 20px; margin-bottom: 8px; }
.vertebra p { color: rgba(246,241,230,0.68); font-size: 14.5px; max-width: 520px; margin-bottom: 10px; }
.vertebra .v-ideal { font-size: 12.5px; color: rgba(246,241,230,0.5); }
.vertebra .v-ideal b { color: var(--gold-light); font-weight: 600; }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert-card {
  background: var(--white); border: 1px solid var(--line); padding: 30px 26px;
  border-top: 3px solid var(--gold); transition: transform .2s ease, box-shadow .2s ease;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(14,27,51,0.1); }
.cert-card .cc-code { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--gold); letter-spacing: 0.06em; margin-bottom: 10px; }
.cert-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.cert-card p { font-size: 13.5px; color: #4a5560; margin-bottom: 14px; }
.cert-card .cc-meta { font-size: 12px; color: #7a8590; border-top: 1px dashed var(--line); padding-top: 12px; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 32px; margin-top: 50px; }
.why-item .wn { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--gold); border: 1px solid var(--gold); border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.why-item h4 { font-size: 16.5px; margin-bottom: 8px; }
.why-item p { font-size: 13.5px; color: #4a5560; }

.steps-row { display: flex; gap: 0; margin-top: 50px; position: relative; }
.step { flex: 1; padding: 0 22px; position: relative; }
.step:not(:last-child)::after {
  content: '→'; position: absolute; right: -4px; top: 6px; color: var(--gold); font-size: 18px;
}
.step .s-num { font-family: 'Merriweather', Georgia, serif; font-size: 30px; color: var(--gold); font-weight: 900; margin-bottom: 10px; }
.step h4 { font-size: 15.5px; margin-bottom: 8px; }
.step p { font-size: 13px; color: #4a5560; }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 50px; }
.audience-item { background: var(--white); padding: 30px 26px; }
.audience-item h4 { font-size: 15px; margin-bottom: 8px; color: var(--navy); }
.audience-item p { font-size: 13px; color: #4a5560; }

.role-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.role-tag { border: 1px solid var(--line); background: var(--white); padding: 9px 16px; font-size: 13px; border-radius: 2px; color: var(--navy); }
.disclaimer { margin-top: 30px; padding: 16px 20px; background: var(--cream-2); border-left: 3px solid var(--gold); font-size: 12.5px; color: #5a6570; }

.enterprise { background: var(--navy-2); color: var(--cream); }
.ent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.enterprise h2 { color: var(--white); font-size: 30px; margin: 16px 0 18px; }
.enterprise p { color: rgba(246,241,230,0.7); font-size: 14.5px; margin-bottom: 12px; }
.ent-list { list-style: none; margin-top: 18px; }
.ent-list li { padding: 10px 0; border-bottom: 1px solid rgba(246,241,230,0.12); font-size: 14px; color: rgba(246,241,230,0.85); display: flex; gap: 10px; }
.ent-list li::before { content: '—'; color: var(--gold-light); }

.faculty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 50px; }
.faculty-card { background: var(--white); border: 1px solid var(--line); padding: 30px; }
.f-photo { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-family: 'Merriweather', Georgia, serif; font-weight: 700; font-size: 22px; margin-bottom: 18px; }
.faculty-card h3 { font-size: 18px; margin-bottom: 4px; }
.faculty-card .f-role { font-size: 12.5px; color: var(--gold); font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.faculty-card p { font-size: 13.5px; color: #4a5560; }

.cohort-box { background: var(--white); border: 1px solid var(--line); padding: 44px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; margin-top: 10px; }
.cohort-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.cf-item { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.cf-label { font-family: 'Space Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); margin-bottom: 4px; }
.cf-value { font-size: 14px; color: var(--navy); font-weight: 600; }
.cohort-cta { text-align: center; }
.cohort-cta .btn { width: 100%; margin-bottom: 12px; }

.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.res-card { background: var(--white); border: 1px solid var(--line); padding: 22px 20px; font-size: 13.5px; font-weight: 600; color: var(--navy); min-height: 96px; display: flex; align-items: flex-end; transition: border-color .2s; }
.res-card:hover { border-color: var(--gold); }

.final-cta {
  background: var(--navy); color: var(--white); text-align: center;
  background-image: radial-gradient(circle at 50% 0%, rgba(184,134,46,0.18), transparent 55%);
}
.final-cta h2 { color: var(--white); font-size: 36px; max-width: 640px; margin: 16px auto 18px; }
.final-cta p { color: rgba(246,241,230,0.72); max-width: 520px; margin: 0 auto 34px; }
.final-cta .hero-ctas { justify-content: center; }
.center { text-align: center; max-width: 680px; margin: 0 auto; }

footer { background: var(--navy); color: rgba(246,241,230,0.6); padding: 70px 0 30px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 44px; border-bottom: 1px solid rgba(246,241,230,0.12); }
.footer-grid h5 { font-family: 'Space Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-light); margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-logo { font-family: 'Merriweather', Georgia, serif; font-weight: 900; font-size: 19px; color: var(--white); margin-bottom: 14px; }
.footer-logo span { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 12px; }

@media(max-width:960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .spine::before { left: 18px; }
  .vertebra { padding-left: 52px; }
  .vertebra .v-node { left: 6px; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .steps-row { flex-direction: column; gap: 28px; }
  .step:not(:last-child)::after { display: none; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .ent-grid { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr; }
  .cohort-box { grid-template-columns: 1fr; }
  .res-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width:600px) {
  .cert-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .res-grid { grid-template-columns: 1fr; }
  .navbar { flex-direction: column; gap: 12px; text-align: center; }
  .header-actions { margin-top: 10px; }
}
