/* ICTX brand layer (Mark's identity). Loaded last on every page; colors come from brand-tokens.css. */

/* Typography: Source Sans 3 for body, Fraunces for headings */
body{font-family:var(--ictx-font-body)}
h1,h2,h3,h4{font-family:var(--ictx-font-heading);color:var(--ictx-heading);font-optical-sizing:auto}
.hero h1>span,.page-intro h1>span{color:var(--ictx-red)}

/* Primary buttons: navy with white text (12.1:1); hover flag navy */
.button{background:var(--ictx-navy);border-color:var(--ictx-navy);color:var(--ictx-white)}
.button:hover{background:var(--ictx-flag-navy);border-color:var(--ictx-flag-navy)}
.button.secondary{background:var(--ictx-white);color:var(--ictx-navy);border-color:var(--ictx-line-strong)}
.button.secondary:hover{background:var(--ictx-navy-50)}

/* Red fills always carry var(--ictx-white) text */
.workflow-row.is-active .workflow-number{color:var(--ictx-white)}

/* Logo: Mark's transparent Texas-map lockup. Every placement (header, floating header,
   mobile menu, footer) sits on a white/near-white background, so the light-background
   version is used throughout. */
.brand{--logo-height:55px;position:relative;display:inline-flex;align-items:center;justify-self:start;width:auto;height:var(--logo-height);overflow:visible;flex-shrink:0}
.brand img,.site-header .brand img,.site-header.is-floating .brand img,.footer-main .brand img,.mobile-navigation-top .brand img{position:static;max-width:none;width:auto;height:var(--logo-height);left:auto;top:auto;transform:none;display:block}
.site-header.is-floating .brand{--logo-height:46px}
.footer-main .brand{--logo-height:52px}
@media(max-width:1024px){.site-header .brand,.site-header.is-floating .brand,.mobile-navigation-top .brand{--logo-height:46px}}
@media(max-width:600px){.site-header .brand,.site-header.is-floating .brand,.mobile-navigation-top .brand{--logo-height:42px}}

/* Dark navy surfaces: headings stay var(--ictx-white), accents use the light red (red on navy is only ~2:1). */
.directory-card h2,.directory-card h3,.directory-card h4,.result-summary h2,.course h3{color:inherit}
.score-value strong{color:var(--ictx-accent-on-dark)}
.directory-card li:before,.photo-pointer{color:var(--ictx-accent-on-dark)}

/* Tap-to-call: "Call our AI agent anytime" (630) 703-7047 */
.phone-icon{width:1.05em;height:1.05em;flex-shrink:0;color:var(--ictx-red)}
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:20px;grid-column:-2/-1;grid-row:1;justify-self:end;min-width:0}
.header-phone{display:inline-flex;align-items:center;gap:7px;min-height:44px;font-size:14px;font-weight:600;color:var(--ictx-navy);text-decoration:none;white-space:nowrap}
.header-phone:hover,.header-phone:focus-visible{color:var(--ictx-red)}
.header-phone:hover span{text-decoration:underline;text-underline-offset:4px}
.footer-phone,.mobile-navigation-phone{display:inline-flex;align-items:flex-start;gap:8px;font-size:14px;line-height:1.45;color:var(--ictx-navy);text-decoration:none}
.footer-phone .phone-icon,.mobile-navigation-phone .phone-icon{margin-top:.2em}
.footer-phone strong,.mobile-navigation-phone strong{font-weight:700;white-space:nowrap}
.footer-phone:hover,.footer-phone:focus-visible{color:var(--ictx-red)}
.footer-phone:hover span{text-decoration:underline;text-underline-offset:4px}
.footer-main .footer-phone{margin-top:4px;min-height:44px}
.footer-bottom .footer-phone{font-size:12px;align-items:center}
.mobile-navigation-phone{margin:18px 2px 14px;min-height:44px;align-items:center;font-size:15px}
footer.wrap .footer-phone{font-size:13px;margin-top:4px}
footer.wrap .footer-email{margin-top:10px}
footer.wrap .footer-email a{color:var(--ictx-navy)}
/* Header stays uncluttered on tablet/mobile: phone + menu toggle only (Book a call moves into the menu). */
@media(max-width:1024px){.header-actions>.button.small{display:none}.header-actions{gap:4px}}
@media(max-width:1100px) and (min-width:1025px){.header-actions{gap:14px}.header-phone{font-size:13px}}
@media(max-width:420px){.header-phone{font-size:13px;gap:5px}}
/* Assessment page header (no site-header grid) */
header:not(.site-header)>.header-actions{grid-column:auto;grid-row:auto}
@media(max-width:1024px){header:not(.site-header)>.header-actions{gap:16px}}
@media(max-width:600px){header:not(.site-header)>.brand{--logo-height:42px}header:not(.site-header)>.header-actions{gap:10px}header:not(.site-header)>.header-actions .text-link{font-size:11px;white-space:nowrap;min-height:44px}header:not(.site-header)>.header-actions .header-phone{width:44px;justify-content:center;border:1px solid var(--ictx-line-strong);border-radius:50%}header:not(.site-header)>.header-actions .header-phone span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
/* footer-cities:start (generated by rebrand-tools/build_city_pages.py) */
.footer-cities{display:flex;flex-wrap:wrap;align-items:baseline;max-width:100%;border-top:1px solid var(--ictx-line);padding:18px 0 16px;font-size:11px;line-height:1.9;color:var(--ictx-muted)}
.footer-cities a{white-space:nowrap;min-height:0}
.footer-cities a{color:var(--ictx-text-soft)}
.footer-cities a:hover{color:var(--ictx-red);text-decoration:underline}
.footer-cities strong{margin-right:6px}.footer-cities strong a{color:var(--ictx-navy)}
.footer-cities .sep{margin:0 6px;color:var(--ictx-navy-300)}
/* footer-cities:end */
