:root {
  --navy: #092a43;
  --navy-deep: #061c2e;
  --teal: #087e7a;
  --teal-dark: #05625f;
  --gold: #c49a4a;
  --ivory: #f7f5ef;
  --mist: #eef4f3;
  --white: #ffffff;
  --ink: #102d3f;
  --muted: #5c6f79;
  --line: #d9e2e2;
  --shadow: 0 28px 80px rgba(6, 28, 46, .14);
  --serif: "Playfair Display", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 1rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-header { position: sticky; inset: 0 0 auto; z-index: 30; background: rgba(255,255,255,.97); border-top: 3px solid var(--gold); border-bottom: 1px solid rgba(9,42,67,.1); box-shadow: 0 10px 36px rgba(6,28,46,.06); backdrop-filter: blur(18px); }
.nav { width: min(1240px, calc(100% - 48px)); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; }
.brand-logo { width: auto; height: 52px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; color: #284658; font-size: .92rem; font-weight: 700; }
.nav-links > a, .nav-dropdown-trigger { position: relative; padding: 31px 0 27px; }
.nav-links > a::after, .nav-dropdown-trigger::after { content: ""; position: absolute; right: 0; bottom: 24px; left: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s ease; }
.nav-links > a:hover, .nav-links > a.active, .nav-dropdown-trigger:hover, .nav-dropdown-trigger.active { color: var(--navy); }
.nav-links > a:hover::after, .nav-links > a.active::after, .nav-dropdown-trigger:hover::after, .nav-dropdown-trigger.active::after { transform: scaleX(1); }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 7px; }
.nav-chevron { color: var(--gold); font-size: .78rem; transition: transform .2s ease; }
.nav-dropdown:hover .nav-chevron, .nav-dropdown:focus-within .nav-chevron { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% - 8px); left: 50%; width: 340px; padding: 12px; opacity: 0; visibility: hidden; transform: translate(-50%, 10px); background: white; border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: 0 24px 60px rgba(6,28,46,.18); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown-menu a { display: block; padding: 12px 14px; color: #284658; border-bottom: 1px solid #edf1f1; font-size: .86rem; line-height: 1.35; }
.nav-dropdown-menu a:last-child { border-bottom: 0; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus { color: var(--navy); background: var(--mist); }
.nav-dropdown-menu .all-services { margin-top: 5px; color: var(--teal-dark); font-weight: 900; }
.nav-call { display: inline-flex; min-height: 46px; align-items: center; padding: 0 20px; color: white; background: var(--navy); border: 1px solid var(--navy); font-size: .9rem; font-weight: 800; transition: .25s ease; }
.nav-call:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-2px); }
.mobile-toggle, .mobile-menu-cta { display: none; }

.hero { position: relative; min-height: 690px; overflow: hidden; background: var(--navy-deep); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% 12%, rgba(17,137,139,.22), transparent 36%), linear-gradient(135deg, #061c2e, #0b2d42); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, var(--gold), var(--teal)); }
.hero-inner, .section, .cta-band, .footer-inner { width: min(1240px, calc(100% - 48px)); margin: auto; }
.hero-inner { position: relative; z-index: 1; min-height: 690px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr); align-items: center; gap: clamp(44px, 6vw, 88px); padding: 84px 0; }
.hero-copy { width: 100%; color: white; }
.hero-copy .lead { color: rgba(255,255,255,.78); max-width: 580px; }
.hero-copy .eyebrow { color: #e4c278; }
.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero-grid figure { height: 205px; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); box-shadow: 0 18px 38px rgba(0,0,0,.2); }
.hero-grid img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-grid figure:nth-child(1) img { object-position: center 42%; }
.hero-grid figure:nth-child(2) img { object-position: center 54%; }
.hero-grid figure:nth-child(3) img { object-position: center 42%; }
.hero-grid figure:nth-child(4) img { object-position: center 38%; }

.eyebrow { margin: 0 0 18px; color: var(--teal); font-size: .76rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.08; letter-spacing: -.025em; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
h1 { max-width: 850px; font-size: clamp(3.2rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.25rem); }
h3 { font-size: 1.22rem; }
.hero h1 { max-width: 650px; color: white; font-size: clamp(2.05rem, 3.2vw, 2.85rem); }
.lead { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.75; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.btn { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid transparent; border-radius: 0; font-size: .92rem; font-weight: 850; letter-spacing: .01em; transition: .25s ease; }
.btn.primary { color: white; background: var(--teal); box-shadow: 0 14px 36px rgba(0,0,0,.18); }
.btn.primary:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn.secondary { color: var(--navy); background: white; border-color: var(--line); }
.btn.secondary:hover { color: white; background: var(--navy); border-color: var(--navy); transform: translateY(-2px); }
.phone-link { color: inherit; font-weight: 800; border-bottom: 1px solid rgba(196,154,74,.75); }

.section { padding: 112px 0; }
.section.alt { width: 100%; max-width: none; padding: 112px 0; background: var(--ivory); }
.section-inner { width: min(1240px, calc(100% - 48px)); margin: auto; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 50px; }
.section-head > div { max-width: 810px; }
.section-head > p { color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: clamp(54px, 8vw, 110px); }
.split > div > p:not(.eyebrow) { color: var(--muted); }
.portrait { position: relative; min-height: 560px; overflow: hidden; box-shadow: var(--shadow); }
.portrait::after { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(255,255,255,.55); pointer-events: none; }
.portrait img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.founder { margin: 28px 0 24px; padding-left: 20px; border-left: 3px solid var(--gold); color: var(--muted); }
.founder strong { color: var(--navy); }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card, .feature-card, .process-card, .blog-card { position: relative; padding: 34px; background: white; border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.service-card:hover, .feature-card:hover, .process-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow); }
.service-image-card { min-height: 410px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; color: white; border: 0; background: var(--navy); }
.service-image-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6,28,46,.94) 100%), var(--image) center / cover no-repeat; transition: transform .5s ease; }
.service-image-card:hover::before { transform: scale(1.035); }
.service-image-card > * { position: relative; z-index: 1; color: white; }
.service-number { margin: 0 0 14px; color: var(--gold); font-size: .77rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { min-height: 260px; padding-top: 42px; }
.feature-card .icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 34px; color: white; background: var(--teal); font-weight: 900; }
.feature-card p, .process-card p, .service-card p { color: var(--muted); }

