/* Visual pass: closer to the CCM loan-officer profile.
   Outfit is a self-hosted stand-in for Visby. Visby files are not licensed for this domain. */

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next";
  src: local("Avenir Next Heavy"), local("AvenirNext-Heavy");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next";
  src: local("Avenir Next Demi Bold"), local("AvenirNext-DemiBold");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next";
  src: local("Avenir Next Medium"), local("AvenirNext-Medium");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next";
  src: local("Avenir Next Regular"), local("Avenir Next"), local("AvenirNext-Regular");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --star: #e6b325;
  --font: "Visby", "Outfit", "Avenir Next", "Century Gothic", system-ui, sans-serif;
}

/* Same wash as the CCM loan-officer photo: clear at the top, white by 88%. */
body.home-page { position: relative; }
.home-page:before {
  top: 0;
  height: 720px;
  background-image:
    linear-gradient(to bottom, transparent, #fff 88%),
    url("/assets/ccm-community.jpg");
  background-size: min(445%, 2200px) auto;
  background-position: top center;
  background-repeat: no-repeat;
}
@media (min-width: 1024px) {
  .home-page:before {
    height: 998px;
    background-size: min(140%, 2200px) auto;
  }
}

.utility-bar {
  position: sticky;
  top: 0;
  z-index: 32;
}

.site-header {
  top: 40px;
  transition: background-color 300ms ease, box-shadow 300ms ease;
}

.home-page .site-header {
  background: color-mix(in srgb, #fff 50%, transparent);
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.home-page .site-header.is-solid,
.inner-page .site-header.is-solid {
  background: color-mix(in srgb, #fff 95%, transparent);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.inner-page .site-header {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-inner {
  min-height: 112px;
}

.brand img {
  width: auto;
  height: 44px;
}

.desktop-nav {
  gap: 22px;
}

.desktop-nav > a,
.nav-item > a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.profile-section {
  padding: 28px 0 0;
}

.profile-sheet {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 72px 0 28px;
  box-shadow: 0 -48px 48px rgba(255, 255, 255, 0.9);
}

.profile-grid {
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  column-gap: 7%;
  row-gap: 0;
}

.profile-grid.profile-hero-grid {
  align-items: center;
  min-height: calc(100svh - 230px);
  padding-bottom: 28px;
}

.profile-grid.profile-lower {
  align-items: start;
}

.profile-photo {
  max-width: none;
  width: min(326px, 78vw);
  margin-top: 0;
  box-shadow: none;
  background: #e7e7e7;
}
.profile-photo img { object-position: top center; }

.profile-kicker {
  max-width: none;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-wrap: balance;
}

.profile-intro h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 52px;
  text-wrap: balance;
}

.profile-intro .social-links {
  margin-top: 28px;
  margin-bottom: 0;
}

.profile-intro .btn-outline {
  background: #fff;
  color: var(--black);
  border-color: #231f20;
}

.profile-intro .btn-outline:hover {
  background: var(--black);
  color: #fff;
}

.short-label { display: none; }

.social-links {
  gap: 16px;
}

.social-links a,
.footer-brand-row .social-links a {
  width: 51px;
  height: 51px;
  background: transparent;
  color: inherit;
}

.social-links a:hover,
.footer-brand-row .social-links a:hover {
  background: transparent;
  transform: translateY(-1px);
}

.social-links img,
.social-links svg {
  width: 51px;
  height: 51px;
  display: block;
}

.profile-title {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.05em;
  text-shadow: none;
}

.profile-contact h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.profile-bio h2 {
  max-width: 14ch;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.profile-bio p {
  font-size: 17px;
  line-height: 1.65;
  color: #3a3a3a;
}

.profile-trust {
  margin-top: 8px;
}

.profile-credentials {
  justify-content: flex-start;
  gap: 48px;
  max-width: none;
  margin: 8px 0 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(35, 31, 32, 0.16);
}

.profile-credentials span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section {
  padding: 104px 0;
}

.dark-band {
  padding: 96px 0 108px;
}

.review-heading {
  align-items: flex-end;
  margin-bottom: 36px;
}

.review-stars,
.profile-rating > span,
.rating span {
  color: var(--star);
}

.review-card {
  min-height: 340px;
  padding: 36px 36px 28px;
  background: #3c3c3c;
}

.review-card blockquote {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.review-viewport {
  container-type: inline-size;
  overflow: hidden;
}

.review-layout {
  display: flex;
  align-items: stretch;
  gap: 22px;
  transition: transform 0.35s ease;
}

.review-card {
  flex: 0 0 calc((100cqi - 44px) / 3);
  width: auto;
  min-height: 320px;
}

.review-card figcaption {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.review-nav {
  display: none;
  gap: 10px;
  margin-top: 22px;
}

.review-can-slide .review-nav {
  display: flex;
}

.review-nav button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
}

.review-nav button:hover:not(:disabled) {
  background: #fff;
  color: var(--black);
}

.review-nav button:disabled {
  opacity: 0.35;
}

.review-prev svg {
  transform: rotate(180deg);
}

.review-nav svg {
  width: 18px;
  height: 18px;
}

.resource-tiles {
  gap: 22px;
  margin-top: 36px;
}

.resource-tiles > a {
  min-height: 300px;
  padding: 36px 32px 28px;
  background: #f3f3f3;
}

.resource-tiles > a:hover {
  background: #e7e7e7;
}

.resource-tiles h3 {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.loan-options {
  background: #f6f6f6;
}

.card {
  min-height: 250px;
  padding: 32px 28px 28px;
  border: 0;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(35, 31, 32, 0.06);
}

.card:hover {
  background: #fff;
  box-shadow: 0 14px 36px rgba(35, 31, 32, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3,
.card h2 {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.card .more,
.resource-tiles > a > span {
  transition: gap 0.15s ease;
}

.card:hover .more,
.resource-tiles > a:hover > span {
  gap: 18px;
}

.steps {
  gap: 36px;
  margin-top: 48px;
}

.steps > div {
  border-top-width: 1px;
  padding-top: 22px;
}

.step-number {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.faq-list summary {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.corporate-contact h2,
.faq-grid h2,
.process-layout h2 {
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.contact-number {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.consent span {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  border-color: #d5d5d5;
  border-radius: 4px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--black);
  outline-offset: 1px;
  border-color: var(--black);
}

.calc-grid > div {
  border-color: #e3e3e3;
  border-radius: 2px;
}

.payment-center > .figure {
  letter-spacing: -0.04em;
}

.page-hero {
  padding: 76px 0 28px;
}

.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(48px, 5.2vw, 76px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.page-hero .lede {
  font-size: 18px;
  line-height: 1.6;
  color: #3a3a3a;
}

.about-grid .hero-photo {
  box-shadow: 0 22px 50px rgba(35, 31, 32, 0.16);
}

.about-grid h2 {
  font-size: 40px;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.aside-box {
  border-radius: 2px;
}

.footer-brand-row .social-links {
  gap: 12px;
}

.footer-brand-row .social-links a,
.footer-brand-row .social-links img {
  width: 40px;
  height: 40px;
}

.home-page:not(.chat-available) .chat-launcher {
  opacity: 0;
  pointer-events: none;
}

.home-page .chat-launcher {
  transition: opacity 0.2s ease;
}

@media (max-width: 1250px) {
  .header-schedule {
    display: inline-flex;
  }
  .desktop-nav > a,
  .products-control > a {
    font-size: 12px;
    letter-spacing: 0.06em;
  }
  .profile-intro h1 {
    font-size: 84px;
    line-height: 1.04;
  }
  .profile-kicker {
    font-size: 24px;
    line-height: 30px;
  }
  .profile-grid {
    grid-template-columns: minmax(240px, 34%) minmax(0, 1fr);
  }
}

@media (max-width: 1080px) {
  .header-schedule {
    display: none;
  }
}

@media (max-width: 900px) {
  .page-hero h1 {
    font-size: 48px;
  }
  .section {
    padding: 72px 0;
  }
  .review-card {
    flex-basis: calc((100cqi - 22px) / 2);
  }
  .review-card blockquote {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-grid.profile-hero-grid {
    min-height: 0;
    padding-bottom: 8px;
    justify-items: center;
  }
  .profile-photo {
    width: min(260px, 42vw);
    margin: 0 auto 8px;
  }
  .profile-intro {
    margin-top: 18px;
    text-align: center;
  }
  .profile-kicker {
    display: inline-block;
    text-shadow: none;
    background: rgba(255, 255, 255, 0.88);
    padding: 4px 10px;
    border-radius: 4px;
  }
  .profile-intro .social-links,
  .profile-intro .cta-row {
    justify-content: center;
  }
  .profile-sheet {
    padding: 40px 0 12px;
  }
}

@media (max-width: 650px) {
  .home-page:before {
    top: 0;
    height: 920px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0.72) 74%, #fff 88%),
      url("/assets/ccm-community.jpg") center top / min(445%, 2200px) auto no-repeat;
  }
  .profile-section {
    padding: 12px 0 0;
  }
  .profile-hero-grid {
    row-gap: 18px;
  }
  .profile-lower .profile-contact,
  .profile-lower .profile-bio {
    grid-row: auto;
  }
  .profile-photo {
    width: min(148px, 42vw);
    margin: 0 auto;
    box-shadow: 0 16px 36px rgba(35, 31, 32, 0.2);
  }
  .profile-intro {
    margin-top: 0;
    text-align: center;
  }
  .profile-hero-grid {
    row-gap: 22px;
  }
  .profile-kicker {
    display: inline-block;
    max-width: 18em;
    margin-inline: auto;
    padding: 4px 8px;
    font-size: 15px;
    line-height: 1.25;
    text-shadow: none;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 4px;
  }
  .profile-intro h1 {
    font-size: 56px;
    line-height: 0.98;
    margin-bottom: 12px;
  }
  .profile-intro .wide-label { display: none; }
  .profile-intro .short-label { display: inline; }
  .profile-intro .social-links,
  .profile-intro .cta-row {
    justify-content: center;
    flex-wrap: nowrap;
  }
  .profile-intro .btn {
    min-height: 44px;
    padding-inline: 16px;
  }
  .profile-title {
    font-size: 17px;
  }
  .social-links a {
    width: 44px;
    height: 44px;
  }
  .social-links svg {
    width: 18px;
    height: 18px;
  }
  .profile-bio h2 {
    font-size: 34px;
    max-width: 12ch;
  }
  .profile-credentials {
    gap: 18px;
    justify-content: space-between;
  }
  .review-card {
    min-height: 0;
    padding: 28px 22px;
  }
  .review-card {
    flex-basis: 100cqi;
    min-height: 0;
  }
  .review-card blockquote {
    font-size: 17px;
  }
  .home-page:not(.bar-ready) .officer-bar {
    transform: translateY(110%);
  }
  .home-page:not(.bar-ready) {
    padding-bottom: 0;
  }
  .home-page:not(.bar-ready) .chat-launcher {
    bottom: 16px;
  }
  .officer-bar {
    transition: transform 0.2s ease;
  }
  .officer-bar-identity .bar-role {
    display: none;
  }
  .officer-bar-identity span {
    max-width: none;
    margin-top: 0;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .officer-bar-identity strong {
    white-space: nowrap;
  }
  .card,
  .resource-tiles > a {
    min-height: 0;
  }
  .section {
    padding: 64px 0;
  }
}

.officer-bar-identity .bar-role {
  display: inline;
}

.officer-bar {
  transition: transform 0.2s ease;
}

.home-page.bar-parked .officer-bar {
  transform: translateY(110%);
}

.home-page.bar-parked .chat-launcher {
  bottom: 24px;
}

@media (max-width: 650px) and (max-height: 720px) {
  .profile-photo {
    width: min(118px, 34vw);
  }
  .profile-intro h1 {
    font-size: 46px;
    line-height: 0.98;
    margin-bottom: 10px;
  }
  .profile-title {
    margin: 8px 0 12px;
    font-size: 15px;
  }
  .social-links a {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 900px) {
  .mobile-nav {
    min-height: calc(100dvh - 128px);
    max-height: calc(100dvh - 128px);
    background: #fff;
  }
}

@media (max-width: 650px) {
  .officer-bar-identity .bar-role {
    display: none;
  }
  .mobile-nav {
    min-height: calc(100dvh - 116px);
    max-height: calc(100dvh - 116px);
  }
}

/* Buttons, menu, and icons — matched to the CCM profile, then tightened. */
.btn,
.header-cta .btn,
.profile-intro .btn,
.profile-contact > .btn,
.officer-bar .btn,
.next-step .btn,
.aside-box > .btn,
.review-heading .btn,
.review-source .btn,
.mobile-nav .cta-row .btn,
.cta-row .btn {
  min-height: 48px;
  min-width: 108px;
  padding: 14px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--black);
  color: #fff;
  box-shadow: inset 0 0 0 2px var(--black);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 0.3s ease-out, color 0.3s ease-out, box-shadow 0.3s ease-out;
}

.btn:hover,
.header-cta .btn:hover,
.profile-intro .btn:hover,
.profile-contact > .btn:hover,
.aside-box > .btn:hover,
.page-hero .btn:hover,
form .btn:hover {
  background: transparent;
  color: var(--black);
  border-color: transparent;
  box-shadow: inset 0 0 0 2px var(--black);
}

.btn-outline,
.header-cta .btn-outline,
.profile-intro .btn-outline,
.mobile-nav .btn-outline {
  background: #fff;
  color: var(--black);
  box-shadow: inset 0 0 0 2px var(--black);
}

.btn-outline:hover,
.header-cta .btn-outline:hover,
.profile-intro .btn-outline:hover,
.mobile-nav .btn-outline:hover {
  background: var(--black);
  color: #fff;
  box-shadow: inset 0 0 0 2px var(--black);
}

.btn:focus-visible,
.header-cta .btn:focus-visible,
.officer-bar .btn:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}

.officer-bar .btn,
.next-step .btn,
.review-source .btn,
.reviews-page .review-source .btn {
  min-height: 44px;
  padding: 12px 18px;
}

.btn-white,
.officer-bar .btn-white,
.next-step .btn:not(.btn-outline),
.review-heading .btn-white,
.reviews-page .review-source .btn:not(.btn-outline) {
  background: #fff;
  color: var(--black);
  box-shadow: inset 0 0 0 2px #fff;
}

.btn-white:hover,
.officer-bar .btn-white:hover,
.next-step .btn:not(.btn-outline):hover,
.review-heading .btn-white:hover,
.dark-band .btn-white:hover {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}

.btn-reverse,
.officer-bar .btn-reverse,
.next-step .btn-outline,
.dark-band .btn-reverse,
.review-heading .btn-reverse,
.reviews-page .review-source .btn-outline {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}

.btn-reverse:hover,
.officer-bar .btn-reverse:hover,
.next-step .btn-outline:hover,
.dark-band .btn-reverse:hover,
.review-heading .btn-reverse:hover,
.reviews-page .review-source .btn-outline:hover {
  background: #fff;
  color: var(--black);
  box-shadow: inset 0 0 0 2px #fff;
}

.btn svg,
.header-cta .btn svg,
.cta-row .btn svg {
  width: 16px;
  height: 16px;
}

.mega-menu {
  background: linear-gradient(180deg, #fff 0%, #f3f3f3 100%);
  border: 0;
  border-top: 3px solid var(--black);
  box-shadow: 0 22px 48px rgba(35, 31, 32, 0.14);
  padding: 32px 40px 36px;
}

.mega-menu h2 {
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.mega-menu li a {
  padding: 9px 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.011em;
}

.mega-menu li a:hover {
  text-decoration: none;
}

.products-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.products-toggle:hover,
.icon-button.products-toggle:hover {
  background: transparent;
}

.products-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.products-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.resource-tiles > a > svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
}

.resource-tiles > a > span,
.card .more,
.text-link {
  font-weight: 600;
  letter-spacing: 0.06em;
}

.page-hero h1 {
  font-size: clamp(48px, 5.4vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h2,
.profile-bio h2,
.process-layout h2,
.section-head h2 {
  line-height: 1.18;
}

/* Corporate profile metrics. Visby CF is not licensed here; Outfit is the self-hosted face. */
body {
  letter-spacing: normal;
  line-height: 1.5;
  color: #231f20;
}
h1, h2, h3, .profile-kicker, .profile-title, .profile-bio p {
  letter-spacing: normal;
}
h1, h2, h3 { font-weight: 900; }
h2 {
  font-size: 30px;
  line-height: 36px;
}
h3, .card h3, .resource-tiles h3 {
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.05em;
}
@media (min-width: 1024px) {
  .profile-kicker {
    font-size: 28px;
    line-height: 36px;
  }
  .profile-intro h1 {
    font-size: 100px;
    line-height: 104px;
  }
  .profile-title {
    font-size: 21px;
    line-height: 32px;
  }
  h2, .profile-bio h2, .process-layout h2, .section-head h2, .faq-grid h2, .corporate-contact h2 {
    font-size: 44px;
    line-height: 52px;
    letter-spacing: normal;
  }
  h3, .card h3, .card h2, .resource-tiles h3 {
    font-size: 24px;
    line-height: 32px;
  }
  .profile-photo { width: 100%; }
  .profile-grid.profile-hero-grid {
    align-items: center;
    min-height: calc(100svh - 220px);
    padding: 28px 0 8px;
  }
  .profile-intro .social-links { margin-top: 72px; }
}

.desktop-nav { gap: 32px; align-items: stretch; }
.desktop-nav > a,
.nav-item > a {
  display: flex;
  align-items: center;
  min-height: 112px;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 16px;
  text-transform: uppercase;
  text-decoration: none;
  color: #231f20;
}
.desktop-nav > a:hover,
.nav-item > a:hover { text-decoration: none; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item.has-child::before {
  content: "";
  position: absolute;
  top: 33%;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: background-color 200ms ease-in-out;
  pointer-events: none;
}
.nav-item.has-child:hover::before,
.nav-item.is-open::before { background: #231f20; }
.nav-item.has-child::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 41;
  transform: translateX(-50%);
  border-right: 10px solid transparent;
  border-bottom: 7px solid #231f20;
  border-left: 10px solid transparent;
  opacity: 0;
  transition: opacity 200ms ease-in-out;
  pointer-events: none;
}
.nav-item.has-child:hover::after,
.nav-item.is-open::after { opacity: 1; }
.nav-drop {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  min-width: 14rem;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease-in-out, visibility 200ms ease-in-out;
}
.nav-item:hover > .nav-drop,
.nav-item.is-open > .nav-drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-drop { filter: drop-shadow(0 18px 28px rgba(35, 31, 32, 0.35)); }
.nav-drop-wide {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  grid-template-columns: max-content max-content;
  min-width: 0;
}
.nav-drop a {
  display: block;
  padding: 16px 18px;
  background: #231f20;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.nav-drop a:hover,
.nav-drop a:focus-visible { text-decoration: underline; background: #231f20; }
.nav-drop a[aria-current="page"] { text-decoration: underline; }

.page-hero h1 {
  font-size: 40px;
  line-height: 44px;
  letter-spacing: 0.05em;
  font-weight: 900;
}
@media (min-width: 1024px) {
  .page-hero h1 {
    font-size: 80px;
    line-height: 84px;
  }
}

@media (max-width: 1279px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .header-inner { min-height: 88px; }
  .nav-drop { display: none; }
  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: var(--chrome-bottom, 128px);
    z-index: 25;
    display: block;
    max-height: none;
    min-height: 0;
    overflow: auto;
    padding: 8px 28px 40px;
    background: #231f20;
    color: #fff;
    border-top: 0;
  }
  .mobile-nav .cta-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    padding-top: 22px;
  }
  .mobile-nav .cta-row .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 8px;
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 2px #fff;
  }
  .mobile-nav .cta-row .btn:hover {
    background: #fff;
    color: #231f20;
    box-shadow: inset 0 0 0 2px #fff;
  }
  .mobile-nav > a,
  .mobile-nav summary {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .mobile-nav li a,
  .mobile-nav details > p a {
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .mobile-nav li a:hover,
  .mobile-nav details > p a:hover { text-decoration: underline; }
  .mobile-nav details > p { margin: 12px 0 0; }
  .mobile-nav .cta-row .btn { color: #fff; }
}
@media (max-width: 650px) {
  .home-page:before {
    top: 0;
    height: 720px;
    background-image:
      linear-gradient(to bottom, transparent, #fff 88%),
      url("/assets/ccm-community.jpg");
    background-size: min(445%, 2200px) auto;
    background-position: top center;
    background-repeat: no-repeat;
  }
  .profile-kicker {
    display: block;
    max-width: 16em;
    margin-inline: auto;
    padding: 0;
    font-size: 20px;
    line-height: 1.4;
    background: transparent;
    text-shadow: none;
    text-align: center;
  }
  .profile-intro { text-align: center; }
  .profile-intro h1 {
    font-size: 48px;
    line-height: 52px;
    margin-bottom: 0;
  }
  .profile-intro .social-links,
  .profile-intro .cta-row { justify-content: center; }
  .profile-title { align-items: center; }
  .profile-photo {
    width: min(326px, 78vw);
    margin: 0 auto;
    box-shadow: none;
  }
  .mobile-nav { top: var(--chrome-bottom, 116px); }
}

@media (max-width: 1400px) {
  .brand img {
    height: 34px;
  }
  .header-inner {
    gap: 20px;
    min-height: 96px;
  }
  .desktop-nav {
    gap: 14px;
  }
  .desktop-nav > a,
  .products-control > a {
    font-size: 12px;
    letter-spacing: 0.045em;
  }
}

@media (max-width: 1250px) {
  .header-inner {
    min-height: 88px;
    gap: 14px;
  }
  .brand img {
    height: 32px;
  }
  .desktop-nav {
    gap: 16px;
  }
  .desktop-nav > a,
  .products-control > a {
    font-size: 12px;
    letter-spacing: 0.04em;
  }
  .btn,
  .header-cta .btn,
  .profile-intro .btn,
  .cta-row .btn {
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 12px 14px;
    min-height: 44px;
  }
}

@media (max-width: 650px) {
  .header-inner {
    min-height: 64px;
    gap: 8px;
  }
  .brand img {
    width: auto;
    height: 28px;
    max-width: 158px;
  }
  .header-cta .btn {
    min-width: 0;
    padding: 10px 12px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }
  .menu-button {
    width: 40px;
    flex: 0 0 40px;
  }
  .social-links a,
  .social-links img,
  .profile-intro .social-links a {
    width: 44px;
    height: 44px;
  }
  .footer-brand-row .social-links a,
  .footer-brand-row .social-links img {
    width: 36px;
    height: 36px;
  }
  .profile-kicker {
    padding: 0;
    border-radius: 0;
    font-size: 16px;
    line-height: 1.25;
    background: transparent;
    text-shadow: 0 1px 0 #fff, 0 0 12px #fff;
  }
  .btn,
  .header-cta .btn,
  .profile-intro .btn,
  .officer-bar .btn,
  .cta-row .btn {
    font-size: 12px;
    letter-spacing: 0.06em;
    min-height: 44px;
    padding: 11px 14px;
  }
  .officer-bar .btn {
    min-height: 40px;
    min-width: 0;
    padding: 10px 12px;
  }
  .page-hero h1 {
    font-size: 42px;
  }
}

/* Live CCM profile: 50% white bar, frost after a short scroll, full-bleed photo fade. */
.utility-bar { position: sticky; top: 0; z-index: 32; }
.site-header { top: 40px; }
.home-page .site-header {
  background: color-mix(in srgb, #fff 50%, transparent);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom: 0;
}
.home-page .site-header.is-solid,
.inner-page .site-header.is-solid {
  background: color-mix(in srgb, #fff 95%, transparent);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}
.profile-intro h1,
.profile-kicker,
.profile-title,
.profile-bio p,
.profile-bio h2,
.page-hero h1,
.desktop-nav > a,
.nav-item > a,
.nav-drop a {
  letter-spacing: normal;
}
.home-page:before {
  top: 0;
  background-image: linear-gradient(to bottom, transparent, #fff 88%), url("/assets/ccm-community.jpg");
  background-size: min(445%, 2200px) auto;
  background-position: top center;
  background-repeat: no-repeat;
}
@media (min-width: 1024px) {
  .home-page:before {
    height: 998px;
    background-size: min(140%, 2200px) auto;
  }
  .profile-grid { grid-template-columns: minmax(280px, 436px) minmax(0, 1fr); }
  .profile-title { font-size: 21px; line-height: 32px; font-weight: 400; }
  .profile-bio p { font-size: 21px; line-height: 32px; font-weight: 400; color: #231f20; }
  .brand img { width: auto; height: 45px; max-width: 280px; object-fit: contain; object-position: left center; }
}
@media (max-width: 1023px) {
  .profile-kicker { color: #666; background: transparent; text-shadow: none; }
  .home-page:before { height: 720px; }
}
@media (max-width: 650px) {
  .site-header { top: 34px; }
  .home-page .site-header { background: color-mix(in srgb, #fff 50%, transparent); }
  .brand img { height: 40px; max-width: 176px; }
  .profile-photo { width: min(326px, 100%); box-shadow: none; }
  .profile-kicker { font-size: 20px; line-height: 28px; color: #666; max-width: 16em; }
}
