:root {
  /* Base palette (overridden below with CoreMed colors) */
  --ink: #162c3c;        /* page background: logo background / live header color */
  --navy: #10314a;       /* cards and panels: live CTA strip color */
  --navy-2: #245c64;     /* deep teal: live buttons, dividers, menu */
  --black: #171716;      /* top bar and footer: live root background */
  --green: #7ac085;      /* primary: logo wordmark green, live icon color */
  --teal: #45b0b5;       /* secondary: logo subtitle teal, live palette-1 */
  --cyan: #5cd4e1;       /* links and eyebrows: live divider cyan */
  --sky: #7cc6e3;        /* accent: logo arc blue */
  --text: #ffffff;
  --muted: #d9d9d9;
  --dim: #a5a5a5;
  --line: rgba(92, 212, 225, .32);
  --gold: var(--green);
  --gold-2: var(--cyan);
  --wrap: 1120px;
  --ff-h: "Montserrat", system-ui, sans-serif;
  --ff-b: "Inter", system-ui, sans-serif;
  --header: 100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--ff-b);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sky); }
h1, h2, h3, .logo, .btn, .nav a, summary, .eyebrow, .step-num, .card h3, .stat-title {
  font-family: var(--ff-h);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; margin: 0 0 16px; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; margin: 0 0 12px; font-weight: 700; }
h3 { font-size: 1.15rem; margin: 0 0 8px; font-weight: 600; }
p { margin: 0 0 14px; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: 8px; transform: translateY(-200%); background: var(--green); color: var(--ink); padding: 8px 12px; z-index: 20;
}
.skip:focus { transform: none; }
.topbar {
  background: var(--black);
  color: var(--muted);
  font-size: 0.86rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: var(--text); text-decoration: none; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(22, 44, 60, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header); gap: 16px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 86px; width: auto; }
