.fc-directory { --fc-green: #007149; --fc-navy: #0f2e68; --fc-ink: #283b36; color: var(--fc-ink); }
.fc-directory *, .fc-directory *::before, .fc-directory *::after { box-sizing: border-box; }
.fc-directory .container { width: calc(100% - 48px); max-width: 1200px; }
.fc-directory a:focus-visible { outline: 3px solid #007149; outline-offset: 5px; }
/* UHY network banner: navy field, low-set white title and green growth pathways. */
.fc-network-banner { height: 288px; position: relative; overflow: hidden; background: #002f6c; }
.fc-banner-inner { position: relative; height: 100%; }
.fc-banner-pathway { position: absolute; top: 56px; right: -117px; width: 917px; height: 485px; background: url('/assets/images/graphics/uhy-ambition-growth.svg') no-repeat left top / contain; pointer-events: none; animation: fc-pathway-enter 1s ease-out both; }
.fc-directory .fc-network-banner h1 { position: absolute; z-index: 1; bottom: 24px; left: 0; max-width: 100%; margin: 0; color: #fff; font-size: 36px; font-weight: 300; line-height: 1.2; letter-spacing: 0; text-shadow: 0 1px 8px #002f6c; }
@keyframes fc-pathway-enter { from { opacity: 0; transform: translate(24px, 24px); } to { opacity: 1; transform: translate(0, 0); } }
.fc-page-intro { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.fc-page-intro > div { flex: 1; min-width: 0; }
.fc-page-intro .fc-text-link { margin-top: 20px; }
.fc-office-symbol { width: 180px; height: auto; flex: 0 0 180px; }
.fc-directory .fc-eyebrow { margin: 0 0 15px; color: var(--fc-green); font-size: 12px; font-weight: 600; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.fc-directory .fc-lead { max-width: 740px; margin: 0; font-size: 21px; line-height: 1.55; }
.fc-section { padding-top: 52px; padding-bottom: 76px; }
.fc-partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: stretch; }
.fc-partner { min-width: 0; background: #fff; border-bottom: 2px solid var(--fc-green); scroll-margin-top: 150px; }
.fc-partner-photo { overflow: hidden; aspect-ratio: 4 / 5; background: #e9edeb; }
.fc-partner-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.fc-partner-content { padding: 18px 0 22px; }
.fc-partner-content .fc-eyebrow { margin-bottom: 5px; }
.fc-partner-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.fc-partner h2, .fc-partner h3 { margin: 0 0 6px; color: var(--fc-navy); font-size: 27px; font-weight: 500; line-height: 1.2; }
.fc-partner-office { display: inline-block; color: var(--fc-green); font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.fc-partner-bio { margin: 10px 0 0; color: #5c6862; font-size: 15px; font-weight: 400; line-height: 1.4; text-align: justify; hyphens: auto; }
.fc-text-link { display: inline-block; color: var(--fc-green); font-size: 16px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.fc-text-link:hover, .fc-partner-office:hover { color: var(--fc-navy); }
.fc-partner-profile { margin-top: 14px; }
.fc-directory-cta { padding: 45px 0; background: #eef4f1; }
.fc-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.fc-directory-cta h2, .fc-office-contact h2, .fc-section-heading h2 { color: var(--fc-navy); font-weight: 400; font-size: clamp(27px, 3vw, 36px); line-height: 1.2; margin: 0 0 16px; }
.fc-directory-cta p:not(.fc-eyebrow) { margin: 0; font-size: 18px; }
.fc-button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 15px 23px; background: var(--fc-green); color: #fff; font-size: 16px; font-weight: 500; text-decoration: none; }
.fc-button:hover { background: #005737; }
.fc-office-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.fc-office-card { display: block; border: 1px solid #d8e3dd; padding: 20px 22px 23px; color: var(--fc-green); background: #fff; text-decoration: none; transition: background-color .2s, border-color .2s; }
.fc-office-card:hover, .fc-office-card[aria-current="page"] { background: #eef4f1; border-color: var(--fc-green); }
.fc-office-card[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--fc-green); }
.fc-office-card img { display: block; width: 100%; height: auto; margin: 0 auto 20px; }
.fc-office-card-name { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 25px; font-weight: 500; line-height: 1.2; }
.fc-office-card-name > span { font-size: 21px; font-weight: 400; }
.fc-office-card-label { display: block; margin-top: 10px; color: #56695e; font-size: 14px; }
.fc-office-grid-compact .fc-office-card { padding: 15px 20px; }
.fc-office-grid-compact .fc-office-card img, .fc-office-grid-compact .fc-office-card-label { display: none; }
.fc-office-grid-compact .fc-office-card-name { font-size: 20px; }
.fc-office-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 56px; padding-top: 55px; align-items: start; }
.fc-office-contact { padding-top: 10px; }
.fc-office-contact > p:not(.fc-eyebrow) { margin-bottom: 24px; font-size: 18px; line-height: 1.6; }
.fc-office-contact address { font-style: normal; font-size: 18px; line-height: 1.65; margin: 24px 0; }
.fc-office-contact address p { margin: 0 0 20px; }
.fc-office-contact address a { color: var(--fc-green); overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.fc-contact-label { display: block; color: #56695e; font-size: 13px; }
.fc-map-wrap { position: relative; min-width: 0; }
.fc-office-map { width: 100%; height: 390px; z-index: 0; background: #eef4f1; border: 1px solid #d8e3dd; }
.fc-map-fallback { margin-top: 12px; font-size: 14px; color: #56695e; }
.fc-office-partners { margin-top: 70px; padding-top: 50px; border-top: 1px solid #d8e3dd; }
.fc-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.fc-section-heading h2 { margin-bottom: 0; }
@media (max-width: 1000px) {
    .fc-banner-pathway { width: 720px; height: 381px; right: -160px; }
    .fc-office-grid { gap: 14px; }
    .fc-office-card { padding: 16px; }
    .fc-partner-grid { gap: 24px; }
    .fc-partner h2, .fc-partner h3 { font-size: 23px; }
    .fc-office-details { gap: 28px; }
}
@media (max-width: 767px) {
    .fc-network-banner { height: 144px; }
    .fc-banner-pathway { top: 5px; right: -100px; width: 520px; height: 275px; }
    .fc-directory .fc-network-banner h1 { bottom: 20px; font-size: 32px; }
    .fc-page-intro { gap: 20px; margin-bottom: 30px; }
    .fc-directory .fc-lead { font-size: 18px; }
    .fc-section { padding-top: 32px; padding-bottom: 48px; }
    .fc-partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
    .fc-office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fc-office-details { grid-template-columns: 1fr; padding-top: 36px; gap: 25px; }
    .fc-office-map { height: 330px; }
    .fc-office-symbol { width: 130px; flex-basis: 130px; }
    .fc-cta-inner, .fc-section-heading { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 500px) {
    .fc-directory .container { width: calc(100% - 36px); }
    .fc-partner-grid { grid-template-columns: 1fr; gap: 36px; }
    .fc-partner h2, .fc-partner h3 { font-size: 28px; }
    .fc-partner-content { padding-top: 16px; }
    .fc-office-card { padding: 14px 12px; }
    .fc-office-card-name { font-size: 22px; }
    .fc-office-card-label { font-size: 12px; }
    .fc-office-grid-compact .fc-office-card { padding: 14px; }
    .fc-banner-pathway { right: -220px; top: -12px; }
    .fc-page-intro { align-items: flex-start; flex-direction: column; gap: 12px; }
    .fc-office-symbol { width: 140px; flex-basis: auto; align-self: flex-end; }
    .fc-office-partners { margin-top: 45px; padding-top: 35px; }
}
@media (prefers-reduced-motion: reduce) {
    .fc-directory * { transition: none; animation: none; }
}
