/* Corporate interface only. Historical styles and the TwelveHundred grid stay intact. */
@font-face {
    font-family: 'Tensioncore Corporate';
    src: url('../fonts/bbwebfont.woff') format('woff');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Tensioncore Corporate';
    src: url('../fonts/bb-semibold-webfont.woff2') format('woff2');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}
.tc-site { margin: 0; color: #203443; background: #23475c url('../bg.jpg') center center / cover fixed no-repeat; font-family: Calibri, 'Segoe UI', Arial, sans-serif; font-size: 1.6rem; line-height: 1.5; }
.tc-site * { box-sizing: border-box; }
.tc-site [hidden] { display: none !important; }
.tc-site a { color: #075989; text-decoration: none; text-underline-offset: 4px; }
.tc-site a:hover { color: #003859; text-decoration: underline; }
.tc-site a:focus-visible, .tc-site button:focus-visible { outline: 3px solid #d67a00; outline-offset: 4px; }
.tc-site h1, .tc-site h2, .tc-site h3 { font-family: 'Tensioncore Corporate', Calibri, Arial, sans-serif; color: #10394f; letter-spacing: -.025em; font-weight: 600; }
.tc-site h1 { font-size: 3.4rem; line-height: 1.15; margin: 0 0 12px; }
.tc-site h2 { font-size: 2.1rem; line-height: 1.25; margin: 0 0 9px; }
.tc-site h3 { font-size: 1.9rem; margin: 0 0 6px; }
.tc-site p { margin: 0 0 12px; }
.tc-site p:last-child { margin-bottom: 0; }
.tc-skip { position: fixed; left: 16px; top: -80px; padding: 12px 20px; background: white; z-index: 20; }
.tc-skip:focus { top: 8px; }
/* Fixed 36px title bar and corner button at every viewport width. */
.tc-titlebar { position: sticky; top: 0; z-index: 10; height: 36px; padding: 0; display: flex; align-items: center; gap: 12px; background: #008cdd; box-shadow: inset 0 -1px rgba(255,255,255,.3), 0 3px 18px rgba(0,25,50,.18); color: white; }
.tc-brand { display: flex; align-items: center; flex-shrink: 0; }
.tc-brand img { width: 163px; height: auto; display: block; }
.tc-site .tc-toggle { display: inline-flex; flex: 0 0 36px; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; border-right: 1px solid rgba(255,255,255,.55); color: white; line-height: 1; letter-spacing: 0; font-size: 20px; font-weight: 400; text-transform: none; border-radius: 0; }
.tc-site .tc-toggle:hover { background: #006cae; border-color: white; }
.tc-site .tc-toggle:focus-visible { outline-offset: -3px; }
.tc-shell { display: flex; align-items: flex-start; min-height: calc(100vh - 36px); }
.tc-sidebar { --tc-sidebar-width: 226px; width: var(--tc-sidebar-width); flex: 0 0 var(--tc-sidebar-width); padding: 34px 16px; position: sticky; top: 36px; height: calc(100vh - 36px); overflow-y: auto; background: #0c2335; border-right: 1px solid rgba(255,255,255,.2); color: #d1e2ed; transform: translateX(0); margin-right: 0; margin-bottom: 0; visibility: visible; }
/* Reclaim the sidebar's space as it slides; flex layout moves and resizes the content with it. */
.tc-sidebar[aria-hidden="true"] { transform: translateX(-100%); margin-right: calc(0px - var(--tc-sidebar-width)); visibility: hidden; pointer-events: none; }
.tc-site .tc-nav-caption { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 12px 18px; color: #bbd0df; }
.tc-sidebar ul { list-style: none; margin: 0; padding: 0; }
.tc-sidebar li { margin: 0 0 7px; }
.tc-sidebar a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 14px; color: #f0f7fc; border-radius: 5px; }
.tc-sidebar a:hover { background: rgba(255,255,255,.09); color: white; text-decoration: none; }
.tc-sidebar a[aria-current] { background: #145d89; font-weight: 600; color: white; }
.tc-sidebar a span { color: #8dc6e8; }
.tc-sidebar-note { margin: 42px 12px 0; padding-top: 22px; border-top: 1px solid #365164; font-size: 1.4rem; }
.tc-sidebar-note > span:last-child { display: inline-block; margin-left: 15px; color: #adc4d4; font-size: 1.3rem; }
.tc-location-dot { display: inline-block; width: 6px; height: 6px; background: #6eb89a; border-radius: 50%; margin: 0 9px 2px 0; }
.tc-workspace { flex: 1; min-width: 0; padding: 24px 28px 18px; }
/* Keep TwelveHundred's column widths while fitting its container beside the sidebar. */
.tc-site .tc-container { width: 100%; min-width: 0; max-width: 1200px; padding: 0; }
/* Opaque surfaces are the fallback; translucency is enabled only with backdrop blur below. */
.tc-panel { background: #ebf4fa; border: 1px solid rgba(255,255,255,.7); border-radius: 7px; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 5px 18px rgba(7,29,48,.14); }
.tc-card-row { display: flex; align-items: stretch; margin-bottom: 14px; }
.tc-card-row::after { display: none; }
.tc-card { padding: 18px 20px; margin-bottom: 14px; min-width: 0; border-color: rgba(181,208,225,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 5px 18px rgba(7,29,48,.14); }
.tc-card-row .tc-card { margin-bottom: 0; }
.tc-hero { display: flex; align-items: center; gap: 24px; padding: 24px; margin-bottom: 16px; background: #0e3043; border-color: rgba(155,204,225,.42); color: #edf5fa; }
.tc-hero-copy { flex: 1; min-width: 0; }
.tc-site .tc-hero h1 { color: #fff; font-size: 3.2rem; max-width: 700px; }
.tc-hero-brand { flex: 0 0 188px; display: flex; align-items: center; justify-content: center; padding: 20px 0; }
.tc-hero-brand img { max-width: 100%; height: auto; }
.tc-site .tc-eyebrow { color: #305468; font-size: 1.15rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 7px; }
.tc-site .tc-home-card { color: #203443; }
.tc-site .tc-home-card:hover, .tc-site .tc-home-card:focus-visible { background: #f7fbfd; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 6px 20px rgba(7,29,48,.18); text-decoration: none; }
.tc-home-card:hover h2, .tc-home-card:focus-visible h2 { text-decoration: underline; text-underline-offset: 4px; }
.tc-home-card-image { display: flex; align-items: flex-start; gap: 16px; }
.tc-home-image { display: block; flex: 0 0 34%; width: 34%; height: auto; aspect-ratio: 4 / 3; max-height: 150px; object-fit: cover; object-position: center top; border: 1px solid rgba(181,208,225,.3); border-radius: 8px; }
.tc-home-copy { flex: 1; min-width: 0; }
.tc-page-heading { padding: 0 2px 12px; color: white; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.tc-site .tc-page-heading h1 { color: white; margin-bottom: 0; }
.tc-page-heading p { max-width: 850px; margin: 10px 0 0; }
.tc-product { display: flex; align-items: flex-start; gap: 14px; padding: 16px; }
.tc-product-copy { flex: 1; min-width: 0; }
.tc-product-copy h2 { font-size: 2rem; }
.tc-product-copy a, .tc-service > a, .tc-project > a { font-size: 1.45rem; font-weight: 600; }
/* Intentional decorative media, not screenshots. Real artwork can replace each span. */
.tc-product-media { flex: 0 0 70px; width: 70px; height: 86px; display: flex; align-items: center; justify-content: center; border-radius: 5px; overflow: hidden; color: #eef8ff; background: #215e83; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.tc-product-media span { font-size: 2.6rem; font-weight: 600; letter-spacing: -.04em; }
.tc-product-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tc-media-blue { background: linear-gradient(135deg, #123e63, #2580af); }
.tc-media-slate { background: linear-gradient(135deg, #263b4f, #617c93); }
.tc-media-teal { background: linear-gradient(135deg, #164c51, #3d8d88); }
.tc-media-amber { background: linear-gradient(135deg, #6d4a26, #a97b36); }
.tc-service { background: #ecf6f3; }
.tc-site .tc-card.tc-rasberry { background: #155394 url('../rasberry.jpg') center / cover no-repeat; color: #d6e4f0; }
.tc-site .tc-rasberry h2 { color: #f0f7ff; }
.tc-site .tc-rasberry a { color: #6bcbff; }
.tc-site .tc-rasberry a:hover, .tc-site .tc-rasberry a:focus-visible { color: #b9e5ff; text-decoration: underline; }
.tc-service-brand { display: flex; align-items: center; height: 58px; margin: -2px 0 14px; }
.tc-service-brand img { display: block; max-width: 200px; max-height: 54px; width: auto; height: auto; }
.tc-techdoctor img { background: #f1f6fa; padding: 3px; border-radius: 3px; }
.tc-photo-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tc-photo-heading img { width: 48px; height: 48px; object-fit: contain; }
.tc-photo-heading h2 { margin: 0; }
.tc-project { align-self: flex-start; background: #e7f1f8; }
.tc-archive { background: #deedf7; }
.tc-resource-list { list-style: none; margin: 12px 0; padding: 0; }
.tc-resource-list li { border-bottom: 1px solid #c4d6e1; margin: 0; }
.tc-resource-list a { display: block; padding: 8px 0; font-size: 1.45rem; }
.tc-site .tc-fineprint { font-size: 1.25rem; }
.tc-site .tc-section-title { color: white; font-size: 2.2rem; margin: 20px 2px 12px; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.tc-business { display: flex; align-items: center; gap: 16px; background: #eff4f9; }
.tc-business > div { min-width: 0; }
.tc-business-logo { width: 94px; max-height: 54px; object-fit: contain; flex-shrink: 0; }
.tc-business h3 { font-size: 1.85rem; }
.tc-contact-row { align-items: flex-start; }
.tc-contact-form { margin-top: 14px; }
.tc-contact-form label { font-size: 1.4rem; font-weight: 600; margin-bottom: 4px; }
.tc-contact-form input, .tc-contact-form textarea { font-family: inherit; font-size: 1.6rem; margin-bottom: 12px; border-color: #aebfc9; color: #203443; }
.tc-contact-form textarea { min-height: 140px; resize: vertical; }
.tc-site .tc-contact-form input:focus, .tc-site .tc-contact-form textarea:focus { outline: 2px solid #075989; outline-offset: 1px; }
.tc-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.tc-form-actions a { font-size: 1.3rem; }
.tc-site .tc-action { background: #246b50; color: white; border: 1px solid #246b50; border-radius: 5px; font-family: inherit; font-size: 1.5rem; font-weight: 600; text-transform: none; letter-spacing: 0; height: auto; min-height: 42px; line-height: 1.4; padding: 10px 16px; white-space: normal; margin: 0; }
.tc-site .tc-action:hover { background: #185039; border-color: #185039; }
.tc-business-contacts .tc-resource-list { margin-bottom: 0; }
.tc-site .tc-footer { margin-top: 18px; padding: 12px 18px; background: rgba(12,35,53,.91); border-radius: 7px; color: #e3edf4; font-size: 1.3rem; }
.tc-footer p { margin-bottom: 3px; }
.tc-footer a { display: inline-block; color: #d3edff; margin-top: 4px; }
.tc-footer a:hover { color: white; }
.tc-site #main { scroll-margin-top: 52px; }
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
    .tc-panel { background: url('../pixel.png'); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
    .tc-hero { background: rgba(14,48,67,.82); }
    .tc-service { background: url('../pixel.png'); }
    .tc-project { background: url('../pixel.png'); }
    .tc-archive { background: url('../pixel.png'); }
    .tc-business { background: url('../pixel.png'); }
    /* Match content to the dark image; retain dark text on the opaque light fallback. */
    .tc-site .tc-card { color: #d6e4f0; }
    .tc-site .tc-card h2, .tc-site .tc-card h3 { color: #f0f7ff; }
    .tc-site .tc-card .tc-eyebrow, .tc-site .tc-card .tc-fineprint { color: #a9c5d8; }
    .tc-site .tc-card a { color: #6bcbff; }
    .tc-site .tc-card a:hover, .tc-site .tc-card a:focus-visible { color: #b9e5ff; text-decoration: underline; }
    .tc-site .tc-card a:focus-visible, .tc-site .tc-home-card:focus-visible { outline: 2px solid #a9c5d8; }
    .tc-card .tc-resource-list li { border-bottom-color: rgba(181,208,225,.3); }
    .tc-photo-heading img { padding: 3px; border-radius: 3px; }
    /* The existing homepage hover/focus surface is light. */
    .tc-site .tc-home-card:hover, .tc-site .tc-home-card:focus-visible { background: rgba(247,251,253,.9); color: #203443; }
    .tc-site .tc-home-card:hover h2, .tc-site .tc-home-card:focus-visible h2 { color: #10394f; }
    .tc-site .tc-home-card:hover .tc-eyebrow, .tc-site .tc-home-card:focus-visible .tc-eyebrow { color: #305468; }
}
@media (prefers-reduced-motion: no-preference) {
    .tc-sidebar a, .tc-site .tc-toggle { transition: background-color .16s ease; }
    .tc-home-card { transition: background-color .16s ease, box-shadow .16s ease; }
    .tc-workspace { animation: tc-enter .2s ease-out; }
    .tc-nav-ready .tc-sidebar { transition: transform 280ms ease-in-out, margin-right 280ms ease-in-out, margin-bottom 280ms ease-in-out, visibility 0s linear; }
    .tc-nav-ready .tc-sidebar[aria-hidden="true"] { transition-delay: 0s, 0s, 0s, 280ms; }
    @keyframes tc-enter { from { opacity: .7; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 1149px) {
    .tc-home-card-image { display: block; }
    .tc-home-image { width: 100%; height: 140px; margin-bottom: 14px; }
    .tc-sidebar { --tc-sidebar-width: 200px; padding-left: 10px; padding-right: 10px; }
    .tc-workspace { padding: 20px; }
    .tc-hero { gap: 16px; padding: 20px; }
    .tc-hero-brand { flex-basis: 140px; }
    .tc-product { display: block; }
    .tc-product-media { width: 100%; height: 44px; margin-bottom: 12px; justify-content: flex-start; padding: 0 14px; }
    .tc-product-media span { font-size: 2.1rem; }
    .tc-business { display: block; }
    .tc-business-logo { display: block; margin-bottom: 10px; }
}
@media (max-width: 749px) {
    .tc-shell { display: block; }
    .tc-sidebar { position: static; width: 100%; height: auto; padding: 14px 16px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
    .tc-sidebar[aria-hidden="true"] { margin-right: 0; margin-bottom: calc(0px - var(--tc-menu-height, 0px)); }
    .tc-nav-caption, .tc-sidebar-note { display: none; }
    .tc-sidebar ul { display: flex; flex-wrap: wrap; gap: 4px; }
    .tc-sidebar li { flex: 1 1 30%; margin: 0; }
    .tc-sidebar a { padding: 10px; }
    .tc-sidebar a span { display: none; }
    .tc-workspace { padding: 18px 14px; }
    .tc-site h1 { font-size: 3rem; }
    .tc-card { padding: 16px; }
    .tc-hero { display: block; }
    .tc-hero-brand { justify-content: flex-start; padding: 16px 0 0; }
    .tc-hero-brand img { max-width: 150px; }
}
@media (max-width: 549px) {
    .tc-brand img { width: 146px; }
    .tc-workspace { padding: 16px 12px; }
    .tc-site .tc-hero h1 { font-size: 2.8rem; }
    .tc-card-row { display: block; margin-bottom: 0; }
    .tc-card-row::after { display: table; }
    .tc-card-row .tc-card { margin-bottom: 14px; }
    .tc-business { display: flex; }
    .tc-business-logo { width: 76px; margin-bottom: 0; }
    .tc-site .tc-footer { padding: 12px 16px; }
}