.footer-logo { height: 96px; width: auto; margin-bottom: 10px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--text); text-decoration: none; font-size: .92rem; font-weight: 600; }
.nav a[aria-current="page"] { color: var(--green); }
.nav a:hover { color: var(--cyan); }
.nav-toggle {
  display: none; background: transparent; color: var(--text); border: 1px solid var(--teal);
  padding: 8px 12px; font-family: var(--ff-h); font-weight: 600; border-radius: 8px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent;
}
.btn-gold { background: var(--green); color: var(--ink); }
.btn-gold:hover { background: var(--cyan); color: var(--ink); }
.nav .btn-gold, .nav .btn-gold:hover { color: var(--ink); }
.btn-ghost { background: rgba(22,44,60,.35); color: var(--text); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: white; }
.hero-media, .band-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade, .band-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,44,60,.45) 0%, rgba(22,44,60,.72) 45%, rgba(22,44,60,.96) 100%);
}
.hero-copy, .band-copy { position: relative; z-index: 1; padding: 72px 0 56px; max-width: 760px; }
.eyebrow { color: var(--cyan); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; margin-bottom: 12px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 22px; list-style: none; }
.chips li { border: 1px solid var(--sky); background: rgba(22,44,60,.55); border-radius: 999px; padding: 6px 12px; font-size: .85rem; color: var(--text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
section { padding: 72px 0; }
.section-intro { max-width: 68ch; color: var(--muted); margin-bottom: 28px; }
.grid-4, .grid-3, .grid-2 { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card, .panel {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
}
.card { overflow: hidden; }
a.card { color: inherit; text-decoration: none; }
a.card h3 { color: var(--green); }
.card .body, .panel { padding: 18px 18px 20px; }
.card img { width: 100%; height: 180px; object-fit: cover; }
.card a.more { font-weight: 600; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust article { padding: 18px; border-top: 3px solid var(--green); background: var(--navy); border-radius: 12px; }
.trust h3 { color: var(--green); }
.trust p, .card p, .panel p { color: var(--muted); }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--navy); border-radius: 16px; padding: 22px; border: 1px solid rgba(255,255,255,.06); }
.step-num { color: var(--teal); font-size: 1.8rem; font-weight: 700; display: block; margin-bottom: 8px; }
.page-band { position: relative; min-height: 420px; display: flex; align-items: flex-end; }
.page-band .band-copy { padding-bottom: 36px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
figure { margin: 0; }
figcaption { color: var(--dim); font-size: .82rem; margin-top: 8px; }
.portrait { width: min(100%, 360px); border-radius: 16px; }
ul.clean { padding-left: 1.1rem; color: var(--muted); }
ul.clean li { margin: 6px 0; }
.faq details { border-bottom: 1px solid rgba(255,255,255,.08); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; }
.faq details p { color: var(--muted); margin-top: 0; }
.area { background: var(--navy-2); border-radius: 18px; padding: 28px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0 0; list-style: none; }
.cities li { background: var(--ink); color: var(--text); border-radius: 999px; padding: 6px 12px; font-size: .9rem; }
.area p { color: var(--text); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .86rem; font-weight: 600; }
input, select, textarea {
  background: var(--ink); color: var(--text); border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px; padding: 12px; font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note { grid-column: 1 / -1; color: var(--text); font-size: .9rem; background: rgba(92,212,225,.10); border: 1px solid var(--line); border-radius: 10px; padding: 12px; overflow-wrap: anywhere; }
.site-footer { background: var(--black); border-top: 3px solid var(--navy-2); padding: 36px 0 28px; color: var(--muted); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.fine { margin-top: 22px; color: var(--dim); font-size: .8rem; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.subnav a { text-decoration: none; border: 1px solid var(--teal); border-radius: 999px; padding: 6px 10px; font-size: .85rem; color: var(--text); }
@media (max-width: 900px) {
  .grid-4, .trust, .steps { grid-template-columns: 1fr 1fr; }
  .grid-3, .split, .footer-grid { grid-template-columns: 1fr; }
  .area { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy); flex-direction: column; align-items: flex-start;
    padding: 12px 20px 18px; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav.open { display: flex; }
  .grid-4, .grid-2, .trust, .steps, form { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .hero { min-height: 92vh; }
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
  section { padding: 52px 0; }
}

input::placeholder, textarea::placeholder { color: var(--dim); }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
@media (max-width: 720px) { .logo img { height: 60px; } }

.site-footer .fine { padding-bottom: 64px; }
.form-alt { grid-column: 1 / -1; margin: 0 0 6px; color: var(--muted); font-size: .95rem; }
.thanks { max-width: 760px; padding: 40px 0 60px; }
.thanks .cta-row { margin-top: 24px; }

/* Veterans, military & first responders badge rows (v4) */
.zz-badge-cards { display: grid; gap: 18px; margin-top: 22px; }
.zz-badge-card { max-width: 940px; width: 100%; margin: 0 auto; padding: 20px 22px 18px; border-radius: 14px; background: rgba(23,23,22,.55); border: 1px solid rgba(122,192,133,.6); box-shadow: 0 4px 18px rgba(0,0,0,.35); text-align: center; }
.zz-badge-title { margin: 0 0 12px; font-size: 1.15rem; letter-spacing: .02em; }
.zz-badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin: 6px 0 12px; padding: 0; list-style: none; }
.zz-badge { width: 96px; margin: 0; text-align: center; }
.zz-badge a, .zz-badge-fig { display: block; color: inherit; text-decoration: none; border-radius: 10px; padding: 4px 2px 6px; transition: background .15s ease, transform .15s ease; }
.zz-badge a:hover, .zz-badge a:focus-visible { background: rgba(122,192,133,.14); transform: translateY(-1px); }
.zz-badge-svg { display: block; width: 72px; height: 72px; margin: 0 auto 6px; }
.zz-badge span { display: block; font-size: .75rem; font-weight: 600; color: var(--sky); letter-spacing: .02em; line-height: 1.2; }
.zz-badge-support { margin: 0; color: var(--muted); font-size: .95rem; }
.zz-badge-note { margin: 16px auto 0; max-width: 940px; color: var(--dim); font-size: .8rem; text-align: center; }
#support { scroll-margin-top: calc(var(--header) + 12px); }
.mil-badge-wrap { margin: 12px 0 0; }
a.mil-badge { text-decoration: none; transition: border-color .2s ease, color .2s ease; }
a.mil-badge:hover { border-color: var(--green); color: var(--text); }
@media (max-width: 720px) {
  .zz-badge { width: 76px; }
  .zz-badge-svg { width: 56px; height: 56px; }
  .zz-badge span { font-size: .68rem; }
  .zz-badge-card { padding: 16px 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { .zz-badge a { transition: none; } .zz-badge a:hover { transform: none; } }

/* ===================================================================
   v5 finishing touches. Polish only: same layout, order, colors, fonts.
   =================================================================== */
::selection { background: rgba(122,192,133,.38); color: #fff; }
:root { --ease: cubic-bezier(.2,.7,.2,1); --glow: 0 18px 40px -18px rgba(0,0,0,.65); }

/* Sticky header: soft shadow fades in once the page scrolls */
.site-header { transition: box-shadow .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease); }
.site-header.is-scrolled { background: rgba(22,44,60,.985); border-bottom-color: rgba(92,212,225,.18); box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.logo img { transition: transform .3s var(--ease); }
.logo:hover img { transform: scale(1.03); }

/* Nav: animated underline on hover and on the current page */
.nav a:not(.btn) { position: relative; padding: 4px 0; transition: color .2s ease; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Buttons: gentle lift, brand glow, and a soft light sweep on the green button */
.btn { position: relative; overflow: hidden; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { box-shadow: 0 6px 18px -8px rgba(122,192,133,.7), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-gold:hover { box-shadow: 0 14px 30px -10px rgba(92,212,225,.75), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-gold::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none; }
.btn-gold:hover::after { left: 130%; }
.btn-ghost { backdrop-filter: blur(4px); }
.btn-ghost:hover { box-shadow: 0 10px 26px -14px rgba(92,212,225,.8); }

/* Hero: headline, text, and buttons ease in once on load; thin brand hairline at the bottom */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2; background: linear-gradient(90deg, transparent, var(--teal) 20%, var(--green) 50%, var(--cyan) 80%, transparent); opacity: .85; }
.hero-copy > * { animation: zz-rise .8s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
@keyframes zz-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.chips li { transition: border-color .2s ease, background-color .2s ease; }
.chips li:hover { border-color: var(--green); background: rgba(22,44,60,.8); }

/* Section dividers: a centered gradient hairline and a faint brand glow on alternating sections */
main > section { position: relative; }
main > section + section::before { content: ""; position: absolute; top: 0; left: 50%; width: min(var(--wrap), calc(100% - 40px)); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(69,176,181,.55) 30%, rgba(122,192,133,.55) 70%, transparent); }
main > section:nth-of-type(even):not(.hero) { background: radial-gradient(900px 380px at 12% 0%, rgba(69,176,181,.07), transparent 70%), radial-gradient(700px 340px at 95% 100%, rgba(122,192,133,.05), transparent 70%); }
main > section.military + section::before, main > section.military::before { opacity: .7; }

/* Section headings: a short green-to-cyan accent bar under each h2 (not in the support panel) */
main > section:not(.hero):not(.military) h2:not(.zz-badge-title) { position: relative; padding-bottom: 12px; }
main > section:not(.hero):not(.military) h2:not(.zz-badge-title)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--green), var(--cyan)); }
.band-copy h1 { text-shadow: 0 2px 18px rgba(0,0,0,.35); }

/* Cards: lift, brand-tinted border, soft glow that follows the pointer, image zoom */
.card, .step, .trust article, .panel { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.card { position: relative; isolation: isolate; }
.card img { transition: transform .9s var(--ease), filter .5s ease; }
a.card:hover, .card:hover, a.card:focus-visible { transform: translateY(-5px); border-color: rgba(122,192,133,.45); box-shadow: var(--glow), 0 0 0 1px rgba(122,192,133,.15); }
.card:hover img, a.card:focus-visible img { transform: scale(1.06); filter: saturate(1.08); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 30%), rgba(92,212,225,.14), transparent 65%); }
.card:hover::after { opacity: 1; }
.card .body { position: relative; z-index: 1; }
a.card h3 { transition: color .2s ease; }
a.card:hover h3 { color: var(--cyan); }
.step { position: relative; overflow: hidden; }
.step::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--green)); transform: scaleX(.18); transform-origin: left; transition: transform .5s var(--ease); }
.step:hover::before { transform: scaleX(1); }
.step:hover, .trust article:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.step-num { background: linear-gradient(90deg, var(--teal), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Trust cards: small line icons in brand green */
.t-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 10px; border-radius: 12px; color: var(--green); background: rgba(122,192,133,.12); border: 1px solid rgba(122,192,133,.35); transition: background-color .3s ease, color .3s ease, transform .3s var(--ease); }
.trust article:hover .t-ico { background: var(--green); color: var(--ink); transform: rotate(-4deg) scale(1.04); }
.zz-ico { width: 22px; height: 22px; flex: none; }

/* Support panel: only a soft hover zoom on the flag photo (content and badges unchanged) */
.mil-media { overflow: hidden; }
.mil-media img { transition: transform 1.2s var(--ease); }
.mil-panel:hover .mil-media img { transform: scale(1.04); }

/* FAQ: plus/minus marker that turns when opened */
.faq summary { list-style: none; position: relative; padding-right: 36px; transition: color .2s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; border: 1px solid rgba(92,212,225,.55);
  background: linear-gradient(var(--cyan), var(--cyan)) center / 10px 2px no-repeat, linear-gradient(var(--cyan), var(--cyan)) center / 2px 10px no-repeat; transition: transform .3s var(--ease), background-color .3s ease; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: rgba(92,212,225,.12); }
.faq summary:hover { color: var(--cyan); }
.faq details[open] p { animation: zz-rise .4s var(--ease) both; }

/* Service area panel and city chips */
.area { background: linear-gradient(135deg, var(--navy-2), #1d4c58 55%, var(--navy)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), var(--glow); }
.cities li, .subnav a { transition: transform .2s var(--ease), background-color .2s ease, border-color .2s ease, color .2s ease; }
.cities li:hover { transform: translateY(-2px); background: #0f2230; }
.subnav a:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }

/* Form fields: softer focus glow (fields and names unchanged) */
input, select, textarea { transition: border-color .2s ease, box-shadow .2s ease; }
input:hover, select:hover, textarea:hover { border-color: rgba(92,212,225,.55); }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(92,212,225,.15); }

/* Footer: honest at-a-glance strip, gradient top edge, link hover slide */
.site-footer { position: relative; border-top: 0; background: linear-gradient(180deg, #1b1f22 0%, var(--black) 140px); padding-top: 0; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--navy-2), var(--teal), var(--green), var(--cyan), var(--navy-2)); }
.zz-strip { border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 34px; }
.zz-strip ul { list-style: none; margin: 0 auto; padding: 22px 0 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.zz-strip li { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-family: var(--ff-h); font-weight: 600; font-size: .86rem; letter-spacing: .01em; margin: 0; }
.zz-strip .zz-ico { color: var(--green); }
.footer-grid strong { color: var(--text); font-family: var(--ff-h); letter-spacing: .02em; }
.site-footer ul a { display: inline-block; transition: color .2s ease, transform .2s var(--ease); }
.site-footer ul a:hover { color: var(--green); transform: translateX(3px); }
.site-footer p a:hover { color: var(--cyan); }
.fine { border-top: 1px solid rgba(255,255,255,.06); padding-top: 16px; }

/* Back-to-top button: sits just above the music button, appears after scrolling */
.to-top { position: fixed; right: 22px; bottom: 82px; z-index: 59; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  color: var(--ink); background: linear-gradient(135deg, var(--green), var(--cyan)); border: 0; box-shadow: 0 10px 24px -10px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s ease, transform .3s var(--ease), box-shadow .2s ease; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { box-shadow: 0 14px 30px -10px rgba(92,212,225,.8); transform: translateY(-2px); }
.to-top:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
@media (max-width: 720px) { .to-top { right: 13px; bottom: 68px; width: 44px; height: 44px; } .zz-strip ul { justify-content: flex-start; gap: 10px 20px; } }
@media print { .to-top { display: none; } }

/* Scroll reveal: only when JS is running and motion is allowed */
.rv-on .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--rv-d, 0s); }
.rv-on .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .rv-on .rv { opacity: 1; transform: none; }
  .btn, .card, .card img, .step, .trust article, .t-ico, .mil-media img, .to-top, .cities li, .subnav a, .site-footer ul a, .logo img { transition: none !important; }
  .btn:hover, .card:hover, a.card:hover, .step:hover, .trust article:hover, .cities li:hover, .subnav a:hover, .site-footer ul a:hover, .to-top:hover { transform: none !important; }
  .card:hover img, .mil-panel:hover .mil-media img, .logo:hover img, .trust article:hover .t-ico { transform: none !important; }
  .btn-gold::after { display: none; }
}

/* ===================================================================
   v6: floating Call / Text / Schedule buttons + shine on every CTA
   =================================================================== */

/* Shine sweep: one shared effect for all primary/CTA buttons and the floating buttons */
.btn, .fab { position: relative; overflow: hidden; isolation: isolate; }
.btn::after, .btn-gold::after, .fab::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 45%; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.08) 30%, rgba(255,255,255,.5) 50%, rgba(255,255,255,.08) 70%, transparent 100%);
  transform: translateX(-160%) skewX(-20deg); transition: transform .85s cubic-bezier(.45,0,.25,1);
}
.btn-ghost::after, .fab-text::after { background: linear-gradient(100deg, transparent 0%, rgba(92,212,225,.06) 30%, rgba(92,212,225,.32) 50%, rgba(92,212,225,.06) 70%, transparent 100%); }
.btn:hover::after, .btn:focus-visible::after, .btn-gold:hover::after, .fab:hover::after, .fab:focus-visible::after { left: 0; transform: translateX(330%) skewX(-20deg); }
.btn > *, .fab > * { position: relative; z-index: 1; }
@keyframes zz-sweep { 0% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(330%) skewX(-20deg); } }
@keyframes zz-sweep-idle { 0%, 82% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(330%) skewX(-20deg); } }
/* The Schedule button glints every few seconds to draw the eye */
.fab-sched::after { animation: zz-sweep-idle 7s ease-in-out 2s infinite; }
.fab-sched:hover::after { animation: none; }
/* Touch screens have no hover: CTAs glint once shortly after the page loads */
@media (hover: none) {
  .btn::after { animation: zz-sweep 1.1s var(--ease) 1s 1 backwards; }
  .fab-call::after { animation: zz-sweep 1.1s var(--ease) 1.2s 1 backwards; }
  .fab-text::after { animation: zz-sweep 1.1s var(--ease) 1.35s 1 backwards; }
}

/* Floating dock (desktop/tablet): a glass pill to the left of the music button */
.fab-dock {
  position: fixed; right: 82px; bottom: 18px; z-index: 58; display: flex; gap: 6px; padding: 4px;
  border-radius: 999px; background: rgba(16,49,74,.82); border: 1px solid rgba(92,212,225,.32);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 14px 34px -14px rgba(0,0,0,.75);
}
.fab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px;
  border-radius: 999px; text-decoration: none; font: 700 .9rem/1 var(--ff-h); letter-spacing: .01em; white-space: nowrap;
  border: 1px solid transparent; -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s ease, border-color .2s ease, color .2s ease;
}
.fab svg { width: 18px; height: 18px; flex: none; }
.fab:hover { transform: translateY(-2px); }
.fab:active { transform: scale(.96); }
.fab:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.fab-call { background: linear-gradient(135deg, var(--cyan), var(--sky)); color: var(--ink); }
.fab-call:hover { color: var(--ink); box-shadow: 0 10px 24px -10px rgba(92,212,225,.85); }
.fab-text { background: rgba(22,44,60,.6); color: var(--text); border-color: rgba(255,255,255,.5); }
.fab-text:hover { color: var(--cyan); border-color: var(--cyan); }
.fab-sched { background: linear-gradient(135deg, var(--green), #8fd19a); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.fab-sched:hover { color: var(--ink); box-shadow: 0 10px 24px -10px rgba(122,192,133,.9), inset 0 1px 0 rgba(255,255,255,.45); }
/* Back-to-top stays stacked directly above the music button (desktop) */
.to-top { right: 22px; bottom: 82px; }
/* Keep the last footer line clear of the dock */
.site-footer .fine { padding-bottom: 84px; }

/* Mobile: full-width bottom bar (JNH style), music and back-to-top lifted above it */
@media (max-width: 720px) {
  .fab-dock {
    left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border-radius: 0; border: 0;
    border-top: 1px solid rgba(92,212,225,.35); background: rgba(23,23,22,.94); box-shadow: 0 -10px 30px rgba(0,0,0,.45);
  }
  .fab { height: 50px; padding: 0 8px; border-radius: 12px; font-size: .95rem; }
  .fab:hover { transform: none; }
  .fab-text { background: rgba(255,255,255,.06); border-color: rgba(92,212,225,.5); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .to-top { right: 13px; bottom: calc(134px + env(safe-area-inset-bottom)); }
  .site-footer .fine { padding-bottom: 24px; }
}
@media (max-width: 340px) { .fab { gap: 5px; font-size: .86rem; } .fab svg { width: 16px; height: 16px; } }
@media print { .fab-dock { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .btn::after, .btn-gold::after, .fab::after { display: none !important; }
  .fab, .fab:hover, .fab:active { transition: none !important; transform: none !important; }
}

/* ===================================================================
   v7: cinematic, premium finish within the same layout
   =================================================================== */
:root { --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); }

/* Larger, more confident headings (same fonts) */
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.025em; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.65; }
.section-intro { font-size: 1.06rem; line-height: 1.7; }

/* Elegant, widely spaced eyebrow labels with a thin cyan-to-green rule */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; letter-spacing: .3em; font-size: .74rem; font-weight: 600; }
.eyebrow::before { content: ""; width: 34px; height: 1px; flex: none; background: linear-gradient(90deg, var(--cyan), var(--green)); }

/* Refined spacing */
section { padding: 92px 0; }
.hero-copy { padding: 64px 0 60px; }
@media (max-width: 720px) { section { padding: 64px 0; } .hero-copy { padding: 56px 0 44px; } .eyebrow { letter-spacing: .22em; gap: 10px; } .eyebrow::before { width: 22px; } }

/* Hero and page bands: slow Ken Burns zoom, deep cinematic vignette, soft film grain */
.hero, .page-band { overflow: hidden; isolation: isolate; }
.hero-media, .band-media { transform-origin: 62% 40%; animation: zz-kb 26s ease-in-out infinite alternate; will-change: transform; scale: 1.06; }
@keyframes zz-kb { from { transform: scale(1); } to { transform: scale(1.09) translate3d(-1.2%, -.8%, 0); } }
.hero-shade, .band-shade {
  background:
    radial-gradient(120% 90% at 50% 35%, transparent 35%, rgba(8,18,26,.55) 100%),
    linear-gradient(90deg, rgba(10,22,32,.84) 0%, rgba(16,40,56,.58) 52%, rgba(16,40,56,.22) 100%),
    linear-gradient(180deg, rgba(22,44,60,.5) 0%, rgba(22,44,60,.62) 55%, rgba(22,44,60,.98) 100%);
}
.hero::before, .page-band::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: var(--grain); background-size: 160px; opacity: .07; mix-blend-mode: overlay; }
.hero-copy, .band-copy { z-index: 2; }
.hero h1, .band-copy h1 { text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hero .lede { color: #e6eef2; }

/* Hero headline: words rise in one after another (JS adds the spans) */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .w > span { display: inline-block; animation: zz-word .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.12s + var(--i) * .07s); }
.hero-copy > h1.zz-split { animation: none; }
@keyframes zz-word { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }

/* Thin premium accents in brand cyan/green */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(92,212,225,.45) 30%, rgba(122,192,133,.45) 70%, transparent); opacity: 0; transition: opacity .35s ease; }
.site-header.is-scrolled::after { opacity: 1; }
.card, .step, .trust article, .panel { box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.trust article { border-top-width: 2px; background: linear-gradient(180deg, rgba(16,49,74,1), rgba(16,49,74,.82)); }
.mil-panel { box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }

/* Subtle parallax on section photos (JS sets --py) */
.mil-media img { scale: 1.1; translate: 0 var(--py, 0px); will-change: translate; }
.hero-media, .band-media { translate: 0 var(--py, 0px); }

@media (prefers-reduced-motion: reduce) {
  .hero-media, .band-media { animation: none !important; scale: 1; translate: none !important; }
  .mil-media img { scale: 1; translate: none !important; }
  .hero h1 .w > span { animation: none !important; }
}
/* v7: keep the hero buttons in the first screen */
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); margin-bottom: 14px; }
.hero .chips { margin: 14px 0 18px; }
.hero-copy { padding: 52px 0 38px; }
@media (max-width: 720px) { .hero h1 { font-size: clamp(2.05rem, 8.6vw, 2.5rem); } .hero-copy { padding: 44px 0 36px; } }
@media (max-width: 720px) { .hero-shade, .band-shade { background: radial-gradient(130% 90% at 50% 30%, transparent 30%, rgba(8,18,26,.55) 100%), linear-gradient(180deg, rgba(14,30,42,.66) 0%, rgba(16,36,50,.74) 50%, rgba(22,44,60,.98) 100%); } }

