/* Shared site chrome. Explicit sizes accommodate the legacy theme's 10px rem. */
.dtd-site-header,
.dtd-site-footer {
    --chrome-navy: #0b1729;
    --chrome-orange: #c93d0c;
    --chrome-orange-hover: #ba3507;
    --chrome-muted: #aebcd0;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    line-height: 1.6;
}
.dtd-site-header *, .dtd-site-footer * { box-sizing: border-box; }
.dtd-chrome-container { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.dtd-site-header { position: sticky; top: -38px; z-index: 1000; background: #fff; border-bottom: 1px solid #e6ebf1; box-shadow: 0 4px 20px #0b172908; }
.dtd-utility-bar { background: var(--chrome-navy); color: #c7d1df; font-size: 12px; }
.dtd-utility-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dtd-utility-location, .dtd-utility-contact, .dtd-utility-contact a { display: flex; align-items: center; gap: 9px; }
.dtd-utility-contact { gap: 28px; }
.dtd-utility-contact a { color: #e5ebf4; font-weight: 500; }
.dtd-utility-inner i { color: #ff996c; font-size: 12px; }
.dtd-header-inner { display: flex; align-items: center; gap: 24px; min-height: 94px; }
.dtd-brand { display: flex; flex: 0 0 124px; padding-block: 6px; }
.dtd-brand img { width: 124px; height: auto; display: block; }
.dtd-navigation { display: flex; flex: 1; justify-content: flex-end; align-items: center; gap: 24px; }
.dtd-nav-links { display: flex; align-items: center; gap: 20px; list-style: none; padding: 0; margin: 0; }
.dtd-nav-links a { display: flex; align-items: center; gap: 7px; min-height: 44px; color: #354157; font-size: 14px; font-weight: 700; white-space: nowrap; position: relative; }
.dtd-nav-links a:hover, .dtd-nav-links a[aria-current="page"] { color: var(--chrome-orange); }
.dtd-nav-links a[aria-current="page"]::after { content: ''; position: absolute; bottom: 1px; left: 0; width: 20px; height: 3px; border-radius: 4px; background: var(--chrome-orange); }
.dtd-nav-links .dtd-track-link { color: var(--chrome-navy); }
.dtd-track-link i { color: var(--chrome-orange); }
.dtd-header-actions { display: flex; align-items: center; gap: 18px; border-left: 1px solid #e1e7ef; padding-left: 20px; }
.dtd-dashboard-link { display: flex; align-items: center; gap: 7px; min-height: 44px; color: #536078; font-size: 12px; white-space: nowrap; }
.dtd-dashboard-link i { font-size: 10px; }
.dtd-dashboard-link:hover { color: var(--chrome-orange); }
.dtd-site-header .dtd-chrome-button, .dtd-site-footer .dtd-chrome-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 14px 20px; min-height: 48px; border-radius: 8px; background: var(--chrome-orange); color: #fff; font-size: 14px; line-height: 1.4; font-weight: 800; white-space: nowrap; border: 1px solid transparent; transition: background .18s, box-shadow .18s; }
.dtd-site-header .dtd-chrome-button:hover, .dtd-site-footer .dtd-chrome-button:hover { background: var(--chrome-orange-hover); box-shadow: 0 4px 16px #d9430d25; color: #fff; }
.dtd-chrome-button[aria-current="page"] { border-color: var(--chrome-navy); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--chrome-orange); }
.dtd-menu-toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; border: 1px solid #dbe3ee; border-radius: 8px; background: #fff; color: var(--chrome-navy); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.dtd-menu-icon { display: flex; flex-direction: column; gap: 4px; width: 18px; }
.dtd-menu-icon span { height: 2px; width: 100%; background: currentColor; transition: transform .18s, opacity .18s; }
.is-menu-open .dtd-menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-menu-open .dtd-menu-icon span:nth-child(2) { opacity: 0; }
.is-menu-open .dtd-menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.dtd-site-header [hidden] { display: none !important; }
.dtd-site-header a:focus-visible, .dtd-site-header button:focus-visible, .dtd-site-footer a:focus-visible { outline: 3px solid #3676df; outline-offset: 4px; }
.dtd-site-footer a:focus-visible { outline-color: #ffad84; }
.dtd-skip-link { position: fixed; top: 8px; left: 16px; transform: translateY(-160%); z-index: 2000; background: #fff; color: #0b1729; padding: 12px 20px; border-radius: 6px; font-size: 16px; }
.dtd-skip-link:focus { transform: translateY(0); outline: 3px solid #3676df; }
#dtd-content { scroll-margin-top: 104px; }
html { scroll-padding-top: 104px; }

.dtd-site-footer { background: var(--chrome-navy); color: var(--chrome-muted); border-top: 4px solid var(--chrome-orange); }
.dtd-footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 52px 0 44px; border-bottom: 1px solid #ffffff1a; }
.dtd-footer-eyebrow { display: block; font-size: 11px; font-weight: 800; letter-spacing: 2px; color: #ff996c; margin-bottom: 12px; }
.dtd-footer-cta h2 { font-family: inherit; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -.8px; color: #fff; margin: 0 0 12px; font-weight: 800; }
.dtd-footer-cta p { font-size: 15px; line-height: 1.6; margin: 0; color: var(--chrome-muted); }
.dtd-footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: 48px; padding: 48px 0; }
.dtd-footer-logo { display: inline-block; margin-bottom: 18px; }
.dtd-footer-logo img { display: block; width: 148px; height: auto; }
.dtd-footer-brand p { font-size: 14px; line-height: 1.85; color: var(--chrome-muted); margin: 0 0 22px; max-width: 310px; }
.dtd-social-links { display: flex; gap: 10px; }
.dtd-social-links a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #ffffff24; border-radius: 50%; background: #ffffff05; color: #fff; font-size: 15px; }
.dtd-social-links a:hover { color: #fff; background: var(--chrome-orange); border-color: var(--chrome-orange); }
.dtd-footer-group h2 { font-family: inherit; font-size: 15px; font-weight: 800; color: #fff; margin: 8px 0 18px; line-height: 1.4; }
.dtd-footer-group ul { list-style: none; padding: 0; margin: 0; }
.dtd-footer-group li a { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 500; color: var(--chrome-muted); }
.dtd-footer-group a:hover, .dtd-footer-bottom a:hover { color: #ffad84; }
.dtd-footer-contact address { margin: 0; font-style: normal; }
.dtd-footer-contact address p, .dtd-footer-contact address a, .dtd-office-hours { display: flex; align-items: baseline; gap: 12px; font-size: 13px; line-height: 1.8; font-weight: 500; color: var(--chrome-muted); }
.dtd-footer-contact address p { margin: 0 0 10px; }
.dtd-footer-contact address a { min-height: 36px; overflow-wrap: anywhere; }
.dtd-footer-contact i, .dtd-office-hours i { color: #ff996c; width: 14px; flex-shrink: 0; }
.dtd-office-hours { margin-top: 14px; padding-top: 14px; border-top: 1px solid #ffffff1a; }
.dtd-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; border-top: 1px solid #ffffff1a; }
.dtd-footer-bottom p { font-size: 12px; color: var(--chrome-muted); line-height: 1.7; margin: 0; }
.dtd-footer-bottom a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #e5ebf4; font-size: 12px; white-space: nowrap; }

@media (max-width: 1199px) {
    .dtd-header-inner { flex-wrap: wrap; justify-content: space-between; gap: 0; min-height: 84px; }
    .dtd-brand { flex-basis: 108px; }
    .dtd-brand img { width: 108px; }
    .dtd-navigation { flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px 0 24px; max-height: calc(100dvh - 122px); overflow-y: auto; overscroll-behavior: contain; }
    .dtd-nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
    .dtd-nav-links a { font-size: 15px; padding: 10px 14px; border-radius: 6px; }
    .dtd-nav-links a:hover, .dtd-nav-links a[aria-current="page"] { background: #fff3ec; }
    .dtd-nav-links a[aria-current="page"]::after { width: 3px; height: 20px; left: 0; bottom: calc(50% - 10px); }
    .dtd-header-actions { justify-content: space-between; border-left: 0; border-top: 1px solid #e1e7ef; padding: 16px 0 0; }
    .dtd-dashboard-link { font-size: 14px; padding-inline: 14px; }
    .dtd-footer-grid { grid-template-columns: 1.2fr 1fr; gap: 36px 48px; }
}
@media (max-width: 599px) {
    .dtd-chrome-container { width: calc(100% - 36px); }
    .dtd-utility-location { display: none; }
    .dtd-utility-inner { justify-content: center; }
    .dtd-utility-contact { width: 100%; justify-content: space-between; gap: 8px; }
    .dtd-utility-contact a { font-size: 10px; gap: 5px; }
    .dtd-utility-inner i { font-size: 10px; }
    .dtd-footer-cta { flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 36px; }
    .dtd-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; padding-block: 32px; }
    .dtd-footer-brand, .dtd-footer-contact { grid-column: 1 / -1; }
    .dtd-footer-brand p { max-width: 100%; }
    .dtd-footer-group h2 { font-size: 14px; }
    .dtd-footer-group li a { min-height: 44px; font-size: 13px; }
    .dtd-footer-contact address a { min-height: 44px; }
    .dtd-footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 20px; }
    .dtd-footer-bottom p { max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
    .dtd-site-header *, .dtd-site-footer *, .dtd-skip-link { transition: none !important; }
}