.cta { padding: 0 24px; background: var(--white); }
.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.5fr .8fr; align-items: center; gap: 40px; padding: 72px clamp(32px, 7vw, 88px); color: white; background: var(--navy); }
.cta-band::after { content: ""; position: absolute; top: -140px; right: -100px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.cta-band h2 { color: white; font-size: clamp(2rem, 4vw, 3.4rem); }
.cta-band p { color: rgba(255,255,255,.72); }
.cta-band .eyebrow { color: #e4c278; }
.cta-actions { position: relative; z-index: 1; justify-content: flex-end; }
.cta-actions span { color: rgba(255,255,255,.5); }

.page-hero { position: relative; overflow: hidden; color: white; background: var(--navy); }
.page-hero::after { content: ""; position: absolute; top: -260px; right: -150px; width: 620px; height: 620px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.page-hero .section { position: relative; z-index: 1; padding-top: 104px; padding-bottom: 104px; }
.page-hero h1 { max-width: 900px; color: white; font-size: clamp(2.05rem, 3.5vw, 3.3rem); }
.page-hero .lead { color: rgba(255,255,255,.72); }
.page-hero .eyebrow { color: #e4c278; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.process-card { min-height: 250px; }
.service-list { display: grid; gap: 24px; }
.service-detail { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 390px; background: white; border: 1px solid var(--line); }
.service-detail > div:first-child { background: var(--image) center / cover no-repeat; }
.service-detail > div:last-child { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 72px); }
.service-detail p { color: var(--muted); }
.service-detail .phone-link { align-self: flex-start; margin-top: 10px; color: var(--teal-dark); }
.service-content { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 72px; }
.service-copy { max-width: 760px; }
.service-copy h2 { margin: 52px 0 20px; font-size: clamp(2rem, 4vw, 3.15rem); }
.service-copy h3 { margin: 34px 0 12px; }
.service-copy p, .service-copy li { color: var(--muted); }
.service-copy ul { margin: 18px 0 0; padding-left: 22px; }
.service-copy li { margin: 10px 0; }
.service-aside { position: sticky; top: 116px; padding: 34px; background: var(--mist); border-top: 4px solid var(--teal); }
.service-aside h3 { margin-bottom: 14px; }
.service-aside p { color: var(--muted); }
.service-aside .btn { width: 100%; margin-top: 10px; }
.official-note { margin-top: 54px; padding: 28px; border-left: 3px solid var(--gold); background: var(--ivory); }
.official-note p { margin: 0 0 14px; }
.official-note a { color: var(--teal-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { padding: 34px; background: white; border: 1px solid var(--line); }
.info-card h3 { margin-bottom: 14px; }
.info-card p, .info-card li { color: var(--muted); }
.info-card ul { margin: 0; padding-left: 20px; }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.program-card { min-height: 170px; padding: 28px; background: white; border: 1px solid var(--line); border-top: 3px solid var(--teal); }
.program-card strong { display: block; margin-bottom: 24px; color: var(--gold); font: 700 1.4rem var(--serif); }
.program-card h3 { font-size: 1.02rem; line-height: 1.35; }
.program-disclaimer { max-width: 900px; margin: 28px 0 0; color: var(--muted); }
.intake-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 42px; background: var(--line); border: 1px solid var(--line); }
.intake-step { min-height: 220px; padding: 30px 26px; background: white; }
.intake-step strong { display: block; margin-bottom: 30px; color: var(--gold); font: 700 2rem var(--serif); }
.intake-step p { margin-bottom: 0; color: var(--muted); }
.address-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 34px; color: white; background: var(--teal-dark); }
.address-panel h3 { color: white; }
.address-panel p { margin: 8px 0 0; color: rgba(255,255,255,.78); }
.address-panel .btn { background: white; color: var(--navy); }
.career-note { padding: 24px; background: var(--mist); border-left: 3px solid var(--teal); color: var(--muted); }
.form-success { margin: 0 0 20px; padding: 16px 18px; border-left: 4px solid var(--teal); background: var(--mist); color: var(--ink); }
.application-section { max-width: 980px; }
.application-intro { max-width: 760px; margin-bottom: 42px; }
.application-intro p:not(.eyebrow) { color: var(--muted); }
.application-form { display: grid; gap: 24px; }
.application-form fieldset { margin: 0; padding: clamp(24px, 4vw, 42px); background: white; border: 1px solid var(--line); box-shadow: 0 16px 45px rgba(9,42,67,.06); }
.application-form legend { padding: 0 12px; color: var(--navy); font: 700 1.35rem var(--serif); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.application-form label { display: grid; gap: 8px; color: var(--navy); font-size: .92rem; font-weight: 800; }
.application-form input:not([type="radio"]):not([type="checkbox"]), .application-form select, .application-form textarea { width: 100%; min-height: 56px; padding: 14px 16px; color: var(--ink); background: #f9fbfb; border: 1px solid var(--line); outline: none; }
.application-form textarea { min-height: 140px; resize: vertical; }
.application-form input:focus, .application-form select:focus, .application-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,126,122,.1); }
.field-help { margin: 0 0 20px; color: var(--muted); }
.question-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.screening-question { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 18px 20px; background: white; }
.screening-question > span { color: var(--ink); font-weight: 650; }
.screening-question > div { display: flex; gap: 18px; }
.screening-question label { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.screening-question input, .consent-check input { width: 18px; height: 18px; accent-color: var(--teal); }
.file-upload { padding: 24px; background: var(--mist); border: 1px dashed var(--teal); cursor: pointer; }
.file-upload input { background: white !important; }
.file-upload span { color: var(--muted); font-size: .82rem; font-weight: 600; }
.consent-check { grid-template-columns: auto 1fr; align-items: start; margin-top: 24px; color: var(--muted) !important; font-weight: 500 !important; }
.application-submit { display: flex; align-items: center; gap: 22px; }
.application-submit p { max-width: 620px; margin: 0; color: var(--muted); font-size: .86rem; }
.form-trap { position: absolute !important; left: -9999px !important; }
.license-panel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 34px; background: var(--mist); border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.license-mark { width: 66px; height: 66px; display: grid; place-items: center; color: white; background: var(--navy); font: 700 1.55rem var(--serif); }
.license-panel h3 { margin-bottom: 8px; }
.license-panel p { margin: 0; color: var(--muted); }
.license-panel a:not(.btn) { color: var(--teal-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

.contact-layout { display: grid; grid-template-columns: 1.35fr .65fr; align-items: start; gap: 28px; }
.contact-layout .service-card { padding: clamp(32px, 6vw, 64px); box-shadow: 0 24px 70px rgba(9,42,67,.08); }
.contact-panel { padding: 46px; color: white; background: var(--navy); }
.contact-panel h2, .contact-panel a { color: white; }
.contact-panel p { color: rgba(255,255,255,.72); }
.form { display: grid; gap: 14px; margin-top: 34px; }
.form input, .form select, .form textarea { width: 100%; min-height: 58px; padding: 15px 17px; color: var(--ink); background: #f9fbfb; border: 1px solid var(--line); border-radius: 0; outline: none; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,126,122,.1); }
.form .btn { justify-self: start; margin-top: 8px; }
.faq-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.faq-item { padding: 0 26px; background: white; }
.faq-item summary { padding: 25px 0; color: var(--navy); font-weight: 800; cursor: pointer; }
.faq-item p { padding: 0 0 25px; color: var(--muted); }

.footer { margin-top: 112px; color: rgba(255,255,255,.7); background: var(--navy-deep); }
.footer-inner { display: grid; grid-template-columns: 1.35fr .75fr 1fr .85fr; gap: 52px; padding: 78px 0 54px; }
.footer-logo { width: 230px; margin-bottom: 24px; padding: 8px 12px; background: white; }
.footer h3 { margin-bottom: 18px; color: white; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; }
.footer p { max-width: 340px; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin: 10px 0; }
.footer a:hover { color: white; }
.footer-bottom { width: min(1240px, calc(100% - 48px)); margin: auto; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }

@media (max-width: 1020px) {
  .nav { width: min(100% - 32px, 1240px); }
  .nav-links { gap: 20px; }
  .nav-call { display: none; }
  .hero-inner { grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr); gap: 36px; }
  .hero-grid figure { height: 175px; }
  .service-grid, .feature-grid, .program-grid { grid-template-columns: repeat(2, 1fr); }
  .intake-steps { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .nav { min-height: 74px; }
  .brand-logo { height: 43px; }
  .mobile-toggle { display: block; padding: 9px 13px; color: var(--navy); background: white; border: 1px solid var(--line); font-weight: 800; }
  .nav-links { position: absolute; top: 74px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(6,28,46,.12); }
  .nav.open .nav-links { display: flex; }
  .nav-links > a, .nav-dropdown-trigger { padding: 14px 0; }
  .nav-links > a::after, .nav-dropdown-trigger::after { bottom: 8px; }
  .nav-dropdown-menu { position: static; width: auto; margin: -2px 0 10px 12px; padding: 2px 0 2px 14px; opacity: 1; visibility: visible; transform: none; border: 0; border-left: 2px solid var(--gold); box-shadow: none; }
  .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { transform: none; }
  .nav-dropdown-menu a { padding: 9px 10px; border-bottom: 0; font-size: .82rem; }
  .mobile-menu-cta { display: block; color: white !important; background: var(--teal); padding: 14px 16px !important; text-align: center; }
  .hero, .hero-inner { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 72px 0 78px; }
  .hero-grid { width: 100%; gap: 10px; }
  .hero-grid figure { height: clamp(135px, 41vw, 220px); }
  h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero h1, .page-hero h1 { font-size: clamp(2rem, 8vw, 2.55rem); }
  .section, .section.alt { padding: 78px 0; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 34px; }
  .split, .contact-layout, .service-detail, .process-grid, .service-content { grid-template-columns: 1fr; }
  .service-aside { position: static; }
  .portrait, .portrait img { min-height: 420px; }
  .service-grid, .feature-grid, .info-grid, .intake-steps, .program-grid { grid-template-columns: 1fr; }
  .address-panel { grid-template-columns: 1fr; }
  .form-grid, .screening-question { grid-template-columns: 1fr; }
  .screening-question { gap: 12px; }
  .application-submit { align-items: stretch; flex-direction: column; }
  .license-panel { grid-template-columns: auto 1fr; }
  .license-panel .btn { grid-column: 1 / -1; }
  .service-image-card { min-height: 380px; }
  .service-detail > div:first-child { min-height: 300px; }
  .cta { padding: 0; }
  .cta-band { padding: 54px 24px; }
  .footer { margin-top: 78px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; padding-top: 58px; }
  .footer-bottom { flex-direction: column; }
}

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