/* ===================================================================
   CoreMed Courier palette and adjustments (colors sampled from the logo:
   navy #052D55, teal #04B4B8). Same layout system as the parent build.
   =================================================================== */
:root {
  --ink: #062344;        /* page background: deep logo navy */
  --navy: #0b3561;       /* cards and panels */
  --navy-2: #067f86;     /* deep teal panels */
  --black: #041a33;      /* top bar and footer */
  --green: #04b4b8;      /* primary: logo teal */
  --teal: #04b4b8;
  --cyan: #3fd8db;       /* links and eyebrows */
  --sky: #9fe8ea;
  --line: rgba(63,216,219,.32);
  --brand-navy: #052d55;
}
::selection { background: rgba(4,180,184,.4); }
/* White header so the white-background logo sits cleanly */
.site-header, .site-header.is-scrolled { background: rgba(255,255,255,.98); border-bottom-color: rgba(5,45,85,.10); }
.nav a { color: var(--brand-navy); }
.nav a:hover { color: #038f93; }
.nav a[aria-current="page"] { color: #038f93; }
.nav-toggle { color: var(--brand-navy); border-color: var(--green); }
.logo img { height: 78px; }
@media (max-width: 720px) { .logo img { height: 56px; } .nav { background: #fff; } }
.btn-gold { color: #04213f; }
.footer-logo { background: #fff; border-radius: 12px; padding: 8px; height: 110px; }
/* Hero: brand gradient instead of a stock photo */
.hero { min-height: 78vh; background:
  radial-gradient(900px 500px at 85% 20%, rgba(4,180,184,.35), transparent 65%),
  radial-gradient(700px 500px at 10% 100%, rgba(63,216,219,.16), transparent 70%),
  linear-gradient(135deg, #041a33 0%, #052d55 55%, #06476f 100%); }
.hero-lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(-12deg, transparent 0 46px, rgba(63,216,219,.07) 46px 48px); }
.page-band { min-height: 300px; background:
  radial-gradient(800px 400px at 90% 10%, rgba(4,180,184,.32), transparent 65%),
  linear-gradient(135deg, #041a33 0%, #052d55 60%, #06476f 100%); }
.soon { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: rgba(4,180,184,.18); color: var(--cyan); border: 1px solid var(--line); vertical-align: middle; }
.card .body { padding: 22px; }
.card .t-ico { margin-bottom: 12px; }
.placeholder { outline: 2px dashed #f5b942; outline-offset: 3px; }
.hero-copy { max-width: none; }
.hero-copy > * { max-width: 760px; }
.logo img { height: 84px; }
.fab-sched { background: linear-gradient(135deg, var(--green), #5fe0e2); }
@media (max-width: 720px) { .logo img { height: 60px; } .topbar span { display: none; } .topbar .wrap { justify-content: center; } }
.hero { min-height: min(78vh, 720px); } @media (max-width:720px){ .hero { min-height: min(88vh, 760px); } }
@media (max-width:720px){ .hero { min-height: 0; } .hero-copy { padding: 36px 0 40px; } }
.band-copy { max-width: none; } .band-copy > * { max-width: 760px; }
